@charset "UTF-8";

/* --- LAYOUT --- */
.product-grid { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px;}
.left-column { flex: 1; min-width: 0; }
.right-column { width: 400px; }

/* --- CARDS --- */
.card { background: #fff; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin-bottom: 20px; overflow: hidden; }
.content-text { padding: 15px; }
.card-header { padding: 12px 15px; font-weight: 700; text-transform: uppercase; font-size: 15px; border-bottom: 1px solid var(--border-light); background-color: #fff2f2; color: var(--header-text); border-left: 4px solid var(--primary-red); display: flex; align-items: center; gap: 10px; }

/* --- GALLERY --- */
.product-gallery { padding: 10px; }
.main-image-frame { text-align: center; margin-bottom: 10px; height: 400px; display: flex; align-items: center; justify-content: center; }
.main-image-frame img { max-height: 100%; width: auto; }
.thumbnail-list { display: flex; gap: 10px; overflow-x: auto; justify-content: center; }
.thumb { width: 60px; height: 60px; border: 1px solid #ddd; object-fit: contain; cursor: pointer; border-radius: 4px; }
.thumb.active { border: 2px solid var(--primary-red); }

/* --- TABS --- */
.tab-navigation { display: flex; border-bottom: 1px solid #ddd; background: #f8f9fa; }
.tab-btn { flex: 1; border: none; background: none; padding: 15px; font-weight: 700; color: #666; cursor: pointer; text-transform: uppercase; font-size: 14px; border-bottom: 3px solid transparent; }
.tab-btn:hover { background: #f0f0f0; color: #333; }
.tab-btn.active { color: var(--primary-red); border-bottom: 3px solid var(--primary-red); background: #fff; }
.tab-content { display: none; padding: 20px; animation: fadeIn 0.3s; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- DESCRIPTION --- */
.description-content { max-height: 500px; overflow: hidden; position: relative; }
.description-content.expanded { max-height: none; }
.description-content img { display: block; margin: 10px auto; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr:nth-child(odd) { background-color: #f8f9fa; }
.specs-table td { padding: 12px; border-bottom: 1px solid #eee; font-size: 13px; }
.specs-table td:first-child { font-weight: bold; width: 40%; color: #555; }
.btn-readmore { display: block; width: 100%; border: 1px solid var(--primary-red); color: var(--primary-red); background: #fff; padding: 10px; text-align: center; border-radius: 4px; margin-top: 15px; cursor: pointer; font-weight: bold; transition: 0.2s; }
.btn-readmore:hover { background: #fff2f2; }

/* --- PROMO & SALE --- */
.box_saving { border: 1px solid #e0e0e0; border-radius: 8px; background: #fff; overflow: hidden; margin: 15px 0; }
.bs_title { background: var(--gradient-sale); padding: 10px 15px; display: flex; justify-content: space-between; align-items: center; color: #fff; }
.bs_price strong { font-size: 24px; color: #fff400; margin-right: 10px; }
.bs_time { text-align: right; font-size: 12px; }
.clockv2 b { background: rgba(0,0,0,0.2); padding: 2px 4px; border-radius: 3px; margin: 0 2px; font-size: 14px; }
.bs_content { padding: 15px; }
.block__promo { border: 2px solid var(--primary-red); border-radius: 4px; padding: 10px; background-color: #fff5f5; margin-top: 10px; }
.block__promo .pr-txtb { font-weight: 900 !important; font-size: 15px; color: var(--sale-red); text-transform: uppercase; border-bottom: 1px dashed #ffb3b3; padding-bottom: 8px; margin-bottom: 10px; margin-top: 0; }
.promo-list { list-style: none !important; padding: 0; } 
.promo-list li { margin-bottom: 8px; position: relative; padding-left: 20px; font-size: 13px; color: #333; font-weight: 500; }
.promo-list li::before { content: "●"; color: var(--sale-red); position: absolute; left: 0; font-size: 10px; top: 4px; }

/* --- RIGHT COLUMN STICKY --- */
.product-info-sticky { position: sticky; top: 10px; background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.product-title { font-size: 22px; font-weight: 700; margin: 0 0 10px 0; line-height: 1.3; color: #333; }

/* --- VARIATIONS --- */
.product-variations { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dashed #eee; }
.var-label { font-size: 13px; font-weight: 700; color: #555; margin-bottom: 8px; display: block; }
.var-options { display: flex; gap: 8px; flex-wrap: wrap; }
.var-btn { display: inline-flex; align-items: center; justify-content: center; padding: 6px 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; color: #333; background: #fff; cursor: pointer; transition: all 0.2s ease; text-decoration: none; min-width: 60px; }
.var-btn:hover { border-color: var(--primary-red); color: var(--primary-red); background-color: #fff9f9; }
.var-btn.active { border-color: var(--primary-red); background-color: #fff2f2; color: var(--primary-red); font-weight: bold; pointer-events: none; cursor: default; }

/* --- PRODUCT HEADER ACTIONS (Compare & Specs) --- */
.box02 { display: flex; gap: 20px; margin-bottom: 15px; align-items: center; }
.box02__right, .tab-spec { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; color: var(--link-blue); font-weight: 500; }
.box02__right:hover, .tab-spec:hover { color: var(--primary-red); }
.box02__right i, .tab-spec i { font-size: 16px; }

/* --- COMPARE BUTTON --- */
.title-wrapper { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 5px; }
.btn-compare-header { background: #fff; border: 1px solid #ccc; color: #555; padding: 6px 12px; border-radius: 20px; font-size: 13px; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 6px; transition: all 0.2s ease; margin-top: 5px; flex-shrink: 0; }
.btn-compare-header:hover { border-color: var(--primary-red); color: var(--primary-red); background: #fff5f5; }

/* --- BUTTONS --- */
.action-buttons { margin-top: 20px; }
.btn-row { display: flex; gap: 10px; margin-bottom: 10px; }
.btn-add-cart, .btn-buy-now { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 5px; border-radius: 6px; cursor: pointer; border: none; height: 60px; }
.btn-add-cart { background: #fff; border: 2px solid var(--primary-red); color: var(--primary-red); }
.btn-add-cart:hover { background: #fff2f2; }
.btn-add-cart i { font-size: 18px; margin-bottom: 4px; }
.btn-buy-now { background: var(--gradient-sale); color: #fff; }
.btn-buy-now:hover { opacity: 0.9; }
.btn-buy-now strong { font-size: 14px; text-transform: uppercase; }
.btn-buy-now span { font-size: 10px; font-weight: normal; opacity: 0.9; }
.btn-installment { width: 100%; background: #2f80ed; color: #fff; border: none; border-radius: 6px; padding: 12px; cursor: pointer; height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.btn-installment:hover { background: #1c6dd6; }
.btn-installment strong { text-transform: uppercase; font-size: 14px; }
.btn-installment span { font-size: 11px; opacity: 0.9; }

/* --- COMMITMENT BOX --- */
.commitment-detailed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px; }
.comm-item { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.comm-item img { margin-bottom: 10px; transition: transform 0.3s; }
.comm-item:hover img { transform: scale(1.1); }
.comm-item h5 { font-size: 14px; font-weight: 700; margin: 0 0 5px 0; color: var(--text-main); text-transform: uppercase; }
.comm-item p { font-size: 12px; color: #666; margin: 0; line-height: 1.4; }

/* --- RELATED PRODUCTS --- */
.related-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-top: 20px; }
.related-item { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 10px; transition: 0.3s; }
.related-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.related-item h3 { font-size: 13px; height: 36px; overflow: hidden; margin-bottom: 5px; line-height: 1.4; color: #333; }
.related-item .price { color: var(--sale-red); font-weight: bold; display: block; }

/* --- RESPONSIVE (Product Only) --- */
@media (max-width: 900px) {
    .product-grid { flex-direction: column; }
    .right-column { width: 100%; order: -1; }
    .related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .commitment-detailed-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .related-grid { grid-template-columns: 1fr; } 
    .btn-row { height: auto; }
    .logo img { max-height: 40px; }
}