/* ============================================================
   ROMAA — Global Stylesheet
   Premium female clothing brand
   ============================================================ */

/* ── Google Fonts (Cormorant Garamond + Jost) ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── CSS Custom Properties ── */
:root {
    --color-cream:      #f5f0eb;
    --color-blush:      #e8d5c4;
    --color-rose:       #c9a99a;
    --color-charcoal:   #2c2c2c;
    --color-muted:      #7a7a7a;
    --color-white:      #ffffff;
    --color-whatsapp:   #25D366;

    --font-serif:       'Cormorant Garamond', Georgia, serif;
    --font-sans:        'Jost', 'Helvetica Neue', Arial, sans-serif;

    --navbar-height:    70px;
    --transition-base:  0.3s ease;
    --radius-card:      4px;
    --shadow-card:      0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-card-hover:0 16px 40px rgba(0, 0, 0, 0.16);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-charcoal);
    background-color: var(--color-white);
    padding-top: var(--navbar-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--color-charcoal);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }

p {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--color-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-rose);
}

/* ── Section spacing ── */
section {
    padding: 4rem 0;
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
#heroCarousel {
    margin-top: calc(-1 * var(--navbar-height));
}

.hero-slide {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-slide--placeholder {
    background-color: var(--color-cream);
}

#heroCarousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.6);
    border: none;
    margin: 0 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#heroCarousel .carousel-indicators .active {
    background-color: #fff;
    transform: scale(1.3);
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

#heroCarousel .carousel-control-prev { left: 20px; }
#heroCarousel .carousel-control-next { right: 20px; }

@media (max-width: 767px) {
    .hero-slide { height: 60vw; min-height: 280px; }
}

/* ============================================================
   BANNER SECTION (legacy — kept for compatibility)
   ============================================================ */
.banner-section {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-left: calc(-1 * ((100vw - 100%) / 2));   /* break out of container if needed */

    /* Placeholder colour — shown until a real image is set */
    background-color: var(--color-cream);

    /* When a real banner image is applied via inline style or a modifier class */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    /* Offset the fixed navbar so the banner truly starts at the top of the viewport */
    margin-top: calc(-1 * var(--navbar-height));
}

/* No text overlay — banner is purely visual */

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
    border: none;
    border-radius: var(--radius-card);
    overflow: hidden;
    background-color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-card-hover);
}

/* Image wrapper — enforces consistent 4:3 aspect ratio */
.product-card__image-wrap {
    position: relative;
    width: 100%;
    padding-top: 133.33%;   /* 4:3 portrait (height = 4/3 × width) */
    overflow: hidden;
    background-color: var(--color-cream);
}

.product-card__image-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__image-wrap img {
    transform: scale(1.04);
}

/* Card body */
.product-card__body {
    padding: 0.85rem 1rem 1rem;
}

.product-card__name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 0.2rem;
    color: var(--color-charcoal);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card__price {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-rose);
    letter-spacing: 0.04em;
}

.product-card__price--original {
    text-decoration: line-through;
    color: var(--color-muted);
    margin-right: 0.4rem;
    font-size: 0.82rem;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 1050;

    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    background-color: var(--color-whatsapp);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.03em;

    padding: 0.65rem 1.1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;

    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.40);
    transition: background-color var(--transition-base),
                box-shadow var(--transition-base),
                transform var(--transition-base);

    text-decoration: none;
}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
    transform: translateY(-2px);
    color: var(--color-white);
}

/* WhatsApp SVG icon inside the button */
.whatsapp-btn__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: var(--color-white);
}

/* Icon-only variant (no label text) */
.whatsapp-btn--icon-only {
    padding: 0.75rem;
    border-radius: 50%;
}

/* ============================================================
   SECTION HEADINGS (reusable)
   ============================================================ */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 0.4rem;
    color: var(--color-charcoal);
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 300;
    text-align: center;
    color: var(--color-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

/* Thin decorative underline */
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--color-rose);
    margin: 0.6rem auto 0;
}

/* ============================================================
   UTILITY HELPERS
   ============================================================ */
.bg-cream   { background-color: var(--color-cream); }
.bg-blush   { background-color: var(--color-blush); }
.text-rose  { color: var(--color-rose); }
.text-muted-custom { color: var(--color-muted); }

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

/* Tablet */
@media (max-width: 991.98px) {
    :root {
        --navbar-height: 60px;
    }

    section {
        padding: 3rem 0;
    }

    .whatsapp-btn {
        bottom: 1.25rem;
        right: 1.25rem;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    :root {
        --navbar-height: 56px;
    }

    body {
        font-size: 0.95rem;
    }

    section {
        padding: 2.5rem 0;
    }

    /* Collapse WhatsApp button to icon-only on small screens */
    .whatsapp-btn .whatsapp-btn__label {
        display: none;
    }

    .whatsapp-btn {
        padding: 0.75rem;
        border-radius: 50%;
        bottom: 1rem;
        right: 1rem;
    }

    .product-card__name {
        font-size: 0.95rem;
    }
}

/* ============================================================
   HERO CAROUSEL — Enhanced
   ============================================================ */
#heroCarousel {
    margin-top: calc(-1 * var(--navbar-height));
}

.hero-slide {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.06);
    transition: transform 6s ease;
}

.hero-slide--placeholder {
    background-color: var(--color-cream);
}

/* Active slide — zoom in slowly (Ken Burns) */
#heroCarousel .carousel-item.active .hero-slide {
    transform: scale(1);
}

/* Fade transition override — smooth */
#heroCarousel.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease !important;
}

#heroCarousel.carousel-fade .carousel-item.active {
    opacity: 1;
}

#heroCarousel .carousel-indicators {
    bottom: 24px;
}

#heroCarousel .carousel-indicators [data-bs-target] {
    width: 32px;
    height: 2px;
    border-radius: 0;
    background-color: rgba(255,255,255,0.5);
    border: none;
    margin: 0 4px;
    transition: all 0.4s ease;
}

#heroCarousel .carousel-indicators .active {
    background-color: #fff;
    width: 48px;
}

@media (max-width: 767px) {
    .hero-slide { height: 70vw; min-height: 260px; }
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.bg-cream-section { background-color: var(--color-cream); }

.category-card {
    display: block;
}

.category-card__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.4rem;
    background: #fff;
    border: 1px solid #e8e0d8;
    border-radius: var(--radius-card);
    transition: all var(--transition-base);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--color-charcoal);
}

.category-card:hover .category-card__inner {
    background: var(--color-charcoal);
    color: #fff;
    border-color: var(--color-charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.category-card__arrow {
    font-size: 1rem;
    transition: transform var(--transition-base);
}

.category-card:hover .category-card__arrow {
    transform: translateX(4px);
}

/* ============================================================
   COLLECTION CARDS
   ============================================================ */
.collection-card {
    display: block;
}

.collection-card__body {
    padding: 2rem;
    background: #fff;
    border: 1px solid #e8e0d8;
    border-radius: var(--radius-card);
    height: 100%;
    transition: all var(--transition-base);
    min-height: 140px;
}

.collection-card:hover .collection-card__body {
    border-color: var(--color-rose);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.collection-card__name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.collection-card__desc {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.collection-card__link {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-rose);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============================================================
   PRODUCT CARD — no image placeholder
   ============================================================ */
.product-card__no-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    color: var(--color-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================================
   VIEW ALL BUTTON
   ============================================================ */
.btn-outline-dark-custom {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    border: 1px solid var(--color-charcoal);
    color: var(--color-charcoal);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--transition-base);
    border-radius: 0;
}

.btn-outline-dark-custom:hover {
    background: var(--color-charcoal);
    color: #fff;
}

/* ============================================================
   PCARD — Product & Collection Cards (with hover overlay)
   ============================================================ */
.pcard {
    display: block;
    text-decoration: none;
}

.pcard__img-wrap {
    position: relative;
    width: 100%;
    padding-top: 133.33%;
    overflow: hidden;
    background: var(--color-cream);
    border-radius: var(--radius-card);
    display: block;
}

.pcard__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
    display: block;
    z-index: 0;
}

.pcard:hover .pcard__img {
    transform: scale(1.05);
}

.pcard__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 20px 16px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.pcard:hover .pcard__overlay {
    transform: translateY(0);
}

.pcard__overlay-desc {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.95);
    margin: 0;
    line-height: 1.5;
    font-weight: 300;
}

.pcard__explore {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 5px 14px;
    border-radius: 1px;
    backdrop-filter: blur(4px);
}

/* Card body — below image */
.pcard__body {
    padding: 12px 8px 8px;
    text-align: center;
}

.pcard__name {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-charcoal);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pcard__price {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-rose);
    margin: 0;
    letter-spacing: 0.04em;
}

.pcard__no-img {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #1e1e1e;
    color: #a0a0a0;
    margin-top: 4rem;
}

.footer-brand {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #25D366;
    font-size: 0.82rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-whatsapp:hover { opacity: 0.8; color: #25D366; }

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
    font-size: 0.82rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding: 1.25rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: #444;
    margin: 0;
}

/* ============================================================
   BREADCRUMB BAR
   ============================================================ */
.breadcrumb-bar {
    background: var(--color-cream);
    padding: calc(var(--navbar-height) + 0.75rem) 0 0.75rem;
    border-bottom: 1px solid #ede8e2;
}

.breadcrumb {
    font-size: 0.78rem;
    font-family: var(--font-sans);
    letter-spacing: 0.03em;
}

.breadcrumb-item a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover { color: var(--color-charcoal); }

.breadcrumb-item.active { color: var(--color-charcoal); font-weight: 400; }

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--color-muted);
    font-size: 0.9rem;
}

/* ============================================================
   FEATURE CARDS (Why Choose Us)
   ============================================================ */
.feature-card {
    padding: 2rem 1rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--color-charcoal);
    transition: background 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--color-charcoal);
    color: #fff;
}

.feature-card h6 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.82rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
    background: var(--color-charcoal);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 2rem;
    animation: marquee 20s linear infinite;
}

.marquee-track span {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
}

.marquee-track span:nth-child(even) {
    color: var(--color-rose);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   ENQUIRY CTA BANNER
   ============================================================ */
.enquiry-cta {
    background: linear-gradient(135deg, #1e1e1e 0%, #2c2c2c 100%);
    padding: 5rem 0;
    text-align: center;
}

.enquiry-cta h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    color: #fff;
    margin-bottom: 1rem;
}

.enquiry-cta p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    max-width: 480px;
    margin: 0 auto 2rem;
    font-weight: 300;
    line-height: 1.8;
}

.enquiry-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.enquiry-cta-btn:hover {
    background: #1ebe5d;
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: #fff;
    border-radius: 4px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    border-bottom-color: var(--color-rose);
}

.testimonial-stars {
    color: #f4b942;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--color-charcoal);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-charcoal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-charcoal);
}

.testimonial-location {
    font-size: 0.75rem;
    color: var(--color-muted);
    margin-top: 2px;
}

/* ============================================================
   PRODUCT DETAIL — ENQUIRY BOX
   ============================================================ */
.product-enquiry-box {
    background: var(--color-cream);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ede8e2;
}

.product-enquiry-label {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.product-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 13px 28px;
    border-radius: 3px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
    width: 100%;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.product-wa-btn:hover {
    background: #1ebe5d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.product-enquiry-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--color-muted);
    margin: 0;
    justify-content: center;
}

/* ============================================================
   COLLECTIONS TRACK SLIDER
   ============================================================ */
.coll-track-wrap {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.coll-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease;
}

/* Each item width — 4 visible on desktop */
.coll-item {
    flex: 0 0 calc(25% - 12px);
    min-width: 0;
}

@media (max-width: 991px) { .coll-item { flex: 0 0 calc(33.333% - 11px); } }
@media (max-width: 767px) { .coll-item { flex: 0 0 calc(50% - 8px); } }
@media (max-width: 480px) { .coll-item { flex: 0 0 calc(100%); } }

.coll-btn {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 5;
    color: #2c2c2c;
    padding: 0;
}

.coll-btn:hover { background: #2c2c2c; color: #fff; }
.coll-btn-prev { left: 0; }
.coll-btn-next { right: 0; }

/* Discount badge */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e53935;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 2px;
    z-index: 2;
    letter-spacing: 0.04em;
}

.price-original {
    font-size: 0.8rem;
    color: var(--color-muted);
    text-decoration: line-through;
    margin-left: 6px;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */

/* Main image slider */
.pd-main-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: var(--color-cream);
    margin-bottom: 12px;
    aspect-ratio: 3/4;
}

.pd-main-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.pd-main-slide.active {
    display: block;
}

.pd-main-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: opacity 0.3s ease;
}

/* Slider arrows */
.pd-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s ease;
    z-index: 5;
}

.pd-arrow:hover { background: #fff; }
.pd-arrow svg { width: 18px; height: 18px; }
.pd-arrow--prev { left: 10px; }
.pd-arrow--next { right: 10px; }

/* Thumbnails */
.pd-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pd-thumb {
    width: 72px; height: 90px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
    flex-shrink: 0;
}

.pd-thumb.active { border-color: var(--color-charcoal); }
.pd-thumb:hover  { border-color: var(--color-rose); }

.pd-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}

.pd-no-image {
    aspect-ratio: 3/4;
    background: var(--color-cream);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 6px;
}

/* Product info */
.pd-name {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--color-charcoal);
}

.pd-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.pd-price {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-rose);
    letter-spacing: 0.03em;
}

.pd-price-orig {
    font-size: 1rem;
    color: var(--color-muted);
    text-decoration: line-through;
}

.pd-discount-badge {
    background: #e53935;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 2px;
    letter-spacing: 0.04em;
}

.pd-divider {
    width: 40px; height: 1px;
    background: var(--color-rose);
    margin: 1rem 0 1.25rem;
}

.pd-desc {
    color: var(--color-muted);
    font-weight: 300;
    line-height: 1.9;
    font-size: 0.95rem;
    border-left: 2px solid var(--color-blush);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

/* Sizes */
.pd-section { margin-bottom: 1.5rem; }

.pd-section-label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.6rem;
}

.pd-sizes { display: flex; flex-wrap: wrap; gap: 8px; }

.pd-size-chip {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 0.82rem;
    font-family: var(--font-sans);
    color: var(--color-charcoal);
    cursor: default;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pd-size-chip:hover {
    border-color: var(--color-charcoal);
    background: var(--color-cream);
}

/* Meta grid */
.pd-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.pd-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pd-meta-key {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.pd-meta-val {
    font-size: 0.88rem;
    color: var(--color-charcoal);
}

.pd-meta-val a {
    color: var(--color-charcoal);
    text-decoration: none;
}

.pd-meta-val a:hover { color: var(--color-rose); }

/* Extra details (CKEditor content) */
.pd-extra-details {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #f0ebe5;
}

.pd-extra-details h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
    color: var(--color-charcoal);
}

.pd-extra-content {
    font-size: 0.92rem;
    line-height: 1.9;
    color: var(--color-muted);
}

.pd-extra-content h2, .pd-extra-content h3, .pd-extra-content h4 {
    color: var(--color-charcoal);
    margin-top: 1.5rem;
}

.pd-extra-content ul, .pd-extra-content ol {
    padding-left: 1.5rem;
}

.pd-extra-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.pd-extra-content table td, .pd-extra-content table th {
    border: 1px solid #e8e0d8;
    padding: 8px 12px;
    font-size: 0.88rem;
}
