/* =========================================================
   Polish Studio — Editorial Nail Salon HTML Template
   ========================================================= */

/* 1. Root Variables (Light-Default) */
:root {
    --primary-color: #B76E79;
    --primary-hover: #9A5663;
    --text-on-primary: #FFFFFF;
    --bg-light: #FFF9F7;
    --text-color: #2D1F24;
    --text-muted-custom: #6F5A62;
    --navbar-bg: var(--bg-light);
    --hairline: rgba(183, 110, 121, 0.28);
    --card-bg: #FFFFFF;
    --card-border: rgba(45, 31, 36, 0.06);
    --footer-bg: #1A0F12;
    --footer-text: #F0E8EC;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-soft: 0 2px 14px rgba(45, 31, 36, 0.04);
    --shadow-lift: 0 6px 24px rgba(183, 110, 121, 0.10);
}

/* 2. Color Themes (10 — 8 light, 2 dark) */

/* Theme 1 — Blush & Rose Gold (DEFAULT) is in :root */

[data-theme="plum-cream"] {
    --primary-color: #5B2C6F;
    --primary-hover: #4A235A;
    --bg-light: #FDF6F0;
    --hairline: rgba(91, 44, 111, 0.28);
}

[data-theme="marble-gold"] {
    --primary-color: #B8944A;
    --primary-hover: #9A7838;
    --bg-light: #F5F2EE;
    --hairline: rgba(184, 148, 74, 0.28);
}

[data-theme="burgundy-cream"] {
    --primary-color: #800020;
    --primary-hover: #5C0015;
    --bg-light: #FDF5E6;
    --hairline: rgba(128, 0, 32, 0.28);
}

[data-theme="mauve-blush"] {
    --primary-color: #8B5E8B;
    --primary-hover: #6F486F;
    --bg-light: #FAF5FA;
    --hairline: rgba(139, 94, 139, 0.28);
}

[data-theme="nude-bronze"] {
    --primary-color: #A87454;
    --primary-hover: #8A5D42;
    --bg-light: #FFF8F2;
    --hairline: rgba(168, 116, 84, 0.28);
}

[data-theme="lavender-ice"] {
    --primary-color: #7B68AE;
    --primary-hover: #5B4F8A;
    --bg-light: #F3F0FF;
    --hairline: rgba(123, 104, 174, 0.28);
}

[data-theme="coral-cream"] {
    --primary-color: #E36B75;
    --primary-hover: #C54F59;
    --bg-light: #FFF5F3;
    --hairline: rgba(227, 107, 117, 0.28);
}

/* Dark Themes */
[data-theme="midnight-rose"] {
    --primary-color: #E8A5B8;
    --primary-hover: #D48897;
    --text-on-primary: #1A0D1A;
    --bg-light: #1A0D1A;
    --text-color: #F0E8EC;
    --text-muted-custom: rgba(240, 232, 236, 0.6);
    --navbar-bg: #1A0D1A;
    --hairline: rgba(232, 165, 184, 0.28);
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
}

[data-theme="noir-gold"] {
    --primary-color: #D4AF37;
    --primary-hover: #B8951F;
    --text-on-primary: #0D0D0D;
    --bg-light: #0D0D0D;
    --text-color: #F0E8EC;
    --text-muted-custom: rgba(240, 232, 236, 0.55);
    --navbar-bg: #0D0D0D;
    --hairline: rgba(212, 175, 55, 0.3);
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
}

/* 3. Dark Theme Overrides (apply to body + components) */
[data-theme="midnight-rose"] body,
[data-theme="noir-gold"] body {
    --bs-body-color: var(--text-color);
    --bs-body-bg: var(--bg-light);
    color: var(--text-color);
    background-color: var(--bg-light);
}

[data-theme="midnight-rose"] .text-muted,
[data-theme="noir-gold"] .text-muted {
    color: var(--text-muted-custom) !important;
}

[data-theme="midnight-rose"] .card,
[data-theme="noir-gold"] .card {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-color: var(--card-border);
}

[data-theme="midnight-rose"] .navbar,
[data-theme="noir-gold"] .navbar {
    background-color: var(--navbar-bg) !important;
    border-bottom: 1px solid var(--hairline);
}

[data-theme="midnight-rose"] .nav-link,
[data-theme="noir-gold"] .nav-link,
[data-theme="midnight-rose"] .navbar-brand,
[data-theme="noir-gold"] .navbar-brand {
    color: var(--text-color) !important;
}

[data-theme="midnight-rose"] .service-row,
[data-theme="noir-gold"] .service-row {
    border-bottom-color: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="midnight-rose"] .form-control,
[data-theme="noir-gold"] .form-control,
[data-theme="midnight-rose"] .form-select,
[data-theme="noir-gold"] .form-select {
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--text-color);
    border-color: var(--card-border);
}

[data-theme="midnight-rose"] .form-control::placeholder,
[data-theme="noir-gold"] .form-control::placeholder {
    color: rgba(240, 232, 236, 0.35);
}

[data-theme="midnight-rose"] .accordion-item,
[data-theme="noir-gold"] .accordion-item {
    background-color: transparent;
    border-color: var(--card-border);
}

[data-theme="midnight-rose"] .accordion-button,
[data-theme="noir-gold"] .accordion-button {
    background-color: transparent;
    color: var(--text-color);
}

[data-theme="midnight-rose"] .accordion-button::after,
[data-theme="noir-gold"] .accordion-button::after {
    filter: invert(1);
}

[data-theme="midnight-rose"] .table,
[data-theme="noir-gold"] .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-color);
    --bs-table-border-color: var(--card-border);
}

[data-theme="midnight-rose"] .theme-panel,
[data-theme="noir-gold"] .theme-panel {
    background-color: var(--bg-light);
    border-color: var(--card-border);
}

/* 4. Base Typography */
* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-color);
    background-color: var(--bg-light);
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .display-serif {
    font-family: var(--font-display);
    font-weight: 400;
    color: inherit;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }

.text-muted { color: var(--text-muted-custom) !important; }

a { color: var(--primary-color); transition: color 0.3s ease; }
a:hover { color: var(--primary-hover); }

::selection { background: var(--primary-color); color: var(--text-on-primary); }

/* 5. Small-Caps Labels */
.small-caps,
.kicker {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.kicker-muted {
    color: var(--text-muted-custom);
}

/* 6. Bootstrap Overrides */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 4px;
    padding: 0.75rem 1.75rem;
    transition: all 0.3s ease;
    border-width: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-on-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: var(--text-on-primary) !important;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-on-primary) !important;
}

.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }

.pagination .page-link {
    color: var(--primary-color);
    border-color: var(--card-border);
    background-color: transparent;
}
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-on-primary);
}

/* 7. CTA Link (editorial underlined text-link) */
.cta-link {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
    padding: 0.25rem 0;
    transition: all 0.3s ease;
}

.cta-link:hover {
    color: var(--primary-hover);
    text-underline-offset: 3px;
}

.cta-link .arrow { display: inline-block; margin-left: 0.35rem; transition: transform 0.3s ease; }
.cta-link:hover .arrow { transform: translate(2px, -2px); }

/* 8. Almond Tip Motif */
.almond-tip {
    display: inline-block;
    vertical-align: middle;
    color: var(--primary-color);
    flex-shrink: 0;
}

.almond-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 200px;
    margin: 3rem auto;
    gap: 1rem;
}

.almond-divider-line {
    flex: 1;
    height: 1px;
    background: var(--hairline);
}

.almond-list {
    list-style: none;
    padding-left: 0;
}
.almond-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}
.almond-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 14px;
    height: 20px;
    background-color: var(--primary-color);
    opacity: 0.7;
    clip-path: path('M7 1 C11 4, 12.5 10, 12.5 14 C12.5 17.5, 10 19, 7 19 C4 19, 1.5 17.5, 1.5 14 C1.5 10, 3 4, 7 1 Z');
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 20'%3E%3Cpath d='M7 1 C11 4 12.5 10 12.5 14 C12.5 17.5 10 19 7 19 C4 19 1.5 17.5 1.5 14 C1.5 10 3 4 7 1 Z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 20'%3E%3Cpath d='M7 1 C11 4 12.5 10 12.5 14 C12.5 17.5 10 19 7 19 C4 19 1.5 17.5 1.5 14 C1.5 10 3 4 7 1 Z' fill='black'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
}

/* 9. Navbar */
.navbar {
    background-color: var(--navbar-bg) !important;
    border-bottom: 1px solid var(--hairline);
    padding: 1.25rem 0;
    transition: background-color 0.3s ease;
}

.navbar-brand {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--text-color) !important;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.navbar-brand i {
    color: var(--primary-color);
    font-size: 1.35rem;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: var(--text-color) !important;
    padding: 0.4rem 0.9rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0.9rem;
    right: 0.9rem;
    height: 1px;
    background: var(--primary-color);
}

.navbar .cta-link {
    padding: 0.4rem 0.9rem;
}

/* 10. Editorial Masthead Hero */
.masthead-hero {
    padding: 3rem 0 5rem;
    min-height: auto;
    overflow: hidden;
}

.masthead-hero .masthead-kicker {
    display: block;
    margin-bottom: 1.5rem;
}

.masthead-wordmark {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3rem, 9vw, 7.5rem);
    line-height: 0.95;
    letter-spacing: -0.025em;
    color: var(--text-color);
    margin: 0;
}

.masthead-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    color: var(--primary-color);
    margin: 1.5rem 0 2.5rem;
    letter-spacing: 0.01em;
}

.masthead-image {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-border);
}

.masthead-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 992px) {
    .masthead-hero {
        padding: 4rem 0 6rem;
        min-height: 85vh;
        display: flex;
        align-items: center;
    }
}

/* 11. Scrolling Marquee */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: 0.9rem 0;
    background: var(--bg-light);
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 42s linear infinite;
    width: max-content;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-color);
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* 12. Page Header (inner pages) */
.page-header {
    position: relative;
    padding: 7rem 0 3.5rem;
    background: var(--bg-light);
}

.page-header::before {
    content: attr(data-side-label);
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: rotate(-90deg) translateX(50%);
    transform-origin: left top;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.25em;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted-custom);
    white-space: nowrap;
    display: none;
}

@media (min-width: 992px) {
    .page-header::before { display: block; }
}

.page-header h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0;
}

.page-header .page-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* 13. Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    color: var(--text-muted-custom);
    max-width: 580px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

/* 14. Cards */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.card-img-top,
.card img {
    transition: transform 0.5s ease;
}

.card:hover .card-img-top,
.card:hover .product-img {
    transform: scale(1.04);
}

.card-body {
    padding: 1.5rem;
}

/* 15. Collections (homepage + page) */
.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.collection-card .collection-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.collection-card--wide .collection-img { aspect-ratio: 1 / 1; }

.collection-body {
    padding: 1.75rem 1.75rem 1.5rem;
}

.collection-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 400;
    margin: 0 0 0.5rem;
    letter-spacing: -0.015em;
}

.collection-note {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.55;
    margin: 0 0 1rem;
}

.collection-credit {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted-custom);
    margin: 0 0 1.25rem;
}

.collection-price {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--primary-color);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* 16. Services — Printed Menu */
.service-menu {
    max-width: 1000px;
    margin: 0 auto;
}

.service-menu-category {
    margin-bottom: 3rem;
}

.service-menu-category h3 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 400;
    margin: 0 0 0.25rem;
}

.service-menu-category .kicker {
    display: block;
    margin-bottom: 1.25rem;
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.95rem 0;
    border-bottom: 1px dotted var(--hairline);
    gap: 1.25rem;
}

.service-row:last-child {
    border-bottom: none;
}

.service-row .service-name-wrap {
    flex: 1;
    min-width: 0;
}

.service-row .service-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

.service-row .service-desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--text-muted-custom);
    margin: 0.25rem 0 0;
    font-style: italic;
}

.service-row .service-price-wrap {
    text-align: right;
    flex-shrink: 0;
}

.service-row .service-price {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
}

.service-row .service-duration {
    font-family: var(--font-body);
    font-weight: 300;
    font-style: italic;
    font-size: 0.8rem;
    color: var(--text-muted-custom);
    display: block;
    margin-top: 0.2rem;
}

.service-menu-footer {
    text-align: center;
    margin-top: 3rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--text-muted-custom);
}

/* 17. Artists Roster */
.artist-card {
    margin-bottom: 4rem;
}

.artist-portrait {
    aspect-ratio: 3 / 4;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-border);
}

.artist-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.artist-card:hover .artist-portrait img {
    transform: scale(1.02);
}

.artist-name {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    letter-spacing: -0.015em;
    margin: 1.5rem 0 0.25rem;
}

.artist-handle {
    font-family: var(--font-body);
    font-weight: 300;
    font-style: italic;
    font-size: 1rem;
    color: var(--text-muted-custom);
    margin: 0 0 0.75rem;
}

.artist-signature {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
}

.artist-since {
    font-family: var(--font-body);
    font-weight: 300;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-muted-custom);
    margin: 0 0 1rem;
}

.artist-bio {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0 0 1.25rem;
}

/* 18. Gallery Masonry */
.masonry-grid {
    column-count: 2;
    column-gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) { .masonry-grid { column-count: 3; } }
@media (min-width: 1200px) { .masonry-grid { column-count: 4; } }

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-border);
    transition: transform 0.3s ease;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.03);
}

.masonry-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(26, 13, 18, 0.82), transparent 60%);
    color: #FFF;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-overlay .collection-tag {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    font-size: 1.05rem;
    margin: 0 0 0.25rem;
}

.masonry-overlay .artist-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
    margin: 0;
}

/* Before/After Slider */
.ba-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: ew-resize;
    user-select: none;
    aspect-ratio: 1 / 1;
}

.ba-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-after-wrap {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
    pointer-events: none;
}

.ba-after-wrap img {
    width: 200%;
    max-width: none;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #FFF;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-handle-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    border: 2px solid #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.ba-handle-knob .almond-tip {
    color: #FFF;
}

.ba-label {
    position: absolute;
    top: 1rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #FFF;
    background: rgba(0,0,0,0.5);
    padding: 0.3rem 0.7rem;
    border-radius: 2px;
}

.ba-label-before { left: 1rem; }
.ba-label-after { right: 1rem; }

/* 19. Filter Buttons */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--hairline);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.55rem 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-on-primary);
}

/* 20. Product Card (Shop) */
.product-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.85rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.product-card .card-img-wrapper {
    aspect-ratio: 4 / 5;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    margin-bottom: 1rem;
}

.product-card .card-img-wrapper img,
.product-card .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.product-card .product-category {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted-custom);
    display: block;
    margin-bottom: 0.4rem;
}

.product-card .product-name {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.product-card .product-name a {
    color: inherit;
    text-decoration: none;
}
.product-card .product-name a:hover {
    color: var(--primary-color);
}

.product-card .product-price {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
}

.product-card .badge {
    background: var(--primary-color);
    color: var(--text-on-primary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 0.3rem 0.55rem;
}

/* 21. Testimonials */
.testimonial-block {
    margin-bottom: 3rem;
}

.testimonial-quote-mark {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 4rem;
    line-height: 0.8;
    color: var(--primary-color);
    opacity: 0.4;
    margin: 0 0 1rem;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.5;
    margin: 0 0 1.25rem;
}

.testimonial-attrib {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

.testimonial-attrib .set-tag {
    font-family: var(--font-body);
    font-weight: 300;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-muted-custom);
    display: block;
    margin-top: 0.25rem;
}

.testimonial-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 22. Instagram Feed */
.ig-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .ig-feed {
        grid-template-columns: repeat(6, 1fr);
    }
}

.ig-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
}

.ig-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.ig-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

.ig-item::after {
    content: '\f16d';
    font-family: 'Font Awesome 6 Brands';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ig-item:hover::after {
    opacity: 1;
}

.ig-handle {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
}

.ig-handle:hover {
    color: var(--primary-hover);
}

/* 23. Studio Hours (ritual block) */
.studio-hours {
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    line-height: 2;
    color: var(--text-color);
    max-width: 640px;
    margin: 0 auto;
}

.studio-hours .sep {
    color: var(--primary-color);
    margin: 0 0.6rem;
}

.studio-hours strong {
    font-family: var(--font-body);
    font-weight: 500;
    font-style: normal;
    font-size: 0.95em;
    letter-spacing: 0.05em;
}

/* 24. Editorial Stats */
.editorial-stats {
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.55;
    max-width: 780px;
    margin: 0 auto;
    color: var(--text-color);
}

.editorial-stats strong {
    font-family: var(--font-body);
    font-weight: 500;
    font-style: normal;
    color: var(--primary-color);
}

/* 25. Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 4.5rem 0 2rem;
    border-top: 1px solid rgba(183, 110, 121, 0.2);
    margin-top: 0;
}

.footer h5 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(240, 232, 236, 0.55);
    margin-bottom: 1.25rem;
}

.footer .footer-brand {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--footer-text);
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer .footer-brand i {
    color: var(--primary-color);
}

.footer p {
    color: rgba(240, 232, 236, 0.75);
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li {
    margin-bottom: 0.55rem;
}

.footer li a {
    color: rgba(240, 232, 236, 0.7);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.3s ease;
}

.footer li a:hover {
    color: var(--primary-color);
}

.footer .social-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(240, 232, 236, 0.2);
    border-radius: 50%;
    color: var(--footer-text);
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-on-primary);
}

.footer .ig-handle-footer {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--footer-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer .ig-handle-footer:hover { color: var(--primary-color); }

.footer hr {
    border: none;
    border-top: 1px solid rgba(240, 232, 236, 0.1);
    margin: 2.5rem 0 1.5rem;
}

.footer-copy {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(240, 232, 236, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.footer-copy .almond-tip {
    color: var(--primary-color);
    opacity: 0.6;
}

.footer-studio-hours {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 2;
    color: rgba(240, 232, 236, 0.8);
}

.footer-studio-hours .sep { color: var(--primary-color); margin: 0 0.4rem; }
.footer-studio-hours strong { font-family: var(--font-body); font-weight: 500; font-style: normal; font-size: 0.85em; }

/* 26. Forms */
.form-control,
.form-select {
    border-radius: 4px;
    border: 1px solid var(--hairline);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--card-bg);
    color: var(--text-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.12);
    outline: none;
}

.form-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-check-label {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-color);
}

/* 27. Accordion (FAQ) */
.accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--hairline);
    border-radius: 0 !important;
}

.accordion-button {
    background: transparent;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--text-color);
    padding: 1.25rem 0;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--primary-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23B76E79'%3E%3Cpath d='M7.646 10.854a.5.5 0 0 0 .708 0l6-6a.5.5 0 1 0-.708-.708L8 9.793 2.354 4.146a.5.5 0 1 0-.708.708l6 6z'/%3E%3C/svg%3E");
}

.accordion-body {
    padding: 0 0 1.5rem;
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.7;
}

/* 28. Theme Switcher Panel */
.theme-switcher {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 999;
}

.theme-toggle-btn {
    background: var(--primary-color);
    color: var(--text-on-primary);
    width: 44px;
    height: 44px;
    border-radius: 50% 0 0 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(45, 31, 36, 0.12);
}

.theme-toggle-btn i {
    font-size: 1.05rem;
}

.theme-panel {
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%) translateX(20px);
    background: var(--card-bg);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 1.25rem;
    width: 240px;
    box-shadow: 0 10px 40px rgba(45, 31, 36, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.theme-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.theme-panel h6 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted-custom);
    margin: 0 0 0.85rem;
    text-align: center;
}

.color-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.color-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    position: relative;
}

.color-btn:hover {
    transform: scale(1.12);
}

/* 29. Booking Form */
.booking-form .artist-choice {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .booking-form .artist-choice { grid-template-columns: repeat(3, 1fr); }
}

.booking-form .artist-choice-item {
    position: relative;
    border: 1px solid var(--hairline);
    border-radius: 8px;
    padding: 0.9rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.booking-form .artist-choice-item:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(183, 110, 121, 0.06);
}

.booking-form .artist-choice-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.booking-form .artist-choice-item img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.booking-form .artist-choice-item .artist-choice-name {
    font-family: var(--font-display);
    font-size: 1rem;
    margin: 0;
}

.booking-form .artist-choice-item .artist-choice-sig {
    font-size: 0.72rem;
    color: var(--text-muted-custom);
    font-style: italic;
}

.booking-sidebar-note {
    background: var(--card-bg);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 1.5rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
}

/* 30. Utilities */
.bg-soft {
    background: rgba(183, 110, 121, 0.04);
}

.border-hairline {
    border: 1px solid var(--hairline) !important;
}

.section-soft {
    background: rgba(45, 31, 36, 0.02);
}

.max-700 { max-width: 700px; }
.max-900 { max-width: 900px; }

/* Hero Page Header for inner pages with background image */
.page-header-img {
    position: relative;
    padding: 10rem 0 5rem;
    color: var(--text-color);
    overflow: hidden;
}

/* Cart Table */
.cart-table img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--hairline);
    border-radius: 4px;
}

.quantity-control button {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    color: var(--text-color);
}

.quantity-control span {
    padding: 0 0.75rem;
    min-width: 30px;
    text-align: center;
    font-weight: 500;
}

/* 404 */
.error-page {
    padding: 7rem 0 6rem;
    text-align: center;
}

.error-page .error-number {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(6rem, 15vw, 12rem);
    line-height: 1;
    margin: 0;
    letter-spacing: -0.04em;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.error-page .error-number::after {
    content: '';
    position: absolute;
    bottom: 0.3em;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: var(--primary-color);
}

.error-page .error-sub {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    color: var(--primary-color);
}

/* Map placeholder */
.map-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(183, 110, 121, 0.12), rgba(183, 110, 121, 0.04));
    border: 1px solid var(--hairline);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted-custom);
    font-style: italic;
    font-family: var(--font-display);
}

/* Pull Quote */
.pull-quote {
    border-left: 2px solid var(--primary-color);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 2rem 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 991px) {
    section { padding: 3.5rem 0; }
    .masthead-hero { padding: 2rem 0 3.5rem; }
}

/* Prevent horizontal scroll */
html, body { overflow-x: hidden; max-width: 100%; }
