:root {
    --moti-primary: #7A1F3D;
    --moti-secondary: #C79A6B;
    --moti-accent: #E6C79C;
    --moti-surface: #FFFFFF;
    --moti-surface-2: #FAF8F5;
    --moti-section: #F8F8F8;
    --moti-card: #FFFFFF;
    --moti-text: #222222;
    --moti-muted: #666666;
    --moti-border: #E8E8E8;
    --moti-button-hover: #5E1730;
    --moti-shadow: 0 16px 45px rgba(122, 31, 61, 0.08);
    --moti-radius: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
    color: var(--moti-text);
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
}

main {
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    display: block;
    width: 100%;
}

h1, h2, h3, h4, h5, h6,
.page-banner-title,
.hero-title,
.section-heading-title,
.product-title,
.product-card-body h3,
.category-body h3,
.video-card-body h3,
.newsletter-card h2,
.whatsapp-callout h2,
.brand-story-card h2 {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
    color: var(--moti-primary);
}

.luxury-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--moti-border);
    box-shadow: 0 10px 32px rgba(34, 34, 34, 0.05);
}

.luxury-brand,
.luxury-nav-links .nav-link,
.nav-icon,
.footer-links a {
    color: var(--moti-text);
}

.luxury-nav-links .nav-link {
    position: relative;
    font-weight: 500;
}

.luxury-nav-links .nav-link:hover,
.luxury-nav-links .nav-link.active {
    color: var(--moti-primary);
}

.luxury-nav-links .nav-link::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.2rem;
    height: 2px;
    background: var(--moti-secondary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.luxury-nav-links .nav-link:hover::after,
.luxury-nav-links .nav-link.active::after {
    transform: scaleX(1);
}

.nav-icon {
    background: var(--moti-surface);
    border: 1px solid var(--moti-border);
    border-radius: 999px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nav-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(122, 31, 61, 0.12);
    border-color: rgba(122, 31, 61, 0.18);
}

.nav-icon-badge {
    background: var(--moti-primary);
    color: #fff;
    font-weight: 700;
}

.luxury-btn,
.luxury-btn-primary,
.luxury-btn-outline {
    border-radius: 999px;
    padding: 0.82rem 1.3rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.luxury-btn:hover,
.luxury-btn-primary:hover,
.luxury-btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(122, 31, 61, 0.14);
}

.luxury-btn-primary {
    background: linear-gradient(135deg, var(--moti-primary), var(--moti-button-hover));
    color: #fff;
}

.luxury-btn-outline {
    border: 1px solid var(--moti-primary);
    color: var(--moti-primary);
    background: #fff;
}

.luxury-btn-outline:hover {
    background: var(--moti-primary);
    color: #fff;
}

.page-banner {
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(250,248,245,0.96));
    border-bottom: 1px solid var(--moti-border);
}

.section-copy,
.product-card-body p,
.product-card-meta,
.product-code,
.product-price,
.product-delivery,
.footer-text,
.footer-bottom,
.footer-links a,
.brand-story-card p,
.newsletter-card p,
.whatsapp-callout p,
.summary-row,
.form-label,
.text-muted {
    color: var(--moti-muted);
}

.hero-banner {
    min-height: 100vh;
    padding: 0;
    background: #f8f4ee;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-banner .carousel,
.hero-banner .carousel-inner,
.hero-banner .carousel-item {
    min-height: 100vh;
}

.hero-banner .carousel-item {
    position: relative;
    overflow: hidden;
}

.hero-banner .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 11, 11, 0.18) 0%, rgba(11, 11, 11, 0.06) 45%, rgba(11, 11, 11, 0.12) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-banner .carousel-item img,
.hero-banner .d-block.w-100 {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    object-fit: cover;
    object-position: center center;
    filter: brightness(1.06) contrast(1.08) saturate(1.08);
    transform: scale(1.02);
    animation: heroImageFloat 16s ease-in-out infinite alternate;
}

.carousel-caption {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(1.35rem, 3.5vw, 3rem);
    background: linear-gradient(90deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 58%, rgba(255,255,255,0.04) 100%);
    color: var(--moti-text);
    backdrop-filter: blur(0);
}

.hero-content-shell {
    max-width: 620px;
    padding: clamp(1.2rem, 2.2vw, 2rem);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 20px 60px rgba(17, 17, 17, 0.18);
    backdrop-filter: blur(10px);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.77rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.04;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.hero-tagline {
    max-width: 640px;
    font-size: 1.06rem;
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 1.4rem;
    text-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1.35rem;
}

.hero-btn {
    margin-top: 0;
}

.luxury-btn-primary.hero-btn,
.luxury-btn-outline.hero-btn {
    padding: 0.95rem 1.45rem;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(17, 17, 17, 0.16);
}

.luxury-btn-primary.hero-btn {
    background: linear-gradient(135deg, var(--moti-primary), var(--moti-button-hover));
    color: #fff;
}

.luxury-btn-primary.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(122, 31, 61, 0.24);
}

.luxury-btn-outline.hero-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.12);
}

.luxury-btn-outline.hero-btn:hover {
    background: #fff;
    color: var(--moti-primary);
    transform: translateY(-3px);
}

.carousel-caption .hero-title,
.carousel-caption .hero-tagline,
.carousel-caption .hero-btn {
    text-shadow: none;
}

.luxury-banner-hero {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.luxury-banner-hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
}

.luxury-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.94), rgba(255,255,255,0.72));
    display: flex;
    align-items: center;
}

.luxury-banner-overlay .container {
    color: var(--moti-text);
}

.luxury-banner-overlay h1 {
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--moti-primary);
}

.luxury-banner-overlay p {
    max-width: 680px;
    color: var(--moti-muted);
}

.hero-banner .carousel-item img,
.hero-banner .d-block.w-100,
.carousel-item img,
.category-image-panel img,
.product-card-image,
.product-main-image img,
.product-thumb img,
.video-card-image {
    object-fit: cover;
}

.hero-banner .carousel-item img,
.hero-banner .d-block.w-100 {
    height: 760px;
}

.hero-banner-fallback {
    background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(250,248,245,0.12)), url('../images/hero-placeholder.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-image-card,
.category-image-panel,
.brand-story-visual,
.about-highlight-card,
.product-gallery-card,
.product-info-card,
.admin-card,
.video-card,
.category-card,
.newsletter-card,
.whatsapp-callout,
.product-card-shell,
.customization-card,
.summary-card,
.custom-whatsapp-card,
.listing-toolbar,
.empty-state,
.measurement-guide-card {
    border: 1px solid var(--moti-border);
    background: var(--moti-card);
    box-shadow: var(--moti-shadow);
    border-radius: var(--moti-radius);
}

.spec-field-group {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.spec-field-group.d-none {
    display: none !important;
}

.product-card-shell {
    display: block;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    height: 100%;
}

.product-card-shell:hover {
    transform: translateY(-8px);
    border-color: rgba(122, 31, 61, 0.16);
    box-shadow: 0 24px 70px rgba(122, 31, 61, 0.12);
}

.product-card-image-wrapper {
    overflow: hidden;
    background: var(--moti-section);
}

.product-card-image {
    height: 320px;
    width: 100%;
    transition: transform 0.35s ease;
}

.product-card-shell:hover .product-card-image {
    transform: scale(1.04);
}

.product-card-body {
    padding: 1.2rem 1.2rem 1.4rem;
}

.product-card-meta {
    display: inline-flex;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(199, 154, 107, 0.16);
    color: var(--moti-primary);
    margin-bottom: 0.8rem;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-card-price {
    color: var(--moti-primary);
    font-weight: 700;
    margin-top: 0.5rem;
}

.product-card-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.9rem;
    flex-wrap: wrap;
}

.product-card-actions .btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 999px;
}

.category-card {
    overflow: hidden;
    background: var(--moti-card);
    height: 100%;
}

.category-image-panel {
    min-height: 320px;
    overflow: hidden;
    border-radius: 0;
    border: 0;
    background: linear-gradient(135deg, rgba(230, 199, 156, 0.22), rgba(250,248,245,0.95));
}

.category-image-panel img {
    width: 100%;
    height: 320px;
    transition: transform 0.35s ease;
}

.category-card:hover .category-image-panel img {
    transform: scale(1.04);
}

.category-body {
    padding: 1.3rem 1.3rem 1.5rem;
}

.video-card {
    overflow: hidden;
    background: var(--moti-card);
}

.video-card-image {
    height: 240px;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card-play {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--moti-primary), var(--moti-secondary));
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 10px 24px rgba(122, 31, 61, 0.16);
}

.video-card-body,
.newsletter-card,
.whatsapp-callout,
.brand-story-card {
    padding: 1.2rem;
}

.product-gallery-card,
.product-info-card {
    padding: 1.25rem;
}

.product-main-image {
    min-height: 480px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(230,199,156,0.24), rgba(250,248,245,0.96));
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image img {
    height: 480px;
    width: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.8rem;
}

.product-thumb {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--moti-border);
    background: var(--moti-card);
    padding: 0;
}

.product-thumb.active {
    border-color: var(--moti-primary);
    box-shadow: inset 0 0 0 1px rgba(122,31,61,0.16);
}

.product-thumb img {
    height: 86px;
    object-fit: cover;
}

.product-gallery-controls button,
.gallery-control {
    border-radius: 999px;
    border: 1px solid var(--moti-border);
    background: var(--moti-surface);
    color: var(--moti-text);
}

.product-option-block {
    border-top: 1px solid var(--moti-border);
    padding-top: 1rem;
    margin-top: 1rem;
}

.filter-select,
.form-control,
.form-select,
textarea,
input {
    background: #fff;
    color: var(--moti-text);
    border: 1px solid var(--moti-border);
    border-radius: 14px;
}

.filter-select::placeholder,
.form-control::placeholder,
.form-select::placeholder,
textarea::placeholder {
    color: var(--moti-muted);
}

.table {
    color: var(--moti-text);
}

.summary-row {
    color: var(--moti-muted);
}

.summary-total {
    font-weight: 700;
    color: var(--moti-primary);
}

.checkout-choice-card {
    border: 1px solid var(--moti-border);
    border-radius: 24px;
    padding: 2rem;
    background: var(--moti-card);
    box-shadow: var(--moti-shadow);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    min-height: 100%;
}

.checkout-choice-card:hover {
    transform: translateY(-6px);
    border-color: rgba(122, 31, 61, 0.16);
    box-shadow: 0 24px 70px rgba(122, 31, 61, 0.1);
}

.checkout-choice-card.whatsapp {
    background: linear-gradient(135deg, rgba(230, 199, 156, 0.22), #ffffff);
}

.checkout-choice-card.paypal {
    background: linear-gradient(135deg, rgba(199, 154, 107, 0.18), #ffffff);
}

.checkout-choice-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    background: rgba(122, 31, 61, 0.08);
    color: var(--moti-primary);
}

.luxury-footer {
    background: linear-gradient(135deg, #fcfbf8 0%, #f7f2ea 100%);
    border-top: 1px solid var(--moti-border);
    color: var(--moti-text);
}

.footer-title {
    color: var(--moti-primary);
    font-family: 'Playfair Display', serif;
}

.whatsapp-float {
    box-shadow: 0 16px 36px rgba(122, 31, 61, 0.16);
    background: linear-gradient(135deg, var(--moti-primary), var(--moti-secondary));
    border: 0;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(34,34,34,0.76);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.lightbox-overlay img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.18);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--moti-primary);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroImageFloat {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}

.hero-image-card,
.product-card-shell,
.category-card,
.admin-card,
.checkout-choice-card,
.whatsapp-callout,
.product-info-card,
.product-gallery-card {
    animation: fadeUp 0.55s ease both;
}

@media (max-width: 992px) {
    .carousel-caption {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-banner,
    .hero-banner .carousel,
    .hero-banner .carousel-inner,
    .hero-banner .carousel-item {
        min-height: 92vh;
    }

    .hero-banner .carousel-item img,
    .hero-banner .d-block.w-100 {
        height: 92vh;
        min-height: 92vh;
    }

    .carousel-caption {
        padding: 1.25rem;
        align-items: flex-end;
        justify-content: flex-start;
    }

    .hero-content-shell {
        width: 100%;
        max-width: none;
        padding: 1.2rem;
        border-radius: 24px;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .hero-btn {
        width: 100%;
        text-align: center;
    }

    .luxury-banner-hero img {
        height: 320px;
    }

    .product-main-image img {
        height: 360px;
    }

    .product-thumbnails {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .hero-banner,
    .hero-banner .carousel,
    .hero-banner .carousel-inner,
    .hero-banner .carousel-item {
        min-height: 90vh;
    }

    .hero-banner .carousel-item img,
    .hero-banner .d-block.w-100 {
        height: 90vh;
        min-height: 90vh;
    }

    .carousel-caption {
        padding: 1rem;
    }

    .hero-content-shell {
        padding: 1rem;
    }

    .product-thumbnails {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .luxury-banner-hero img {
        height: 280px;
    }
}
