/* ==========================================================================
   DELAWIGS STYLESHEET
   Colors: #000000 (black), #ffffff (white), warm champagne accent (#c89d66 / #f6f1ea)
   Fonts: Poppins (headings), Helvetica (body)
   Sizes: rem units throughout | Border radius: 10px - 15px
   ========================================================================== */

:root {
    --black: #000000;
    --white: #ffffff;
    --accent: #c89d66;
    --accent-dark: #a87e48;
    --surface-tint: #f6f1ea;
    --surface-soft: #fbf9f6;
    --border-subtle: rgba(0, 0, 0, 0.12);
    --border-strong: rgba(0, 0, 0, 0.22);

    --font-heading: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: Helvetica, 'Helvetica Neue', Arial, sans-serif;

    --radius-sm: 10px;
    --radius-lg: 15px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

body.inner-page {
    padding-top: 4.75rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--black);
    line-height: 1.2;
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

button,
input {
    font-family: inherit;
    font-size: 1rem;
}

.container {
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 0.09375rem solid var(--black);
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover:not(:disabled) {
    transform: translateY(-0.0625rem);
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-sm {
    padding: 0.55rem 0.75rem;
    font-size: 0.8125rem;
    border-radius: var(--radius-sm);
    width: 100%;
}

.btn-full {
    width: 100%;
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--black);
    font-weight: 600;
}

.btn-accent:hover:not(:disabled) {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.btn-outline-light {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover:not(:disabled) {
    background-color: var(--white);
    color: var(--black);
}

.text-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 0.09375rem solid var(--accent);
    padding-bottom: 0.125rem;
}

/* ==========================================================================
   HEADER & TRANSPARENT HERO OVERLAY
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-transparent {
    background-color: transparent;
    color: var(--white);
}

.header-transparent .brand-logo,
.header-transparent .main-nav a,
.header-transparent .cart-link {
    color: var(--white);
}

.header-transparent .menu-toggle span {
    background-color: var(--white);
}

.header-solid,
.site-header.is-scrolled {
    background-color: var(--white);
    color: var(--black);
    border-bottom: 0.0625rem solid var(--border-subtle);
}

.header-solid .brand-logo,
.site-header.is-scrolled .brand-logo,
.header-solid .main-nav a,
.site-header.is-scrolled .main-nav a,
.header-solid .cart-link,
.site-header.is-scrolled .cart-link {
    color: var(--black);
}

.header-solid .menu-toggle span,
.site-header.is-scrolled .menu-toggle span {
    background-color: var(--black);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo img {
    height: 2.25rem;
    width: auto;
    object-fit: contain;
    transition: filter 0.25s ease;
}

/* Turn the white logo pure black (#000000) on white backgrounds */
.header-solid .brand-logo img,
.site-header.is-scrolled .brand-logo img,
.site-footer .brand-logo img {
    filter: brightness(0);
}

.main-nav {
    display: none;
    gap: 1.5rem;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 100%;
    height: 0.125rem;
    background-color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    border: 0.0625rem solid currentColor;
}

.cart-count {
    background-color: var(--accent);
    color: var(--black);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.05rem 0.4rem;
    border-radius: var(--radius-sm);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    width: 2.25rem;
    height: 2.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 1.35rem;
    height: 0.125rem;
    border-radius: 0.25rem;
}

.mobile-drawer {
    display: none;
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
    background-color: var(--white);
    color: var(--black);
    border-bottom: 0.0625rem solid var(--border-subtle);
}

.mobile-drawer.is-open {
    display: flex;
}

.mobile-drawer a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--black);
    padding: 0.35rem 0;
}

/* ==========================================================================
   HERO BANNER (VIDEO + IMAGE FALLBACK)
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 36rem;
    height: 88vh;
    max-height: 52rem;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-color: var(--black);
    color: var(--white);
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.38) 55%,
        rgba(0, 0, 0, 0.45) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 3rem;
    padding-top: 6rem;
}

.hero-tag {
    display: inline-block;
    background-color: var(--accent);
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.85rem;
}

.hero-content h1 {
    color: var(--white);
    font-size: 2rem;
    max-width: 34rem;
    margin-bottom: 0.75rem;
}

.hero-content p {
    color: var(--white);
    font-size: 0.95rem;
    max-width: 30rem;
    margin-bottom: 1.35rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ==========================================================================
   SECTIONS & CATEGORIES
   ========================================================================== */

.section-block {
    padding: 2.5rem 0;
}

.section-head,
.shop-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-top: 0.35rem;
}

.section-head h2,
.section-title {
    font-size: 1.4rem;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 10px;
}

.category-card {
    background-color: var(--surface-tint);
    border: 0.0625rem solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1rem 1.15rem;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.category-card:hover {
    border-color: var(--accent);
    background-color: var(--white);
    transform: translateY(-0.125rem);
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background-color: var(--white);
    border: 0.0625rem solid var(--border-subtle);
    color: var(--black);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.category-card:hover .category-icon {
    background-color: var(--accent);
    border-color: var(--accent);
}

.category-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.category-card p {
    font-size: 0.875rem;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-pill {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 0.0625rem solid var(--border-strong);
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 500;
    background-color: var(--white);
    color: var(--black);
}

.filter-pill.is-active {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* ==========================================================================
   PRODUCTS GRID — TWO ON ONE ROW ON MOBILE
   ========================================================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.product-card {
    background-color: var(--white);
    border: 0.0625rem solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 15px;
}

.product-media {
    display: block;
    aspect-ratio: 4 / 5;
    background-color: var(--surface-soft);
    overflow: hidden;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-body {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.35rem;
}

.product-category {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent-dark);
}

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: auto;
    padding-bottom: 0.25rem;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */

.product-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    margin:20px
}

.product-details-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--surface-soft);
    border: 0.0625rem solid var(--border-subtle);
}

.product-details-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.product-details-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-details-info h1 {
    font-size: 1.5rem;
}

.product-details-info .price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.stock-badge {
    display: inline-block;
    width: fit-content;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    background-color: var(--surface-tint);
    border: 0.0625rem solid var(--border-subtle);
}

.product-desc {
    font-size: 0.95rem;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 0.0625rem solid var(--border-strong);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--white);
}

.qty-control button {
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background-color: var(--surface-tint);
    color: var(--black);
    font-weight: 700;
    cursor: pointer;
}

.qty-control span {
    min-width: 2.25rem;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================================================
   CART & WHATSAPP CHECKOUT
   ========================================================================== */

.empty-cart {
    text-align: center;
    padding: 3rem 1.25rem;
    background-color: var(--surface-tint);
    border-radius: var(--radius-lg);
}

.empty-cart h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.empty-cart p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 4.5rem 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem;
    border: 0.0625rem solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background-color: var(--white);
}

.cart-item img {
    width: 4.5rem;
    height: 5.5rem;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item-info h3 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.item-price {
    font-size: 0.8125rem;
}

.cart-item-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.item-subtotal {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--black);
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
}

.cart-summary {
    background-color: var(--surface-tint);
    border: 0.0625rem solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.cart-summary h2 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 0.0625rem solid var(--border-strong);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-field label {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 500;
}

.form-field input {
    padding: 0.65rem 0.8rem;
    border-radius: var(--radius-sm);
    border: 0.0625rem solid var(--border-strong);
    background-color: var(--white);
    color: var(--black);
}

.checkout-note {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 0.85rem;
}

/* ==========================================================================
   VISIT BANNER & FOOTER
   ========================================================================== */

.visit-banner {
    background-color: var(--surface-tint);
    border: 0.0625rem solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.eyebrow {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-dark);
}

.visit-banner h2 {
    font-size: 1.3rem;
    margin: 0.25rem 0;
}

.visit-banner p {
    font-size: 0.875rem;
}

.site-footer {
    background-color: var(--surface-tint);
    border-top: 0.0625rem solid var(--border-subtle);
    padding-top: 2.5rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-bottom: 2rem;
}

.footer-brand p {
    font-size: 0.875rem;
    margin: 0.75rem 0 1.1rem;
    max-width: 24rem;
}

.footer-col h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 0.0625rem solid var(--border-subtle);
    padding: 1rem 0;
    font-size: 0.8125rem;
    text-align: center;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast-notice {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translate(-50%, 150%);
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius-sm);
    z-index: 200;
    transition: transform 0.25s ease;
    white-space: nowrap;
}

.toast-notice.is-visible {
    transform: translate(-50%, 0);
}

/* ==========================================================================
   TABLET & DESKTOP ENHANCEMENTS
   ========================================================================== */

@media (min-width: 48rem) {
    .container {
        padding: 0 1.5rem;
    }

    .brand-logo img {
        height: 2.75rem;
    }

    .main-nav {
        display: flex;
    }

    .menu-toggle,
    .mobile-drawer {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .hero-actions {
        margin-bottom: 1.85rem;
    }

    .section-head {
        margin-top: 15px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .product-details {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .cart-layout {
        grid-template-columns: 1.4fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1.4fr;
    }
}

@media (min-width: 64rem) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}