:root {
    --ink: #281536;
    --muted: #75647f;
    --paper: #fdfaff;
    --surface: #f3ebf8;
    --line: #e4d6ef;
    --accent: #7435a5;
    --accent-dark: #542078;
    --accent-soft: #9465b5;
    --bs-primary: #7435a5;
    --bs-primary-rgb: 116, 53, 165;
    --bs-dark-rgb: 40, 21, 54;
    --bs-focus-ring-color: rgba(116, 53, 165, .25);
    --bs-link-color: #542078;
    --bs-link-hover-color: #7435a5;
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--paper);
    --bs-border-color: var(--line);
    --bs-primary-text-emphasis: #542078;
    --bs-primary-bg-subtle: #f3ebf8;
    --bs-primary-border-subtle: #d7c1e7;
    --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.65; }
h1, h2, h3, .navbar-brand, .footer-brand { font-family: 'Manrope', sans-serif; letter-spacing: 0; }
a { color: inherit; }
.utility-bar { min-height: 34px; background: var(--ink); color: #f6effb; font-size: .75rem; }
.utility-bar .container { min-height: 34px; }
.utility-bar a { color: inherit; text-decoration: none; }
.site-nav { min-height: 76px; background: rgba(253, 250, 255, .97); border-bottom: 1px solid rgba(40, 21, 54, .1); }
.navbar-brand { color: var(--ink); font-size: 1.3rem; font-weight: 600; }
.navbar-brand img, .footer-brand img { object-fit: contain; }
.navbar-brand img { width: 56px; height: 56px; }
.navbar-brand strong { color: var(--accent); font-weight: 800; }
.nav-link { color: var(--ink); font-size: .91rem; font-weight: 600; }
.nav-link:hover, .nav-link:focus { color: var(--accent); }
.nav-action-icon { font-size: 1.15em; }
.btn-ink { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--accent-dark); border-radius: 3px; background: var(--accent-dark); color: #fff; font-weight: 700; }
.btn-ink:hover, .btn-ink:focus { border-color: var(--accent-dark); background: var(--accent-dark); color: #fff; }
.hero-section { position: relative; min-height: 650px; overflow: hidden; background: #e8d9f2; }
.hero-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,247,253,.96) 0%, rgba(250,247,253,.88) 39%, rgba(250,247,253,.28) 73%, rgba(250,247,253,.06) 100%), url('../images/backgroundImage.png') center 47% / cover no-repeat; }
.hero-inner { position: relative; display: flex; min-height: 650px; align-items: center; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; }
.hero-copy { max-width: 590px; padding: 35px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-soft); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero-copy h1 { margin: 20px 0 18px; font-size: clamp(2.8rem, 5vw, 4.7rem); font-weight: 800; line-height: 1.06; }
.hero-copy h1 em { color: var(--accent); font-family: var(--serif); font-weight: 400; }
.hero-copy > p { max-width: 490px; margin-bottom: 26px; color: #5d5364; font-size: 1.08rem; }
.text-link { color: var(--accent-dark); font-weight: 800; text-decoration: none; }
.text-link:hover { color: var(--accent-soft); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: #62586a; font-size: .82rem; font-weight: 600; }
.hero-proof i { margin-right: 5px; color: var(--accent-soft); }
.hero-stamp { display: grid; width: 142px; height: 142px; place-content: center; justify-items: center; margin: 220px 8% 0 0; border: 1px solid rgba(76,56,89,.52); border-radius: 50%; color: var(--accent-dark); text-align: center; transform: rotate(8deg); }
.hero-stamp span { font-family: var(--serif); font-size: 1.15rem; line-height: 1.12; }
.hero-stamp b { font-style: italic; }
.hero-stamp i { margin-top: 8px; }
.range-strip { padding: 18px 0; border-bottom: 1px solid var(--line); background: #f7f2fa; color: #655b6c; font-size: .81rem; }
.range-strip > .container > span { color: var(--ink); font-weight: 800; }
.range-strip div div { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.range-strip div div span { white-space: nowrap; }
.section-space { padding: 94px 0; background: linear-gradient(135deg, #faf7fd 0%, #f1e8f8 100%); }
.section-heading { margin-bottom: 38px; }
.section-heading h2, .about-copy h2, .contact-panel h2 { max-width: 660px; margin: 10px 0 11px; font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 800; line-height: 1.12; }
.section-heading p { max-width: 620px; margin: 0; color: var(--muted); }
.product-grid { --bs-gutter-y: 1.5rem; }
.product-card { overflow: hidden; border: 1px solid #dfcfeb; background: #fff; box-shadow: 0 8px 24px rgba(84, 32, 120, .07); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.product-card:hover { border-color: #b995d2; box-shadow: 0 14px 30px rgba(84, 32, 120, .14); transform: translateY(-3px); }
.product-card-image { position: relative; display: grid; min-height: 245px; aspect-ratio: 1.35 / 1; place-items: center; overflow: hidden; background: #f1eaf6; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-card-image img { transform: scale(1.035); }
.product-badge { position: absolute; top: 13px; left: 13px; padding: 5px 9px; background: #fff; color: var(--accent-dark); font-size: .69rem; font-weight: 800; text-transform: uppercase; }
.product-card-body { padding: 20px 21px 19px; background: linear-gradient(180deg, #fff 0%, #fbf8fe 100%); }
.product-card-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .71rem; font-weight: 700; text-transform: uppercase; }
.product-card h3 { margin: 9px 0 6px; font-size: 1.2rem; font-weight: 800; }
.product-card h3 a { text-decoration: none; }
.product-card-body > p { min-height: 48px; margin: 0 0 14px; color: var(--muted); font-size: .88rem; }
.card-price { color: var(--muted); font-size: .83rem; }
.card-price strong { color: var(--ink); font-size: 1.03rem; }
.card-price del { margin-left: 6px; color: #857c8b; font-size: .8rem; }
.product-card-link { display: flex; justify-content: space-between; margin-top: 17px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--accent-dark); font-size: .86rem; font-weight: 800; text-decoration: none; }
.products-preview { background: linear-gradient(135deg, #f8f2fc 0%, #efe3f7 100%); }
.about-section { background: #fcf9fe; }
.about-image-wrap { position: relative; padding: 0 25px 25px 0; }
.about-image-wrap::after { position: absolute; z-index: 0; right: 0; bottom: 0; width: 66%; height: 62%; border: 1px solid #bda6cc; content: ''; }
.about-image-wrap img { position: relative; z-index: 1; display: block; width: 100%; max-height: 560px; object-fit: cover; }
.image-caption { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 7px 11px; background: #fff; font-size: .73rem; font-weight: 800; }
.about-copy h2 { margin-top: 13px; }
.about-copy p { color: #655b6c; }
.about-copy .lead-copy { color: var(--ink); font-size: 1.08rem; font-weight: 600; }
.about-copy .text-link { display: inline-block; margin-top: 9px; }
.services-section { background: linear-gradient(135deg, #ecdef5 0%, #e4d2ef 100%); }
.service-list { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-item { min-height: 192px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .58); }
.service-item > i { color: var(--accent); font-size: 1.5rem; }
.service-item h3 { margin: 15px 0 6px; font-size: 1.08rem; font-weight: 800; }
.service-item p { max-width: 310px; margin: 0; color: var(--muted); font-size: .88rem; }
.contact-section { padding-top: 5px; background: #c29ddb; }
.contact-panel { display: flex; justify-content: space-between; gap: 36px; padding: 43px; border: 1px solid #d5b9e8; background: #eadcf4; }
.contact-panel > div:first-child { max-width: 650px; }
.contact-panel h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); }
.contact-panel p { margin-bottom: 0; color: var(--muted); }
.contact-actions { display: flex; min-width: 220px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.contact-line { color: var(--ink); font-size: .87rem; text-decoration: none; }
.newsletter-box { border: 1px solid #d5b9e8 !important; background: #f0e5f7; }
.site-footer { background: var(--ink); color: #f6effb; }
.footer-main { padding-top: 56px; padding-bottom: 48px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: white; font-size: 1.2rem; font-weight: 800; text-decoration: none; }
.footer-note { max-width: 320px; margin: 14px 0 0; color: #cdbbd9; font-size: .9rem; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.footer-social-links a { display: inline-flex; align-items: center; gap: 7px; color: #ddcfe8; font-size: .86rem; text-decoration: none; }
.footer-social-links a i { display: inline-block; font-size: 1.1rem; transition: color .2s ease, transform .2s ease; }
.footer-social-links a:hover i, .footer-social-links a:focus-visible i { transform: translateY(-3px) scale(1.15); }
.footer-social-links a:nth-child(1):hover i, .footer-social-links a:nth-child(1):focus-visible i { color: #0866ff; }
.footer-social-links a:nth-child(2):hover i, .footer-social-links a:nth-child(2):focus-visible i {
    background-image: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
}
.footer-social-links a:nth-child(3):hover i, .footer-social-links a:nth-child(3):focus-visible i {
    color: #fff;
    text-shadow: -2px 0 #25f4ee, 2px 0 #fe2c55;
}
.site-footer h2 { margin: 8px 0 14px; color: #fff; font-size: .84rem; font-weight: 800; text-transform: uppercase; }
.site-footer .col-6 > a, .site-footer .col-6 > span { display: block; width: fit-content; margin: 6px 0; color: #ddcfe8; font-size: .86rem; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { padding: 15px 0; border-top: 1px solid #493657; color: #cdbbd9; font-size: .76rem; }
.whatsapp-float { position: fixed; z-index: 20; right: 20px; bottom: 20px; display: grid; width: 52px; height: 52px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #267a50; color: #fff; box-shadow: 0 4px 18px #20272133; font-size: 1.55rem; text-decoration: none; }
.whatsapp-float:hover { background: #1e643f; color: #fff; }
.btn-dark { --bs-btn-bg: var(--accent-dark); --bs-btn-border-color: var(--accent-dark); --bs-btn-hover-bg: var(--accent); --bs-btn-hover-border-color: var(--accent); --bs-btn-active-bg: var(--accent-dark); --bs-btn-active-border-color: var(--accent-dark); }
.btn-outline-dark { --bs-btn-color: var(--accent-dark); --bs-btn-border-color: var(--accent-dark); --bs-btn-hover-bg: var(--accent-dark); --bs-btn-hover-border-color: var(--accent-dark); --bs-btn-active-bg: var(--accent-dark); --bs-btn-active-border-color: var(--accent-dark); }
.bg-dark { background-color: var(--accent-dark) !important; }
.text-bg-dark { color: #fff !important; background-color: var(--accent-dark) !important; }
.card { --bs-card-bg: #fff; --bs-card-border-color: #dfcfeb; border-color: #dfcfeb; }
.card.shadow-sm { box-shadow: 0 10px 28px rgba(84, 32, 120, .09) !important; }
.list-group { --bs-list-group-border-color: #dfcfeb; --bs-list-group-border-radius: .75rem; overflow: hidden; box-shadow: 0 10px 28px rgba(84, 32, 120, .08); }
.list-group-item { --bs-list-group-bg: #fff; --bs-list-group-border-color: #e7d9f0; }
.table { --bs-table-border-color: var(--line); --bs-table-striped-bg: #faf6fd; --bs-table-hover-bg: #f1e7f8; }
.table thead th { background-color: #f1e8f8; color: var(--accent-dark); }
.page-masthead { padding: 70px 0 64px; background: var(--surface); }
.page-masthead h1 { margin: 10px 0; font-size: clamp(2.7rem, 5vw, 4.2rem); font-weight: 800; }
.page-masthead p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.catalog-section { padding-top: 52px; }
.catalog-toolbar { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.catalog-toolbar label { display: block; }
.catalog-toolbar .search-field { position: relative; flex: 1 1 250px; }
.search-field i { position: absolute; top: 11px; left: 13px; color: var(--muted); }
.search-field input { width: 100%; min-height: 44px; padding: 8px 12px 8px 39px; border: 1px solid var(--line); border-radius: 3px; background: white; }
.catalog-toolbar select { min-width: 178px; min-height: 44px; border-color: var(--line); border-radius: 3px; }
.catalog-toolbar .btn { min-height: 44px; }
.catalog-count { display: flex; justify-content: space-between; margin: 22px 0 16px; color: var(--muted); font-size: .83rem; }
.catalog-count span { color: var(--ink); font-weight: 700; }
.catalog-pagination { margin-top: 38px; }
.pagination { gap: 5px; }
.page-link { border-color: var(--line); border-radius: 2px !important; color: var(--accent-dark); }
.page-item.active .page-link { border-color: var(--accent-dark); background: var(--accent-dark); }
.empty-state { padding: 50px 20px; color: var(--muted); text-align: center; }
.empty-state > i { color: var(--accent); font-size: 2rem; }
.empty-state h2 { margin: 12px 0 4px; color: var(--ink); font-size: 1.5rem; }
.empty-state .btn { margin-top: 12px; }
.product-detail-section { padding-top: 38px; }
.breadcrumb-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 32px; color: var(--muted); font-size: .8rem; }
.breadcrumb-line a { color: var(--accent-dark); text-decoration: none; }
.detail-image-main { display: grid; min-height: 430px; aspect-ratio: 1 / .92; place-items: center; background: var(--surface); }
.detail-image-main img { width: 100%; height: 100%; max-height: 620px; object-fit: contain; mix-blend-mode: multiply; }
.detail-thumbnails { display: flex; gap: 9px; margin-top: 10px; }
.detail-thumbnails button { width: 76px; height: 72px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.detail-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.product-detail-copy { padding-top: 18px; }
.product-detail-copy h1 { margin: 9px 0; font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 800; }
.detail-intro { color: var(--muted); font-size: 1rem; }
.detail-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 23px 0 8px; }
.detail-price strong { font-family: 'Manrope', sans-serif; font-size: 1.8rem; font-weight: 800; }
.detail-price del { color: var(--muted); }
.variant-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 9px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .81rem; }
.variant-meta strong { color: var(--ink); }
.variant-label { display: block; margin: 22px 0 7px; font-size: .85rem; font-weight: 800; }
.variant-select { min-height: 47px; border-color: var(--line); border-radius: 3px; }
.fabric-selector { margin: 20px 0 0; padding: 0; border: 0; }
.fabric-options { display: flex; flex-wrap: wrap; gap: 10px; }
.fabric-choice { display: flex; flex-direction: column; align-items: center; gap: 5px; max-width: 110px; cursor: pointer; text-align: center; }
.fabric-choice-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fabric-swatch { display: block; width: 78px; height: 78px; padding: 3px; border: 1px solid var(--line); background: #fff; }
.fabric-swatch img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fabric-choice-name { color: var(--ink); font-size: .75rem; line-height: 1.25; overflow-wrap: anywhere; }
.fabric-choice-input:checked + .fabric-swatch { border: 2px solid var(--accent-dark); }
.fabric-choice-input:focus-visible + .fabric-swatch { outline: 2px solid var(--accent); outline-offset: 2px; }
.variant-specifications { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 16px; color: var(--muted); font-size: .82rem; }
.variant-specifications strong { color: var(--ink); }
.stock-note { margin: 16px 0; color: var(--muted); font-size: .79rem; }
.detail-contact { width: 100%; min-height: 51px; }
.detail-description { margin-top: 31px; padding-top: 22px; border-top: 1px solid var(--line); }
.detail-description h2 { margin-bottom: 8px; font-size: 1.15rem; font-weight: 800; }
.detail-description p { color: var(--muted); }
.related-section { background: var(--surface); }
.image-placeholder { display: grid; width: 100%; height: 100%; min-height: 230px; place-items: center; color: #9c979f; font-size: 2rem; }
.cart-thumb { display: grid; width: 112px; height: 96px; flex: 0 0 112px; place-items: center; overflow: hidden; background: var(--surface); }
.cart-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cart-thumb .image-placeholder { min-height: 0; }

.admin-main { min-height: calc(100vh - 72px); background: #f3edf8; }
.admin-shell { display: grid; min-height: calc(100vh - 72px); grid-template-columns: 248px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; display: flex; height: 100vh; max-height: 100vh; flex-direction: column; padding: 23px 16px 17px; overflow-y: auto; background: #321b43; color: #f6effb; }
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 0 9px 21px; color: inherit; font-family: 'Manrope', sans-serif; font-size: 1rem; font-weight: 700; text-decoration: none; }
.admin-brand img { object-fit: contain; }
.admin-brand strong { color: #c79fe2; }
.admin-user { display: grid; gap: 2px; margin-bottom: 18px; padding: 13px 10px; border-top: 1px solid #ffffff20; border-bottom: 1px solid #ffffff20; }
.admin-user-label { color: #c2b5cb; font-size: .7rem; }
.admin-user strong { overflow: hidden; font-size: .88rem; text-overflow: ellipsis; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav a, .admin-sidebar-actions > a, .admin-sidebar-actions button { display: flex; min-height: 42px; align-items: center; gap: 11px; padding: 8px 11px; border: 0; border-radius: 3px; background: transparent; color: #e3dbe9; font-size: .86rem; font-weight: 600; text-align: left; text-decoration: none; }
.admin-nav a:hover, .admin-sidebar-actions > a:hover, .admin-sidebar-actions button:hover { background: #ffffff12; color: #fff; }
.admin-nav a.active { background: #d5b9eb; color: #281536; }
.admin-nav i, .admin-sidebar-actions i { width: 18px; font-size: 1rem; text-align: center; }
.admin-sidebar-actions { display: grid; gap: 3px; margin-top: auto; padding-top: 17px; border-top: 1px solid #ffffff20; }
.admin-sidebar-actions form { margin: 0; }
.admin-content { min-width: 0; }
.admin-content .section-space { padding-top: 42px; padding-bottom: 52px; }
.admin-content .admin-content { padding: 0; }
.upload-picker-button { max-width: 100%; overflow-wrap: anywhere; white-space: normal; }

@media (min-width: 992px) {
    .site-nav .container { position: relative; }
    .category-nav { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
}

@media (max-width: 767.98px) {
    .cart-thumb { width: 96px; height: 82px; flex-basis: 96px; }
    .admin-main, .admin-shell { min-height: 100vh; }
    .admin-shell { grid-template-columns: minmax(0, 1fr); align-content: start; }
    .admin-sidebar { position: static; height: auto; max-height: none; padding: 12px 12px 10px; }
    .admin-brand { padding: 0 4px 10px; }
    .admin-user, .admin-sidebar-actions { display: none; }
    .admin-nav { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 2px; }
    .admin-nav a { min-height: 38px; flex: 0 0 auto; gap: 7px; padding: 7px 9px; font-size: .78rem; }
    .admin-content .section-space { padding-top: 30px; }
    .utility-bar .container { justify-content: center !important; }
    .utility-bar .container > span { display: none; }
    .site-nav { min-height: 66px; }
    .navbar-brand { font-size: 1.15rem; }
    .navbar-brand img { width: 48px; height: 48px; }
    .hero-section, .hero-inner { min-height: 620px; }
    .hero-image { background-position: 62% center; background-image: linear-gradient(90deg, rgba(250,247,253,.96) 0%, rgba(250,247,253,.83) 62%, rgba(250,247,253,.32) 100%), url('../images/backgroundImage.png'); }
    .hero-copy { padding: 35px 0; }
    .hero-copy h1 { font-size: 3rem; }
    .hero-stamp { position: absolute; right: 20px; bottom: 23px; width: 100px; height: 100px; margin: 0; background: #faf7fdcc; }
    .hero-stamp span { font-size: .9rem; }
    .hero-proof { gap: 8px 15px; margin-top: 25px; }
    .range-strip > .container { align-items: flex-start !important; flex-direction: column; }
    .range-strip div div { gap: 8px 17px; }
    .section-space { padding: 65px 0; }
    .contact-section { padding-top: 0; }
    .contact-panel { flex-direction: column; padding: 27px 22px; }
    .contact-actions { min-width: 0; }
    .detail-image-main { min-height: 300px; }
    .catalog-toolbar > label:not(.search-field) { flex: 1 1 42%; }
    .catalog-toolbar select { width: 100%; min-width: 0; }
    .catalog-toolbar .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}