/* =====================================================
   ACCESSORIZE ME — Storefront Styles
   Brand: Purple, Rose Pink, Coral
   ===================================================== */

:root {
    --am-purple: #7B3F98;
    --am-purple-dark: #5E2A84;
    --am-pink: #E98AB8;
    --am-coral: #FF4D6D;
    --am-cream: #FFFAF7;
    --am-lavender: #F5EFF8;
    --am-white: #FFFFFF;
    --am-text: #30283A;
    --am-muted: #776E7D;
    --am-border: #EAE3ED;
    --am-success: #247A52;
    --am-radius: 16px;
    --am-shadow: 0 8px 24px rgba(57, 31, 70, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--am-white);
    color: var(--am-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* Announcement strip */

.announcement-bar {
    padding: 8px 16px;
    background: var(--am-purple-dark);
    color: var(--am-white);
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Header and navigation */

.site-header {
    position: relative;
    z-index: 10;
    background: var(--am-white);
    border-bottom: 1px solid var(--am-border);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    flex-shrink: 0;
    color: var(--am-purple-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.1;
}

.brand span {
    margin-top: 5px;
    color: var(--am-muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
}

.main-nav a {
    color: var(--am-text);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--am-purple);
}

.header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border: 1px solid var(--am-purple);
    border-radius: 30px;
    color: var(--am-purple);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.header-contact:hover {
    background: var(--am-purple);
    color: var(--am-white);
}

/* Hero section */

.hero {
    overflow: hidden;
    padding: 76px 0;
    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(233, 139, 184, 0.28),
            transparent 32%
        ),
        linear-gradient(115deg, var(--am-lavender), var(--am-cream));
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--am-purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 650px;
    margin: 0 0 20px;
    color: var(--am-purple-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.12;
}

.hero h1 em {
    color: var(--am-purple);
    font-weight: 400;
}

.hero p {
    max-width: 520px;
    margin: 0 0 28px;
    color: var(--am-muted);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-art {
    display: flex;
    min-height: 280px;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 1px solid rgba(123, 63, 152, 0.13);
    border-radius: 48% 48% 22px 22px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--am-purple);
    text-align: center;
}

.hero-art-inner {
    max-width: 280px;
}

.hero-art .art-symbol {
    display: block;
    margin-bottom: 12px;
    font-size: 64px;
    line-height: 1.2;
}

.hero-art strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
}

.hero-art p {
    margin: 8px auto 0;
    font-size: 13px;
}

/* Buttons */

.btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--am-purple);
    color: var(--am-white);
}

.btn-primary:hover {
    background: var(--am-purple-dark);
}

.btn-outline {
    border-color: var(--am-purple);
    background: transparent;
    color: var(--am-purple);
}

.btn-outline:hover {
    background: var(--am-lavender);
}

.btn-whatsapp {
    width: 100%;
    background: var(--am-purple);
    color: var(--am-white);
}

.btn-whatsapp:hover {
    background: var(--am-purple-dark);
}

.btn-disabled {
    width: 100%;
    background: #F1EDF2;
    color: var(--am-muted);
    cursor: default;
}

/* Category navigation */

.category-section {
    padding: 30px 0 12px;
}

.category-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 17px;
    border: 1px solid var(--am-border);
    border-radius: 30px;
    background: var(--am-white);
    color: var(--am-muted);
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.category-link:hover,
.category-link.active {
    border-color: var(--am-purple);
    background: var(--am-purple);
    color: var(--am-white);
}

/* Product catalogue */

.catalogue-section {
    padding: 42px 0 80px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin: 0;
    color: var(--am-purple-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 500;
    line-height: 1.2;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--am-muted);
    font-size: 13px;
}

.product-count {
    color: var(--am-muted);
    font-size: 12px;
    white-space: nowrap;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 20px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--am-border);
    border-radius: var(--am-radius);
    background: var(--am-white);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--am-shadow);
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--am-lavender);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-image {
    transform: scale(1.04);
}

.product-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    color: var(--am-purple);
    text-align: center;
}

.product-placeholder .placeholder-symbol {
    font-size: 42px;
}

.product-placeholder span:last-child {
    color: var(--am-muted);
    font-size: 11px;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 5px 10px;
    border-radius: 20px;
    background: var(--am-coral);
    color: var(--am-white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.product-badge.featured {
    background: var(--am-purple);
}

.product-details {
    padding: 16px;
}

.product-category {
    margin: 0 0 5px;
    color: var(--am-purple);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-name {
    margin: 0 0 10px;
    color: var(--am-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.product-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 14px;
    color: var(--am-muted);
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.current-price {
    color: var(--am-purple-dark);
    font-size: 17px;
    font-weight: 700;
}

.old-price {
    color: var(--am-muted);
    font-size: 12px;
    text-decoration: line-through;
}

.empty-state {
    padding: 55px 20px;
    border: 1px dashed var(--am-border);
    border-radius: var(--am-radius);
    background: var(--am-cream);
    text-align: center;
}

.empty-state h3 {
    margin: 0 0 8px;
    color: var(--am-purple-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 500;
}

.empty-state p {
    margin: 0;
    color: var(--am-muted);
    font-size: 13px;
}

/* Brand promise strip */

.promise-section {
    padding: 32px 0;
    background: var(--am-lavender);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.promise-item {
    text-align: center;
}

.promise-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--am-purple-dark);
    font-size: 13px;
}

.promise-item p {
    margin: 0;
    color: var(--am-muted);
    font-size: 12px;
}

/* Footer */

.site-footer {
    padding: 42px 0 20px;
    background: #2F2038;
    color: var(--am-white);
}

.footer-main {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
}

.footer-brand {
    color: var(--am-white);
}

.footer-copy {
    max-width: 400px;
    margin: 12px 0 0;
    color: #D8CADD;
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    color: #F3EAF5;
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--am-pink);
}

.footer-bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #D8CADD;
    font-size: 11px;
    text-align: center;
}

/* Responsive layout */

@media (max-width: 1000px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .header-inner {
        gap: 16px;
    }

    .main-nav {
        gap: 15px;
    }

    .hero-inner {
        gap: 28px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 600px);
    }

    .header-inner {
        min-height: auto;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 18px;
        padding-bottom: 16px;
    }

    .brand {
        font-size: 24px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        padding-top: 12px;
        border-top: 1px solid var(--am-border);
    }

    .main-nav a {
        font-size: 12px;
    }

    .header-contact {
        padding: 9px 12px;
        font-size: 11px;
    }

    .hero {
        padding: 48px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: clamp(36px, 9vw, 52px);
    }

    .hero-art {
        min-height: 210px;
        border-radius: 36px;
    }

    .hero-art .art-symbol {
        font-size: 48px;
    }

    .hero-art strong {
        font-size: 24px;
    }

    .catalogue-section {
        padding-top: 30px;
        padding-bottom: 55px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }

    .product-details {
        padding: 12px;
    }

    .product-name {
        font-size: 13px;
    }

    .current-price {
        font-size: 15px;
    }

    .section-heading {
        align-items: start;
    }

    .promise-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 380px) {
    .container {
        width: calc(100% - 22px);
    }

    .header-contact {
        padding: 8px 10px;
    }

    .product-grid {
        gap: 12px 8px;
    }

    .product-details {
        padding: 10px;
    }

    .btn {
        padding: 10px 14px;
    }

    .product-badge {
        top: 7px;
        left: 7px;
        padding: 4px 7px;
        font-size: 9px;
    }
}

/* Product stock status */
.stock-badge.out-of-stock {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-block;
    padding: 7px 12px;
    border-radius: 6px;
    background: #5e2a84;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

/* Product availability message */
.availability-message {
    display: block;
    margin-top: 12px;
    color: #b42318;
    font-size: 14px;
    font-weight: 600;
}


/* Product catalogue filters */
.product-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
    margin: 24px 0 30px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #eadff0;
    border-radius: 12px;
}

.product-filter-form .filter-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.product-filter-form .filter-search {
    grid-column: 1 / -1;
}

.search-clear {
    color: #7b3f98;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-filter-form label {
    color: #5e2a84;
    font-size: 13px;
    font-weight: 600;
}

.product-filter-form input,
.product-filter-form select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d8c9e2;
    border-radius: 7px;
    background: #ffffff;
    color: #333333;
    font: inherit;
}

.product-filter-form input:focus,
.product-filter-form select:focus {
    outline: 2px solid #7b3f98;
    outline-offset: 2px;
}

.product-filter-form .filter-actions {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 10px;
}

.product-filter-form .filter-error {
    grid-column: 1 / -1;
    margin: 0;
    color: #b42318;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 600px) {
    .product-filter-form {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .product-filter-form .filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .product-filter-form .filter-actions .btn {
        text-align: center;
    }
}


/* Dedicated featured-products merchandising section */
.featured-section {
    padding: 64px 0;
    background: #fbf7fc;
}

.featured-section .section-heading {
    margin-bottom: 28px;
}

.featured-section .section-heading h2 {
    color: #5e2a84;
}

.featured-section .featured-product-card {
    border: 1px solid #eadff0;
    box-shadow: 0 5px 18px rgba(94, 42, 132, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-section .featured-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(94, 42, 132, 0.13);
}

.featured-section .product-badge.featured {
    background: #7b3f98;
    color: #ffffff;
}

.featured-section .product-details {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-section .product-price {
    margin-top: auto;
    padding-top: 14px;
}

.featured-section .btn {
    margin-top: 14px;
}

@media (max-width: 600px) {
    .featured-section {
        padding: 42px 0;
    }

    .featured-section .section-heading {
        align-items: flex-start;
        gap: 16px;
    }
}

/* Diagnostic fix: featured product pricing and actions */
.featured-section .product-details {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
}

.featured-section .product-price {
    display: block;
    visibility: visible;
    opacity: 1;
    height: auto;
    margin-top: 14px;
    padding-top: 14px;
    overflow: visible;
}

.featured-section .product-details .btn,
.featured-section .product-details .availability-message {
    display: inline-flex;
    visibility: visible;
    opacity: 1;
    height: auto;
    margin-top: 14px;
}

.featured-section .product-details .btn-disabled {
    display: inline-flex;
}

/* Product detail page */
.product-detail-page {
    padding: 32px 0 64px;
}

.product-breadcrumb {
    margin-bottom: 28px;
    color: #777;
    font-size: 0.9rem;
}

.product-breadcrumb a,
.product-detail-info h1,
.product-detail-info h2 {
    color: #5e2a84;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.product-detail-image {
    overflow: hidden;
    border-radius: 16px;
    background: #fbf7fc;
}

.product-detail-image img {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: contain;
}

.product-detail-info h1 {
    margin: 8px 0 14px;
}

.product-detail-info h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.product-detail-short-description {
    color: #666;
    line-height: 1.7;
}

.product-detail-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 12px;
}

.product-detail-price .current-price {
    color: #5e2a84;
    font-size: 1.7rem;
    font-weight: 700;
}

.original-price {
    color: #888;
    text-decoration: line-through;
}

.product-detail-stock {
    margin-bottom: 24px;
}

.stock-indicator {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
}

.stock-indicator.in-stock {
    color: #267647;
}

.stock-indicator.out-of-stock {
    color: #b42318;
}

.product-detail-description,
.product-attributes,
.product-care {
    margin-top: 24px;
    line-height: 1.7;
}

.product-attributes dl {
    margin: 0;
}

.product-attribute-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.product-attribute-row dt {
    font-weight: 600;
}

.product-attribute-row dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.product-detail-actions {
    margin-top: 28px;
}

.product-detail-actions .btn {
    display: inline-flex;
    justify-content: center;
}

.availability-message {
    display: inline-block;
    color: #666;
    font-weight: 600;
}

.related-products-section {
    margin-top: 76px;
}

.related-products-section .section-heading {
    margin-bottom: 28px;
}

.related-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #fbf7fc;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-product-image span {
    color: #777;
}

.product-details h3 a {
    color: inherit;
    text-decoration: none;
}

.product-details h3 a:hover {
    color: #7b3f98;
}

.product-not-found {
    padding: 64px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .product-detail-image img {
        max-height: 480px;
    }

    .related-products-section {
        margin-top: 48px;
    }
}
/* Complete the Look */
.complete-the-look-section {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid #eadfeb;
}

.complete-the-look-section .section-heading {
    margin-bottom: 24px;
}

.complete-the-look-section .product-card {
    height: 100%;
}

.complete-the-look-section .product-details h3 a {
    color: inherit;
    text-decoration: none;
}

.complete-the-look-section .product-details h3 a:hover {
    color: #7B3F98;
}

.complete-the-look-section .product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.complete-the-look-section .btn {
    display: inline-flex;
    margin-top: 8px;
}

.related-products-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
    max-height: 320px;
    overflow-y: auto;
    padding: 12px;
    border: 1px solid #ddd1e5;
    border-radius: 8px;
}

.related-product-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    margin: 0;
    border: 1px solid #eee7f1;
    border-radius: 7px;
    cursor: pointer;
    font-weight: normal;
}

.related-product-option:hover {
    background: #f8f5fa;
}

.related-product-option input {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}

.related-product-option .hint {
    display: block;
}

@media (max-width: 650px) {
    .related-products-list {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   ACCESSORIZE ME — HEADER & HERO REFRESH
   ========================================= */

.site-header {
    position: relative;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #eee6f2;
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 66px;
    object-fit: contain;
}

.brand-fallback {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: #5e2a84;
}

.brand-fallback > span {
    display: block;
    margin-top: 3px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.main-nav > a {
    color: #332a38;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .2s ease;
}

.main-nav > a:hover,
.main-nav > a.active {
    color: #7b3f98;
}

.header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 12px 20px;
    border-radius: 6px;
    background: #5e2a84;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.header-contact:hover {
    background: #7b3f98;
    color: #fff;
}

.menu-toggle,
.mobile-contact-link {
    display: none;
}

/* Hero carousel */

.hero-slider {
    position: relative;
    overflow: hidden;
    background: #24152d;
    color: #fff;
}

.hero-slides {
    position: relative;
    min-height: 560px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    min-height: 560px;
    padding: 70px 0 100px;
    opacity: 0;
    visibility: hidden;
    background-image:
        linear-gradient(
            90deg,
            rgba(24, 14, 31, .84) 0%,
            rgba(24, 14, 31, .63) 43%,
            rgba(24, 14, 31, .10) 100%
        ),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    transition: opacity .6s ease, visibility .6s ease;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-slide-content {
    width: 100%;
    padding: 2em;
}

.hero-slide-content > * {
    max-width: 590px;
}

.hero-slide .eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: #f0c9f2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.hero-slide h1 {
    margin: 0 0 22px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5.3vw, 68px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.hero-slide h1 em {
    display: block;
    color: #edc9ed;
    font-weight: 400;
}

.hero-slide p {
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-slide .btn-primary {
    background: #7b3f98;
    border-color: #7b3f98;
    color: #fff;
}

.hero-slide .btn-primary:hover {
    background: #693184;
}

.btn-light-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.btn-light-outline:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.hero-controls {
    position: absolute;
    z-index: 5;
    right: max(24px, calc((100% - 1200px) / 2));
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-prev,
.hero-next,
.hero-dots button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .65);
    background: rgba(24, 14, 31, .35);
    color: #fff;
    cursor: pointer;
}

.hero-prev,
.hero-next {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 18px;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
}

.hero-dots button.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

/* Tablet and mobile navigation */

@media (max-width: 900px) {
    .header-inner {
        min-height: 76px;
        gap: 14px;
    }

    .brand-logo {
        max-width: 160px;
        max-height: 58px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 10px;
        border: 1px solid #e5d9eb;
        border-radius: 6px;
        background: #fff;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: #5e2a84;
        transition: transform .2s ease, opacity .2s ease;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 10px 22px 20px;
        border-bottom: 1px solid #e8deed;
        background: #fff;
        box-shadow: 0 12px 20px rgba(35, 18, 43, .09);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a {
        padding: 14px 4px;
        border-bottom: 1px solid #f0eaf3;
    }

    .main-nav .mobile-contact-link {
        display: block;
        margin-top: 10px;
        padding: 13px 16px;
        border: 0;
        border-radius: 6px;
        background: #5e2a84;
        color: #fff;
        text-align: center;
    }

    .header-contact {
        display: none;
    }

    .hero-slides,
    .hero-slide {
        min-height: 500px;
    }

    .hero-slide {
        padding: 60px 0 95px;
        background-position: 60% center;
    }

    .hero-slide h1 {
        max-width: 540px;
    }

    .hero-slide p {
        max-width: 470px;
    }
}

@media (max-width: 600px) {
    .announcement-bar {
        padding: 9px 12px;
        font-size: 11px;
        text-align: center;
    }

    .header-inner {
        min-height: 70px;
    }

    .brand-logo {
        max-width: 135px;
        max-height: 50px;
    }

    .brand-fallback {
        font-size: 20px;
    }

    .hero-slides,
    .hero-slide {
        min-height: 490px;
    }

    .hero-slide {
        align-items: flex-end;
        padding: 45px 0 100px;
        background-position: 58% center;
    }

    .hero-slide::before {
        position: absolute;
        inset: 0;
        background: linear-gradient(
            0deg,
            rgba(24, 14, 31, .93) 0%,
            rgba(24, 14, 31, .68) 58%,
            rgba(24, 14, 31, .12) 100%
        );
        content: "";
    }

    .hero-slide-content {
        position: relative;
        z-index: 1;
    }

    .hero-slide .eyebrow {
        margin-bottom: 14px;
        font-size: 10px;
        letter-spacing: 1.7px;
    }

    .hero-slide h1 {
        margin-bottom: 16px;
        font-size: clamp(34px, 9vw, 46px);
        letter-spacing: -.7px;
    }

    .hero-slide p {
        margin-bottom: 22px;
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        padding: 11px 14px;
        font-size: 13px;
    }

    .hero-controls {
        right: 20px;
        bottom: 20px;
        gap: 11px;
    }

    .hero-prev,
    .hero-next {
        width: 34px;
        height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .menu-toggle span {
        transition: none;
    }
}

/* Responsive admin header */
.admin-header {
    align-items: center;
}

.admin-header nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    border: 1px solid #ffffff70;
    border-radius: 7px;
    padding: 8px 11px;
    background: transparent;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.menu-toggle:focus-visible,
.button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #E98AB8;
    outline-offset: 2px;
}

/* Multiple-image manager */
.image-manager {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 14px;
    margin: 14px 0;
}

.image-item {
    min-width: 0;
    padding: 10px;
    border: 1px solid #e4d9eb;
    border-radius: 10px;
    background: #fff;
}

.image-item img {
    display: block;
    width: 100%;
    height: 135px;
    object-fit: cover;
    border-radius: 7px;
    margin-bottom: 10px;
}

.image-item label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: normal;
    overflow-wrap: anywhere;
}

.image-item input[type="radio"],
.image-item input[type="checkbox"] {
    width: auto;
    flex-shrink: 0;
}

.image-item .remove-label {
    margin-top: 8px;
    color: #a52b38;
}

.image-item.is-primary {
    border: 2px solid #7B3F98;
}

.image-manager-empty {
    padding: 18px;
    border: 1px dashed #cbb8d8;
    border-radius: 8px;
    color: #716779;
    font-size: 14px;
}

@media (max-width: 650px) {
    .admin-header {
        position: relative;
        padding: 15px 5%;
    }

    .menu-toggle {
        display: inline-block;
    }

    .admin-header nav {
        display: none;
        position: absolute;
        z-index: 100;
        top: 100%;
        left: 0;
        right: 0;
        padding: 16px 5%;
        background: #5E2A84;
        flex-direction: column;
        align-items: stretch;
    }

    .admin-header nav.is-open {
        display: flex;
    }

    .admin-header nav a {
        padding: 8px 0;
    }

    .image-manager {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .actions {
        flex-direction: column;
    }

    .actions .button {
        text-align: center;
    }
}

/* Product detail gallery */
.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}

.product-detail-image {
    min-width: 0;
}

.product-main-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: #faf7fb;
    border-radius: 14px;
}

.product-image-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 84px));
    gap: 10px;
    margin-top: 14px;
}

.product-image-thumbnail {
    display: block;
    padding: 3px;
    border: 2px solid transparent;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
}

.product-image-thumbnail.active {
    border-color: #7B3F98;
}

.product-image-thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;
}

.product-image-thumbnail:focus-visible {
    outline: 3px solid #E98AB8;
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .product-detail-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .product-main-image {
        max-height: 65vh;
    }

    .product-detail-info h1 {
        overflow-wrap: anywhere;
    }

    .product-detail-actions .btn {
        width: 100%;
        text-align: center;
    }

    .product-image-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(58px, 72px));
    }
}

/* =========================================
   Shared Storefront Header
========================================= */

.site-header {
    position: relative;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.store-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #5E2A84;
}

.store-logo img {
    max-width: 170px;
    max-height: 65px;
    object-fit: contain;
}

.logo-fallback strong,
.logo-fallback small {
    display: block;
}

.logo-fallback small {
    font-size: 12px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.desktop-nav a,
.mobile-nav a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
    color: #7B3F98;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-whatsapp {
    background: #7B3F98;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #5E2A84;
    margin: 5px 0;
}

.mobile-nav {
    display: none;
    padding: 10px 20px 18px;
    background: #ffffff;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* =========================================
   Accessibility helpers
========================================= */

.skip-link {
    position: absolute;
    top: 0;
    left: -9999px;
    z-index: 1000;
    padding: 12px 18px;
    background: #5E2A84;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
    left: 12px;
}

/* =========================================
   Announcement Bar
========================================= */

.announcement-bar {
    background: #5E2A84;
    color: #ffffff;
    text-align: center;
    padding: 10px 15px;
    font-size: 13px;
}

/* =========================================
   Shared Storefront Footer
========================================= */

.site-footer {
    background: #5E2A84;
    color: #ffffff;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.site-footer h3,
.site-footer h4 {
    color: #ffffff;
    margin-top: 0;
}

.site-footer p {
    line-height: 1.7;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    color: #E98AB8;
}

.footer-social a {
    display: block;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 15px 20px;
    text-align: center;
}

/* =========================================
   Responsive Navigation and Footer
========================================= */

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .header-whatsapp {
        padding: 8px 10px;
        font-size: 13px;
    }
}

