/* ============================================================
   LIBRIO Trading Pvt Ltd
   Design and Developed by: HashCat Pvt Ltd
   Developer:  Sunny
   Contact Number: +9607922269
   ============================================================ */

:root {
    --navy: #0B3D4C;
    --navy-deep: #082C37;
    --sand: #EDE4D3;
    --sand-light: #F7F3EA;
    --coral: #E8785A;
    --coral-deep: #D5623F;
    --seafoam: #7FB3A3;
    --charcoal: #2A2A28;
    --white: #FFFFFF;
    --line: rgba(11,61,76,0.12);
    --shadow: 0 12px 32px rgba(11,61,76,0.12);
    --radius: 14px;
    --font-display: 'Fraunces', serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0 0 16px; line-height: 1.15; }
p { margin: 0 0 16px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(232,120,90,0.35); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Button Group ---------- */
.btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-deep); color: rgba(255,255,255,0.85); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; }
.topbar a { color: var(--white); font-weight: 600; }
.topbar-note { opacity: 0.8; }
@media (max-width: 640px) { .topbar-note { display: none; } }

/* ---------- Header ---------- */
.site-header { 
    background: var(--white); 
    border-bottom: 1px solid var(--line); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}
.header-inner { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 10px 24px;
    min-height: 70px;
}

/* ---------- Logo ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    color: var(--navy);
    white-space: nowrap;
}

.main-nav { display: flex; gap: 32px; }
.main-nav a { font-weight: 600; font-size: 15px; color: var(--charcoal); padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--coral); border-color: var(--coral); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); }

@media (max-width: 860px) {
    .header-inner {
        padding: 8px 20px;
        min-height: 60px;
    }
    
    .logo-image {
        width: 55px;
        height: 55px;
    }
    
    .logo-text {
        font-size: 17px;
    }
    
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); flex-direction: column; gap: 0;
        border-bottom: 1px solid var(--line);
        max-height: 0; overflow: hidden; transition: max-height .25s ease;
    }
    .main-nav.open { max-height: 300px; }
    .main-nav a { padding: 16px 24px; border-bottom: 1px solid var(--line); }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 6px 16px;
        min-height: 55px;
    }
    
    .logo-image {
        width: 45px;
        height: 45px;
    }
    
    .logo-text {
        font-size: 14px;
    }
}

/* ---------- Hero / Scrolling Banner ---------- */
.hero-banner { position: relative; height: 560px; overflow: hidden; background: var(--navy); }
.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0; transition: opacity .8s ease;
    background-size: cover; background-position: center;
}
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8,44,55,0.88) 0%, rgba(8,44,55,0.55) 55%, rgba(8,44,55,0.25) 100%);
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 560px; padding: 0 24px; color: var(--white); }
.hero-eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700; color: var(--seafoam); margin-bottom: 14px; display: block; }
.hero-content h1 { color: var(--white); font-size: 44px; margin-bottom: 14px; }
.hero-content p { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 28px; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: background .2s; padding: 0; }
.hero-dot.active { background: var(--coral); width: 26px; border-radius: 6px; }
@media (max-width: 640px) {
    .hero-banner { height: 460px; }
    .hero-content h1 { font-size: 30px; }
}

/* ---------- Wave divider (signature element) ---------- */
.wave-divider { display: block; width: 100%; line-height: 0; }
.wave-divider svg { width: 100%; height: 10px; display: block; }

/* ---------- Section spacing ---------- */
.section { 
    padding: 40px 0 88px 0;
}
.section-sand { background: var(--sand-light); }
.section-navy { background: var(--navy); color: rgba(255,255,255,0.9); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700; color: var(--coral); display: block; margin-bottom: 10px; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 34px; }

/* ---------- About teaser (home) ---------- */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-teaser img { border-radius: var(--radius); box-shadow: var(--shadow); }

.about-content {
    display: flex;
    flex-direction: column;
}

@media (max-width: 860px) { 
    .about-teaser { 
        grid-template-columns: 1fr; 
        text-align: center;
    }
    
    .about-content {
        align-items: center;
        text-align: center;
    }
    
    .about-teaser img {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* ---------- About teaser (about page) ---------- */
.about-teaser1 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: top; }
.about-teaser1 img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) { .about-teaser1 { grid-template-columns: 1fr; } }


/* ---------- Vision / Mission cards ---------- */
.vm-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 28px; 
    max-width: 900px;
    margin: 0 auto;
}
.vm-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 36px; box-shadow: var(--shadow);
    border-top: 4px solid var(--coral);
}
.vm-card:nth-child(2) { border-top-color: var(--seafoam); }
.vm-card .vm-icon { font-size: 28px; margin-bottom: 14px; display: block; }
@media (max-width: 720px) { .vm-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testi-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.testi-viewport::-webkit-scrollbar { display: none; }

.testi-track {
    display: flex;
    gap: 24px;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    justify-content: center;
}

.testi-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testi-card:hover {
    transform: translateY(-4px);
}

.testi-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 16px;
    margin-bottom: 2px;
}

.testi-loc {
    font-size: 13px;
    color: #7a7a76;
    margin-bottom: 8px;
}

.testi-stars {
    color: var(--coral);
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.testi-card p {
    margin-bottom: 0;
    flex: 1;
}

.testi-dup {
    display: none;
}

/* Desktop: Show scroll when more than 3 cards */
@media (min-width: 769px) {
    .testi-track:has(.testi-card:nth-child(4)) {
        justify-content: flex-start;
        overflow-x: auto;
    }
}

/* ---------- Mobile Testimonials - Auto-scrolling Carousel ---------- */
@media (max-width: 768px) {
    .testi-viewport {
        overflow: hidden;
        position: relative;
        width: 100%;
    }
    
    .testi-track {
        display: flex;
        gap: 20px;
        width: max-content;
        animation: testi-slide 28s linear infinite;
        scroll-snap-type: none;
        padding-bottom: 0;
        justify-content: flex-start;
    }
    
    .testi-track:hover,
    .testi-track:active {
        animation-play-state: paused;
    }
    
    .testi-card {
        flex: 0 0 280px;
        scroll-snap-align: none;
        margin: 4px 0;
    }
    
    .testi-dup {
        display: contents;
    }
    
    @keyframes testi-slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .testi-card {
        flex: 0 0 260px;
        padding: 24px;
    }
    
    .testi-stars {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .testi-card p {
        font-size: 14px;
    }
    
    .testi-name {
        font-size: 14px;
    }
    
    /* Button Group Mobile */
    .btn-group {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .btn-group .btn {
        width: auto;
        min-width: 200px;
        justify-content: center;
        text-align: center;
    }
}

/* ---------- Products grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.product-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-thumb { position: relative; aspect-ratio: 4/3; background: var(--sand-light); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Badge styles for product grid (position absolute) */
.product-thumb .badge {
    position: absolute; 
    top: 12px; 
    right: 12px;
    font-size: 12px; 
    font-weight: 700; 
    padding: 5px 12px; 
    border-radius: 999px;
    text-transform: uppercase; 
    letter-spacing: 0.5px;
}
.badge-in { background: #DFF3E8; color: #1D7A4C; }
.badge-out { background: #FBE2DD; color: #B23B22; }

.product-info { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 18px; margin-bottom: 6px; }
.product-cat { font-size: 12px; color: var(--seafoam); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.product-price { font-family: var(--font-display); font-size: 22px; color: var(--coral-deep); font-weight: 600; margin: 10px 0 16px; }
.product-info .btn { margin-top: auto; }
.filter-bar { display: flex; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.filter-bar a { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--navy); }
.filter-bar a.active, .filter-bar a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Product detail page ---------- */
.back-link {
    color: var(--seafoam);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}
.back-link:hover {
    color: var(--coral);
}

.product-detail { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 56px; 
    align-items: start; 
}

.product-detail-img { 
    border-radius: var(--radius); 
    overflow: hidden; 
    box-shadow: var(--shadow); 
    background: transparent;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-img img { 
    width: 100%; 
    height: auto; 
    object-fit: cover;
    display: block;
}

.pd-cat { 
    color: var(--seafoam); 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 13px; 
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-detail h1 { 
    font-size: 32px; 
    margin: 0 0 8px; 
}

.pd-price { 
    font-family: var(--font-display); 
    font-size: 30px; 
    color: var(--coral-deep); 
    font-weight: 600; 
    margin: 0 0 10px; 
}

/* Product detail badge - NOT absolute positioned */
.pd-badge { 
    display: inline-block; 
    position: relative !important;
    top: auto !important;
    right: auto !important;
    font-size: 14px; 
    font-weight: 700; 
    padding: 6px 16px; 
    border-radius: 999px;
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.pd-actions { 
    display: flex; 
    gap: 14px; 
    margin-top: 18px; 
    flex-wrap: wrap; 
}

.pd-desc { 
    border-top: 1px solid var(--line); 
    margin-top: 22px; 
    padding-top: 18px; 
    color: #4a4a46; 
}

.pd-desc h4 {
    margin-bottom: 6px;
}

/* Product detail responsive */
@media (max-width: 820px) { 
    .product-detail { 
        grid-template-columns: 1fr; 
        gap: 28px;
    }
    
    .product-detail-img {
        max-height: 500px;
        background: transparent;
        padding: 0;
    }
    
    .product-detail-img img {
        width: 100%;
        height: 100%;
        max-height: 500px;
        object-fit: contain;
        object-position: center;
    }
    
    .back-link {
        margin-bottom: 14px;
    }
}

@media (max-width: 480px) {
    .section { 
        padding: 24px 0 60px 0;
    }
    
    .back-link {
        margin-bottom: 12px;
        font-size: 14px;
    }
    
    .product-detail {
        gap: 20px;
    }
    
    .product-detail h1 {
        font-size: 24px;
        margin: 0 0 6px;
    }
    
    .pd-cat {
        font-size: 12px;
        margin-bottom: 2px;
    }
    
    .pd-price {
        font-size: 24px;
        margin: 0 0 8px;
    }
    
    .pd-badge {
        font-size: 12px;
        padding: 4px 14px;
        margin-bottom: 12px;
    }
    
    .product-detail-img {
        max-height: 350px;
        border-radius: var(--radius);
        background: transparent;
        padding: 0;
        margin: 0 -12px;
        width: calc(100% + 24px);
    }
    
    .product-detail-img img {
        width: 100%;
        height: 100%;
        max-height: 350px;
        object-fit: contain;
        object-position: center;
        border-radius: var(--radius);
    }
    
    .pd-actions {
        margin-top: 14px;
        gap: 10px;
    }
    
    .pd-actions .btn {
        font-size: 14px;
        padding: 12px 20px;
        flex: 1;
        justify-content: center;
    }
    
    .pd-desc {
        margin-top: 18px;
        padding-top: 14px;
    }
    
    .pd-desc h4 {
        font-size: 15px !important;
        margin-bottom: 4px;
    }
    
    .pd-desc p {
        font-size: 14px;
        margin-bottom: 0;
    }
}

@media (max-width: 380px) {
    .section { 
        padding: 16px 0 40px 0;
    }
    
    .product-detail-img {
        max-height: 280px;
        margin: 0 -8px;
        width: calc(100% + 16px);
    }
    
    .product-detail-img img {
        max-height: 280px;
    }
    
    .product-detail h1 {
        font-size: 20px;
    }
    
    .pd-price {
        font-size: 20px;
    }
}

/* ---------- Order modal ---------- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(11,61,76,0.55);
    display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: var(--white); border-radius: var(--radius); padding: 34px;
    max-width: 460px; width: 100%; max-height: 90vh; overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3); position: relative;
}
.modal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--navy); }
.modal-choice { display: flex; gap: 14px; margin-top: 22px; }
.modal-choice .btn { flex: 1; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
    font-family: var(--font-body); font-size: 15px; background: var(--sand-light);
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--coral); background: var(--white); }
.form-success { background: #DFF3E8; color: #1D7A4C; padding: 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }
.form-error { background: #FBE2DD; color: #B23B22; padding: 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 600; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info-card { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info-icon {
    width: 44px; height: 44px; border-radius: 10px; background: var(--sand);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.about-hero { background: var(--navy); color: var(--white); padding: 80px 0 50px; text-align: center; }
.about-hero h1 { color: var(--white); font-size: 40px; }
.about-hero p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { 
    background: var(--navy-deep); 
    color: rgba(255,255,255,0.75); 
    padding: 64px 0 0; 
    width: 100%;
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 150px; 
    padding-bottom: 48px;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
    box-sizing: border-box;
}

.footer-col h4 { 
    color: var(--white); 
    font-size: 15px; 
    margin-bottom: 16px; 
    font-family: var(--font-display);
}

.footer-col { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    font-size: 14px; 
    line-height: 1.5;
}

.footer-col a { 
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
    display: inline-block;
}

.footer-col a:hover { 
    color: var(--coral); 
}

.footer-col span {
    color: rgba(255,255,255,0.75);
    word-break: break-word;
}

.footer-brand p { 
    color: rgba(255,255,255,0.6); 
    font-size: 14px; 
    margin: 10px 0 0 0;
    line-height: 1.6;
}

/* Footer Logo */
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.footer-brand .logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.footer-brand .logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--white);
}

/* Social Links in Footer */
.footer-col .social-links {
    display: flex;
    gap: 12px;
    margin-top: 4px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-col .social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-col .social-links a:hover {
    background: var(--coral);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(232,120,90,0.4);
}

.footer-col .social-links a i {
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-col .social-links a:hover i {
    color: var(--white);
}

.footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding: 20px 0; 
    text-align: center; 
    font-size: 13px;
    width: 100%;
}

.footer-bottom .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

@media (max-width: 992px) { 
    .footer-grid { 
        grid-template-columns: 1.5fr 1fr 1fr; 
        gap: 30px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 768px) { 
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 30px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 520px) { 
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 25px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-brand .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .footer-brand .logo-text {
        font-size: 16px;
    }
    
    .footer-col {
        align-items: center;
        text-align: center;
    }
    
    .footer-col .social-links {
        justify-content: center;
    }
}
/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.empty-state { text-align: center; padding: 60px 20px; color: #7a7a76; }

/* ============================================================
   PRODUCT DETAIL PAGE - SPECIFIC GAP FIX
   This only affects the product detail page and doesn't change other sections
   ============================================================ */

/* Reduce top padding on product detail page only */
body.product-detail-page .section:first-of-type {
    padding-top: 20px !important;
    padding-bottom: 60px !important;
}

/* Reduce spacing on product detail page elements */
body.product-detail-page .back-link {
    margin-bottom: 12px !important;
}

body.product-detail-page .pd-cat {
    margin-bottom: 2px !important;
}

body.product-detail-page .product-detail h1 {
    margin: 0 0 6px !important;
}

body.product-detail-page .pd-price {
    margin: 0 0 8px !important;
}

body.product-detail-page .pd-badge {
    margin-bottom: 12px !important;
}

body.product-detail-page .pd-actions {
    margin-top: 14px !important;
}

body.product-detail-page .pd-desc {
    margin-top: 18px !important;
    padding-top: 14px !important;
}

/* Mobile adjustments for product detail page only */
@media (max-width: 768px) {
    body.product-detail-page .section:first-of-type {
        padding-top: 16px !important;
        padding-bottom: 48px !important;
    }
    
    body.product-detail-page .back-link {
        margin-bottom: 10px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    body.product-detail-page .section:first-of-type {
        padding-top: 12px !important;
        padding-bottom: 40px !important;
    }
    
    body.product-detail-page .product-detail h1 {
        font-size: 22px !important;
        margin: 0 0 4px !important;
    }
    
    body.product-detail-page .pd-price {
        font-size: 22px !important;
        margin: 0 0 6px !important;
    }
    
    body.product-detail-page .pd-badge {
        font-size: 11px !important;
        padding: 3px 12px !important;
        margin-bottom: 10px !important;
    }
    
    body.product-detail-page .pd-actions {
        margin-top: 12px !important;
        gap: 8px !important;
    }
    
    body.product-detail-page .pd-actions .btn {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
    
    body.product-detail-page .pd-desc {
        margin-top: 14px !important;
        padding-top: 12px !important;
    }
    
    body.product-detail-page .pd-desc h4 {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }
    
    body.product-detail-page .pd-desc p {
        font-size: 13px !important;
    }
}

@media (max-width: 380px) {
    body.product-detail-page .section:first-of-type {
        padding-top: 10px !important;
        padding-bottom: 32px !important;
    }
    
    body.product-detail-page .product-detail h1 {
        font-size: 19px !important;
    }
    
    body.product-detail-page .pd-price {
        font-size: 19px !important;
    }
}

/* For product detail page */
.pd-price.price-on-request {
    color: var(--seafoam);
    font-weight: 600;
    font-size: 1.2rem;
}

/* For product grid */
.product-price.price-on-request {
    color: var(--seafoam);
    font-size: 14px;
    font-weight: 600;
}