:root{
  --green:#2e7d32;--red:#d32f2f;--blue:#1E88E5;--gray:#666;--light:#f9f9f9;--danger:#e53935;
  --shadow:rgba(0,0,0,.06);--radius:14px;--bg-chip:#e0f2f1;--bg-color:#e0f7fa;--bg-size:#e3f2fd;
  --primary-color: #4CAF50;
  --accent-blue: #2196F3;
  --bg-card: #ffffff;
  --border-var: #00bcd4; 
  --bg-var-hover: #e0f7fa;
  --sale-timer-bg: #fff8e1;
  --sale-timer-color: #e65100;
  --sale-timer-icon: #FF6F00;
}
*{box-sizing:border-box;margin:0;padding:0}
body{
    font-family:'Segoe UI',Arial,sans-serif;
    background:var(--light);
    padding-bottom:100px; /* Space for fixed button group */
}
.container{
    width:100%;
    padding:7px;
    background:#fff;
    margin-top:0;
}
header{
    background:#fff;
    box-shadow:0 2px 6px var(--shadow);
    padding:10px 16px;
    position:sticky;
    top:0;
    z-index:100;
    display:flex;
    align-items:center;
    gap:5px
}
.logo img{
    height:32px; 
    width:auto;
    border-radius:5px
}
.search-box{
    flex:1;
    display:flex;
    justify-content:center
}
.search-box input{
    width:100%;
    max-width:420px;
    padding:10px 14px;
    font-size:15px;
    border:1px solid #ccc;
    border-radius:25px;
    box-shadow:0 1px 3px var(--shadow);
    outline:none;
    transition:border-color .2s;
    background:#fafafa
}
.search-box input:focus{
    border-color:var(--green)
}
.cart-icon{
    position:relative;
    cursor:pointer;
    color:#222;
    font-size:24px;
    text-decoration: none;
}
.cart-icon:hover{
    color: var(--primary-color);
}
.cart-count{
    position:absolute;
    top:-5px;
    right:-5px;
    background:var(--red);
    color:#fff;
    border-radius:50%;
    padding:2px 6px;
    font-size:10px;
    font-weight:bold;
    min-width:20px;
    text-align:center
}
/* New Sale Ends Banner - ENHANCED */
.sale-end-banner {
    background: var(--sale-timer-bg);
    padding: 12px 15px; 
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--sale-timer-icon);
    margin-bottom: 5px;
}
.sale-end-banner-inner {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    gap: 12px; 
    font-size: 16px;
    font-weight: 700;
    color: var(--sale-timer-color);
}
.sale-end-banner-inner i {
    font-size: 20px;
    color: var(--sale-timer-icon);
}

.countdown-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 5px;
}
.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--sale-timer-icon); 
    color: white;
    border-radius: 8px;
    padding: 5px 8px;
    min-width: 60px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #ffcc80;
}
.countdown-number {
    font-size: 32px; /* Big font */
    font-weight: 900;
    line-height: 1;
}
.countdown-label {
    font-size: 10px;
    font-weight: 500;
    color: #fff8e1;
    margin-top: 2px;
}
.countdown-separator {
    font-size: 30px;
    color: var(--sale-timer-color);
    font-weight: 700;
    padding: 0 2px;
    line-height: 1.2;
}


.carousel{
    position:relative;
    overflow:hidden;
    border:2px ridge #ddd;
    border-radius:5px;
    margin-top: 0px;
    box-shadow:0 4px 8px rgba(0,0,0,0.1);
    height: 400px; 
}
.carousel-track{
    display:flex;
    transition:transform .4s ease;
    height: 100%; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar {
    display: none;
}
.carousel-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.slide{
    width:100%;
    flex-shrink:0;
    height:100%;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#000;
    color:#fff;
    scroll-snap-align: start; 
}
.slide img{
    width:100%;
    height:100%;
    object-fit: fill; 
}
.slide[data-video] img {
    object-fit: fill;
    cursor: default;
}

.slide iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.play-btn{
    position:absolute;
    color:#fff;
    font-size:56px;
    cursor:pointer;
    z-index: 2; 
}
.play-label{
    position:absolute;
    bottom:12px;
    left:50%;
    transform:translateX(-50%);
    background:rgba(0,0,0,.6);
    padding:4px 10px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:6px;
    z-index: 2;
}
.close-video{
    position:absolute;
    top:8px;
    right:8px;
    width:42px;
    height:42px;
    line-height:32px;
    text-align:center;
    font-size:28px;
    color:#fff;
    background:rgba(0,0,0,.65);
    border-radius:50%;
    cursor:pointer;
    z-index:3
}
.zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 5; 
    transition: background 0.3s;
}
.zoom-icon:hover {
    background: rgba(0, 0, 0, 0.7);
}
.dots{
    text-align:center;
    margin-top:12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px; 
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(45deg, #7e3517, #7e3517);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.dot.active {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-blue));
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}
.dot.video {
    background: linear-gradient(45deg, #FF6F00, #FBC02D);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.dot.video i{
    display:block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8px;
    color: #fff;
    pointer-events: none;
}
.dot.active:not(.video) {
    background: linear-gradient(45deg, var(--primary-color), #2196F3);
}

.title-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    margin-top:14px;
    margin-bottom:4px
}
.title-row h2{
    font-size:22px;
    color:#222;
    display:flex;
    align-items:center;
    gap:6px;
    flex:1
}
.share-btn{
    background:var(--bg-chip);
    border:none;
    border-radius:50%;
    width:40px;
    height:40px;
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 2px 6px var(--shadow);
    transition:background .2s;
    padding: 0;
}
.share-btn i{
    font-size:18px;
    color:var(--blue)
}
.share-btn:hover{
    background:#d0f2f1
}
.price-line{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:14px;
    font-size:16px;
    margin-bottom:10px
}
.discount{
    color:#ff0000;
    padding:2px 6px;
    border-radius:6px;
    font-size:14px;
    display:flex;
    align-items:center;
    gap:3px
}
.regular{
    font-size:16px;
    color:#888;
    display:flex;
    align-items:center;
    gap:2px
}
.sale{
    display:flex;
    align-items:flex-end;
    gap:2px
}
.sale .rupee,.sale .dash{
    font-size:18px
}
.sale .amount{
    font-size:26px;
}
.status-group{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    font-size:14px;
    margin-bottom:12px
}
.stock-green{
    color:var(--green);
    font-weight:600
}
.stock-red{
    color:var(--red);
    font-weight:700
}
.stars{
    color:var(--green);
    font-size:15px;
    display:flex;
    gap:4px
}
.label-badge{
    background:#eef7ff;
    font-size:14px;
    font-weight:600;
    padding:2px 6px;
    border-radius:6px
}
.info-label{
    background:#e8f5e9;
    border-left:4px solid var(--blue);
    padding:10px 12px;
    border-radius:8px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    font-size:12px;
    color:#2e7d32;
    margin-bottom:12px; 
    align-items:center
}
.info-label i{
    font-size:12px;
    margin-right:4px
}
.info-label .amt{
    font-weight:900;
    color:#d32f2f
}
.delivery-by-label {
    background:#f3e5f5;
    border-left:4px solid #8e24aa;
    padding:10px 12px;
    border-radius:8px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    font-size:12px;
    color:#4a148c;
    margin-bottom:18px;
    align-items:center
}
.delivery-by-label i {
    font-size:16px;
    margin-right:4px;
    color: #8e24aa;
}


.payment-options-label{
    background:#e0f7fa;
    border-left:4px solid var(--blue);
    padding:10px 12px;
    border-radius:8px;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    font-size:18px;
    color:#006064;
    margin-bottom:18px;
    align-items:center
}
.payment-options-label i{
    font-size:16px;
    margin-right:4px
}
.avail-yes{
    color:var(--green);
    font-weight:900
}
.avail-no{
    color:var(--red);
    font-weight:900
}
.desc-container {
    display: flex;
    flex-direction: column;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 4px;
    background: #f1f8e9;
    border: 1px solid #c5e1a5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-height: 120px;
}
.desc-row {
    word-break: break-word;
}
.desc-content {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.2; 
    text-align: justify; 
    overflow: auto; 
}
.desc-content p {
    margin: 0 0 10px 0;
    text-align: justify; 
}
.desc-content ul, .desc-content ol {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; 
}
.desc-content li {
    margin: 5px 0;
    line-height: 1.2;
    position: relative;
    padding-left: 20px;
    text-align: left;
}
.desc-content li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 300;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
}
.desc-content b, .desc-content strong {
    color: #00796B;
    font-weight: 300;
}
.desc-content i {
    font-style: italic;
}
.desc-content u {
    text-decoration: underline;
}
.desc-content h1, .desc-content h2, .desc-content h3 {
    color: var(--accent-blue);
    margin: 15px 0 8px;
    font-weight: 200;
    text-align: left; 
}
.coupon-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff8e1;
    border: 1px dashed #FFB300;
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.coupon-icon {
    font-size: 28px;
    color: #FF6F00;
    min-width: 32px;
    text-align: center;
}
.coupon-details {
    flex-grow: 1;
}
.coupon-code {
    font-size: 16px;
    font-weight: bold;
    color: #e65100;
    background-color: #ffe0b2;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}
.coupon-expiry {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}
.policy-container{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.policy-card{
    flex: 1 1 45%;
    min-width: 150px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform .2s;
    background: var(--bg-card);
    border: 1px solid #eee;
}
.policy-card:hover{
    transform: translateY(-1px);
}
.policy-icon{
    font-size: 20px;
    margin-right: 6px;
    display: inline-block;
}
.policy-title{
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #333;
    display: flex;
    align-items: center;
}
.policy-text{
    font-size: 11px;
    color: var(--gray);
    line-height: 1.3;
    max-height: 6.5em; 
    overflow: hidden;
    text-overflow: ellipsis;
}
.warranty-card{
    border-left: 5px solid #00796B;
}
.warranty-card .policy-title{
    color: #00796B;
}
.return-card{
    border-left: 5px solid #FF9800;
}
.return-card .policy-title{
    color: #FF9800;
}
.variation-title{
    font-weight:700;
    margin-top:15px;
    font-size:14px;
    color:#222;
    display:flex;
    align-items:center;
    gap:6px;
    margin-bottom: 6px;
}
#color-options, #size-options{
    display:flex;
    flex-wrap: nowrap;
    gap:12px; 
    margin-top:0px;
    overflow-x: auto;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 5px;
    background: #ddd;
    padding-bottom: 5px; 
    padding-left: 2px;
}
#color-options::-webkit-scrollbar, #size-options::-webkit-scrollbar {
    height: 6px; 
}
#color-options::-webkit-scrollbar-thumb, #size-options::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
#color-options::-webkit-scrollbar-thumb:hover, #size-options::-webkit-scrollbar-thumb:hover {
    background: #888;
}

.swatch,.size-card{
    cursor:pointer;
    border:1px solid #ddd;
    border-radius:6px;
    background:var(--bg-card);
    transition:all .2s;
    box-shadow:0 1px 3px rgba(0,0,0,0.1);
    flex-shrink: 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    overflow: hidden;
}
.swatch{
    width:70px; 
    height:80px; 
}
.swatch-img{
    width:100%;
    height:50px; 
    background-size:cover;
    background-position:center;
    border-bottom: 1px solid #eee;
}
.color-name{
    width:100%;
    text-align:center;
    background:var(--bg-color);
    font-size:9px; 
    font-weight:600;
    padding:3px 0; 
    color: #00838f;
    line-height: 1;
}
.var-stock{
    font-size:8px; 
    font-weight:600;
    padding: 3px 0;
}
.size-card{
    min-width:70px; 
    height:90px;
    padding: 5px;
}
.size-label{
    background:var(--bg-size);
    padding:3px 8px; 
    font-size:10px;
    font-weight:700;
    border-radius:4px;
    color: #1565c0;
}
.size-price{
    font-size:13px; 
    font-weight:700;
    color:#222;
}
.size-stock{
    font-size:8px; 
    font-weight:600;
    padding: 3px 0;
}
.green{
    color:var(--green)
}
.red{
    color:var(--red)
}
.swatch.selected,.size-card.selected{
    border-color:var(--border-var);
    box-shadow:0 0 0 2px var(--border-var) inset, 0 2px 5px rgba(0, 188, 212, 0.4);
    background: var(--bg-var-hover);
}
.swatch.disabled,.size-card.disabled{
    cursor:not-allowed;
    opacity:.55;
    box-shadow:none;
    background:#f5f5f5;
}
.placeholder-box {
    cursor: default !important;
    background: #f5f5f5 !important;
    border: 1px dashed #ccc !important;
    opacity: 0.8;
    flex-shrink: 0; 
    min-width: 70px;
    height: 90px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}
.placeholder-box .size-label, .placeholder-box .color-name {
    background: #f0f0f0 !important;
    color: #888 !important;
    padding: 4px 8px;
    width: 100%;
    border-radius: 0;
    margin-bottom: 0;
}
.placeholder-box .var-stock, .placeholder-box .size-price {
    color: #a0a0a0 !important;
    font-weight: normal !important;
    margin-top: 5px;
    margin-bottom: 5px;
}
.placeholder-box.swatch {
    width: 70px;
}
.placeholder-box.size-card {
    min-width: 70px;
}
.placeholder-box .swatch-img {
    display: none;
}
.tab-nav{
    display: flex;
    justify-content: space-around;
    border: #ddd;
    margin-top: 26px;
    background: var(--bg-card);
    padding: 8px 0;
    border-radius: 8px;
    gap: 5px;
    flex-wrap: wrap;
}
.tab-nav div{
    flex: 1 1 48%;
    max-width: 48%;
    text-align: center;
    padding: 10px 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    color: var(--gray);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    transition: all .3s ease;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.tab-nav .active{
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}
.tab-nav div:hover:not(.active){
    background: #f0f0f0;
    color: #333;
}
.tab-content{
    display: none;
    padding: 15px;
    font-size: 12px;
    color: #333;
    line-height: 1.5; 
    text-align: justify; 
    position: relative;
    border: solid 1px #ddd;
    border-radius: 12px;
    background: var(--bg-card);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    margin-top: 0px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease;
}
.tab-content.active{
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.tab-content img{
    max-width:100%;
    height:auto
}
.tab-content h1, .tab-content h2, .tab-content h3{
    margin: 10px 0 5px;
    color: var(--accent-blue);
    text-align: left;
}
.tab-content strong{
    font-weight: 700;
    color: #222;
}
.tab-content p, .tab-content ul, .tab-content ol, .tab-content div{
    margin-bottom: 10px;
}
.close-tab{
    position:absolute;
    top:10px;
    right:10px;
    font-size:26px;
    color:var(--gray);
    cursor:pointer;
    background:#f0f0f0;
    border-radius:50%;
    width:30px;
    height:30px;
    line-height:30px;
    text-align:center;
    transition:color .2s;
    z-index: 5;
}
.close-tab:hover{
    color:var(--red)
}
.seller-box {
    padding:18px;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
    margin-top:20px;
    font-size:12px;
    position:relative;
    line-height:1.2;
    background: #eaf1fa;
    border-left: 5px solid var(--accent-blue);
}
.blue-tick-abs{
    position:absolute;
    top:30px;
    right:30px;
    width:70px;
    height:70px;
    object-fit:fill;
    border-radius:50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.seller-heading{
    font-weight:700;
    font-size:18px;
    margin-bottom:12px;
    color:var(--accent-blue);
    display:flex;
    align-items:center;
    gap:8px;
}
.seller-row{
    display:flex;
    flex-direction: column;
    gap: 8px;
    color:#333;
}
.seller-detail{
    display: flex;
    align-items: center;
    gap: 8px;
}
.seller-detail i{
    font-size:16px;
    color: var(--gray);
    width: 20px;
    text-align: center;
}
.seller-row span{
  font-weight: 500;
  color: #555;
}
#reportSellerBtn {
    position: absolute;
    bottom: 18px;
    right: 18px;
    padding: 8px 12px;
    background-color: var(--danger);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
    z-index: 10;
}
#reportSellerBtn:hover {
    background-color: #c62828;
}

/* --- Social Sharing Block Styles --- */
.share-social-block {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.share-heading {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}
.share-heading i {
    color: var(--primary-color);
}

.share-buttons-horizontal {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px;
    justify-content: space-around;
}

.share-link-btn {
    flex: 1 1 45%; 
    min-width: 120px;
    padding: 10px 5px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-align: center;
    transition: transform 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share-link-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* Specific Social Colors */
.share-wa { background-color: #25D366; }
.share-fb { background-color: #4267B2; }
.share-ig { background-color: #C13584; } 
.share-msngr { background-color: #0078FF; }
/* ------------------------------------- */

.review-wrapper {
    margin-top: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.review-tab-nav {
    display: flex;
    justify-content: space-around;
    border-bottom: 2px solid #ffcc80;
    background: #fff3e0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 5px 0;
}
.review-tab-nav div {
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 600;
    color: #e65100;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    flex: 1;
    text-align: center;
    justify-content: center;
}
.review-tab-nav .active {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: #e8f5e9;
}
.review-tab-nav div:hover:not(.active) {
    background: #fff8e1;
}
.review-tab-content {
    padding: 15px;
    display: none; 
    line-height: 1.5;
    background: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.review-tab-content.active {
    display: block;
}
.review-tab-content h3 {
    font-size: 16px;
    color: #00796B;
    margin-bottom: 15px;
    border-bottom: 1px solid #c5e1a5;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.review-form {
    padding: 5px 0;
}
.review-form input, .review-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
}
.rating-stars {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    padding: 0 5px;
}
.rating-stars i {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}
.rating-stars i.active {
    color: #ffc107;
}
.review-form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #ff9800;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.review-form button:hover {
    background: #f57c00;
}
.review-list {
    padding: 0;
}
.review-card {
    background: #fcfcfc;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.review-user {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 14px;
}
.review-rating {
    color: #ffc107;
    font-size: 12px;
}
.review-date {
    font-size: 11px;
    color: #888;
    margin-top: 5px;
    display: block;
}
.review-text {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    text-align: justify;
}
.gallery-vertical {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 5px;
    padding: 0px;
    border-radius: 6px;
    background: #fcfcfc;
    border: 1px solid #ff0000;
    position: relative;
}
.gallery-vertical-item {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.gallery-vertical-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}
.gallery-vertical .carousel-nav-btn,
.gallery-vertical .zoom-icon,
.gallery-vertical .close-tab {
    display: none !important;
}

.carousel-nav-btn {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 5; 
    font-size: 24px;
    line-height: 1;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: background-color 0.3s;
}
#prevBtn {
    left: 5px;
}
#nextBtn {
    right: 5px;
}
.button-group{
    display:flex;
    gap:8px; 
    padding:10px 7px;
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    background:#fff;
    box-shadow:0 -2px 10px rgba(0,0,0,0.1);
    z-index:100;
    flex-wrap:wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}
.shop-btn{
    flex: 1 1 48%; 
    padding:12px; 
    border: 2px ridge #ddd;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    min-width: 150px;
}
#buyOnEmiBtn, #extraOfferBtn {
    flex: 1 1 100%; 
    margin-top: 5px;
}
.share-toast{
    position:fixed;
    bottom:95px;
    left:50%;
    transform:translateX(-50%);
    background:#323232;
    color:#fff;
    padding:10px 20px;
    border-radius:20px;
    font-size:14px;
    display:none; 
    z-index:110
}
.zoom-modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    padding-top: 60px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.9); 
    justify-content: center;
    align-items: center;
}

.zoom-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain; 
}

.zoom-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.zoom-close:hover,
.zoom-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.zoom-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.zoom-nav-btn:hover {
    opacity: 1;
}

#zoomPrevBtn {
    left: 20px;
}

#zoomNextBtn {
    right: 20px;
}

/* --- New Footer Styles --- */
footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 15px 10px;
    font-size: 11px;
    margin-top: 20px;
    border-top: 5px solid var(--primary-color);
}
footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
footer a:hover {
    text-decoration: underline;
}


@media(min-width:600px){
  .container{
      width:100%;
      padding:20px;
      margin:auto;
      box-shadow:none;
      border:none;
  }
  .carousel{
      height: 600px;
      border:none;
      box-shadow:none;
  }
  .title-row h2{
    font-size: 28px;
  }
  .price-line{
    font-size: 20px;
  }
  .sale .amount{
    font-size: 32px;
  }
  .status-group, .info-label, .payment-options-label{
    font-size: 16px;
  }
  .desc-container strong{
    font-size: 18px;
  }
  .desc-content p{
    font-size: 14px;
  }
  .seller-box, .review-wrapper{
    padding: 0; 
    font-size: 14px;
  }
  .seller-heading{
    font-size: 20px;
  }
  .button-group{
      max-width: 100%;
      left: 0;
      transform: none;
      padding: 15px 20px;
  }
  .review-tab-content {
      padding: 20px;
  }
  .share-buttons-horizontal {
      flex-wrap: nowrap; 
  }
  .share-social-block {
      padding: 20px;
  }
  .countdown-number { font-size: 48px; }
  .countdown-unit { min-width: 80px; padding: 8px 10px; }
  .countdown-separator { font-size: 40px; }
}
@media (max-width: 480px) {
    .swatch{width:70px}
    .swatch-img{height:50px}
    .size-card{min-width:70px}
    .countdown-number { font-size: 24px; }
    .countdown-unit { min-width: 50px; padding: 4px 6px; }
    .countdown-separator { font-size: 24px; }
    .sale-end-banner-inner > span { font-size: 16px; }
    
    #buyOnEmiBtn, #extraOfferBtn {
        flex: 1 1 100%; 
    }
    .shop-btn {
        flex: 1 1 48%; 
    }
    .zoom-nav-btn {
        font-size: 20px;
    }
    #zoomPrevBtn {
        left: 5px;
    }
    #zoomNextBtn {
        right: 5px;
    }
    .zoom-close {
        font-size: 30px;
        right: 20px;
    }
}
