/* ==========================================================================
   MADHUSUDARSHAN — Premium Indian Textile Design System
   All brand colors are configurable here.
   ========================================================================== */

:root {
    --mf-ivory:        #faf7f2;
    --mf-ivory-soft:   #f4efe7;
    --mf-maroon:       #6e1e2c;
    --mf-maroon-deep:  #4c1018;
    --mf-maroon-ink:   #3a0d13;
    --mf-gold:         #b08d57;
    --mf-gold-light:   #cdb385;
    --mf-gold-pale:    #e9dcc4;
    --mf-charcoal:     #26221f;
    --mf-slate:        #5d5650;
    --mf-line:         #e4dccf;
    --mf-cream:        #fdfbf7;

    --mf-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --mf-sans:  'Jost', 'Segoe UI', Helvetica, Arial, sans-serif;

    --mf-container: 1280px;
    --mf-radius-lg: 14px;
    --mf-radius-md: 10px;
    --mf-radius-sm: 6px;

    --mf-shadow-sm: 0 2px 8px rgba(38, 34, 31, .06);
    --mf-shadow-md: 0 12px 32px rgba(38, 34, 31, .10);
    --mf-shadow-lg: 0 24px 60px rgba(38, 34, 31, .16);

    --mf-transition: .35s cubic-bezier(.25, .8, .25, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

* { -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--mf-sans);
    font-weight: 300;
    color: var(--mf-charcoal);
    background: var(--mf-ivory);
    line-height: 1.75;
    font-size: 1rem;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: var(--mf-serif);
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--mf-maroon-ink);
}

a { color: var(--mf-maroon); text-decoration: none; transition: color var(--mf-transition); }
a:hover { color: var(--mf-gold); }

img { max-width: 100%; height: auto; }

.container { max-width: var(--mf-container); }

::selection { background: var(--mf-maroon); color: #fff; }

.noscript-warning {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000;
    background: #7a1f2b; color: #fff; text-align: center; padding: .5rem 1rem;
    font-size: .85rem;
}

/* Utilities */
.text-maroon { color: var(--mf-maroon) !important; }
.text-gold { color: var(--mf-gold) !important; }
.bg-maroon { background-color: var(--mf-maroon) !important; }
.bg-ivory { background-color: var(--mf-ivory) !important; }
.bg-cream { background-color: var(--mf-cream) !important; }
.bg-charcoal { background-color: var(--mf-charcoal) !important; }

.btn-maroon {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--mf-maroon);
    --bs-btn-border-color: var(--mf-maroon);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--mf-maroon-deep);
    --bs-btn-hover-border-color: var(--mf-maroon-deep);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--mf-maroon-deep);
    --bs-btn-focus-shadow-rgb: 110, 30, 44;
}

.btn-gold {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--mf-gold);
    --bs-btn-border-color: var(--mf-gold);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #96744a;
    --bs-btn-hover-border-color: #96744a;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #96744a;
    --bs-btn-focus-shadow-rgb: 176, 141, 87;
}

.btn-outline-maroon {
    --bs-btn-color: var(--mf-maroon);
    --bs-btn-border-color: var(--mf-maroon);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--mf-maroon);
    --bs-btn-hover-border-color: var(--mf-maroon);
    --bs-btn-active-color: #fff;
}

.btn-outline-light-gold {
    --bs-btn-color: #fff;
    --bs-btn-border-color: var(--mf-gold);
    --bs-btn-hover-color: var(--mf-maroon-deep);
    --bs-btn-hover-bg: var(--mf-gold);
    --bs-btn-hover-border-color: var(--mf-gold);
}

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.topbar {
    background: var(--mf-maroon-ink);
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
    letter-spacing: .04em;
    padding: .4rem 0;
}

.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: var(--mf-gold-light); }
.topbar .topbar-social a { color: var(--mf-gold-light); font-size: .95rem; }
.topbar .topbar-social a:hover { color: #fff; }
.topbar-separator { opacity: .35; }

/* --------------------------------------------------------------------------
   Main navigation
   -------------------------------------------------------------------------- */

.main-nav {
    background: var(--mf-ivory);
    border-bottom: 1px solid var(--mf-line);
    padding: .65rem 0;
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 2px 18px rgba(38, 34, 31, .05);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(110,30,44,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: none; }

.brand-mark { display: inline-flex; flex-direction: column; line-height: 1.15; }
.brand-name {
    font-family: var(--mf-serif);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--mf-maroon);
    letter-spacing: .02em;
}
.brand-tag {
    font-size: .6rem;
    font-weight: 500;
    letter-spacing: .34em;
    color: var(--mf-gold);
    text-transform: uppercase;
    margin-top: .15rem;
}
.brand-logo { height: 54px; width: auto; }

.brand-mark--footer .brand-name { color: var(--mf-gold-light); }

.main-nav .nav-link {
    font-family: var(--mf-sans);
    font-weight: 500;
    font-size: .88rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mf-charcoal);
    padding: .55rem .8rem !important;
    position: relative;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    left: .8rem; right: .8rem; bottom: .3rem;
    height: 1px;
    background: var(--mf-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--mf-transition);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { transform: scaleX(1); }

.main-nav .nav-link.active { color: var(--mf-maroon); }

.dropdown-menu {
    border: 1px solid var(--mf-line);
    border-radius: var(--mf-radius-md);
    box-shadow: var(--mf-shadow-md);
    background: var(--mf-cream);
    padding: .5rem 0;
    min-width: 260px;
}

.dropdown-item {
    font-family: var(--mf-sans);
    font-weight: 400;
    font-size: .9rem;
    letter-spacing: .04em;
    padding: .45rem 1.2rem;
    color: var(--mf-charcoal);
}

.dropdown-item:hover { background: var(--mf-ivory-soft); color: var(--mf-maroon); }

.nav-cta {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    color: #fff;
    min-height: 82vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(115deg, rgba(58, 13, 19, .92) 25%, rgba(110, 30, 44, .55) 60%, rgba(58, 13, 19, .25) 100%),
        var(--hero-img, none) center / cover no-repeat,
        radial-gradient(circle at 20% 20%, #4c1018 0%, #2a0a10 70%);
}

.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(135deg, rgba(176, 141, 87, .08) 25%, transparent 25%),
        linear-gradient(225deg, rgba(176, 141, 87, .08) 25%, transparent 25%),
        linear-gradient(45deg, rgba(176, 141, 87, .05) 25%, transparent 25%),
        linear-gradient(315deg, rgba(176, 141, 87, .05) 25%, transparent 25%);
    background-size: 42px 42px;
    pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; padding: 6rem 0; max-width: 760px; }

.hero-eyebrow {
    display: inline-block;
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--mf-gold-light);
    border: 1px solid rgba(205, 179, 133, .5);
    padding: .45rem 1.1rem;
    margin-bottom: 1.6rem;
    border-radius: 2px;
}

.hero-title {
    font-family: var(--mf-serif);
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.4rem;
}

.hero-title .accent { color: var(--mf-gold-light); font-style: italic; }

.hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 300;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, .88);
    margin-bottom: 1.2rem;
}

.hero-desc { color: rgba(255, 255, 255, .78); max-width: 620px; margin-bottom: 2.2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-actions .btn { border-radius: 2px; padding: .8rem 1.8rem; font-size: .82rem; letter-spacing: .16em; font-weight: 600; text-transform: uppercase; }

.hero-indicators {
    position: absolute; bottom: 2rem; left: 0; right: 0; z-index: 3;
}
.hero-indicators .container { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; }
.hero-pill {
    display: flex; align-items: center; gap: .5rem;
    font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
    color: rgba(255, 255, 255, .82);
}
.hero-pill i { color: var(--mf-gold-light); font-size: 1rem; }

@media (max-width: 767px) {
    .hero { min-height: 68vh; }
    .hero-inner { padding: 4rem 0; }
}

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */

.section { padding: 5.5rem 0; }

.section--tint { background: var(--mf-ivory-soft); }
.section--cream { background: var(--mf-cream); }
.section--dark {
    background: var(--mf-maroon-ink);
    color: rgba(255, 255, 255, .82);
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 3rem; }

.section-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--mf-gold);
    margin-bottom: .9rem;
}

.section-title {
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--mf-serif);
    font-style: italic;
    font-size: 1.12rem;
    color: var(--mf-slate);
    margin-bottom: .6rem;
}

.section-desc { color: var(--mf-slate); }

.divider-ornament {
    display: flex; align-items: center; gap: .8rem;
    margin: 1.2rem 0;
}
.divider-ornament::before, .divider-ornament::after {
    content: '';
    height: 1px; width: 60px; background: var(--mf-gold-pale);
}
.divider-ornament i { color: var(--mf-gold); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.product-card {
    display: block;
    background: var(--mf-cream);
    border: 1px solid var(--mf-line);
    border-radius: var(--mf-radius-lg);
    overflow: hidden;
    transition: transform var(--mf-transition), box-shadow var(--mf-transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mf-shadow-md);
}

.product-card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--mf-ivory-soft); }

.product-card-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .8s ease;
}

.product-card:hover .product-card-media img { transform: scale(1.06); }

.product-card-badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: var(--mf-maroon); color: #fff;
    font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    padding: .3rem .7rem; border-radius: 2px;
}

.product-card-wish {
    position: absolute; top: 12px; right: 12px; z-index: 2;
}

.product-card-body { padding: 1.3rem 1.4rem 1.5rem; }
.product-card-cat { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mf-gold); font-weight: 600; }
.product-card-title {
    font-family: var(--mf-serif);
    font-size: 1.28rem;
    font-weight: 600;
    color: var(--mf-maroon-ink);
    margin: .3rem 0 .5rem;
    line-height: 1.3;
}
.product-card-title a { color: inherit; }
.product-card-title a:hover { color: var(--mf-maroon); }
.product-card-desc {
    font-size: .86rem; color: var(--mf-slate);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.product-card-actions { display: flex; gap: .5rem; margin-top: 1rem; }
.product-card-actions .btn { flex: 1; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; border-radius: 2px; }

/* Category cards */
.category-card {
    display: block;
    position: relative;
    border-radius: var(--mf-radius-lg);
    overflow: hidden;
    background: var(--mf-maroon-deep);
    aspect-ratio: 4 / 5;
    box-shadow: var(--mf-shadow-sm);
    transition: transform var(--mf-transition), box-shadow var(--mf-transition);
}

.category-card:hover { transform: translateY(-6px); box-shadow: var(--mf-shadow-md); }

.category-card img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: .55; transition: opacity .6s ease, transform .8s ease;
}

.category-card:hover img { opacity: .42; transform: scale(1.05); }

.category-card-caption {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.4rem;
    background: linear-gradient(to top, rgba(38, 13, 16, .78), transparent 60%);
}

.category-card-caption h3 {
    font-family: var(--mf-serif);
    color: #fff; font-size: 1.35rem; margin-bottom: .15rem;
}

.category-card-caption span {
    color: var(--mf-gold-light); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Feature / split panels
   -------------------------------------------------------------------------- */

.feature-panel {
    display: flex; align-items: center; gap: 3rem;
}

.feature-media {
    flex: 1 1 46%;
    position: relative;
    border-radius: var(--mf-radius-lg);
    overflow: hidden;
    box-shadow: var(--mf-shadow-md);
    aspect-ratio: 4 / 3;
    background: var(--mf-ivory-soft);
}

.feature-media img { width: 100%; height: 100%; object-fit: cover; }

.feature-body { flex: 1 1 50%; }
.feature-body h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.18; margin-bottom: 1rem; }
.feature-body p { color: var(--mf-slate); margin-bottom: 1.2rem; }

.feature-media.feature-media--frame::after {
    content: '';
    position: absolute; inset: .9rem;
    border: 1px solid rgba(255, 255, 255, .4);
    pointer-events: none;
}

@media (max-width: 991px) {
    .feature-panel { flex-direction: column; gap: 2rem; }
    .feature-panel.feature-panel--reverse { flex-direction: column; }
}

.feature-panel--reverse { flex-direction: row-reverse; }

/* --------------------------------------------------------------------------
   Expertise grid
   -------------------------------------------------------------------------- */

.expertise-item {
    padding: 1.8rem 1.6rem;
    background: var(--mf-cream);
    border: 1px solid var(--mf-line);
    border-left: 3px solid var(--mf-gold);
    border-radius: var(--mf-radius-md);
    height: 100%;
    transition: transform var(--mf-transition), box-shadow var(--mf-transition), border-color var(--mf-transition);
}

.expertise-item:hover { transform: translateY(-4px); box-shadow: var(--mf-shadow-md); border-left-color: var(--mf-maroon); }

.expertise-item i {
    font-size: 1.9rem; color: var(--mf-maroon); display: block; margin-bottom: .9rem;
}

.expertise-item h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.expertise-item p { font-size: .88rem; color: var(--mf-slate); margin: 0; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stat-block {
    text-align: center;
    padding: 2rem 1rem;
    border: 1px solid rgba(205, 179, 133, .22);
    border-radius: var(--mf-radius-lg);
    background: rgba(255, 255, 255, .03);
    height: 100%;
}

.stat-block .stat-value {
    font-family: var(--mf-serif);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--mf-gold-light);
    line-height: 1;
    display: block;
    margin-bottom: .6rem;
}

.stat-block .stat-label {
    font-size: .74rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
}

/* --------------------------------------------------------------------------
   Legacy / timeline
   -------------------------------------------------------------------------- */

.timeline { position: relative; padding-left: 2.2rem; max-width: 820px; }
.timeline::before {
    content: '';
    position: absolute; left: 8px; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(to bottom, var(--mf-gold), var(--mf-gold-light));
}
.timeline-item { position: relative; padding-bottom: 2.4rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute; left: -2.03rem; top: .55rem;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--mf-maroon);
    border: 3px solid var(--mf-gold-light);
}
.timeline-item h3 { font-size: 1.4rem; color: var(--mf-maroon); margin-bottom: .35rem; }
.timeline-item p { color: var(--mf-slate); }

/* --------------------------------------------------------------------------
   Page hero / banner
   -------------------------------------------------------------------------- */

.page-hero {
    position: relative;
    background:
        linear-gradient(115deg, rgba(58, 13, 19, .9) 30%, rgba(110, 30, 44, .55) 70%, rgba(58, 13, 19, .35)),
        var(--page-hero-img, none) center / cover no-repeat,
        radial-gradient(circle at 30% 30%, #4c1018 0%, #2a0a10 75%);
    color: #fff;
    padding: 5.5rem 0 4.5rem;
}

.page-hero .page-title {
    font-family: var(--mf-serif);
    font-size: clamp(2.4rem, 4.6vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: .6rem;
}

.page-hero .page-subtitle { color: rgba(255, 255, 255, .85); font-family: var(--mf-serif); font-style: italic; font-size: 1.2rem; }

.breadcrumb-custom {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--mf-gold-light); margin-bottom: 1rem;
}
.breadcrumb-custom a { color: rgba(255, 255, 255, .7); }
.breadcrumb-custom a:hover { color: var(--mf-gold-light); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
    background:
        linear-gradient(120deg, rgba(58, 13, 19, .94), rgba(110, 30, 44, .78)),
        var(--cta-img, none) center / cover no-repeat;
    color: #fff;
    padding: 4.5rem 0;
    text-align: center;
}

.cta-band h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 640px; margin: 1rem auto 2rem; }

/* --------------------------------------------------------------------------
   Contact / forms
   -------------------------------------------------------------------------- */

.form-control, .form-select {
    border: 1px solid var(--mf-line);
    background: var(--mf-cream);
    border-radius: var(--mf-radius-sm);
    padding: .75rem 1rem;
    font-weight: 300;
    color: var(--mf-charcoal);
}

.form-control:focus, .form-select:focus {
    border-color: var(--mf-gold);
    box-shadow: 0 0 0 .2rem rgba(176, 141, 87, .12);
    background: #fff;
}

.form-label { font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mf-maroon-ink); }

.contact-info-card {
    background: var(--mf-cream);
    border: 1px solid var(--mf-line);
    border-radius: var(--mf-radius-lg);
    padding: 2rem;
    height: 100%;
}

.contact-info-card i {
    width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--mf-ivory-soft); color: var(--mf-maroon);
    border-radius: 50%; font-size: 1.25rem; margin-bottom: 1rem;
}

.contact-info-card h4 { font-size: 1.2rem; }
.contact-info-card p { color: var(--mf-slate); font-size: .92rem; margin: 0; }
.contact-info-card p a { color: var(--mf-slate); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--mf-charcoal);
    color: rgba(255, 255, 255, .72);
}

.footer-main { padding: 4.5rem 0 3rem; }

.footer-about { font-size: .9rem; color: rgba(255, 255, 255, .66); }

.footer-gstin { font-size: .82rem; color: var(--mf-gold-light); letter-spacing: .06em; }

.footer-social a {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
    color: rgba(255, 255, 255, .8);
    transition: all var(--mf-transition);
}

.footer-social a:hover { background: var(--mf-gold); border-color: var(--mf-gold); color: var(--mf-maroon-deep); }

.footer-heading {
    font-family: var(--mf-serif);
    font-size: 1.2rem;
    color: var(--mf-gold-light);
    margin-bottom: 1.3rem;
    letter-spacing: .04em;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
    color: rgba(255, 255, 255, .68); font-size: .9rem;
    position: relative; padding-left: 0;
    transition: all var(--mf-transition);
}
.footer-links a:hover { color: var(--mf-gold-light); padding-left: 6px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .95rem; font-size: .9rem; color: rgba(255, 255, 255, .68); }
.footer-contact i { color: var(--mf-gold); margin-top: .3rem; }
.footer-contact a { color: rgba(255, 255, 255, .68); }
.footer-contact a:hover { color: var(--mf-gold-light); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 1.2rem 0;
    background: var(--mf-maroon-ink);
    color: rgba(255, 255, 255, .6);
}

.footer-bottom p { margin: 0; font-size: .8rem; letter-spacing: .04em; }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.gallery-main { border-radius: var(--mf-radius-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--mf-ivory-soft); box-shadow: var(--mf-shadow-md); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .8rem; }
.gallery-thumb { aspect-ratio: 1; border-radius: var(--mf-radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; opacity: .65; transition: all var(--mf-transition); padding: 0; background: none; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; border-color: var(--mf-gold); }

/* --------------------------------------------------------------------------
   Enquiry modal tweaks
   -------------------------------------------------------------------------- */

.modal-content { border: 0; border-radius: var(--mf-radius-lg); background: var(--mf-cream); }
.modal-header { border-bottom: 1px solid var(--mf-line); }
.modal-footer { border-top: 1px solid var(--mf-line); }

/* --------------------------------------------------------------------------
   Flash messages
   -------------------------------------------------------------------------- */

.alert-frame { border-radius: var(--mf-radius-sm); border: 0; font-size: .9rem; }

/* --------------------------------------------------------------------------
   Admin quick links on frontend
   -------------------------------------------------------------------------- */

.admin-edit-link { border-radius: 2px; font-size: .78rem; letter-spacing: .08em; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   Responsive refinements
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Responsive refinements
   -------------------------------------------------------------------------- */

.pagination-custom .page-link {
    border: 1px solid var(--mf-line);
    color: var(--mf-maroon);
    background: var(--mf-cream);
    font-weight: 500;
    min-width: 42px;
    text-align: center;
    margin: 0 .15rem;
    border-radius: var(--mf-radius-sm) !important;
}

.pagination-custom .page-link:hover { background: var(--mf-ivory-soft); color: var(--mf-maroon); border-color: var(--mf-gold-pale); }

.pagination-custom .page-item.active .page-link {
    background: var(--mf-maroon);
    border-color: var(--mf-maroon);
    color: #fff;
}

.pagination-custom .page-item.disabled .page-link { color: var(--mf-line); background: transparent; }

.content-prose h2 { margin-top: 2rem; font-size: 1.9rem; }
.content-prose p { color: var(--mf-slate); }
.content-list { padding-left: 1.2rem; }
.content-list li { margin-bottom: .5rem; color: var(--mf-slate); }
.content-list li::marker { color: var(--mf-gold); }

.letter-spacing-2 { letter-spacing: .16em; }

@media (max-width: 575px) {
    .section { padding: 3.6rem 0; }
    .product-card-actions { flex-direction: column; }
    .footer-heading { font-size: 1.05rem; }
    .breadcrumb-custom { font-size: .66rem; }
}