:root {
    --green: #2e7d32;
    --red: #d32f2f;
    --blue: #1E88E5;
    --gray: #666;
    --light: #f9f9f9;
    --danger: #e53935;
    --shadow: rgba(0, 0, 0, .08);
    --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;
    --ui-font: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*,
::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--ui-font);
    background: var(--light);
    padding-bottom: 100px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   NEW: Global Icon & Title Shadows/Scaling
   ========================================= */
i, .fa, .fas, .fab, .far, .fal, .fad {
    font-size: 1.25em; /* Increase default FA icon size */
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25); /* Shadow for icons */
}

h1, h2, h3, h4, h5, h6 {
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15); /* Shadow for standard titles */
}
/* ========================================= */

.container {
    width: 100%;
    padding: 7px;
    background: #fff;
    margin-top: 0;
}

header {
    background: #fff;
    box-shadow: 0 4px 12px var(--shadow);
    padding: 10px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
}

.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 16px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .02);
    outline: 0;
    transition: all .3s ease;
    background: #f5f7fa;
}

.search-box input:focus {
    border-color: var(--green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, .1);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    color: #222;
    font-size: 24px;
    text-decoration: none;
    transition: color .2s;
}

.cart-icon:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    padding: 3px 6px;
    font-size: 10px;
    font-weight: 900;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(211, 47, 47, .4);
}

.sale-end-banner {
    background: linear-gradient(135deg, var(--sale-timer-bg), #ffecb3);
    padding: 12px 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(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: 800;
    color: var(--sale-timer-color);
    text-transform: uppercase;
}

/* UPDATED: Increased icon size and added shadow */
.sale-end-banner-inner i {
    font-size: 26px; 
    color: var(--sale-timer-icon);
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
}

.countdown-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 5px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--sale-timer-icon), #e65100);
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    min-width: 64px;
    box-shadow: 0 4px 10px rgba(230, 81, 0, .3);
    border: 1px solid rgba(255, 255, 255, .2);
}

.countdown-number {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .2);
}

.countdown-label {
    font-size: 10px;
    font-weight: 600;
    color: #fff8e1;
    margin-top: 4px;
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: 32px;
    color: var(--sale-timer-color);
    font-weight: 800;
    padding: 0 2px;
    line-height: 1.1;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    aspect-ratio: 11/13;
    height: auto;
    max-height: 85vh;
    background: #fcfcfc;
}

.carousel-track {
    display: flex;
    transition: transform .4s cubic-bezier(.25, 1, .5, 1);
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
    transform: translateZ(0);
}

.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: #fff;
    color: #fff;
    scroll-snap-align: start;
    transform: translateZ(0);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f9f9f9;
}

.slide[data-video] img {
    cursor: default;
}

.slide iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.play-btn {
    position: absolute;
    color: rgba(255, 255, 255, .9);
    font-size: 64px;
    cursor: pointer;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4));
    transition: transform .2s;
}

.play-btn:active {
    transform: scale(.9);
}

.play-label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, .75);
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.close-video {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    font-size: 28px;
    color: #fff;
    background: rgba(0, 0, 0, .7);
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    backdrop-filter: blur(4px);
}

.zoom-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    transition: background .3s, transform .2s;
    backdrop-filter: blur(4px);
}

.zoom-icon:hover {
    background: rgba(0, 0, 0, .8);
    transform: scale(1.05);
}

.dots {
    text-align: center;
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s cubic-bezier(.25, 1, .5, 1);
    position: relative;
}

.dot.active {
    background: linear-gradient(135deg, var(--primary-color), #2e7d32);
    box-shadow: 0 4px 10px rgba(76, 175, 80, .4);
    transform: scale(1.3);
}

.dot.video {
    background: linear-gradient(135deg, #FF6F00, #FBC02D);
    box-shadow: 0 4px 10px rgba(255, 111, 0, .4);
}

/* UPDATED: Increased icon size (kept small due to dot size but noticeably larger) and added text-shadow */
.dot.video i {
    position: absolute;
    font-size: 10px; 
    color: #fff;
    pointer-events: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 8px;
}

/* UPDATED: Added Title Shadow */
.title-row h2 {
    font-size: 22px;
    color: #111;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    line-height: 1.3;
    font-weight: 800;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
}

.share-btn {
    background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px var(--shadow);
    transition: all .2s;
    padding: 0;
}

/* UPDATED: Increased icon size and added shadow */
.share-btn i {
    font-size: 22px; 
    color: var(--accent-blue);
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
}

.share-btn:active {
    transform: scale(.92);
}

.price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    background: #fefefe;
    padding: 10px 0;
    border-radius: 8px;
}

.discount {
    color: #fff;
    background: linear-gradient(135deg, var(--danger), #b71c1c);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(229, 57, 53, .3);
}

.regular {
    font-size: 15px;
    color: #888;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.sale {
    display: flex;
    align-items: flex-start;
    color: #111;
}

.sale .rupee,
.sale .dash {
    font-size: 18px;
    font-weight: 700;
    margin-top: 4px;
}

.sale .amount {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
}

.status-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    margin-bottom: 16px;
    background: #fafafa;
    padding: 10px;
    border-radius: 8px;
}

.stock-green {
    color: var(--green);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stock-red {
    color: var(--red);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars {
    color: #4B2E2B;
    font-size: 13px;
    display: flex;
    gap: 2px;
    align-items: center;
    font-weight: 700;
}

.label-badge {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.info-label {
    background: linear-gradient(to right, #e8f5e9, #f1f8e9);
    border-left: 5px solid var(--green);
    padding: 14px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #1b5e20;
    margin-bottom: 12px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}

.info-label .amt {
    font-weight: 900;
    color: var(--danger);
    font-size: 15px;
}

.delivery-by-label {
    background: linear-gradient(to right, #f3e5f5, #fce4ec);
    border-left: 5px solid #8e24aa;
    padding: 14px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #4a148c;
    margin-bottom: 12px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}

.payment-options-label {
    background: linear-gradient(to right, #e0f7fa, #e0f2f1);
    border-left: 5px solid var(--border-var);
    padding: 14px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #006064;
    margin-bottom: 20px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}

.avail-yes {
    color: var(--green);
    font-weight: 900;
    margin-left: 2px;
}

.avail-no {
    color: var(--red);
    font-weight: 900;
}

.desc-container,
.review-wrapper,
.seller-box {
    content-visibility: auto;
    contain-intrinsic-size: 200px;
}

.desc-container {
    display: flex;
    flex-direction: column;
    padding: 16px;
    margin-bottom: 15px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
    width: 100%;
}

.desc-row {
    word-break: break-word;
    width: 100%;
}

.desc-content {
    font-family: inherit;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
}

.desc-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 13px;
}

.desc-content td,
.desc-content th {
    border: 1px solid #e0e0e0;
    padding: 8px;
    text-align: left;
}

.desc-content th {
    background: #f5f5f5;
    font-weight: 700;
}

.desc-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 8px 0;
}

.desc-content p {
    margin-bottom: 10px;
}

/* UPDATED: Added Title Shadow for description headings */
.desc-content h1,
.desc-content h2,
.desc-content h3 {
    margin: 14px 0 8px;
    font-weight: 800;
    color: #222;
    font-size: 16px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
}

.desc-content ol,
.desc-content ul {
    padding-left: 20px;
    margin-bottom: 10px;
}

.coupon-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 1px dashed #ff9800;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(255, 152, 0, .15);
}

/* UPDATED: Increased icon size and added shadow */
.coupon-icon {
    font-size: 30px; 
    color: #e65100;
    margin-right: 12px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
}

.coupon-details {
    flex-grow: 1;
}

.coupon-code {
    font-size: 16px;
    font-weight: 900;
    color: #d84315;
    background: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
}

.coupon-expiry {
    font-size: 12px;
    color: #795548;
    margin-top: 6px;
    font-weight: 600;
}

.policy-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.policy-card {
    flex: 1 1 45%;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid #f0f0f0;
    transition: transform .2s, box-shadow .2s;
}

.policy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, .08);
}

/* UPDATED: Increased icon size and added shadow */
.policy-icon {
    font-size: 28px; 
    margin-right: 8px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
}

.policy-title {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.policy-text {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.4;
}

.warranty-card {
    border-left: 6px solid #00796B;
}

.warranty-card .policy-icon,
.warranty-card .policy-title {
    color: #00796B;
}

.return-card {
    border-left: 6px solid #FF9800;
}

.return-card .policy-icon,
.return-card .policy-title {
    color: #FF9800;
}

/* UPDATED: Added Title Shadow */
.variation-title {
    font-weight: 800;
    font-size: 15px;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0 10px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
}

#color-options,
#size-options {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px;
    background: #f5f7fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    -webkit-overflow-scrolling: touch;
}

#color-options::-webkit-scrollbar,
#size-options::-webkit-scrollbar {
    height: 4px;
}

#color-options::-webkit-scrollbar-thumb,
#size-options::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 10px;
}

.size-card,
.swatch {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 10px;
    background: var(--bg-card);
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.swatch {
    width: 75px;
    height: 120px;
}

.swatch-img {
    width: 100%;
    height: 85px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #f0f0f0;
}

.color-name {
    width: 100%;
    text-align: center;
    background: var(--bg-color);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 0;
    color: #00838f;
}

.var-stock {
    font-size: 9px;
    font-weight: 800;
    padding: 4px 0;
}

.size-card {
    min-width: 75px;
    height: 95px;
    padding: 8px;
    justify-content: center;
    gap: 4px;
}

.size-label {
    background: var(--bg-size);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 6px;
    color: #1565c0;
}

.size-price {
    font-size: 14px;
    font-weight: 800;
    color: #222;
}

.size-stock {
    font-size: 9px;
    font-weight: 800;
}

.green {
    color: var(--green);
}

.red {
    color: var(--red);
}

.size-card.selected,
.swatch.selected {
    border-color: var(--border-var);
    background: #e0f7fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 188, 212, .2);
}

.size-card.disabled,
.swatch.disabled {
    cursor: not-allowed;
    opacity: .5;
    filter: grayscale(100%);
    box-shadow: none;
}

.placeholder-box {
    background: #f5f5f5 !important;
    border: 2px dashed #ccc !important;
}

.placeholder-box .color-name,
.placeholder-box .size-label {
    background: #e0e0e0 !important;
    color: #777 !important;
}

.tab-nav {
    display: flex;
    background: #f5f7fa;
    padding: 6px;
    border-radius: 12px;
    gap: 6px;
    margin-top: 24px;
}

.tab-nav div {
    flex: 1;
    text-align: center;
    padding: 12px 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    color: var(--gray);
    border-radius: 8px;
    transition: all .3s;
}

.tab-nav .active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), #388e3c);
    box-shadow: 0 4px 12px rgba(76, 175, 80, .3);
}

.tab-content {
    display: none;
    padding: 20px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    background: var(--bg-card);
    border: 1px solid #f0f0f0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .03);
    animation: fadeIn .4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-tab {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    background: #f5f5f5;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.close-tab:hover {
    color: var(--red);
    background: #ffebee;
}

.seller-box {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
    margin-top: 24px;
    position: relative;
    background: linear-gradient(135deg, #f5f9ff, #eaf1fa);
    border-left: 6px solid var(--accent-blue);
}

.blue-tick-abs {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .15);
}

/* UPDATED: Added Title Shadow */
.seller-heading {
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
}

.seller-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.seller-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

/* UPDATED: Increased icon size and added shadow */
.seller-detail i {
    font-size: 20px; 
    color: var(--accent-blue);
    margin-top: 2px;
    width: 24px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
}

#reportSellerBtn {
    margin-top: 16px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--danger), #c62828);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(229, 57, 53, .3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.share-social-block {
    margin-top: 24px;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
}

/* UPDATED: Added Title Shadow */
.share-heading {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #222;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
}

.share-buttons-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-link-btn {
    flex: 1 1 45%;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
    transition: transform .2s;
}

.share-link-btn:active {
    transform: scale(.95);
}

.share-wa {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.share-fb {
    background: linear-gradient(135deg, #4267B2, #3b5998);
}

.review-wrapper {
    margin-top: 24px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.review-tab-nav {
    display: flex;
    background: linear-gradient(to right, #fff3e0, #ffe0b2);
}

.review-tab-nav div {
    padding: 14px;
    cursor: pointer;
    font-weight: 800;
    color: #e65100;
    flex: 1;
    text-align: center;
    transition: background .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.review-tab-nav .active {
    background: #fff;
    color: var(--primary-color);
    box-shadow: inset 0 4px 0 var(--primary-color);
}

.review-tab-content {
    padding: 20px;
    display: none;
    background: #fff;
}

.review-tab-content.active {
    display: block;
    animation: fadeIn .4s ease;
}

/* UPDATED: Added Title Shadow */
.review-tab-content h3 {
    font-size: 18px;
    color: #00796B;
    margin-bottom: 16px;
    border-bottom: 2px solid #e0f2f1;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    background: #fcfcfc;
    transition: border-color .2s;
}

.review-form input:focus,
.review-form textarea:focus {
    border-color: #ff9800;
    outline: 0;
}

.rating-stars {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

/* UPDATED: Increased icon size and added shadow */
.rating-stars i {
    font-size: 32px; 
    color: #e0e0e0;
    cursor: pointer;
    transition: color .2s;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
}

.rating-stars i.active {
    color: #ffc107;
}

.review-form button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 152, 0, .3);
}

.review-card {
    background: #fafafa;
    padding: 16px;
    border: 1px solid #f0f0f0;
    border-left: 5px solid var(--primary-color);
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-user {
    font-weight: 800;
    color: #222;
    font-size: 15px;
}

.review-rating {
    color: #ffc107;
    font-size: 13px;
}

.review-date {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
    display: block;
}

.review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.gallery-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.gallery-vertical-item {
    width: 100%;
    aspect-ratio: 11/13;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.gallery-vertical-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.button-group {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .08);
    z-index: 90;
    flex-wrap: wrap;
    align-items: center;
}

.shop-btn {
    flex: 1 1 48%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    transition: transform .2s;
}

#addToCartBtn {
    background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
    color: #333;
}

#shopNow {
    background: linear-gradient(135deg, var(--primary-color), #388e3c);
    color: #fff;
}

#buyOnEmiBtn {
    background: linear-gradient(135deg, #ff9800, #ef6c00);
    color: #fff;
    flex: 1 1 100%;
}

#extraOfferBtn {
    background: linear-gradient(135deg, var(--accent-blue), #1565c0);
    color: #fff;
    flex: 1 1 100%;
}

.shop-btn:active {
    transform: scale(.96);
}

.zoom-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .95);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.zoom-content {
    max-width: 95%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}

.zoom-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .1);
    border: none;
    color: #fff;
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

#zoomPrevBtn {
    left: 15px;
}

#zoomNextBtn {
    right: 15px;
}

.dg-toast-wrap {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.dg-toast {
    color: #fff;
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
    transform: translateX(150%);
    transition: transform .4s cubic-bezier(.175, .885, .32, 1.275);
    backdrop-filter: blur(8px);
}

.dg-toast.show {
    transform: translateX(0);
}

.dg-toast-success {
    background: linear-gradient(135deg, #2ed573, #218c53);
}

.dg-toast-error {
    background: linear-gradient(135deg, #ff4757, #c0392b);
}

.dg-toast-warning {
    background: linear-gradient(135deg, #ffa502, #e67e22);
}

.dg-toast-info {
    background: linear-gradient(135deg, #1e90ff, #0984e3);
}

/* UPDATED: Increased icon size and added shadow */
.dg-toast i {
    font-size: 24px; 
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
}

footer {
    background: #111;
    color: #aaa;
    text-align: center;
    padding: 24px 16px;
    font-size: 12px;
    margin-top: 30px;
    border-top: 4px solid var(--primary-color);
    padding-bottom: 120px;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

@media(min-width: 600px) {
    .container {
        max-width: 1200px;
        padding: 24px;
        margin: auto;
    }

    .title-row h2 {
        font-size: 28px;
    }

    .price-line {
        font-size: 20px;
    }

    .sale .amount {
        font-size: 36px;
    }

    .status-group,
    .info-label,
    .payment-options-label {
        font-size: 16px;
    }

    .desc-container strong {
        font-size: 18px;
    }

    .desc-content p {
        font-size: 15px;
    }

    .seller-heading {
        font-size: 22px;
    }

    .button-group {
        padding: 16px 24px;
    }

    .share-buttons-horizontal {
        flex-wrap: nowrap;
    }

    .countdown-number {
        font-size: 48px;
    }

    .countdown-unit {
        min-width: 80px;
        padding: 10px;
    }
}

@media(max-width: 480px) {
    .swatch {
        width: 70px;
        height: 115px;
    }

    .swatch-img {
        height: 80px;
    }

    .size-card {
        min-width: 70px;
    }

    .countdown-number {
        font-size: 28px;
    }

    .countdown-unit {
        min-width: 56px;
        padding: 6px;
    }

    .countdown-separator {
        font-size: 26px;
    }

    .zoom-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    #zoomPrevBtn {
        left: 10px;
    }

    #zoomNextBtn {
        right: 10px;
    }
}

        /* Compact Shop With Confidence Grid Styles */
        .confidence-section {
            background: #ffffff;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 12px;
            margin: 15px 0;
            box-shadow: 0 2px 6px rgba(0,0,0,0.03);
        }
        .confidence-title {
            font-size: 15px;
            font-weight: 700;
            color: #222;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .confidence-title i {
            color: #2ed573;
            font-size: 16px;
        }
        .confidence-grid {
            display: grid;
            /* Forces 2 items per row, even on mobile */
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
        }
        .confidence-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 10px;
            background: #f8faff;
            border-radius: 6px;
            border: 1px solid #e1e8f0;
            transition: transform 0.2s ease;
        }
        .confidence-item:hover {
            transform: translateY(-1px);
        }
        .confidence-item-header {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #666;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }
        .confidence-item-header i {
            font-size: 12px;
            color: #1e90ff;
            width: 14px;
            text-align: center;
        }
        .confidence-item-value {
            font-size: 12px;
            font-weight: 700;
            color: #333;
            padding-left: 19px;
            line-height: 1.3;
        }
        .confidence-item-value.highlight-red { color: #e74c3c; }
        .confidence-item-value.highlight-purple { color: #8e24aa; }
        .confidence-item-value.highlight-green { color: #27ae60; }
        .confidence-item-value.highlight-orange { color: #d35400; }
    