/* Use the device UI font; no downloaded or named font families. */
html { --site-max-width: 480px; --site-canvas: color-mix(in srgb, #000 8%, #fff); background: var(--site-canvas); font-family: system-ui; }
code, pre, kbd, samp { font-family: inherit; }

/* আঁচল storefront styles
   Each section is scoped to its page-specific body class. */

/* ========================================
   Home page
   ======================================== */
/* Raw CSS */
body.page-home,
body.page-home * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

body.page-home {
    margin: 0;
    padding: 0;
    background-color: var(--site-canvas); /* বাইরের গ্রে ব্যাকগ্রাউন্ড */
    font-family: system-ui;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

body.page-home.cart-open,
body.page-product.cart-open {
    overflow: hidden;
}

/* Mobile Container */
body.page-home .mobile-container {
    width: 100%;
    max-width: var(--site-max-width); /* মোবাইলের সাইজ */
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header */
body.page-home .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 12px;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
}

body.page-home .logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.page-home .logo img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

body.page-home .logo h1 {
    margin: 0;
    font-size: 22px;
    color: #d81b60;
    font-weight: 700;
}

/* Cart Icon */
body.page-home .cart-wrapper {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-home .cart-wrapper i {
    font-size: 26px;
    color: #1f2937;
}

body.page-home .cart-badge {
    position: absolute;
    top: 1px;
    right: 0;
    background-color: #d81b60;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    height: 16px;
    min-width: 16px;
    padding: 0 3px;
    border: 1.5px solid #f9f9f9;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Banner Section Copied Styles */
body.page-home .banner-section {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    padding: 0 12px;
}

body.page-home .banner-slider {
    display: flex;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    border-radius: 12px;
}

body.page-home .banner-slider::-webkit-scrollbar {
    display: none;
}

body.page-home .banner-slider.smooth-scroll {
    scroll-behavior: smooth;
}

body.page-home .banner-slide {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

body.page-home .banner-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

body.page-home .banner-title {
    position: absolute;
    right: 12px;
    bottom: 13px;
    left: 12px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    padding: 5px 8px;
    border-radius: 6px;
    background: rgba(17, 24, 39, .72);
}

body.page-home .banner-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

body.page-home .dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

body.page-home .dot.active {
    background-color: #d81b60;
    width: 20px;
    border-radius: 10px;
}

/* Products Section */
body.page-home .products-container {
    padding: 20px 12px;
    flex: 1;
}

body.page-home .section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px 0;
}

body.page-home .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* Product Card */
body.page-home .product-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 10px;
    overflow: hidden;
}

body.page-home .product-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

body.page-home .product-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    display: block;
    object-fit: cover;
}

body.page-home .product-details {
    padding: 12px;
}

body.page-home .product-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.page-home .product-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 36px;
    margin: 0 0 8px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.45;
}

body.page-home .product-price {
    font-size: 16px;
    font-weight: 700;
    color: #d81b60;
    margin-bottom: 12px;
}

/* Add to Cart Button */
body.page-home .add-to-cart-btn {
    width: 100%;
    background-color: #d81b60;
    color: #ffffff;
    border: none;
    padding: 10px 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.1s, background-color 0.2s;
}

body.page-home .add-to-cart-btn:active {
    transform: scale(0.96);
    background-color: #c2185b;
}

/* Toast Notification (Raw CSS) */
body.page-home .toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: #1f2937;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    white-space: nowrap;
}

body.page-home .toast-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Button Group */
body.page-home .button-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Buy Now Button */
body.page-home .buy-now-btn {
    width: 100%;
    background-color: #10b981;
    color: #ffffff;
    border: none;
    padding: 10px 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.1s, background-color 0.2s;
}

body.page-home .buy-now-btn:active {
    transform: scale(0.96);
    background-color: #059669;
}

body.page-home .add-to-cart-btn:disabled,
body.page-home .buy-now-btn:disabled {
    cursor: not-allowed;
    opacity: .55;
}

body.page-home .data-message {
    grid-column: 1 / -1;
    padding: 24px 14px;
    text-align: center;
    color: #6b7280;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    line-height: 1.5;
}

/* Cart Overlay & Backdrop */
body.page-home .cart-backdrop {
    position: fixed;
    top: 0;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--site-max-width);
    height: 100vh;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

body.page-home .cart-backdrop.active {
    opacity: 1;
    visibility: visible;
}

body.page-home .cart-overlay {
    position: fixed;
    top: 0;
    right: max(0px, calc((100vw - var(--site-max-width)) / 2));
    left: auto;
    width: 100%;
    max-width: var(--site-max-width);
    margin-left: 0;
    height: 100vh;
    height: 100dvh;
    background-color: #ffffff;
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    body.page-home .cart-overlay {
        right: 0;
        left: auto;
        width: 100%;
        margin-left: 0;
        max-width: none;
    }

}

body.page-home .cart-overlay.active {
    transform: translateX(0);
}

body.page-home .cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
}

body.page-home .cart-header h2 {
    margin: 0;
    font-size: 18px;
    color: #1f2937;
}

body.page-home .close-cart {
    font-size: 24px;
    cursor: pointer;
    color: #1f2937;
}

body.page-home .cart-items-container {
    padding: 20px 16px;
    flex: 1;
    overflow-y: auto;
}

body.page-home .cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}

body.page-home .cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

body.page-home .cart-item-details {
    flex: 1;
}

body.page-home .cart-item-details h4 {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

body.page-home .cart-item-details p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #d81b60;
}

/* Quantity & Delete Controls */
body.page-home .qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

body.page-home .qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #1f2937;
    padding: 0;
}

body.page-home .qty-text {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

body.page-home .delete-btn {
    color: #ef4444;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
}

body.page-home .empty-cart-msg {
    text-align: center;
    color: #6b7280;
    margin-top: 50px;
}

/* Cart Footer */
body.page-home .cart-footer {
    padding: 16px;
    border-top: 1px solid #f3f4f6;
    background-color: #ffffff;
    display: none; /* Hidden when empty */
}

body.page-home .cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

body.page-home .order-now-btn {
    width: 100%;
    background-color: #d81b60;
    color: #ffffff;
    border: none;
    padding: 12px 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

body.page-home .order-now-btn:active {
    transform: scale(0.98);
    background-color: #c2185b;
}

/* ========================================
   Product page
   ======================================== */
/* Raw CSS */
body.page-product,
body.page-product * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body.page-product {
    margin: 0;
    padding: 0;
    background-color: var(--site-canvas);
    font-family: system-ui;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

body.page-product .mobile-container {
    width: 100%;
    max-width: var(--site-max-width);
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 70px; /* নিচের ফিক্সড বাটনের জন্য জায়গা */
}

/* Header (With Back Button) */
body.page-product .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #f3f4f6;
}

body.page-product .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.page-product .back-btn {
    font-size: 24px;
    color: #1f2937;
    text-decoration: none;
    display: flex;
    align-items: center;
}

body.page-product .header-title {
    margin: 0;
    font-size: 18px;
    color: #1f2937;
    font-weight: 600;
}

/* Cart Icon */
body.page-product .cart-wrapper {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-product .cart-wrapper i {
    font-size: 26px;
    color: #1f2937;
}

body.page-product .cart-badge {
    position: absolute;
    top: 1px;
    right: 0;
    background-color: #d81b60;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    height: 16px;
    min-width: 16px;
    padding: 0 3px;
    border: 1.5px solid #f9f9f9;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Product Details Area */
body.page-product .product-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
}

body.page-product .product-gallery-track {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

body.page-product .product-gallery-track::-webkit-scrollbar {
    display: none;
}

body.page-product .product-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
    overflow: hidden;
}

body.page-product .product-hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-product .product-gallery-dots {
    position: absolute;
    right: 0;
    bottom: 12px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

body.page-product .product-gallery-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 50%;
    background: rgba(28,28,30,.38);
    cursor: pointer;
}

body.page-product .product-gallery-dot.active {
    width: 20px;
    border-radius: 999px;
    background: #fff;
}

body.page-product .product-info-container {
    padding: 20px 16px;
}

body.page-product .product-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

body.page-product .product-price {
    font-size: 24px;
    font-weight: 700;
    color: #d81b60;
    margin-bottom: 16px;
}

body.page-product .section-heading {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 8px;
}

body.page-product .product-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

body.page-product .body-size-picker {
    min-width: 0;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

body.page-product .body-size-picker legend {
    padding: 0;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
}

body.page-product .body-size-picker legend span,
body.page-product #body-size-help {
    color: #626773;
    font-size: 13px;
    font-weight: 400;
}

body.page-product #body-size-help { margin: 5px 0 12px; }
body.page-product .body-size-options { display: flex; flex-wrap: wrap; gap: 8px; }
body.page-product .body-size-option { position: relative; cursor: pointer; }
body.page-product .body-size-option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
body.page-product .body-size-option span {
    display: grid;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 10px;
    place-items: center;
    border: 1px solid #d5d7dc;
    border-radius: 9px;
    color: #252932;
    font-size: 14px;
    font-weight: 600;
}
body.page-product .body-size-option input:checked + span { border-color: #b0144d; background: #b0144d; color: #fff; }
body.page-product .body-size-option input:focus-visible + span { outline: 2px solid #b0144d; outline-offset: 3px; }
body.page-product .body-size-error { margin: 10px 0 0; color: #b42318; font-size: 13px; }

/* Bottom Fixed Action Bar */
body.page-product .bottom-action-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--site-max-width);
    background-color: #ffffff;
    border-top: 1px solid #f3f4f6;
    padding: 10px 16px;
    display: flex;
    gap: 12px;
    z-index: 99;
}

body.page-product .action-btn {
    flex: 1;
    padding: 12px 0;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

body.page-product .action-btn:active {
    transform: scale(0.98);
}

body.page-product .btn-outline {
    background-color: transparent;
    border: 1px solid #d81b60;
    color: #d81b60;
}

body.page-product .btn-fill {
    background-color: #d81b60;
    color: #ffffff;
}

/* Toast Notification */
body.page-product .toast-notification {
    position: fixed;
    bottom: 80px; /* বাটনের উপরে দেখানোর জন্য */
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: #1f2937;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    white-space: nowrap;
}

body.page-product .toast-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Cart Overlay & Backdrop (Same as Home Page) */
body.page-product .cart-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

body.page-product .cart-backdrop.active {
    opacity: 1;
    visibility: visible;
}

body.page-product .cart-overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 100%;
    max-width: var(--site-max-width);
    margin-left: 0;
    height: 100vh;
    height: 100dvh;
    background-color: #ffffff;
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    body.page-product .cart-overlay {
        right: 0;
        left: auto;
        width: 100%;
        margin-left: 0;
        max-width: none;
    }

}

body.page-product .cart-overlay.active {
    transform: translateX(0);
}

body.page-product .cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
}

body.page-product .cart-header h2 {
    margin: 0;
    font-size: 18px;
    color: #1f2937;
}

body.page-product .close-cart {
    font-size: 24px;
    cursor: pointer;
    color: #1f2937;
}

body.page-product .cart-items-container {
    padding: 20px 16px;
    flex: 1;
    overflow-y: auto;
}

body.page-product .cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}

body.page-product .cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

body.page-product .cart-item-details {
    flex: 1;
}

body.page-product .cart-item-details h4 {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

body.page-product .cart-item-details p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #d81b60;
}

body.page-product .qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

body.page-product .qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #1f2937;
    padding: 0;
}

body.page-product .qty-text {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

body.page-product .delete-btn {
    color: #ef4444;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
}

body.page-product .empty-cart-msg {
    text-align: center;
    color: #6b7280;
    margin-top: 50px;
}

body.page-product .cart-footer {
    padding: 16px;
    border-top: 1px solid #f3f4f6;
    background-color: #ffffff;
    display: none;
}

body.page-product .cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

body.page-product .order-now-btn {
    width: 100%;
    background-color: #d81b60;
    color: #ffffff;
    border: none;
    padding: 12px 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

body.page-product .product-message {
    padding: 60px 24px;
    text-align: center;
    color: #6b7280;
}

body.page-product .product-message i {
    display: block;
    margin-bottom: 12px;
    color: #d81b60;
    font-size: 56px;
}

body.page-product .product-message a {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: 6px;
    background: #d81b60;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

body.page-product button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

/* ========================================
   Single-product checkout
   ======================================== */
body.page-order,
body.page-order * {
    box-sizing: border-box;
}

body.page-order {
    margin: 0;
    background: var(--site-canvas);
    color: #1f2937;
    font-family: system-ui;
}

body.page-order .app {
    width: 100%;
    max-width: var(--site-max-width);
    min-height: 100vh;
    margin: 0 auto;
    background: #fff;
}

body.page-order .header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    z-index: 5;
}

body.page-order .back {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #1f2937;
    text-decoration: none;
    font-size: 24px;
    background: #f9fafb;
}

body.page-order .header h1 {
    font-size: 19px;
    margin: 0;
}

body.page-order .content {
    padding: 20px 16px 32px;
}

body.page-order .notice,
body.page-order .error-box {
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.5;
}

body.page-order .notice {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
}

body.page-order .error-box {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

body.page-order .error-box ul {
    margin: 0;
    padding-left: 20px;
}

body.page-order .product-card {
    display: flex;
    gap: 14px;
    padding: 12px;
    background: #fff7fa;
    border: 1px solid #fce7f3;
    border-radius: 14px;
    margin-bottom: 22px;
}

body.page-order .product-card img {
    width: 88px;
    height: 104px;
    object-fit: cover;
    border-radius: 10px;
    background: #f3f4f6;
}

body.page-order .product-card h2 {
    font-size: 16px;
    line-height: 1.4;
    margin: 3px 0 6px;
}

body.page-order .price {
    color: #d81b60;
    font-weight: 700;
    font-size: 18px;
}

body.page-order .section-title {
    font-size: 17px;
    margin: 0 0 14px;
}

body.page-order .field {
    margin-bottom: 15px;
}

body.page-order label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
}

body.page-order .required {
    color: #e11d48;
}

body.page-order input,
body.page-order textarea,
body.page-order select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    background: #fff;
    padding: 12px;
    color: #1f2937;
    font: inherit;
    font-size: 15px;
    outline: none;
}

body.page-order input:focus,
body.page-order textarea:focus,
body.page-order select:focus {
    border-color: #d81b60;
}

body.page-order textarea {
    min-height: 92px;
    resize: vertical;
}

body.page-order .hint {
    display: block;
    margin-top: 5px;
    color: #6b7280;
    font-size: 12px;
}

body.page-order .two-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

body.page-order .summary {
    margin: 24px 0 18px;
    padding: 16px;
    border-radius: 13px;
    border: 1px solid #e5e7eb;
    background: #fafafa;
}

body.page-order .summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0;
    color: #6b7280;
    font-size: 14px;
}

body.page-order .summary-total {
    border-top: 1px dashed #cbd5e1;
    padding-top: 12px;
    margin-top: 12px;
    color: #1f2937;
    font-weight: 700;
    font-size: 17px;
}

body.page-order .cod {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 13px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    color: #92400e;
    font-size: 13px;
    line-height: 1.5;
}

body.page-order .cod i {
    font-size: 20px;
    flex: 0 0 auto;
}

body.page-order .submit {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 14px;
    background: #d81b60;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

body.page-order .submit:hover {
    background: #be185d;
}

body.page-order .empty-state {
    padding: 42px 20px;
    text-align: center;
}

body.page-order .empty-state i {
    display: block;
    color: #d81b60;
    font-size: 54px;
    margin-bottom: 10px;
}

body.page-order .empty-state h2 {
    margin: 0 0 7px;
    font-size: 20px;
}

body.page-order .empty-state p {
    color: #6b7280;
    margin: 0 0 20px;
}

body.page-order .button-link {
    display: inline-block;
    padding: 11px 17px;
    border-radius: 8px;
    background: #d81b60;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 390px) {
    body.page-order .two-fields {
        grid-template-columns: 1fr;
    }

}

/* ========================================
   Cart checkout
   ======================================== */
body.page-cart-order,
body.page-cart-order * {
    box-sizing: border-box;
}

body.page-cart-order {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--site-canvas);
    color: #1f2937;
    font-family: system-ui;
}

body.page-cart-order .app {
    width: 100%;
    max-width: var(--site-max-width);
    min-height: 100vh;
    margin: auto;
    overflow: hidden;
    background: #fff;
}

body.page-cart-order .header {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
}

body.page-cart-order .back {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: #f9fafb;
    color: #1f2937;
    border-radius: 50%;
    font-size: 24px;
    text-decoration: none;
}

body.page-cart-order .header h1 {
    font-size: 19px;
    margin: 0;
}

body.page-cart-order .content {
    width: 100%;
    padding: 16px 14px 28px;
    overflow: hidden;
}

body.page-cart-order .items {
    border: 1px solid #e5e7eb;
    border-radius: 13px;
    padding: 0 12px;
    margin-bottom: 18px;
    overflow: hidden;
}

body.page-cart-order .item {
    display: flex;
    gap: 11px;
    padding: 13px 0;
    border-bottom: 1px solid #f3f4f6;
    min-width: 0;
    overflow: hidden;
}

body.page-cart-order .item:last-child {
    border-bottom: 0;
}

body.page-cart-order .item img {
    width: 62px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    background: #f3f4f6;
}

body.page-cart-order .item-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

body.page-cart-order .item h2 {
    font-size: 15px;
    margin: 1px 0 4px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.page-cart-order .item p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

body.page-cart-order .item-total {
    color: #d81b60;
    font-weight: 700;
    white-space: nowrap;
    font-size: 13px;
}

body.page-cart-order .field {
    margin-bottom: 15px;
}

body.page-cart-order label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
}

body.page-cart-order .required {
    color: #e11d48;
}

body.page-cart-order input,
body.page-cart-order textarea,
body.page-cart-order select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    color: #1f2937;
    font: inherit;
    outline: 0;
}

body.page-cart-order input:focus,
body.page-cart-order textarea:focus,
body.page-cart-order select:focus {
    border-color: #d81b60;
}

body.page-cart-order textarea {
    min-height: 86px;
    resize: vertical;
}

body.page-cart-order .two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

body.page-cart-order .summary {
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
    margin: 22px 0 17px;
}

body.page-cart-order .row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 8px 0;
    color: #6b7280;
    font-size: 14px;
}

body.page-cart-order .total {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px dashed #cbd5e1;
    color: #1f2937;
    font-size: 17px;
    font-weight: 700;
}

body.page-cart-order .cod {
    padding: 12px;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 13px;
    line-height: 1.5;
}

body.page-cart-order .submit,
body.page-cart-order .home {
    width: 100%;
    margin-top: 16px;
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: #d81b60;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    display: block;
    cursor: pointer;
}

body.page-cart-order .error,
body.page-cart-order .empty {
    padding: 28px 16px;
    text-align: center;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    color: #6b7280;
}

body.page-cart-order .error ul {
    text-align: left;
    margin: 0;
    padding-left: 20px;
    color: #be123c;
}

body.page-cart-order .error {
    background: #fff1f2;
    border-color: #fecdd3;
    margin-bottom: 16px;
}

body.page-cart-order .note {
    color: #6b7280;
    font-size: 12px;
    margin: 4px 0 0;
}

body.page-cart-order .empty-icon {
    color: #d81b60;
    font-size: 48px;
}

body.page-cart-order .delivery-title {
    margin: 0 0 14px;
    font-size: 17px;
}

body.page-cart-order form,
body.page-cart-order .summary,
body.page-cart-order .cod {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 390px) {
    body.page-cart-order .two {
        grid-template-columns: 1fr;
    }

}

/* ========================================
   Order success page
   ======================================== */
body.page-order-success,
body.page-order-success * {
    box-sizing: border-box;
}

body.page-order-success {
    margin: 0;
    background: var(--site-canvas);
    color: #1f2937;
    font-family: system-ui;
}

body.page-order-success .app {
    max-width: var(--site-max-width);
    min-height: 100vh;
    margin: auto;
    background: #fff;
    padding: 24px 16px 38px;
}

/* ========================================
   Shared storefront styles
   ======================================== */
body.page-home,
body.page-product,
body.page-order,
body.page-cart-order,
body.page-order-success {
    background: var(--site-canvas);
    color: #1c1c1e;
    font-family: system-ui;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.page-home .mobile-container,
body.page-product .mobile-container,
body.page-order .app,
body.page-cart-order .app,
body.page-order-success .app {
    background: #fff;
}

body.page-home .header,
body.page-product .header,
body.page-order .header,
body.page-cart-order .header {
    min-height: 52px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 0;
    background: rgba(249,249,249,.9);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
}

body.page-home .logo h1,
body.page-home .product-price,
body.page-product .price,
body.page-cart-order .item-total {
    color: #d81b60;
}

body.page-home .cart-wrapper,
body.page-product .cart-wrapper,
body.page-home .back,
body.page-product .back-btn,
body.page-order .back,
body.page-cart-order .back {
    color: #007aff;
}

body.page-home .cart-wrapper,
body.page-product .cart-wrapper {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font: inherit;
}

body.page-home .professional-bag-icon,
body.page-product .professional-bag-icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #1c1c1e;
}

body.page-home .professional-bag-icon svg,
body.page-product .professional-bag-icon svg {
    display: block;
    width: 28px;
    height: 28px;
}

body.page-home .banner-slider,
body.page-home .banner-slide,
body.page-home .banner-slide img {
    border-radius: 18px;
}

body.page-home .banner-title {
    border-radius: 9px;
    background: rgba(28,28,30,.72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

body.page-home .section-title,
body.page-product .section-title,
body.page-order .section-title,
body.page-cart-order .delivery-title {
    color: #1c1c1e;
    font-weight: 700;
    letter-spacing: -.01em;
}

body.page-home .product-card,
body.page-product .product-card,
body.page-order .product-card,
body.page-cart-order .items,
body.page-cart-order .summary,
body.page-order .summary,
body.page-order-success .success-card {
    border: 1px solid rgba(60,60,67,.12);
    border-radius: 18px;
    background: #fff;
}

body.page-home .product-image,
body.page-product .product-image,
body.page-order .product-card img,
body.page-cart-order .item img {
    background: #e5e5ea;
}

body.page-home .product-name,
body.page-product .product-name,
body.page-cart-order .item h2 {
    color: #1c1c1e;
    font-weight: 600;
    letter-spacing: -.01em;
}

body.page-home .product-description,
body.page-product .product-description,
body.page-order .hint,
body.page-cart-order .note {
    color: #8e8e93;
}

body.page-home .add-to-cart-btn,
body.page-home .buy-now-btn,
body.page-product .add-to-cart-btn,
body.page-product .buy-now-btn,
body.page-product .order-button,
body.page-order .submit,
body.page-order .button-link,
body.page-cart-order .submit,
body.page-cart-order .home {
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    background: #007aff;
    color: #fff;
    font-weight: 600;
}

body.page-home .add-to-cart-btn,
body.page-product .add-to-cart-btn {
    background: #d81b60;
}

body.page-home .buy-now-btn,
body.page-product .buy-now-btn {
    background: #007aff;
}

body.page-home .add-to-cart-btn:active,
body.page-home .buy-now-btn:active,
body.page-product .add-to-cart-btn:active,
body.page-product .buy-now-btn:active,
body.page-order .submit:active,
body.page-cart-order .submit:active {
    background: #0062cc;
    transform: scale(.98);
}

body.page-home .cart-overlay,
body.page-product .cart-overlay {
    background: #fff;
}

body.page-home .cart-header,
body.page-product .cart-header,
body.page-home .cart-footer,
body.page-product .cart-footer {
    border-color: rgba(60,60,67,.16);
    background: rgba(249,249,249,.92);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
}

body.page-home .cart-item,
body.page-product .cart-item {
    margin: 10px 12px;
    padding: 12px;
    border: 1px solid rgba(60,60,67,.12);
    border-radius: 16px;
    background: #fff;
}

body.page-home .qty-btn,
body.page-product .qty-btn {
    border: 0;
    border-radius: 9px;
    background: #e9e9eb;
    color: #007aff;
}

body.page-home .order-now-btn,
body.page-product .order-now-btn {
    min-height: 48px;
    border-radius: 12px;
    background: #007aff;
}

body.page-order .content,
body.page-cart-order .content {
    padding-top: 16px;
}

body.page-order input,
body.page-order textarea,
body.page-order select,
body.page-cart-order input,
body.page-cart-order textarea,
body.page-cart-order select {
    min-height: 44px;
    border: 1px solid rgba(60,60,67,.2);
    border-radius: 12px;
    background: #fff;
    color: #1c1c1e;
}

body.page-order input:focus,
body.page-order textarea:focus,
body.page-order select:focus,
body.page-cart-order input:focus,
body.page-cart-order textarea:focus,
body.page-cart-order select:focus {
    border-color: #007aff;
}

body.page-order .cod,
body.page-cart-order .cod {
    border: 1px solid #ffe08a;
    border-radius: 14px;
    background: #fff8df;
    color: #6d4c00;
}

body.page-order .notice,
body.page-order .error-box,
body.page-cart-order .error,
body.page-cart-order .empty {
    border-radius: 14px;
}

body.page-order-success .app {
    color: #1c1c1e;
}

body.page-order-success .success-icon {
    color: #34c759;
}

body.page-order-success .center {
    text-align: center;
}

body.page-order-success .success-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin: 10px auto 16px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 44px;
}

body.page-order-success h1 {
    margin: 0 0 8px;
    font-size: 24px;
}

body.page-order-success .intro {
    margin: 0 auto;
    max-width: 390px;
    color: #6b7280;
    line-height: 1.6;
}

body.page-order-success .order-number {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 13px;
    border-radius: 8px;
    background: #fff1f2;
    color: #be185d;
    font-family: system-ui;
    font-size: 13px;
    font-weight: 600;
}

body.page-order-success .card {
    margin-top: 22px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

body.page-order-success .card h2 {
    margin: 0 0 12px;
    font-size: 17px;
}

body.page-order-success .item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #f3f4f6;
}

body.page-order-success .item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

body.page-order-success .item img {
    width: 58px;
    height: 66px;
    object-fit: cover;
    border-radius: 8px;
    background: #f3f4f6;
}

body.page-order-success .item-info {
    flex: 1;
}

body.page-order-success .item h3 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.4;
}

body.page-order-success .item p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

body.page-order-success .item-total {
    color: #d81b60;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

body.page-order-success .row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 9px 0;
    color: #6b7280;
    font-size: 14px;
}

body.page-order-success .total {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #cbd5e1;
    color: #1f2937;
    font-size: 17px;
    font-weight: 700;
}

body.page-order-success .status {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 13px;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 14px;
    line-height: 1.5;
}

body.page-order-success .status i {
    font-size: 20px;
}

body.page-order-success .home {
    display: block;
    text-align: center;
    margin-top: 22px;
    padding: 13px;
    border-radius: 10px;
    background: #d81b60;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

body.page-order-success .error-icon {
    color: #d81b60;
    font-size: 60px;
    margin: 50px 0 10px;
}

body.page-order-success .error-text {
    color: #6b7280;
}

body.page-order-success .muted {
    color: #6b7280;
}

/* Homepage collection layout */
body.page-home {
    --home-accent: #b82f62;
    --home-ink: #302630;
    --home-muted: #8c7b85;
}

body.page-home .mobile-container {
    overflow: clip;
}

body.page-home .header {
    height: 50px;
    min-height: 50px;
    padding: 3px 16px;
    align-items: center;
    border-bottom: 0;
    background: rgba(255,255,255,.96);
}

body.page-home .logo { height: 32px; align-items: flex-start; gap: 0; }
body.page-home .logo img {
    display: block;
    width: 56px;
    height: 28px;
    border-radius: 0;
    object-fit: contain;
}
body.page-home .brand-copy { display: flex; height: 100%; align-items: flex-start; }
body.page-home .logo h1 {
    display: flex;
    height: 100%;
    align-items: flex-start;
    margin: 0;
    color: var(--home-accent);
    font-size: 25px;
    line-height: 1;
}
body.page-home .brand-copy > span {
    color: var(--home-muted);
    font-size: 10.5px;
    line-height: 1.5;
}
body.page-home .cart-wrapper {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #000;
}
body.page-home .professional-bag-icon { width: 27px; height: 27px; color: #000; }
body.page-home .professional-bag-icon svg { width: 25px; height: 25px; transform: translateY(1px); }
body.page-home .cart-badge {
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border: 2px solid #fff;
    background: var(--home-accent);
}
body.page-home .cart-badge[hidden] { display: none; }

body.page-home .banner-section { padding: 0 16px; }
body.page-home .banner-slider {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: transparent;
    overscroll-behavior-x: contain;
}
body.page-home .banner-slide {
    display: block;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    color: #fff;
    text-decoration: none;
}
body.page-home .banner-slide img { border-radius: 0; filter: none; opacity: 1; mix-blend-mode: normal; }
body.page-home .banner-dots { position: absolute; bottom: 4px; left: 50%; display: flex; gap: 0; transform: translateX(-50%); }
body.page-home .dot,
body.page-home .dot.active { display: grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
body.page-home .dot::after { width: 6px; height: 6px; border-radius: 9px; background: rgba(255,255,255,.8); content: ''; transition: width .2s ease, background .2s ease; }
body.page-home .dot.active::after { width: 18px; background: var(--home-accent); }

body.page-home .shopping-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 16px 0; padding: 10px 12px; border: 1px solid #f3e7ed; border-radius: 11px; background: #fff7fa; color: #8b3553; font-size: 12px; line-height: 1.6; }
body.page-home .shopping-note svg { flex: 0 0 18px; width: 18px; height: 18px; }
body.page-home .products-container { padding: 24px 16px 30px; scroll-margin-top: 88px; }
body.page-home .collection-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
body.page-home .section-title { display: block; width: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--home-ink); font-size: 21px; font-weight: 700; line-height: 1.45; letter-spacing: 0; white-space: normal; }
body.page-home .section-title::before,
body.page-home .section-title::after { content: none; }
body.page-home .collection-heading p { margin: 5px 0 0; color: var(--home-muted); font-size: 11px; line-height: 1.6; }
body.page-home .collection-count { flex-shrink: 0; padding: 7px 10px; border: 1px solid #f1e4eb; border-radius: 30px; background: #fff7fa; color: #9d486b; font-size: 11px; line-height: 1.4; white-space: nowrap; }
body.page-home .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 12px; }
body.page-home .product-card { display: flex; min-width: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; }
body.page-home .product-link { display: flex; flex: 1; min-width: 0; flex-direction: column; border-radius: 14px; }
body.page-home .product-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 14px; background: #f7f3f5; }
body.page-home .product-image { width: 100%; height: 100%; border-radius: 0; background: #f7f3f5; transition: transform .25s ease; }
body.page-home .product-label { position: absolute; bottom: 10px; left: 10px; padding: 5px 8px; border-radius: 6px; background: rgba(255,255,255,.95); color: #734253; font-size: 10px; line-height: 1.4; }
body.page-home .product-details { display: flex; flex: 1; flex-direction: column; padding: 11px 1px 0; }
body.page-home .product-name { display: -webkit-box; margin: 0 0 8px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--home-ink); font-size: 14px; font-weight: 500; line-height: 1.45; text-align: left; white-space: normal; }
body.page-home .product-price-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
body.page-home .product-prices { display: flex; min-width: 0; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; }
body.page-home .product-price { margin: 0; color: var(--home-accent); font-size: 17px; font-weight: 700; line-height: 1.4; text-align: left; }
body.page-home .product-old-price { color: #a18f98; font-size: 11px; }
body.page-home .product-view-icon { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #faf3f6; color: var(--home-accent); }
body.page-home .product-view-icon svg { width: 14px; height: 14px; }
body.page-home .home-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 21px 16px 25px; border-top: 1px solid #f3eaf0; }
body.page-home .home-footer > div { display: grid; gap: 2px; }
body.page-home .home-footer strong { color: var(--home-accent); font-size: 19px; line-height: 1.4; }
body.page-home .home-footer span { color: #9c8d94; font-size: 10px; }
body.page-home .home-footer a { display: inline-flex; align-items: center; gap: 6px; color: #8e7883; font-size: 11px; text-decoration: none; }
body.page-home .home-footer svg { width: 14px; height: 14px; }

body.page-home .cart-overlay { visibility: hidden; pointer-events: none; transition: transform .3s ease, visibility .3s; }
body.page-home .cart-overlay.active { visibility: visible; pointer-events: auto; }
body.page-home .cart-header { min-height: 73px; padding: 16px; border-bottom: 1px solid #f2e9ee; background: #fff; }
body.page-home .cart-header h2 { color: var(--home-ink); font-size: 19px; }
body.page-home .close-cart { display: grid; width: 36px; height: 36px; padding: 8px; place-items: center; border: 0; border-radius: 50%; background: #faf4f7; color: var(--home-accent); cursor: pointer; }
body.page-home .close-cart svg { width: 20px; height: 20px; }
body.page-home .cart-footer { padding: 18px 16px; border-color: #f0e4e9; background: #fff; }
body.page-home .order-now-btn { background: var(--home-accent); }
body.page-home .cart-item { margin: 0 16px; padding: 16px 0; border: 0; border-bottom: 1px solid #f3edf0; border-radius: 0; }
body.page-home .delete-btn { display: grid; flex: 0 0 34px; width: 34px; height: 34px; padding: 7px; place-items: center; border: 0; border-radius: 9px; background: #fff7fa; color: #a56b83; cursor: pointer; }
body.page-home .delete-btn svg { width: 18px; height: 18px; }
body.page-home .qty-btn { border: 1px solid #f0e5eb; border-radius: 7px; background: #faf5f7; color: var(--home-accent); }
body.page-home .empty-cart-msg { padding: 80px 24px; color: #9b8690; line-height: 1.8; }
body.page-home .toast-notification { width: max-content; max-width: min(calc(var(--site-max-width) - 32px),calc(100% - 32px)); padding: 12px 18px; border-radius: 12px; background: #382a34; line-height: 1.5; text-align: center; white-space: normal; }
body.page-home button:focus-visible,
body.page-home a:focus-visible { outline: 2px solid var(--home-accent); outline-offset: 3px; }
body.page-home .banner-slide:focus-visible { outline-offset: -3px; }

@media (hover: hover) and (pointer: fine) {
    body.page-home .product-link:hover .product-image { transform: scale(1.025); }
    body.page-home .product-link:hover .product-view-icon { background: #f3e1e9; }
}
@media (max-width: 360px) {
    body.page-home .collection-heading { gap: 8px; }
    body.page-home .section-title { font-size: 19px; }
    body.page-home .collection-heading p { font-size: 10px; }
    body.page-home .collection-count { padding: 6px 8px; font-size: 10px; }
    body.page-home .product-price { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    body.page-home .product-image,
    body.page-home .cart-overlay,
    body.page-home .cart-backdrop,
    body.page-home .dot::after { transition: none; }
    body.page-home .banner-slider { scroll-behavior: auto; }
}

/* Suppress the browser's blue tap flash across all controls and labels. */
html, body, *, *::before, *::after { -webkit-tap-highlight-color: transparent; }
:root { accent-color: #923a59; }
:focus-visible { outline-color: #923a59; }
