/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #1a5c3a;
    --primary-light: #2d8a5e;
    --primary-dark: #0e3d25;
    --primary-soft: #e8f5e9;
    --primary-glow: rgba(26,92,58,0.15);
    --accent: #c8956c;
    --dark: #0f1729;
    --text: #333333;
    --text-light: #6b7280;
    --bg-warm: #faf8f5;
    --bg-section: #f5f3ef;
    --border: #e5e0d8;
    --white: #ffffff;
    --danger: #e74c3c;
    --amber: #f59e0b;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.12);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', sans-serif;
}

/* ===== BASE FONT ===== */
body, .gm-info, .gm-tabs-section, .gm-product-section {
    font-family: var(--font-body);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes borderGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(26,92,58,0.2); }
    50% { box-shadow: 0 0 20px rgba(26,92,58,0.4); }
}
@keyframes priceJump {
    0% { transform: scale(1); }
    40% { transform: scale(1.18); color: #e74c3c; }
    100% { transform: scale(1); }
}
@keyframes sizeSelect {
    0% { transform: scale(1); }
    40% { transform: scale(0.93); }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
@keyframes checkBounce {
    0% { transform: scale(0); }
    60% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
@keyframes glowRing {
    0%, 100% { box-shadow: 0 0 0 0 rgba(26,92,58,0.3), 0 4px 15px rgba(26,92,58,0.25); }
    50% { box-shadow: 0 0 0 6px rgba(26,92,58,0), 0 4px 25px rgba(26,92,58,0.4); }
}
@keyframes toastSlide {
    0% { transform: translateX(120%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes lineGrow {
    from { width: 0; }
    to { width: 60px; }
}

.anim-fade-up { opacity: 0; animation: fadeInUp 0.8s var(--ease) forwards; }
.anim-fade-left { opacity: 0; animation: fadeInLeft 0.8s var(--ease) forwards; }
.anim-fade-right { opacity: 0; animation: fadeInRight 0.8s var(--ease) forwards; }
.anim-scale { opacity: 0; animation: scaleIn 0.6s var(--ease) forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ===== BREADCRUMB ===== */
.gm-breadcrumb {
    background: linear-gradient(135deg, var(--primary-soft) 0%, var(--bg-warm) 100%);
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-body);
}
.gm-breadcrumb ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    font-size: 14px;
}
.gm-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}
.gm-breadcrumb a:hover { color: var(--primary-light); }
.gm-breadcrumb .sep { color: var(--accent); font-size: 10px; }
.gm-breadcrumb .current { color: var(--text-light); font-weight: 500; }

/* ===== PRODUCT SECTION ===== */
.gm-product-section {
    padding: 50px 0 70px;
    background: var(--white);
}

/* Gallery */
.gm-gallery {
    display: flex;
    gap: 16px;
    position: sticky;
    top: 20px;
}
.gm-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 520px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #eee;
}
.gm-thumbs::-webkit-scrollbar { width: 4px; }
.gm-thumbs::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
.gm-thumb {
    width: 78px;
    height: 78px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2.5px solid var(--border);
    cursor: pointer;
    transition: all 0.4s var(--ease);
    flex-shrink: 0;
}
.gm-thumb:hover { border-color: var(--primary-light); transform: scale(1.08); }
.gm-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    animation: borderGlow 2s ease infinite;
}
.gm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gm-main-img {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-warm);
    position: relative;
    border: 1px solid var(--border);
    cursor: pointer;
}
.gm-main-img img {
    width: 100%;
    height: 520px;
    object-fit: contain;
    transition: transform 0.6s ease;
}
.gm-main-img:hover img { transform: scale(1.06); }
.gm-main-img .zoom-hint {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}
.gm-main-img:hover .zoom-hint { opacity: 1; }
.gm-img-discount {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    animation: pulse 2.5s ease infinite;
    z-index: 2;
    font-family: var(--font-body);
}

/* Product Info */
.gm-info { padding-left: 30px; }
.gm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-family: var(--font-body);
}
.gm-badge.in-stock { background: linear-gradient(135deg, #d4edda, #b7e4c7); color: var(--primary); }
.gm-badge.out-stock { background: linear-gradient(135deg, #f8d7da, #f5c6cb); color: var(--danger); }
.gm-stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    background: currentColor;
}

/* ===== STYLISH TITLE ===== */
.gm-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    position: relative;
}
.gm-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    margin-top: 10px;
    animation: lineGrow 0.8s ease 0.5s both;
}

.gm-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    margin-top: 14px;
    font-family: var(--font-body);
}
.gm-stars { display: flex; gap: 3px; }
.gm-stars i { color: var(--amber); font-size: 16px; }
.gm-rating-text { color: var(--text-light); font-size: 14px; }
.gm-rating-text a { color: var(--primary); text-decoration: none; font-weight: 700; }

/* ===== PRICE CARD ===== */
.gm-price-card {
    background: linear-gradient(145deg, #f0fdf4 0%, #fef9e7 50%, #fff5eb 100%);
    border: 1px solid #d1e7dd;
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}
.gm-price-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}
.gm-price-new {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
    display: inline-block;
    transition: transform 0.3s;
}
.gm-price-new.jumping { animation: priceJump 0.5s ease; }
.gm-price-old {
    font-size: 20px;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 500;
    font-family: var(--font-body);
}
.gm-discount {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    font-family: var(--font-body);
}
.gm-tax-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
    font-family: var(--font-body);
}

/* ===== SIZE SELECTOR ===== */
.gm-size-wrap { margin-bottom: 28px; }
.gm-size-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
}
.gm-size-label .val {
    color: var(--primary);
    font-weight: 800;
    padding: 3px 12px;
    background: var(--primary-soft);
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.3s ease;
}
.gm-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.gm-size-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    min-width: 110px;
    border: 2.5px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    background: var(--white);
    transition: all 0.35s var(--ease);
    user-select: none;
    z-index: 1;
    font-family: var(--font-body);
}
.gm-size-btn .size-name {
    pointer-events: none;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
}
.gm-size-btn .size-price-hint {
    pointer-events: none;
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 4px;
    transition: color 0.3s;
}
.gm-size-btn .size-check {
    pointer-events: none;
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: var(--primary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(26,92,58,0.3);
    z-index: 5;
}
.gm-size-btn:hover {
    border-color: var(--primary-light);
    background: #f0fdf4;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(26,92,58,0.12);
}
.gm-size-btn.active {
    border-color: var(--primary) !important;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light)) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(26,92,58,0.4);
    animation: glowRing 2s ease infinite;
}
.gm-size-btn.active .size-name { color: #fff; }
.gm-size-btn.active .size-price-hint { color: rgba(255,255,255,0.85); }
.gm-size-btn.active .size-check { display: flex; animation: checkBounce 0.4s var(--ease-bounce); }
.gm-size-btn:not(.active) { opacity: 0.8; }
.gm-size-btn:not(.active):hover { opacity: 1; }

/* ===== META ===== */
.gm-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    font-family: var(--font-body);
}
.gm-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-warm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.gm-meta-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border);
}
.gm-meta-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.gm-meta-icon.cat { background: #fef3c7; }
.gm-meta-icon.stock { background: #d1fae5; }
.gm-meta-icon.stock.out { background: #fee2e2; }
.gm-meta-text { font-size: 13px; color: var(--text-light); font-family: var(--font-body); }
.gm-meta-text strong { color: var(--dark); display: block; font-size: 14px; font-weight: 700; }

/* ===== ACTIONS ===== */
.gm-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.gm-btn-cart {
    flex: 1;
    min-width: 170px;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    font-family: var(--font-body);
}
.gm-btn-cart::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
    pointer-events: none;
}
.gm-btn-cart:hover::before { left: 100%; }
.gm-btn-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26,92,58,0.35);
    color: #fff;
}
.gm-btn-cart.disabled {
    background: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}
.gm-btn-buy {
    flex: 1;
    min-width: 170px;
    padding: 18px 30px;
    background: var(--white);
    color: var(--primary);
    border: 2.5px solid var(--primary);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
    width: 100%;
    font-family: var(--font-body);
}
.gm-btn-buy:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26,92,58,0.2);
}

/* ===== PROMISES (REMOVED COD IMAGE — REPLACED WITH STYLISH TRUST BAR) ===== */
.gm-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: linear-gradient(135deg, var(--primary-soft), #fff9f0);
    border: 1px solid #c8e6c9;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 28px;
}
.gm-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 10px;
    text-align: center;
    position: relative;
    transition: background 0.3s ease;
}
.gm-trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: #c8e6c9;
}
.gm-trust-item:hover { background: rgba(26,92,58,0.05); }
.gm-trust-icon { font-size: 26px; margin-bottom: 6px; display: block; }
.gm-trust-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
    font-family: var(--font-body);
}
.gm-trust-sub {
    font-size: 10px;
    color: var(--text-light);
    margin-top: 2px;
    font-family: var(--font-body);
}

/* ===== STYLISH PRODUCT DESCRIPTION ===== */
.gm-desc-preview {
    padding: 0;
    background: transparent;
    border: none;
    font-family: var(--font-body);
}
.gm-desc-preview h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    font-size: 20px;
    position: relative;
    padding-left: 16px;
}
.gm-desc-preview h4::before {
    content: '';
    position: absolute;
    left: 0; top: 4px; bottom: 4px;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 4px;
}
.gm-desc-preview .desc-intro {
    font-size: 15px;
    color: var(--text);
    line-height: 1.85;
    background: linear-gradient(135deg, #f8fffe, #fffdf7);
    border: 1px solid #d1e7dd;
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 20px;
    font-style: italic;
    border-left: 4px solid var(--primary);
}
/* Stylish Key Benefits */
.gm-benefits-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 20px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gm-benefits-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-soft), transparent);
}
.gm-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.gm-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--white);
    border: 1px solid #e0f2e9;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13.5px;
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s;
    line-height: 1.4;
}
.gm-benefit-list li:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 12px rgba(26,92,58,0.1);
    border-color: var(--primary-light);
}
.gm-benefit-list li .bi {
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}
/* Stylish How To Use */
.gm-howto {
    background: linear-gradient(135deg, #f0fdf4, #fffbf0);
    border: 1px solid #c8e6c9;
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-top: 8px;
}
.gm-howto-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gm-howto-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.gm-howto-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed #c8e6c9;
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    line-height: 1.5;
}
.gm-howto-list li:last-child { border-bottom: none; }
.gm-howto-num {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    font-family: var(--font-body);
}

/* General desc text (for tabs etc) */
.gm-styled-desc {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    line-height: 1.85;
}
.gm-styled-desc p { margin-bottom: 14px; }
.gm-styled-desc ul, .gm-styled-desc ol {
    padding-left: 20px;
    margin-bottom: 14px;
}
.gm-styled-desc li { margin-bottom: 8px; }
.gm-styled-desc h3, .gm-styled-desc h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 10px;
}
.gm-styled-desc strong { color: var(--primary-dark); }

/* ===== HIGHLIGHTS ===== */
.gm-highlights {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white), var(--bg-section));
    overflow: hidden;
}
.gm-hl-header { text-align: center; margin-bottom: 50px; }
.gm-hl-tag {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    font-family: var(--font-body);
}
.gm-hl-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}
.gm-hl-desc {
    color: var(--text-light);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
    font-family: var(--font-body);
}
.gm-hl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gm-hl-card {
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: hidden;
}
.gm-hl-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}
.gm-hl-card:hover::before { transform: scaleX(1); }
.gm-hl-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.gm-hl-card:hover .gm-hl-emoji { animation: float 1.5s ease infinite; transform: scale(1.2); }
.gm-hl-emoji { font-size: 48px; display: block; margin-bottom: 18px; transition: transform 0.4s; }
.gm-hl-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.gm-hl-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin: 0; font-family: var(--font-body); }

/* ===== SPECIAL IMAGES ===== */
.gm-special { padding: 60px 0; background: var(--bg-warm); }
.gm-special-header { text-align: center; margin-bottom: 40px; }
.gm-special-header h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    color: var(--dark);
}
.gm-special-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gm-special-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s var(--ease);
    position: relative;
    cursor: pointer;
}
.gm-special-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}
.gm-special-item:hover img { transform: scale(1.1); filter: brightness(0.85); }
.gm-special-item img { width: 100%; height: 280px; object-fit: cover; display: block; transition: all 0.6s; }

/* ===== TABS ===== */
.gm-tabs-section { padding: 70px 0; background: var(--bg-section); }
.gm-tabs-nav {
    display: flex;
    gap: 6px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: var(--white);
    padding: 6px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.gm-tab-btn {
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.35s ease;
    font-family: var(--font-body);
}
.gm-tab-btn:hover { color: var(--primary); background: var(--primary-soft); }
.gm-tab-btn.active {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(26,92,58,0.3);
}
.gm-tab-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.5s ease;
    line-height: 1.8;
    color: var(--text);
    font-family: var(--font-body);
}

/* ===== REVIEWS ===== */
.gm-review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}
.gm-review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
    border-left: 3px solid var(--primary);
}
.gm-review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.gm-review-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 18px;
    font-family: var(--font-body);
}
.gm-review-name { font-weight: 700; color: var(--dark); font-size: 16px; font-family: var(--font-body); }
.gm-review-stars { display: flex; gap: 2px; }
.gm-review-stars i { color: var(--amber); font-size: 14px; }
.gm-review-stars i.empty { color: #ddd; }
.gm-review-text { color: var(--text); line-height: 1.7; font-size: 15px; }
.gm-review-form {
    background: linear-gradient(135deg, var(--bg-warm), var(--white));
    border-radius: var(--radius-lg);
    padding: 36px; margin-top: 36px;
    border: 1px solid var(--border);
    font-family: var(--font-body);
}
.gm-review-form h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    font-size: 22px;
    margin-bottom: 24px;
}
.gm-review-form .form-label { font-weight: 700; color: var(--dark); font-size: 14px; }
.gm-review-form .form-control {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    padding: 12px 16px;
    transition: all 0.3s;
    font-family: var(--font-body);
}
.gm-review-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.gm-review-form .btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none; color: #fff; border-radius: var(--radius-sm);
    padding: 14px 40px; font-weight: 700; font-size: 15px;
    cursor: pointer; transition: all 0.4s ease;
    font-family: var(--font-body);
}
.gm-review-form .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,92,58,0.3); }

/* ===== RELATED ===== */
.gm-related {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-warm), #edf7ed 50%, var(--bg-warm));
}
.gm-related-header { text-align: center; margin-bottom: 50px; }
.gm-related-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
}
.gm-related-header p { color: var(--text-light); font-size: 15px; margin-top: 8px; font-family: var(--font-body); }
.gm-related-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.gm-rel-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.45s var(--ease);
    text-decoration: none;
    display: block;
    border: 1.5px solid transparent;
}
.gm-rel-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.gm-rel-img { height: 210px; overflow: hidden; }
.gm-rel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gm-rel-card:hover .gm-rel-img img { transform: scale(1.12); }
.gm-rel-body { padding: 18px; text-align: center; font-family: var(--font-body); }
.gm-rel-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}
.gm-rel-price .new { font-size: 20px; font-weight: 800; color: var(--primary); font-family: var(--font-body); }
.gm-rel-price .old { font-size: 13px; color: #aaa; text-decoration: line-through; margin-left: 6px; }
.gm-rel-btn {
    display: inline-block; margin-top: 12px; padding: 10px 26px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff; border-radius: 8px; font-size: 13px; font-weight: 700;
    text-decoration: none; transition: all 0.3s;
    font-family: var(--font-body);
}
.gm-rel-card:hover .gm-rel-btn { box-shadow: 0 4px 15px rgba(26,92,58,0.3); }
.gm-rel-stock {
    font-size: 12px; margin-top: 10px; color: var(--text-light);
    display: flex; align-items: center; justify-content: center; gap: 4px;
}
.gm-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.gm-dot.in { background: #22c55e; }
.gm-dot.out { background: #ef4444; }

/* ===== LOADER ===== */
#gmLoader {
    display: none;
    position: fixed; inset: 0;
    background: rgba(255,255,255,0.92);
    z-index: 999999;
    backdrop-filter: blur(4px);
}
.gm-spinner {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); text-align: center;
}
.gm-spinner-ring {
    width: 50px; height: 50px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}
.gm-spinner-text { font-size: 14px; color: var(--primary); font-weight: 600; font-family: var(--font-body); }

/* ===== LIGHTBOX ===== */
#gmLightbox {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99999;
    justify-content: center; align-items: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
}
#gmLightbox img {
    max-width: 90%; max-height: 90%;
    border-radius: var(--radius-md);
    animation: scaleIn 0.4s ease;
}
#gmLightbox .close-btn {
    position: absolute; top: 20px; right: 30px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%; color: #fff;
    font-size: 24px; cursor: pointer;
    transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
}
#gmLightbox .close-btn:hover { transform: rotate(90deg); background: rgba(255,255,255,0.2); }

/* ===== TOAST ===== */
.gm-toast {
    position: fixed; bottom: 30px; right: 30px;
    background: var(--primary); color: #fff;
    padding: 16px 28px; border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 600;
    box-shadow: var(--shadow-lg); z-index: 99999;
    transform: translateX(120%); opacity: 0;
    transition: all 0.5s var(--ease-bounce);
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-body);
}
.gm-toast.show { transform: translateX(0); opacity: 1; }
.gm-toast.error { background: var(--danger); }

/* ===== SIZE ERROR ===== */
.gm-size-wrap.error-highlight {
    outline: 2px solid var(--danger);
    outline-offset: 6px;
    border-radius: var(--radius-md);
    animation: pulse 0.4s ease 3;
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
    opacity: 0; transform: translateY(30px);
    transition: all 0.8s var(--ease);
}
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== IMAGE FALLBACK ===== */
.gm-thumb img, .gm-rel-img img, .gm-special-item img {
    background: #f5f5f5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) { .gm-related-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991px) {
    .gm-gallery { flex-direction: column-reverse; }
    .gm-thumbs { flex-direction: row; overflow-x: auto; max-height: none; }
    .gm-main-img img { height: 400px; }
    .gm-info { padding-left: 0; margin-top: 36px; }
    .gm-hl-grid { grid-template-columns: repeat(2, 1fr); }
    .gm-related-grid { grid-template-columns: repeat(3, 1fr); }
    .gm-special-grid { grid-template-columns: repeat(2, 1fr); }
    .gm-trust-bar { grid-template-columns: repeat(2, 1fr); }
    .gm-trust-item:nth-child(2)::after { display: none; }
}
@media (max-width: 767px) {
    .gm-title { font-size: 26px; }
    .gm-price-new { font-size: 30px; }
    .gm-hl-grid { grid-template-columns: 1fr; }
    .gm-hl-title { font-size: 28px; }
    .gm-related-grid { grid-template-columns: repeat(2, 1fr); }
    .gm-special-grid { grid-template-columns: 1fr; }
    .gm-special-item img { height: 220px; }
    .gm-actions { flex-direction: column; }
    .gm-trust-bar { grid-template-columns: repeat(2, 1fr); }
    .gm-tab-content { padding: 24px 18px; }
    .gm-sizes { gap: 10px; }
    .gm-size-btn { min-width: 90px; padding: 12px 18px; }
    .gm-benefit-list { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .gm-related-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .gm-rel-img { height: 160px; }
    .gm-trust-bar { grid-template-columns: repeat(2, 1fr); }
}