:root {
    --color-primary: #dd0286;
    --color-on-primary: #ffffff;
    --color-surface: #fdfdfd;
    --color-surface-low: #fff0f1;
    --color-surface-container: #ffffff;
    --color-text-main: #1C1B1F;
    --color-text-muted: #775357;
    --border-radius: 8px;
    --font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max-width: 1280px;
    
    /* Variables from design system and product page */
    --color-background: #faf9f8;
    --color-on-background: #1a1c1c;
}

*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--color-surface);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    padding-top: 80px !important;
}

input, button, select, textarea, optgroup {
    font-family: inherit;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Icons */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Shadows */
.shadow-ambient {
    box-shadow: 0 10px 30px rgba(221, 2, 134, 0.08);
}
.shadow-ambient-hover:hover {
    box-shadow: 0 15px 40px rgba(221, 2, 134, 0.12);
    transform: translateY(-2px);
}
.ambient-shadow {
    box-shadow: 0 10px 30px rgba(221, 2, 134, 0.08);
}

/* Scrollbars */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Transitions */
.btn-transition, .nav-transition {
    transition: all 0.2s ease-in-out;
}

/* Header (Vanilla CSS) */
.site-header, header {
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(249, 238, 245, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    /*border-bottom: 1px solid #e3e2e1;*/
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .nav-wrapper {
        padding: 0 20px;
    }
}

nav.main-nav ul, nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav.main-nav a, nav a {
    text-decoration: none;
    color: #e95196;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav.main-nav a:hover, nav.main-nav a.active, nav a:hover {
    color: #733140;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-header, .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-header {
    padding: 0.6rem 1.5rem;
}

.btn-primary {
    background-color: #dd0286;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #733140;
    transform: translateY(-1px);
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    border: 1px solid #dd0286;
    color: #dd0286;
}

#searchToggle, #cartToggle, #menuToggle, .btn-icon-header, .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid transparent;
    color: #787b7b;
    cursor: pointer;
    transition: all 0.3s;
}

#searchToggle:hover, #cartToggle:hover, #menuToggle:hover, .btn-icon-header:hover, .btn-icon:hover {
    background: #fff;
    border-color: #dd0286;
}

@media (max-width: 1024px) {
    nav.main-nav, nav { display: none; }
}

/* Hero */
.hero {
    padding: 4rem 0;
}
.hero-content {
    display: flex;
    background: var(--color-surface-container);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.hero-text {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-text span {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}
.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}
.hero-text p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 450px;
}
.hero-btns {
    display: flex;
    gap: 1rem;
}
.hero-image {
    flex: 1;
    background: url('../assets/hero_photo.jfif') center/cover;
    min-height: 500px;
}
@media (max-width: 1024px) {
    .hero-text h1 { font-size: 2.75rem; }
}
@media (max-width: 768px) {
    .hero-content { flex-direction: column; }
    .hero-text { padding: 0; margin-bottom: 2rem; }
}

/* Categories Section */
.categories {
    padding: 2rem 0 5rem;
    text-align: center;
}
.categories h2 {
    font-size: 2.25rem;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.category-card {
    position: relative;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    color: white;
    background-color: #1a1c1c;
}
.category-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
    z-index: 1;
}
.category-card img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s;
}
.category-card:hover img {
    transform: scale(1.05);
}
.category-info {
    position: relative;
    z-index: 2;
    text-align: left;
}
.category-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}
.category-info p {
    font-size: 0.85rem;
    opacity: 0.8;
}
@media (max-width: 1024px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Essentials Section (Original) */
.essentials {
    padding: 5rem 0;
    background-color: white;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.section-header p {
    color: var(--color-text-muted);
}
.view-all {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}


/* Vanilla CSS Product Cards (converted from Tailwind) */
.product-card-vanilla {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(221, 2, 134, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.product-card-vanilla:hover {
    box-shadow: 0 15px 40px rgba(221, 2, 134, 0.12);
    transform: translateY(-5px);
}
.product-card-vanilla .image-container {
    aspect-ratio: 1 / 1;
    background-color: #f9eaeb; /* surface-container */
    border-radius: 5px;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}
.product-card-vanilla .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card-vanilla:hover .image-container img {
    transform: scale(1.05);
}
.product-card-vanilla .badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
}
.badge-rx { background: #ffdad6; color: #93000a; }
.badge-organic { background: rgba(99, 163, 116, 0.2); color: #63a374; }
.badge-bestseller { background: #fda2b2; color: #793544; }
.badge-pantry { background: #f6dce1; color: #26181b; }
.badge-new { background: #fda2b2; color: #793544; }

.product-card-vanilla .category-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #544347; /* tertiary */
    font-weight: 500;
}
.product-card-vanilla .product-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1c1c;
    margin-bottom: 0.25rem;
}
.product-card-vanilla .rating {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 0.25rem !important;
    margin-bottom: 0.75rem !important;
    width: 100% !important;
}
.product-card-vanilla .rating .star {
    font-size: 14px !important;
    color: #63a374 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.product-card-vanilla .rating span:not(.star) {
    font-size: 12px !important;
    color: #534345 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.product-card-vanilla .price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-card-vanilla .price {
    font-size: 14px;
    font-weight: 600;
    color: #dd0286;
}
.product-card-vanilla .add-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f9eaeb;
    color: #dd0286;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    padding: 0;
    margin: 0;
}
.product-card-vanilla .add-btn:hover {
    background-color: #dd0286;
    color: #ffffff;
}
.product-card-vanilla .add-btn .material-symbols-outlined {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}


/* Shop Page Layout */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    max-width: 1440px;
    margin: 0 auto;
    padding: 4rem;
}

@media (max-width: 768px) {
    .shop-layout {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* Filter Sidebar */

.filter-section {
    margin-bottom: 0.5rem;
}
.filter-section h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.filter-group {
    border-bottom: 1px solid #e3e2e1;
}
.filter-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    user-select: none;
}
.filter-group-content {
    padding-bottom: 1rem;
    display: none;
}
.filter-group-content.active {
    display: block;
}
.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #534345;
}
.filter-option input[type="checkbox"] {
    accent-color: #dd0286;
}

/* Product Grid (3 Column) */
.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .shop-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Promo Banner */
/* Promo Banner */
.promo-banner {
    background-color: var(--color-surface-low);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: var(--promo-bg);
    background-repeat: no-repeat;
    background-position: right 5% center;
    background-size: contain;
    opacity: 0.4;
    pointer-events: none;
}

.promo-banner .container {
    position: relative;
    z-index: 1;
}

.promo-banner h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.promo-banner p {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Vanilla Footer */
.site-footer {
    background-color: white;
    padding: 5rem 0 2rem;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .shop-product-grid {
        grid-template-columns: 1fr;
    }
}
.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: span 2; }
}

/* Custom Checkbox */
.cbx-cntr {
  position: relative;
  display: flex;
  align-items: center;
}

.hidden-xs-up {
 display: none!important;
}

.cbx {
 position: relative;
 top: 1px;
 width: 20px;
 height: 20px;
 border: 1px solid #dd0286;
 border-radius: 3px;
 vertical-align: middle;
 transition: background 0.1s ease;
 cursor: pointer;
 display: inline-block;
}

.cbx:after {
 content: '';
 position: absolute;
 top: 2px;
 left: 6px;
 width: 5px;
 height: 10px;
 opacity: 0;
 transform: rotate(45deg) scale(0);
 border-right: 2px solid #fff;
 border-bottom: 2px solid #fff;
 transition: all 0.3s ease;
 transition-delay: 0.15s;
}

.lbl {
 margin-left: 8px;
 vertical-align: middle;
 cursor: pointer;
 font-size: 0.9rem;
 color: #534345;
}

.hidden-xs-up:checked ~ .cbx {
 border-color: transparent;
 background: #dd0286;
 animation: jelly 0.6s ease;
}

.hidden-xs-up:checked ~ .cbx:after {
 opacity: 1;
 transform: rotate(45deg) scale(1);
}

@keyframes jelly {
 from { transform: scale(1, 1); }
 30% { transform: scale(1.25, 0.75); }
 40% { transform: scale(0.75, 1.25); }
 50% { transform: scale(1.15, 0.85); }
 65% { transform: scale(0.95, 1.05); }
 75% { transform: scale(1.05, 0.95); }
 to { transform: scale(1, 1); }
}

/* Sticky Sidebar */
.filter-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 0.5rem;
}
.filter-sidebar::-webkit-scrollbar {
    width: 6px;
}
.filter-sidebar::-webkit-scrollbar-thumb {
    background-color: #d8c1c3;
    border-radius: 10px;
}
/* Sidebar Select Dropdowns */
.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d8c1c3;
    border-radius: 0;
    background-color: #ffffff;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: #1a1c1c;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23534345%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    margin-bottom: 0.5rem;
}
.filter-select:focus {
    outline: none;
    border-color: #dd0286;
}
.search-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}
.search-header h2 {
    font-size: 1.75rem;
    color: #1a1c1c;
}
.search-header .result-count {
    font-size: 1rem;
    color: #775357;
    font-weight: normal;
}
/* Checkout Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

@media (max-width: 992px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

/* Forms */
.form-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(221, 2, 134, 0.05);
    margin-bottom: 2rem;
}

.form-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e3e2e1;
    padding-bottom: 0.75rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.form-group {
    flex: 1;
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: #534345;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d8c1c3;
    border-radius: 0;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: #1a1c1c;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #dd0286;
    box-shadow: 0 0 0 3px rgba(221, 2, 134, 0.1);
}

/* Password show/hide toggle wrapper */
.password-field-wrap {
    position: relative;
    display: block;
    width: 100%;
}
.password-field-wrap .form-control {
    padding-right: 2.75rem; /* leave room for the eye button */
}
.password-field-wrap .pw-toggle-btn {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #534345; /* on-surface-variant */
    line-height: 1;
}
.password-field-wrap .pw-toggle-btn:hover {
    color: #dd0286; /* primary */
}
.password-field-wrap .pw-toggle-btn:focus {
    outline: none;
}
.password-field-wrap .pw-toggle-btn .material-symbols-outlined {
    font-size: 20px;
    user-select: none;
    -webkit-user-select: none;
}

/* Order Summary */
.checkout-summary {
    background: #f9eaeb;
    padding: 2rem;
    border-radius: 12px;
    position: sticky;
    top: 100px;
}

.checkout-summary h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e3e2e1;
}

.summary-item-img {
    width: 60px;
    height: 60px;
    border-radius: 3px;
    object-fit: cover;
    background: #ffffff;
}

.summary-item-details {
    flex: 1;
    margin: 0 1rem;
}

.summary-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.summary-item-qty {
    font-size: 0.85rem;
    color: #775357;
}

.summary-item-price {
    font-weight: 600;
    font-size: 0.95rem;
}

.summary-totals {
    margin-top: 1.5rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #534345;
}

.summary-total-line {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #d8c1c3;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1c1c;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    font-size: 1.05rem;
}

/* Confirmation Page */
.confirmation-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    text-align: center;
    background: #ffffff;
    border-radius: 0;
    border: 1px solid #e3e2e1;
    box-shadow: 0 10px 40px rgba(221, 2, 134, 0.05);
}

@media (max-width: 768px) {
    .confirmation-container {
        padding: 3rem 1rem;
    }
}

.success-icon {
    font-size: 64px;
    color: #63a374;
    margin-bottom: 1.5rem;
}

.confirmation-container h1 {
    font-size: 2.5rem;
    color: #1a1c1c;
    margin-bottom: 1rem;
}

.confirmation-container p.order-number {
    font-size: 1.1rem;
    color: #775357;
    margin-bottom: 2.5rem;
}

.confirmed-items {
    text-align: left;
    margin-bottom: 3rem;
    border-radius: 0;
    padding: 2rem;
    background: #fff0f1;
}

.confirmed-items h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    border-bottom: 1px solid #d8c1c3;
    padding-bottom: 0.75rem;
}
/* Auth Layout */
body.no-header {
    padding-top: 0 !important;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-image-col {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.auth-form-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: #FAF9F8;
}

.auth-form-container {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

.auth-logo {
    font-size: 2rem;
    font-weight: 700;
    color: #733140;
    text-decoration: none;
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 3rem;
}

.auth-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1a1c1c;
}

.auth-subtitle {
    color: #775357;
    margin-bottom: 1.3rem;
    font-size: 1.05rem;
}

.auth-footer-link {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.95rem;
}

.auth-footer-link a {
    color: #dd0286;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 992px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }
    .auth-image-col {
        display: none; /* Hide image on smaller screens */
    }
    .auth-form-col {
        padding: 2rem;
    }
}
/* Global Focus Styles */
input:focus, select:focus, textarea:focus, .form-control:focus {
    outline: 2px solid #733140 !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
/* Page Titles */
.page-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 38px;
}
/* Global Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}
h2 {
	font-size: 22px !important;
}
h3 {
	font-size: 20px;
}

/* Admin Stats */
.stat-title {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
}
.font-13 {
	font-size: 13px;
}

/* Global Table Font Sizes */
table th, table td {
    font-size: 13px !important;
}
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.slide-in-left {
  animation: slideInLeft 0.3s ease-out forwards;
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.bydow-drawer-overlay {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: flex-end;
}
.bydow-drawer-overlay.hidden {
    display: none !important;
}

.bydow-drawer {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.3s ease-out;
}
@media (min-width: 768px) {
    .bydow-drawer {
        width: 40%;
    }
}

.bydow-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem 1rem;
    background-color: #fff;
}
.bydow-drawer-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1c1c;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.bydow-drawer-close {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: #fff0f1;
    color: #dd0286;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}
.bydow-drawer-close:hover {
    background-color: #ffd8e5; /* primary-container */
    color: #ffffff;
}
.bydow-drawer-close svg, .bydow-drawer-close i, .bydow-drawer-close span {
    width: 2rem;
    height: 2rem;
    font-size: 2rem;
}
.bydow-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.bydow-drawer-footer {
    padding: 1rem;
    background-color: #fbfbfb;
    border-top: 1px solid #f1f1f1;
    border-radius: 30px 0 0;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.bydow-drawer-footer > button,
.bydow-drawer-footer > a,
.bydow-drawer-footer .btn,
.bydow-drawer-footer .bento-btn-action {
    flex: 1;
    width: 100%;
    text-align: center;
    padding: 1rem !important;
}

/* Cart Drawer Footer Specific Layout */
#cartDrawer .bydow-drawer-footer {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 1.25rem 1.5rem !important;
    box-sizing: border-box !important;
}

#cartDrawer .bydow-drawer-footer > div {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
    box-sizing: border-box !important;
}

#cartDrawer .bydow-drawer-footer #checkoutBtn,
#cartDrawer .bydow-drawer-footer .btn,
#cartDrawer .bydow-drawer-footer button {
    display: block !important;
    width: 100% !important;
    flex: none !important;
    text-align: center !important;
    box-sizing: border-box !important;
    padding: 1rem !important;
}

/* Mobile Nav specifics inside Drawer */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}
.mobile-nav-link {
    font-size: 2rem;
    font-weight: bold;
    color: #2F2A2B;
    text-decoration: none;
}

/* Dropzone & Thumbnail Grid */
.bydow-dropzone {
    border: 1px dashed #f0dee2;
    background-color: #faf9f8;
    padding: 1.5rem;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    text-align: center;
}
.bydow-dropzone:hover,
.bydow-dropzone.drag-active {
    border-color: #dd0286;
    background-color: #fff0f1;
}
.bydow-dropzone-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #fff0f1;
    color: #dd0286;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: transform 0.2s ease;
}
.bydow-dropzone:hover .bydow-dropzone-icon {
    transform: scale(1.1);
}
.bydow-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.bydow-thumbnail {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 0;
    overflow: hidden;
    background-color: #faf9f8;
    border: 1px solid #f0dee2;
}
.bydow-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bydow-thumbnail-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #dd0286;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 10;
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.bydow-thumbnail-delete:hover {
    background-color: #b0026b;
    transform: scale(1.15);
}
.bydow-thumbnail-placeholder {
    aspect-ratio: 1/1;
    border: 1px dashed #f0dee2;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #775357;
    background-color: #faf9f8;
}
.product-card-scroll {
    min-width: 280px;
    width: 280px;
    scroll-snap-align: start;
}

/* Footer Logo adjustments */
.footer-logo-img {
    width: 70%;
    height: auto;
    object-fit: contain;
}
@media (min-width: 768px) {
    .footer-brand .logo {
        width: 25%;
    }
    .footer-logo-img {
        width: 100%;
    }
}

/* ========================================= */
/* Header Component Styles (Phase 1)         */
/* ========================================= */

.nav-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {
    width: 40%;
    display: flex;
    align-items: center;
}
@media (min-width: 768px) {
    .logo { width: 20%; }
}

.header-logo-img {
    width: 75%;
    height: auto;
    object-fit: contain;
}
@media (min-width: 768px) {
    .header-logo-img { width: 50%; }
}

.header-right {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}
@media (min-width: 768px) {
    .header-right {
        width: 80%;
        gap: 2rem;
    }
}

.btn-icon-header svg, .btn-icon-header i {
    width: 1.25rem;
    height: 1.25rem;
}

.header-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background-color: #dd0286;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-badge.hidden {
    display: none !important;
}

/* Drawer Action Buttons */
.bydow-drawer-footer button,
.bydow-drawer-footer .btn,
.bydow-drawer-body .btn-primary {
    border-radius: 0 !important;
    background-color: #dd0286 !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer;
    padding: 1rem !important;
    transition: background-color 0.3s;
}

.bydow-drawer-footer button:hover,
.bydow-drawer-footer .btn:hover,
.bydow-drawer-body .btn-primary:hover {
    background-color: #b5006a !important;
}

@keyframes slideOutRight {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}

.bydow-drawer-closing .bydow-drawer {
    animation: slideOutRight 0.3s ease-in forwards;
}
/* ========================================= */
/* Phase 2: Global UI Components             */
/* ========================================= */

.card {
    background-color: #ffffff;
    border-radius: 0;
    padding: 1.5rem;
    border: 1px solid #e3e2e1;
    box-shadow: 0 10px 30px rgba(221, 2, 134, 0.05);
}
@media (max-width: 768px) {
    .card {
        padding: 1rem;
    }
}

.btn-pill {
    border-radius: 50px;
}
.btn-rounded {
    border-radius: 0.5rem;
}
.btn-danger {
    background: transparent;
    border: 1px solid #ef4444;
    color: #ef4444;
}
.btn-danger:hover {
    background: #fef2f2;
}

.btn-icon-circular {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff0f1;
    color: #dd0286;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.btn-icon-circular:hover {
    background-color: #ffd8e5;
    color: #ffffff;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1C1B1F;
    margin-bottom: 0.25rem;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    border: 1px solid #9ca3af;
    border-radius: 0.25rem;
    padding: 0.5rem;
    background-color: transparent;
    transition: all 0.2s;
}
@media (max-width: 768px) {
    .form-input:not(.compact), .form-select:not(.compact), .form-textarea:not(.compact) {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #dd0286;
    box-shadow: 0 0 0 1px #dd0286;
}
/* ==========================================================================
   Full Screen Overlay Menu (Lost in previous refactor)
   ========================================================================== */
.bydow-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .bydow-overlay { padding: 2rem; }
}
.bydow-overlay.hidden { display: none !important; }

.bydow-modal {
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.bydow-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #fff0f1;
    color: #dd0286;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bydow-modal-close:hover {
    background-color: #ffd8e5;
    color: #dd0286;
    transform: scale(1.05);
}

.bydow-modal-sidebar {
    width: 16rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff0f1;
    padding: 2.5rem 1.5rem 1.5rem;
    box-sizing: border-box;
}
@media (max-width: 767px) {
    .bydow-modal-sidebar { display: none; }
}

.bydow-modal-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.bydow-modal-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 3px;
    color: #4a4a4a;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 0.95rem;
}
.bydow-modal-nav a:hover { background-color: #e5e5e5; }
.bydow-modal-nav a.active {
    background-color: #ffd5d8;
    font-weight: 600;
    color: #dd0286;
}
.bydow-modal-nav .mt-group { margin: 0.5rem 0; border-top: 1px solid #ffbdde; }

.bydow-modal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    overflow-y: auto;
    background-color: #ffffff;
    position: relative;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .bydow-modal-content { padding: 3rem; }
}

.bydow-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-right: 3rem;
}
.bydow-modal-header h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.bydow-btn-outline {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid #d4d4d4;
    color: #1a1a1a;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    font-weight: 600;
}
.bydow-btn-outline:hover {
    border-color: #dd0286;
    color: #dd0286;
}
@media (max-width: 767px) {
    .hidden-mobile { display: none !important; }
}

.bydow-modal-search {
    position: relative;
    margin-bottom: 2.5rem;
}
.bydow-modal-search i,
.bydow-modal-search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    width: 1.25rem;
    height: 1.25rem;
}
.bydow-modal-search input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 3px;
    background-color: #fdf8f8;
    font-size: 1rem;
    color: #1a1a1a;
    box-sizing: border-box;
}
.bydow-modal-search input:focus {
    outline: none;
    background-color: #fff;
    border-color: #dd0286;
    box-shadow: 0 0 0 1px #dd0286;
}

.bydow-modal-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}
@media (min-width: 640px) {
    .bydow-modal-grid { grid-template-columns: repeat(2, 1fr); }
}

.bydow-grid-card {
    background-color: #fff0f1;
    border-radius: 3px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: #1a1a1a;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}
.bydow-grid-card:hover {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}
.bydow-grid-card .icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dd0286;
    flex-shrink: 0;
    transition: all 0.2s;
}
.bydow-grid-card:hover .icon-wrapper {
    background-color: #dd0286;
    color: #ffffff;
}
.bydow-drawer-footer .btn.btn-disabled,
.bydow-drawer-body .btn.btn-disabled {
    background-color: #e5e5e5 !important;
    color: #999999 !important;
    cursor: not-allowed !important;
}
@media (min-width: 640px) {
    #mobileFilterToggle {
        display: none !important;
    }
}

/* ==========================================================================
   About Us Page Component Styling (BEM Architecture)
   ========================================================================== */
.bydow-story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bydow-story-card {
    text-align: left;
}

.bydow-story-card--bordered {
    border-left: 1px solid #e3e2e1;
    border-right: 1px solid #e3e2e1;
    padding: 0 1.5rem;
}

.bydow-story-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1c1c;
    margin-bottom: 1rem;
}

.bydow-story-card__text {
    color: #534345;
    line-height: 1.7;
}

.bydow-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bydow-feature-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0;
    border: 1px solid #e3e2e1;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bydow-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
}

.bydow-feature-card__icon {
    font-size: 48px !important;
    color: #dd0286;
    margin-bottom: 1rem;
}

.bydow-feature-card__title {
    font-size: 1.25rem;
    color: #1a1c1c;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.bydow-feature-card__text {
    font-size: 0.95rem;
    color: #534345;
    margin: 0;
}

@media (max-width: 768px) {
    .bydow-story-grid,
    .bydow-feature-grid {
        grid-template-columns: 1fr;
    }
    .bydow-story-card--bordered {
        border-left: none;
        border-right: none;
        border-top: 1px solid #e3e2e1;
        border-bottom: 1px solid #e3e2e1;
        padding: 1.5rem 0;
    }
}
/* ==========================================================================
   Phase 3: E-commerce Layouts & Components
   ========================================================================== */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    max-width: 1440px;
    margin: 0 auto;
    padding: 3rem;
}
@media (max-width: 768px) {
    .shop-layout {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}

.filter-sidebar h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}
.filter-categories {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}
.filter-categories li {
    margin-bottom: 0.75rem;
}
.filter-categories a {
    color: #4a4a4a;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}
.filter-categories a:hover {
    color: #dd0286;
}

/* Legacy filter overlay block removed - handled via .bydow-drawer-overlay */

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mb-6 { margin-bottom: 1.5rem; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.product-image-container {
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}
.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

/* Toasts */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}
.bydow-toast {
    width: 350px;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.bydow-toast.show {
    transform: translateX(0);
}
.toast-content {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    gap: 1rem;
}
.toast-icon {
    font-size: 1.5rem;
}
.toast-success .toast-icon { color: #10b981; }
.toast-error .toast-icon { color: #ef4444; }
.toast-info .toast-icon { color: #dd0286; }

.toast-text { flex-grow: 1; }
.toast-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}
.toast-text p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}
.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0;
    display: flex;
}
.toast-close:hover { color: #333; }

.toast-progress {
    height: 4px;
    background-color: #dd0286;
    width: 100%;
    transform-origin: left;
    animation: toast-progress linear forwards;
}
.toast-success .toast-progress { background-color: #10b981; }
.toast-error .toast-progress { background-color: #ef4444; }

@keyframes toast-progress {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

/* Utility Helpers */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.5rem; height: 1.5rem; }
.icon-lg { width: 2.5rem; height: 2.5rem; }

/* Checkout Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 1rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}
@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}
.filter-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.filter-overlay-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}
@media (min-width: 768px) {
    .filter-overlay-header {
        display: none !important;
    }
}
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
@media (min-width: 1024px) {
    .product-detail-layout {
        grid-template-columns: 7fr 5fr;
    }
}
.product-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.product-detail-info {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
}
@media (min-width: 1024px) {
    .product-detail-info {
        padding-left: 2rem;
    }
}
.product-main-image {
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
    aspect-ratio: 1/1;
}
@media (min-width: 768px) {
    .product-main-image {
        aspect-ratio: auto;
        height: 500px;
    }
}
.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.7s;
}
.product-main-image:hover img {
    transform: scale(1.05);
}
.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}
.thumbnail-box {
    background-color: #ffffff;
    border-radius: 0.5rem;
    aspect-ratio: 1/1;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
}
.thumbnail-box:hover {
    border-color: #dd0286;
}
.thumbnail-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0;
    background-color: #f9f9f9;
}
.cart-item-img {
    width: 5rem;
    height: 5rem;
    border-radius: 5px;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.1);
}
.cart-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}
.cart-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0;
}
.cart-item-sku {
    font-size: 0.8rem;
    color: #775357;
    display: block;
    margin-top: 0.25rem;
    line-height: 1.3;
}
.cart-item-remove, button.cart-item-remove {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    border-radius: 50% !important;
    background-color: #e5e3e3 !important;
    color: #7a7878 !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
}
.cart-item-remove:hover, button.cart-item-remove:hover {
    background-color: #d0cece !important;
    color: #444444 !important;
}
.cart-item-remove .material-symbols-outlined {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}
.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}
.cart-item-price {
    font-weight: 500;
    color: #1a1a1a;
}
.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
}
.cart-qty-btn {
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #666;
}
.cart-qty-btn:hover {
    color: #dd0286;
    border-color: #dd0286;    
}
.cart-qty-value {
    font-weight: 600;
    font-size: 0.875rem;
    width: 1rem;
    text-align: center;
}

/* ==========================================================================
   Phase 5: Informational, Consult, Policy & Static Page Components
   ========================================================================== */

/* Page Hero Banner */
.page-hero-banner {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-surface, #FAF9F8);
    padding: 8rem 2rem 6rem;
    margin-bottom: 2rem;
}

.page-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(165, 33, 138, 0.65);
}

.page-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Static Page Container */
.static-page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

@media (max-width: 768px) {
    .static-page-container {
        padding: 2rem 1rem;
    }
    .page-hero-banner {
        padding: 6rem 1rem 4rem;
    }
    .page-hero-title {
        font-size: 2rem;
    }
}

/* Standard Accordion (FAQs, Privacy, Terms, Returns) */
.bydow-accordion {
    display: flex;
    flex-direction: column;
}

.bydow-accordion-item {
    border-bottom: 1px solid #e3e2e1;
    padding: 1.5rem 1rem;
    cursor: pointer;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.bydow-accordion-item:hover {
    background-color: #FAF9F8;
}

.bydow-accordion-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1c1c;
    list-style: none;
    outline: none;
}

.bydow-accordion-summary::-webkit-details-marker {
    display: none;
}

.bydow-accordion-icon {
    transition: transform 0.3s ease;
    color: #775357;
}

.bydow-accordion-item[open] .bydow-accordion-icon {
    transform: rotate(90deg);
}

.bydow-accordion-body {
    margin-top: 1rem;
    font-size: 1rem;
    color: #534345;
    line-height: 1.7;
    padding-right: 1.5rem;
}

/* Consult & Refill Specific Cards */
.consult-hero-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #e3e2e1;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(221, 2, 134, 0.05);
    margin-bottom: 1rem;
}

.consult-hero-text {
    flex: 1;
    padding: 7rem;
}

.consult-hero-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 320px;
}

@media (max-width: 992px) {
    .consult-hero-card {
        flex-direction: column;
    }
    .consult-hero-text {
        padding: 1.5rem;
    }
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .service-card-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background-color: #ffffff;
    border-radius: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid #e3e2e1;
    box-shadow: 0 10px 30px rgba(221, 2, 134, 0.05);
    position: relative;
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.service-card-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 0;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
}

.service-badge-green {
    color: #2ea854;
    background-color: #eef6f0;
}

.service-badge-pink {
    color: #dd0286;
    background-color: #fff0f1;
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1c1c;
    margin-bottom: 0.5rem;
}

.service-card-desc {
    font-size: 1rem;
    color: #534345;
    line-height: 1.6;
}

.btn-icon-circular {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-end;
    margin-top: auto;
    background-color: #fff0f1;
    color: #dd0286;
}

.btn-icon-circular:hover {
    background-color: #dd0286;
    color: #ffffff;
}

/* Contact & Article Page Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 8fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-info-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #dd0286;
    font-weight: 700;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .branches-grid {
        grid-template-columns: 1fr;
    }
}

.branch-card h4 {
    color: #dd0286;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.branch-card p {
    color: #534345;
    font-size: 0.95rem;
}

.contact-map-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e3e2e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
    .contact-map-form {
        grid-template-columns: 1fr;
    }
}

.contact-map-container {
    width: 100%;
    min-height: 400px;
}

.contact-form-container {
    width: 100%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Blog Layout */
.blog-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.blog-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    background-color: #f4f3f2;
    color: #1a1c1c;
}

.blog-pill.active {
    background-color: #1a1c1c;
    color: #ffffff;
}

.blog-pill-initial {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: #1a1c1c;
    color: #ffffff;
}

.blog-pill.active .blog-pill-initial {
    background-color: #ffffff;
    color: #1a1c1c;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.blog-card-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #f4f3f2;
    border-radius: 3px;
    overflow: hidden;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-img-wrap img {
    transform: scale(1.05);
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1c1c;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
    color: #dd0286;
}

.blog-card-desc {
    font-size: 0.95rem;
    color: #534345;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Article Prose Formatting */
.prose-article {
    color: #534345;
    font-size: 1.125rem;
    line-height: 1.8;
}

.prose-article h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1c1c;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prose-article p {
    margin-bottom: 1.5rem;
}

.prose-article ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose-article li {
    margin-bottom: 0.5rem;
}

.prose-quote {
    background-color: #fff0f1;
    padding: 2rem;
    margin: 2.5rem 0;
    border-left: 4px solid #dd0286;
    font-style: italic;
    color: #1a1c1c;
    font-size: 1.125rem;
}

/* Checkout Components */
.checkout-header {
    margin-bottom: 2.5rem;
}
.checkout-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1c1c;
    margin-bottom: 0.5rem;
}
.checkout-subtitle {
    font-size: 1rem;
    color: #534345;
}
.checkout-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1c1c;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.checkout-section-title .material-symbols-outlined {
    color: #dd0286;
}
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (max-width: 640px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}
.form-grid-full {
    grid-column: span 2;
}
@media (max-width: 640px) {
    .form-grid-full {
        grid-column: span 1;
    }
}
.payment-option-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid #e3e2e1;
    border-radius: 0;
    cursor: pointer;
    background-color: #ffffff;
    transition: border-color 0.2s, background-color 0.2s;
}
.payment-option-card:hover, .payment-option-card.selected {
    border-color: #dd0286;
    background-color: #fff0f1;
}
.payment-option-title {
    font-weight: 700;
    color: #1a1c1c;
    display: block;
    font-size: 0.95rem;
}
.payment-option-desc {
    font-size: 0.85rem;
    color: #534345;
    display: block;
    margin-top: 0.15rem;
}
.checkout-summary-card {
    position: sticky;
    top: 100px;
}
.checkout-summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0eeee;
    margin-bottom: 1rem;
}
.checkout-summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.checkout-summary-img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: 0;
    border: 1px solid #e3e2e1;
    flex-shrink: 0;
}
.checkout-summary-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1c1c;
    margin-bottom: 0.25rem;
}
.checkout-summary-qty {
    font-size: 0.8rem;
    color: #775357;
}
.checkout-summary-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1c1c;
    margin-left: auto;
}
.checkout-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #534345;
    margin-bottom: 0.75rem;
}
.checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1c1c;
    padding-top: 1rem;
    border-top: 1px solid #e3e2e1;
    margin-top: 1rem;
}
.checkout-total-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #dd0286;
}

/* ========================================= */
/* Account Dashboard & Sidebar Styles        */
/* ========================================= */
.dashboard-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    align-items: start;
    width: 100%;
}

.dashboard-sidebar {
    width: 100%;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    align-self: start;
}
.sidebar-inner {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f0dee2;
}
.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.sidebar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #dd0286;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(221, 2, 134, 0.15);
}
.sidebar-mobile-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff0f1;
    color: #dd0286;
    border: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.sidebar-mobile-toggle:hover {
    background-color: #ffd9df;
}
.sidebar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1C1B1F;
    line-height: 1.2;
    margin-bottom: 3px;
}
.sidebar-subtitle {
    font-size: 0.8125rem;
    color: #775357;
    word-break: break-all;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.125rem;
    border-radius: 3px;
    color: #534345; /* Dark gray */
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.sidebar-link .material-symbols-outlined {
    font-size: 22px;
    color: #775357;
    transition: color 0.2s ease-in-out;
}
.sidebar-link:hover {
    background-color: #fff0f1; /* Light pink background */
    color: #dd0286; /* Hot pink text */
}
.sidebar-link:hover .material-symbols-outlined {
    color: #dd0286;
}
.sidebar-link.active {
    background-color: #fff0f1; /* Light pink background */
    color: #dd0286; /* Hot pink text */
    font-weight: 700;
}
.sidebar-link.active .material-symbols-outlined {
    color: #dd0286; /* Hot pink icon */
}
.sidebar-link.logout {
    color: #7b7b7b;
}
.sidebar-link.logout .material-symbols-outlined {
    color: #7b7b7b;
}
.sidebar-link.logout:hover {
    background-color: #eee;
    color: #7b7b7b;
}
.sidebar-divider {
    height: 1px;
    background-color: #f0dee2;
    margin: 0.5rem 0;
}

.account-dashboard {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}
.account-welcome-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1C1B1F;
    margin-bottom: 0.5rem;
}

.account-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.account-address-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
@media (max-width: 992px) {
    .account-address-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .account-address-grid {
        grid-template-columns: 1fr;
    }
}

.bento-card {
    background-color: #ffffff;
    border: 1px solid #e3e2e1;
    border-radius: 0;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.bento-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.bento-card__thumbnail,
.bento-card-thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 0;
    border: 1px solid #f0dee2;
}
.bento-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1C1B1F;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.bento-card-title .material-symbols-outlined {
    color: #dd0286;
}
.bento-card-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #dd0286;
    text-decoration: none;
}
.bento-card-link:hover {
    text-decoration: underline;
}

.bento-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bento-item-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    background-color: #fff8f7;
    border: 1px solid #f0dee2;
    border-radius: 0;
    gap: 1rem;
}
.bento-item-left {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    min-width: 0;
}
.bento-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 0;
    background-color: #ffd9df;
    color: #dd0286;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bento-item-icon.secondary {
    background-color: #e5d7d8;
    color: #534345;
}
.bento-item-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1C1B1F;
    line-height: 1.3;
}
.bento-item-desc {
    font-size: 0.8125rem;
    color: #775357;
}
.bento-badge {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.2rem 0.6rem;
    background-color: #ffd9df;
    color: #dd0286;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
}
.bento-badge.gray {
    background-color: #e5d7d8;
    color: #534345;
}

.bento-btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: fit-content;
    align-self: center;
    padding: 0.6rem 1.25rem;
    background-color: #dd0286;
    color: #ffffff;
    border-radius: 0;
    border: 1px solid #dd0286;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.bento-btn-action .material-symbols-outlined {
    font-size: 1.125rem;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}
.bento-btn-action:hover {
    background-color: #b5006a;
}
.bento-btn-action.outline {
    background-color: transparent;
    border: 1px solid #857275;
    color: #1C1B1F;
}
.bento-btn-action.outline:hover {
    background-color: #f3e5e6;
}

.order-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0dee2;
}
.order-item-row:last-child {
    border-bottom: none;
}
.order-amount {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1C1B1F;
}

.promo-health-card {
    background-color: #ffd9df;
    border: 1px solid #f0dee2;
    border-radius: 0;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.promo-health-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
}
.promo-health-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3e0712;
    margin-bottom: 0.5rem;
}
.promo-health-desc {
    font-size: 0.9375rem;
    color: #541828;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.promo-health-btn {
    display: inline-block;
    background-color: #dd0286;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.2s ease;
    box-shadow: 0 4px 12px rgba(221, 2, 134, 0.2);
}
.promo-health-btn:hover {
    background-color: #b5006a;
}
.promo-health-icon {
    position: absolute;
    right: -20px;
    bottom: -30px;
    opacity: 0.15;
    pointer-events: none;
    transform: rotate(12deg);
}
.promo-health-icon .material-symbols-outlined {
    font-size: 200px !important;
    color: #dd0286;
}

@media (max-width: 992px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    .account-bento-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .bydow-drawer-header {
        padding: 7rem 1rem 1rem !important;
    }
    aside.filter-sidebar > .filter-categories,
    aside.filter-sidebar > .filter-section {
        display: none !important;
    }
    #mobileFilterToggle {
        display: inline-flex !important;
    }
    #filterOverlay:not(.hidden), .bydow-drawer-overlay:not(.hidden) {
        display: flex !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 999999 !important;
        background-color: rgba(0, 0, 0, 0.4) !important;
        backdrop-filter: blur(4px) !important;
        justify-content: flex-end !important;
    }
    .filter-sidebar {
        position: static !important;
        top: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    .dashboard-sidebar {
        position: static !important;
        top: auto !important;
    }
    .sidebar-mobile-toggle {
        display: flex;
    }
    .sidebar-inner {
        position: static !important;
        top: auto !important;
        padding: 0;
    }
    .sidebar-nav {
        display: none;
        margin-top: 1rem;
    }
    .sidebar-nav.active {
        display: flex !important;
    }
    .ptb-4 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .product-page-container {
        padding: 0 1rem !important;
    }
    .shop-layout {
        grid-template-columns: 1fr;
        padding: 1rem !important;
    }
}

@media (min-width: 769px) {
    .filter-sidebar {
        position: sticky !important;
        top: 100px !important;
        align-self: start !important;
        max-height: calc(100vh - 120px) !important;
        overflow-y: auto !important;
        padding-right: 0.5rem;
    }
    aside.filter-sidebar > .filter-categories,
    aside.filter-sidebar > .filter-section {
        display: block !important;
    }
    #mobileFilterToggle {
        display: none !important;
    }
    #filterOverlay {
        display: none !important;
    }
}

.ptb-4 {
	padding-top: 4rem;
	padding-bottom: 6rem;
}

/* PWA Install Banner */
.pwa-install-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    width: calc(100% - 2rem);
    max-width: 520px;
    background-color: #ffffff;
    border: 1px solid #e3e2e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    animation: pwaSlideUp 0.3s ease-out forwards;
}

@keyframes pwaSlideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.pwa-install-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    min-width: 0;
}

.pwa-install-icon {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 0;
    border: 1px solid #f0dee2;
    flex-shrink: 0;
}

.pwa-install-text {
    min-width: 0;
}

.pwa-install-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1C1B1F;
    margin-bottom: 2px;
}

.pwa-install-desc {
    font-size: 0.8rem;
    color: #775357;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.pwa-install-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    background-color: #dd0286;
    color: #ffffff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.pwa-install-btn:hover {
    background-color: #b5006a;
}

.pwa-install-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff0f1;
    color: #dd0286;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pwa-install-close:hover {
    background-color: #ffd9df;
}

/* Slider Nav Arrows */
.slider-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.slider-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e3e2e1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #534345;
    transition: all 0.2s ease;
}

.slider-nav button:hover {
    border-color: #dd0286;
    color: #dd0286;
    background-color: #fff0f1;
}

/* Product Card Badges */
.product-card-vanilla .image-container .badge,
.image-container .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    display: inline-block;
}

.badge-rx {
    background-color: #fff0f1 !important;
    color: #dd0286 !important;
    border: 1px solid #f0dee2 !important;
}

.badge-success {
    background-color: #e6f4ea !important;
    color: #137333 !important;
    border: 1px solid #ceead6 !important;
}

/* Card Title Character Truncation Fallback */
.product-card-vanilla .product-title,
.product-card .card-title,
.product-title, .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

/* Lazy Loading Reveal Animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes fadeInCard {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.lazy-product-revealed {
    animation: fadeInCard 0.35s ease-out forwards;
}

.lazy-product-card {
    will-change: opacity, transform;
}

/* Product Details Rating Stars */
.star-rate {
    font-size: 30px !important;
    color: #b5b5b5;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
    font-variation-settings: 'FILL' 1;
    user-select: none;
}

.star-rate:hover {
    transform: scale(1.15);
}

.star-rate.active,
.star-rate.hovered {
    color: #dd0286 !important;
}

/* ========================================= */
/* Live Search Results Overlay Component     */
/* ========================================= */
.bydow-modal-search-wrapper {
    position: relative;
    width: 100%;
}

.overlay-search-results {
    position: absolute;
    top: 60%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 40vh;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #f0e6e8;
    border-radius: 0 0 3px 3px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    padding: 0.25rem 0;
    box-sizing: border-box;
}

.overlay-search-results.hidden {
    display: none !important;
}

.overlay-search-results::-webkit-scrollbar {
    width: 6px;
}
.overlay-search-results::-webkit-scrollbar-thumb {
    background: #e3d2d7;
    border-radius: 4px;
}

.search-result-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f9eaeb;
    transition: background-color 0.2s ease;
    gap: 0.75rem;
}

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

.search-result-row:hover {
    background-color: #fff0f1;
}

.search-result-col-img {
    flex: 0 0 10%;
    width: 10%;
    min-width: 42px;
    max-width: 48px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-thumb {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #faf9f8;
    border: 1px solid #f0e6e8;
}

.search-result-col-info {
    flex: 1 1 90%;
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.search-result-category {
    font-size: 11px;
    font-weight: 500;
    color: #dd0286;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    line-height: 1.2;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1c1c;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-col-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dd0286;
    margin-left: auto;
}

.search-result-col-arrow .material-symbols-outlined {
    font-size: 20px;
    color: #dd0286;
}

.search-no-results {
    padding: 1.25rem 1rem;
    text-align: center;
    color: #775357;
    font-size: 14px;
    font-weight: 500;
}