:root {
    --accent: #d4af37;
    --accent-hover: #c9a227;
    --accent-dark: #b8942f;
    --accent-light: #f5e6b8;
    --accent-text: #5c4006;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-900: #1c1917;
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --shadow-premium: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-premium-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

body.shop-body {
    font-family: var(--font-sans);
    background: #fff;
    color: var(--stone-900);
}

@media (min-width: 1200px) {
    .container {
        max-width: 1232px;
    }
}

.section-title,
.hero-title,
.shop-brand,
.footer-brand {
    font-family: var(--font-heading);
}

/* Navbar */
.shop-navbar {
    min-height: 74px;
    padding: 0;
    background: #fff;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shop-navbar > .container {
    min-height: 74px;
}

.shop-brand {
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--stone-900) !important;
    letter-spacing: -0.04em;
    padding: 0;
}

.shop-brand-logo {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 42px;
    object-fit: contain;
}

.shop-nav-links .nav-link {
    font-size: 0.77rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--stone-600);
    line-height: 1;
    padding: 0.75rem 0.72rem;
    position: relative;
}

.shop-nav-links .nav-item {
    position: relative;
}

.shop-nav-links .nav-item:not(:last-child)::after {
    content: none;
}

.nav-separator-item {
    display: flex;
    align-items: center;
    align-self: center;
    color: #d8d4ce;
    font-size: 0.76rem;
    font-weight: 400;
    line-height: 1;
    padding: 0 0.24rem;
    transform: translateY(-1px);
    user-select: none;
}

.shop-nav-links .nav-link:hover,
.shop-nav-links .nav-link:focus {
    color: var(--accent-dark);
}

.btn-shop-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    font-size: 0.98rem;
    padding: 0;
}

.btn-shop-icon:hover {
    background: transparent;
    color: var(--accent-dark);
}

.cart-badge,
.cart-badge-desktop,
.wishlist-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--accent-dark);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shop-dropdown {
    border: 1px solid var(--stone-200);
    box-shadow: var(--shadow-premium);
    border-radius: 0.75rem;
}

.shop-category-dropdown {
    min-width: 260px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 0.65rem;
}

.shop-category-dropdown .dropdown-item {
    border-radius: 0.45rem;
    color: var(--stone-700);
}

.shop-category-main {
    font-weight: 600;
}

.shop-category-child {
    margin-left: 0.65rem;
    width: calc(100% - 0.65rem);
    font-size: 0.86rem;
    color: var(--stone-600) !important;
}

.shop-category-child::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    margin-right: 0.55rem;
    transform: translateY(-1px);
}

.shop-category-dropdown .dropdown-item:hover,
.shop-category-dropdown .dropdown-item:focus {
    background: var(--stone-100);
    color: var(--accent-dark) !important;
}

.shop-nav-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
}

.shop-nav-toggler:focus {
    box-shadow: none;
}

.shop-hero-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.shop-products-section {
    padding-top: 0.35rem;
}

.product-section {
    margin-bottom: 3rem !important;
}

.product-section .section-title {
    font-size: 1.45rem;
    letter-spacing: -0.02em;
}

.product-section .section-link {
    color: var(--stone-700);
    font-weight: 500;
}

/* Buttons */
.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a1510;
    font-weight: 500;
}

.btn-accent:hover,
.btn-accent:focus {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #1a1510;
}

.btn-accent-dark {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.btn-accent-dark:hover {
    background: #a68328;
    border-color: #a68328;
    color: #fff;
}

.btn-accent-light {
    background: var(--accent-light);
    border: none;
    color: var(--accent-text);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.btn-accent-light:hover {
    opacity: 0.9;
    color: var(--accent-text);
}

.accent-text {
    color: var(--accent-dark);
}

/* Hero */
.hero-slider {
    aspect-ratio: 4 / 3;
    background: var(--stone-100);
    box-shadow: 0 12px 30px rgba(28, 25, 23, 0.08);
}

@media (min-width: 576px) {
    .hero-slider {
        aspect-ratio: 16 / 9;
    }
}

@media (min-width: 992px) {
    .hero-slider {
        aspect-ratio: 2 / 1;
        min-height: 100%;
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 25, 23, 0.5), rgba(28, 25, 23, 0.14) 58%, rgba(28, 25, 23, 0.05));
}

.hero-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
}

.hero-subtitle {
    max-width: 28rem;
    font-size: 1.05rem;
    opacity: 0.92;
}

.hero-content {
    z-index: 2;
    pointer-events: none;
}

.hero-content a {
    pointer-events: auto;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }

.hero-slider:hover .hero-arrow {
    opacity: 0;
}

.hero-cta-btn {
    border-radius: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.9rem 2.45rem;
    box-shadow: 0 10px 20px rgba(184, 134, 11, 0.22);
}

.hero-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    padding: 0;
    transition: all 0.2s;
}

.hero-dot.active {
    background: var(--accent);
    width: 12px;
}

.hero-dots {
    z-index: 3;
}

/* Category cards */
.category-card {
    aspect-ratio: 1;
    min-height: 120px;
    box-shadow: 0 12px 24px rgba(28, 25, 23, 0.14);
}

.category-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-card-img {
    transform: scale(1.05);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 25, 23, 0.02), rgba(28, 25, 23, 0.6));
    transition: background 0.3s;
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(180deg, rgba(28, 25, 23, 0.05), rgba(28, 25, 23, 0.66));
}

.category-card-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    color: #fff;
    font-weight: 500;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* Product cards */
.product-card {
    border-radius: 0.5rem !important;
    overflow: hidden;
    border: 0 !important;
    box-shadow: 0 8px 22px rgba(28, 25, 23, 0.08);
    transition: box-shadow 0.3s, transform 0.3s;
}

.product-card:hover {
    box-shadow: 0 16px 34px rgba(28, 25, 23, 0.14) !important;
    transform: translateY(-2px);
}

.product-card-gallery {
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
}

.product-card-gallery .ratio .product-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-img-main,
.product-img-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s, transform 0.5s;
}

.product-img-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.product-card-gallery:hover .product-img-hover {
    opacity: 1;
}

.product-card-gallery:not(:has(.product-img-hover)):hover .product-img-main {
    transform: scale(1.03);
}

.badge-discount,
.badge-sale {
    z-index: 4;
    width: auto;
    height: auto;
}

.product-card-actions {
    z-index: 5;
}

.product-card-actions {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 5;
}

@media (min-width: 576px) {
    .product-card-actions {
        opacity: 0;
        transform: translateY(8px);
    }
    .product-card-gallery:hover .product-card-actions {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card-actions .btn {
    width: 40px;
    height: 40px;
    padding: 0;
}

.badge-discount {
    background: var(--accent-dark);
    color: #fff;
    font-weight: 600;
    z-index: 4;
}

.badge-sale {
    background: var(--accent);
    color: #1a1510;
    font-weight: 600;
    z-index: 4;
}

.product-card-title {
    min-height: 2.5rem;
    line-height: 1.35;
}

.product-stars-placeholder {
    min-height: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-stars-empty {
    min-height: 1.25rem;
    opacity: 0.72;
}

.section-link {
    color: var(--stone-600);
}

.section-link:hover {
    color: var(--accent-dark);
}

/* Footer */
.shop-footer {
    background: var(--stone-900);
    color: #d6d3d1;
}

.footer-showcase {
    position: relative;
}

.footer-main-container {
    padding-bottom: 4rem;
    padding-top: 4.1rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.12fr 0.9fr 0.9fr 1.18fr;
    gap: 4rem;
    align-items: stretch;
}

.footer-col {
    display: flex;
    flex-direction: column;
    min-height: 285px;
}

.footer-col-links,
.footer-col-pages {
    padding-top: 0.1rem;
}

.footer-col-newsletter {
    justify-content: flex-start;
}

.footer-brand {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
}

.footer-heading {
    color: #fff;
    letter-spacing: 0.08em;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.footer-text,
.footer-contact-block {
    color: #f5f5f4;
    font-size: 0.93rem;
    line-height: 1.55;
}

.footer-contact-block strong {
    color: #fff;
    display: inline-block;
    font-weight: 700;
}

.footer-links a {
    color: #d6d3d1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.36rem 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-links a:hover {
    color: #fff;
}

.footer-arrow-links a::before {
    content: "›";
    color: #78716c;
    font-size: 1.1rem;
    line-height: 1;
}

.footer-newsletter-title {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    max-width: 330px;
}

.footer-arrow-links a::before {
    content: ">";
    font-size: 0.82rem;
}

.footer-arrow-links {
    margin-bottom: 0;
}

.footer-arrow-links li + li {
    margin-top: 0.12rem;
}

.footer-newsletter-form {
    display: flex;
    align-items: center;
    border: 1px solid #44403c;
    border-radius: 0.45rem;
    overflow: hidden;
    background: #292524;
    max-width: 380px;
    width: 100%;
}

.footer-newsletter-form label {
    display: none;
}

.footer-newsletter-form > i {
    color: #a8a29e;
    flex: 0 0 auto;
    padding-left: 0.85rem;
}

.footer-newsletter-form .btn {
    border-radius: 0;
    flex: 0 0 auto;
    height: 100%;
    min-height: 42px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    white-space: nowrap;
}

.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #292524;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.social-btn:hover {
    background: var(--accent);
    color: #1a1510;
}

.footer-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
    margin: auto 0 1.9rem;
    padding-top: 2rem;
}

.shop-footer-input {
    background: #292524;
    border: 0;
    color: #fff;
    flex: 1 1 auto;
    min-height: 42px;
    min-width: 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.shop-footer-input::placeholder {
    color: #78716c;
}

.shop-footer-input:focus {
    background: #292524;
    border-color: transparent;
    color: #fff;
    box-shadow: none;
}

.footer-payment-title {
    color: #8b8580;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.footer-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
}

.payment-badge {
    align-items: center;
    background: #292524;
    border: 1px solid #44403c;
    border-radius: 0.45rem;
    color: #fff;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 700;
    justify-content: center;
    min-height: 38px;
    min-width: 64px;
    padding: 0.35rem 0.75rem;
}

.payment-badge img {
    display: block;
    max-width: 58px;
    max-height: 22px;
    object-fit: contain;
}

.footer-bottom {
    background: #0f0d0b;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 1.65rem 0;
}

.footer-bottom-inner {
    align-items: center;
    color: #f5f5f4;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.footer-bottom-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: flex-end;
}

.footer-bottom-payments {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.footer-bottom-payments .footer-payment-title {
    margin-bottom: 0;
    white-space: nowrap;
}

.footer-bottom-payments .payment-badge {
    min-height: 34px;
}

.footer-bottom-links a,
.footer-bottom-links span {
    color: #f5f5f4;
    text-decoration: none;
    white-space: nowrap;
}

/* Cart offcanvas */
.shop-offcanvas {
    max-width: 420px;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--stone-200);
    min-width: 0;
}

.cart-item:last-child {
    border-bottom: 0;
}

.cart-item-image {
    width: 64px;
    height: 64px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--stone-100);
}

.cart-item-content {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cart-item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.cart-item .d-flex.align-items-center.gap-2.mt-2 {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cart-item .btn-group {
    min-width: 0;
}

.cart-item-price {
    margin-left: 1rem;
    flex: 0 0 auto;
    white-space: nowrap;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-qty-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Search */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: var(--stone-100);
}

.search-result-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 0.35rem;
}

.shop-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
}

/* Product detail */
.product-detail-page {
    padding-top: 2.5rem;
}

.product-detail-page > .container {
    max-width: 1232px;
}

.product-detail-grid,
.product-detail-lower-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.product-detail-lower-grid {
    align-items: start;
}

.product-panel {
    background: #fff;
    border: 1px solid var(--stone-200);
    padding: 1.5rem;
}

.product-detail-gallery {
    padding: 1rem;
}

.product-detail-grid .product-panel + .product-panel,
.product-detail-grid .product-panel + .product-detail-delivery {
    border-top: 0;
}

.product-main-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--stone-100);
}

.product-main-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-sale-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: 0.45rem 0.8rem;
    border-radius: 0.45rem;
    background: rgba(245, 245, 244, 0.94);
    color: var(--stone-800);
    font-size: 0.78rem;
    font-weight: 700;
}

.product-zoom-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 2.65rem;
    height: 2.65rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--stone-600);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.product-gallery-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.35rem;
}

.product-gallery-dots span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(214, 211, 209, 0.95);
}

.product-gallery-dots span.active {
    background: var(--stone-500);
}

.product-thumb-row {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}

.product-thumb-row::-webkit-scrollbar {
    display: none;
}

.product-thumb {
    width: 3.8rem;
    height: 3.8rem;
    flex: 0 0 3.8rem;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.82;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: var(--stone-400);
    opacity: 1;
}

.product-detail-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 0.85rem;
    color: var(--stone-900);
}

.product-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.product-rating-row .rating-stars {
    margin-bottom: 0 !important;
}

.product-icon-btn {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.35rem;
    background: transparent;
    color: var(--stone-500);
}

.product-icon-btn:hover {
    background: var(--stone-100);
    color: var(--stone-700);
}

.product-detail-price {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--stone-900);
}

.product-discount-text {
    color: #0ea5e9;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-color-choice {
    min-width: 5.9rem;
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 2px solid var(--accent);
    border-radius: 0.5rem;
    background: #fff;
    color: var(--stone-800);
    font-weight: 600;
}

.product-color-choice i {
    color: var(--accent);
    font-size: 0.8rem;
}

.product-variant-choice {
    min-width: 7.8rem;
    min-height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid var(--stone-200);
    border-radius: 0.25rem;
    background: #fff;
    color: var(--stone-800);
    padding: 0.45rem 1rem;
    font-weight: 500;
    line-height: 1.2;
}

.product-variant-selector {
    border: 1px solid var(--stone-200);
    border-radius: 0.5rem;
    padding: 1rem;
}

.component-selector {
    overflow: hidden;
    border: 1px solid #e8ded2;
    border-radius: 1rem;
    background: linear-gradient(145deg, #fff 0%, #fffaf5 100%);
    box-shadow: 0 14px 36px rgba(54, 38, 24, 0.08);
}

.component-selector-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    border-bottom: 1px solid #eee3d8;
}

.component-selector-kicker {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.component-selector-badge {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #2e231b;
    color: #fff;
    padding: 0.38rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.component-piece-list {
    display: grid;
    gap: 0.65rem;
    padding: 1rem 1.2rem;
}

.component-piece {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid var(--stone-200);
    border-radius: 0.8rem;
    background: #fff;
    padding: 0.85rem;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.component-piece:hover {
    border-color: #c7a783;
    transform: translateY(-1px);
}

.component-piece.is-selected {
    border-color: var(--accent);
    box-shadow: inset 0 0 0 1px var(--accent), 0 8px 18px rgba(173, 118, 55, 0.1);
}

.component-piece.is-disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.component-piece-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.component-piece-check {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cabfb4;
    border-radius: 0.38rem;
    color: transparent;
    font-size: 0.68rem;
}

.component-piece.is-selected .component-piece-check {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.component-piece-image {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    border-radius: 0.65rem;
    object-fit: cover;
}

.component-piece-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.component-piece-copy small {
    margin-top: 0.12rem;
    color: var(--stone-500);
}

.component-piece-price {
    flex: 0 0 auto;
    color: var(--stone-900);
}

.component-selector-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid #eee3d8;
    background: rgba(249, 241, 232, 0.58);
    padding: 1rem 1.2rem;
}

.component-selector-summary > div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.component-selector-summary span {
    color: var(--stone-500);
    font-size: 0.78rem;
}

.component-total {
    text-align: right;
}

.component-total strong {
    color: var(--accent);
    font-size: 1.3rem;
}

.component-selection-error {
    padding: 0 1.2rem 1rem;
    color: #c62828;
    font-size: 0.82rem;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .component-selector-heading { flex-direction: column; }
    .component-piece { align-items: flex-start; }
    .component-piece-price { margin-left: auto; }
}

.product-variant-group + .product-variant-group {
    border-top: 1px dashed var(--stone-200);
    padding-top: 0.8rem;
}

.product-variant-choice.active {
    border-color: #ff3b30;
    box-shadow: inset 0 0 0 1px #0d6efd;
}

.product-variant-choice:hover {
    border-color: #ff3b30;
}

.product-variant-color-dot {
    width: 0.92rem;
    height: 0.92rem;
    border-radius: 50%;
    display: inline-block;
    background: var(--variant-color, #ddd);
    border: 1px solid rgba(0, 0, 0, .14);
}

.product-qty-btn {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
}

.product-qty-input {
    width: 4rem;
    height: 2.5rem;
}

.product-detail-actions .btn {
    min-width: 7.2rem;
    border-radius: 0.75rem;
    font-weight: 700;
}

.product-detail-actions .add-to-cart {
    min-width: 9rem;
}

.product-detail-delivery {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.delivery-block + .delivery-block {
    padding-top: 0.5rem;
}

.delivery-card {
    max-width: 19rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: #fafafa;
}

.product-tabs {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    border-bottom: 1px solid var(--stone-200);
    margin-bottom: 1rem;
}

.product-tab {
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    padding: 0.6rem 1rem;
    margin-bottom: -1px;
    font-size: 0.9rem;
    font-weight: 700;
}

.product-tab.active {
    border-bottom-color: var(--stone-900);
    color: var(--stone-900);
}

.product-description-text {
    line-height: 1.85;
    font-size: 0.95rem;
    word-break: break-word;
}

.product-description-text p {
    margin-bottom: 0.85rem;
}

.product-description-text ul,
.product-description-text ol {
    margin: 0 0 1rem 1.25rem;
    padding-left: 1rem;
}

.product-description-text li {
    margin-bottom: 0.35rem;
}

.product-description-text h1,
.product-description-text h2,
.product-description-text h3,
.product-description-text h4,
.product-description-text h5,
.product-description-text h6 {
    color: var(--stone-900);
    margin: 1.1rem 0 0.6rem;
    font-family: var(--font-heading);
    line-height: 1.35;
}

.related-mini-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}

.related-mini-product img {
    width: 4rem;
    height: 4rem;
    flex: 0 0 4rem;
    object-fit: cover;
    border-radius: 0.5rem;
    background: var(--stone-100);
}

.related-mini-product strong,
.related-mini-product small {
    display: block;
}

.related-mini-product strong {
    max-width: 12rem;
    overflow: hidden;
    color: var(--stone-800);
    font-size: 0.9rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-mini-product small {
    color: var(--stone-700);
    font-weight: 700;
}

@media (min-width: 992px) {
    .product-detail-grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr);
    }

    .product-detail-lower-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 2fr);
    }

    .product-detail-grid .product-panel + .product-panel,
    .product-detail-grid .product-panel + .product-detail-delivery,
    .product-detail-lower-grid .product-panel + .product-panel {
        border-top: 1px solid var(--stone-200);
        border-left: 0;
    }
}

/* Checkout / account */
.shop-page-header {
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #a8a29e;
}

.shop-card {
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1rem;
    box-shadow: 0 18px 80px rgba(15, 23, 42, 0.06);
}

.account-panel {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    align-items: start;
}

.account-sidebar {
    padding: 1.5rem;
    position: sticky;
    top: 1.25rem;
}

.account-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fcf6e8;
    border: 1px solid #f5e0b8;
    color: var(--accent-text);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.account-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.account-status-pill {
    border-radius: 999px;
    background: #fef3c7;
    color: var(--accent-text);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
}

.account-status-pill.muted {
    background: #f5f5f4;
    color: #57534e;
}

.account-nav {
    display: grid;
    gap: 0.35rem;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border-radius: 0.8rem;
    color: #57534e;
    font-weight: 600;
    padding: 0.75rem 0.85rem;
    text-decoration: none;
}

.account-nav a.active,
.account-nav a:hover {
    background: #fcf6e8;
    color: var(--accent-text);
}

.account-main {
    min-width: 0;
}

.account-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.account-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.account-stat {
    padding: 1.1rem;
}

.account-stat span {
    display: block;
    color: #78716c;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}

.account-stat strong {
    color: #1c1917;
    display: block;
    font-size: 1.2rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.account-empty-mini {
    border: 1px dashed #e7e5e4;
    border-radius: 0.9rem;
    padding: 1.4rem;
    text-align: center;
}

.account-empty-mini i {
    color: #d6a72c;
    display: block;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.account-order-list {
    display: grid;
    gap: 0.85rem;
}

.account-order-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #e7e5e4;
    border-radius: 0.9rem;
    padding: 0.9rem;
}

.account-order-row span,
.account-order-row em {
    color: #78716c;
    display: block;
    font-size: 0.78rem;
    font-style: normal;
    margin-top: 0.15rem;
}

.account-order-row strong {
    display: block;
}

.order-tracking-box { background: #fafaf9; border: 1px solid #e7e5e4; border-radius: .75rem; padding: .85rem; }
.order-tracking-steps { display: grid; gap: .4rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.order-tracking-steps span { color: #a8a29e; font-size: .7rem; padding-top: .55rem; position: relative; text-align: center; }
.order-tracking-steps span::before { background: #e7e5e4; border-radius: 999px; content: ''; height: 4px; left: 0; position: absolute; right: 0; top: 0; }
.order-tracking-steps span.is-complete { color: #57534e; font-weight: 600; }
.order-tracking-steps span.is-complete::before { background: var(--accent); }

.checkout-summary {
    position: sticky;
    top: 1.5rem;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 1rem;
    padding: 1.75rem;
}

.checkout-page-shell {
    background: #fafaf9;
    padding-bottom: 3.5rem;
    padding-top: 2rem;
}

.checkout-page-shell .checkout-panel,
.checkout-page-shell .checkout-summary {
    box-shadow: 0 8px 28px rgba(28, 25, 23, 0.06);
}

.checkout-summary .shop-page-header {
    color: #71717a;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.checkout-summary h2 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 0;
}

.checkout-summary-count {
    color: #52525b;
    font-size: 0.95rem;
    font-weight: 600;
}

.checkout-panel {
    background: #fff;
}

.checkout-section {
    padding: 1.15rem 0 0;
    border: 0;
    border-top: 1px solid #eeeae7;
    border-radius: 0;
    background: transparent;
}

.checkout-section-first {
    padding-top: 0;
    border-top: 0;
}

.checkout-section-title {
    color: #292524;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.checkout-heading-note {
    color: #78716c;
    font-size: 0.82rem;
}

.checkout-payment-box {
    background: #fcf6e8;
    border: 1px solid #f5e0b8;
    border-radius: 0.9rem;
    padding: 1rem;
}

.checkout-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #fef3c7;
    color: var(--accent-text);
    font-size: 0.78rem;
    font-weight: 700;
}

.checkout-inline-note {
    padding: 0.6rem 0.75rem;
    border: 0;
    border-radius: 0.65rem;
    background: #fafaf9;
    font-size: 0.82rem;
}

.checkout-notes-details {
    padding-top: 0.85rem;
    border-top: 1px solid #eeeae7;
}

.checkout-notes-details summary {
    color: #57534e;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    list-style: none;
}

.checkout-notes-details summary::-webkit-details-marker {
    display: none;
}

.checkout-notes-details summary span {
    color: #a8a29e;
    font-weight: 400;
}

.manual-payment-box {
    padding: 1rem;
    border: 1px solid #f0dca8;
    border-radius: 0.8rem;
    background: #fffbeb;
}

.manual-payment-label {
    color: #292524;
    font-size: 0.9rem;
    font-weight: 700;
}

.manual-payment-amount {
    flex: 0 0 auto;
    color: #92400e;
    font-size: 1rem;
    font-weight: 800;
}

.manual-payment-number-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.75rem;
    border: 1px dashed #d6b76e;
    border-radius: 0.65rem;
    background: #fff;
}

.checkout-login-prompt {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #e7e5e4;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #fafaf9 0%, #fff 100%);
}

.checkout-login-prompt-icon {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fef3c7;
    color: var(--accent-text);
    font-size: 0.82rem;
}

.checkout-login-prompt .fw-semibold {
    font-size: 0.88rem;
    line-height: 1.2;
}

.checkout-login-prompt-text {
    margin-top: 0.1rem;
    font-size: 0.75rem;
    line-height: 1.25;
}

.checkout-login-prompt .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.3rem 0.7rem !important;
    font-size: 0.76rem;
}

.checkout-saved-details {
    overflow: hidden;
    border: 1px solid #e7e5e4;
    border-radius: 1rem;
    background: #fff;
}

.checkout-saved-details-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0eeec;
    background: #fafaf9;
    font-size: 0.86rem;
}

.checkout-saved-details-icon {
    width: 1.8rem;
    height: 1.8rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fef3c7;
    color: var(--accent-text);
    font-size: 0.72rem;
}

.checkout-details-edit,
.checkout-use-saved {
    color: var(--accent-text);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
}

.checkout-saved-details-body {
    padding: 0.9rem 1rem 1rem;
    font-size: 0.86rem;
}

.checkout-saved-meta {
    margin-top: 0.15rem;
    color: #78716c;
    font-size: 0.76rem;
}

.checkout-saved-divider {
    height: 1px;
    margin: 0.75rem 0;
    background: #f0eeec;
}

.checkout-saved-address {
    color: #44403c;
    line-height: 1.45;
}

.checkout-saved-location {
    display: inline-flex;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #f5f3ff;
    color: #6d5dfc;
    font-size: 0.7rem;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .checkout-login-prompt {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .checkout-login-prompt .btn {
        margin-left: 2.65rem;
    }
}

.checkout-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.checkout-item-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #e7e5e4;
}

.checkout-item-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.checkout-item-thumb {
    width: 44px;
    height: 44px;
    border-radius: 0.85rem;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fafc;
    display: grid;
    place-items: center;
}

.checkout-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-details {
    min-width: 0;
}

.checkout-item-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
    font-size: 0.96rem;
}

.checkout-item-meta {
    color: #6b7280;
    font-size: 0.85rem;
}

.checkout-item-price {
    margin-left: auto;
    font-weight: 700;
    color: #111827;
    font-size: 0.95rem;
    white-space: nowrap;
}

.checkout-summary-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.95rem;
    color: #52525b;
}

.checkout-summary-meta.total-row {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #e7e5e4;
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
}

.checkout-empty-state,
.checkout-success-card {
    text-align: center;
}

.checkout-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fef3c7;
    color: var(--accent-text);
    font-size: 2rem;
}

@media (max-width: 991.98px) {
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .footer-col {
        min-height: 240px;
    }

    .account-panel {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .account-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-stats-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
        top: auto;
        margin-top: 0;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .footer-bottom-links {
        justify-content: flex-start;
    }

    .footer-bottom-payments {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-newsletter-form {
        max-width: 100%;
    }
}

/* Toast & back to top */
    background: #fafaf9;
    border: 1px solid var(--stone-200);
    border-radius: 0.9rem;
    padding: 0.9rem 1rem;
}

.checkout-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #fef3c7;
    color: var(--accent-text);
    font-size: 0.78rem;
    font-weight: 700;
}

.checkout-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkout-item-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--stone-200);
}

.checkout-item-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.checkout-item-thumb {
    width: 46px;
    height: 46px;
    border-radius: 0.7rem;
    display: grid;
    place-items: center;
    background: var(--stone-100);
    color: var(--accent-text);
}

.checkout-summary-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.8rem;
    color: #57534e;
}

.checkout-summary-meta.total-row {
    padding-top: 0.85rem;
    margin-top: 0.95rem;
    border-top: 1px solid var(--stone-200);
    color: #1c1917;
    font-size: 1rem;
}

.checkout-empty-state,
.checkout-success-card {
    text-align: center;
}

.checkout-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fef3c7;
    color: var(--accent-text);
    font-size: 2rem;
}

@media (max-width: 991.98px) {
    .checkout-summary {
        position: static;
    }
}

/* Toast & back to top */
.shop-toast {
    background: var(--stone-900);
    color: #fff;
}

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s;
    z-index: 1030;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Page hero banner */
.page-banner {
    background: #fff;
    border-bottom: 1px solid var(--stone-200);
    padding: 2.5rem 0;
}

/* Auth forms */
.auth-card {
    max-width: 440px;
    margin: 0 auto;
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--stone-600);
}

.empty-state i {
    font-size: 3rem;
    opacity: 0.25;
    margin-bottom: 1rem;
}

/* ===== Utilities ===== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Mobile-first responsive ===== */
html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 72px;
}

.shop-body {
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* Navbar mobile overrides */
@media (max-width: 991.98px) {
    .shop-navbar {
        min-height: 64px;
    }

    .shop-nav-collapse {
        border-top: 1px solid var(--stone-200);
        margin-top: 0.5rem;
        padding-top: 0.25rem;
    }

    .shop-nav-links .nav-item:not(:last-child)::after {
        display: none;
    }

    .nav-separator-item {
        display: none;
    }

    .shop-nav-links .nav-link {
        padding: 0.85rem 0.25rem;
        font-size: 0.95rem;
        letter-spacing: 0.06em;
    }

    .shop-category-dropdown {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        max-height: none;
        padding: 0 0 0.75rem;
        margin: 0;
    }

    .shop-category-dropdown .dropdown-divider {
        margin: 0.25rem 0;
    }

    .shop-category-dropdown .dropdown-item {
        min-height: 40px;
        padding-left: 0.75rem;
    }

    .shop-category-child {
        margin-left: 0.35rem;
        width: calc(100% - 0.35rem);
    }
}

@media (min-width: 992px) {
    .shop-navbar > .container {
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr) 220px;
        align-items: center;
    }

    .shop-navbar .shop-nav-collapse {
        display: contents !important;
    }

    .shop-navbar .shop-nav-links {
        grid-column: 2;
        justify-self: center;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .shop-navbar .shop-nav-actions {
        grid-column: 3;
        justify-self: end;
        gap: 6px !important;
    }

    .shop-nav-links .nav-link {
        padding: 0.75rem 0.72rem;
    }
}

/* Hero mobile */
.hero-content {
    padding-top: 1rem !important;
    padding-bottom: 2.5rem !important;
}

.hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem !important;
}

.hero-cta-btn {
    font-size: 0.85rem;
    padding: 0.65rem 1.25rem;
}

.hero-kicker {
    font-size: 0.6rem;
    margin-bottom: 0.5rem !important;
}

.hero-arrow {
    width: 38px;
    height: 38px;
    opacity: 1;
}

.hero-prev { left: 0.5rem; }
.hero-next { right: 0.5rem; }

@media (min-width: 576px) {
    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-cta-btn {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .hero-arrow {
        width: 44px;
        height: 44px;
        opacity: 0;
    }

    .hero-slider:hover .hero-arrow {
        opacity: 1;
    }
}

/* Category cards mobile */
.category-card-label {
    padding: 0.65rem;
    font-size: 0.8rem;
}

.category-pills-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
}

.category-pills-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--stone-200);
    background: #fff;
    color: var(--stone-700);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    min-height: 40px;
}

.category-pill.active,
.category-pill:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent-text);
}

/* Product cards mobile */
.product-card-body {
    padding: 0.75rem 0.85rem 0.85rem;
}

@media (min-width: 576px) {
    .product-card-body {
        padding: 1rem 1.25rem 1.25rem;
    }
}

.product-card-title {
    min-height: auto;
    font-size: 0.82rem;
}

@media (min-width: 576px) {
    .product-card-title {
        min-height: 2.5rem;
        font-size: 1rem;
    }
}

.product-card-cta {
    font-size: 0.7rem !important;
    padding: 0.45rem 0.5rem;
}

.badge-discount,
.badge-sale {
    font-size: 0.65rem;
    padding: 0.25rem 0.45rem;
}

@media (min-width: 576px) {
    .badge-discount,
    .badge-sale {
        font-size: 0.75rem;
        padding: 0.35rem 0.55rem;
    }
}

.product-card-actions .btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
}

@media (min-width: 576px) {
    .product-card-actions .btn {
        width: 40px;
        height: 40px;
    }
}

.product-section .section-title {
    font-size: 1.1rem;
}

.product-section .section-link {
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Product detail mobile */
.product-detail-page-body {
    padding-bottom: 80px;
}

.product-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1025;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--stone-200);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.product-mobile-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    max-width: 220px;
}

.product-mobile-bar-actions .btn {
    min-height: 44px;
}

.product-thumb-row .product-thumb {
    width: 3.8rem;
    height: 3.8rem;
}

/* Page banner */
.page-banner {
    padding: 1.5rem 0;
}

@media (min-width: 768px) {
    .page-banner {
        padding: 2.5rem 0;
    }
}

/* Offcanvas & modals mobile */
@media (max-width: 575.98px) {
    .footer-main-container {
        padding-bottom: 3rem;
        padding-top: 3rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-col {
        min-height: auto;
    }

    .shop-offcanvas {
        max-width: 100%;
    }

    .modal-dialog {
        margin: 0.5rem;
    }
}

/* Cart mobile */
.cart-item {
    gap: 0.75rem;
    padding: 0.85rem 0;
}

.cart-item > .flex-grow-1 {
    min-width: 0;
    flex: 1 1 auto;
}

.cart-item .text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item .fw-semibold.small {
    margin-left: auto;
    flex: 0 0 auto;
}

.cart-item-image {
    width: 56px;
    height: 56px;
}

/* Footer mobile */
.shop-footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Toast & back to top safe areas */
.toast-container {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
}

.back-to-top {
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

.product-detail-page-body .back-to-top {
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

/* Touch targets */
.btn,
.form-control,
.form-select,
.nav-link,
.dropdown-item,
.list-group-item-action {
    min-height: 44px;
}

.btn-sm {
    min-height: 38px;
}

.shop-input,
.form-control-lg {
    font-size: 16px; /* prevents iOS zoom on focus */
}

/* Container padding */
@media (max-width: 575.98px) {
    .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .shop-card {
        border-radius: 0.75rem;
    }

    .empty-state {
        padding: 2.5rem 1rem;
    }
}

/* Breadcrumb */
.product-breadcrumb {
    flex-wrap: nowrap;
    overflow: hidden;
}

@media (min-width: 992px) {
    .hero-arrow,
    .hero-slider:hover .hero-arrow {
        opacity: 0;
        pointer-events: none;
    }

    .product-section .section-title {
        font-size: 1.45rem;
    }

    .hero-cta-btn {
        font-size: 0.78rem;
        letter-spacing: 0.16em;
        padding: 0.9rem 2.45rem;
    }

    .shop-hero-section .row {
        --bs-gutter-x: 0.85rem;
    }
}

/* Auth / checkout */
.auth-card {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

@media (min-width: 576px) {
    .auth-card {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Storefront conversion upgrades */
.shop-value-props {
    background: #211d19;
    color: #fff;
    margin: 0 0 3rem;
}

.value-props-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 0.7rem 0;
}

.value-prop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 0;
}

.value-prop i {
    color: var(--accent);
    font-size: 1.05rem;
}

.value-prop span {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.value-prop strong {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.value-prop small {
    color: #c9c4be;
    font-size: 0.68rem;
}

.wishlist-btn.is-active {
    background: #7f1d1d;
    border-color: #7f1d1d;
    color: #fff;
}

.support-page-container {
    max-width: 860px;
}

.support-list {
    display: grid;
    gap: 1rem;
}

.newsletter-status {
    min-height: 1.25rem;
    color: #e7dfd5;
}

.cart-shipping-progress {
    padding: 0.9rem;
    border-radius: 0.75rem;
    background: var(--accent-light);
    color: var(--stone-800);
}

.cart-progress-track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(184, 134, 11, 0.18);
}

.cart-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--accent-dark);
    transition: width 0.3s ease;
}

.recently-viewed-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.recent-product-card a {
    display: grid;
    gap: 0.45rem;
    color: var(--stone-900);
    text-decoration: none;
}

.recent-product-card img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.75rem;
    object-fit: cover;
    box-shadow: 0 8px 22px rgba(28, 25, 23, 0.08);
}

.recent-product-card span {
    overflow: hidden;
    font-size: 0.86rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-product-card strong {
    color: var(--accent-dark);
    font-size: 0.86rem;
}

.review-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.review-average {
    font-family: var(--font-heading);
    font-size: 2rem;
}

.review-stars {
    color: var(--accent-dark);
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.review-list {
    display: grid;
    gap: 0.75rem;
}

.customer-review {
    padding: 1rem 0;
    border-bottom: 1px solid var(--stone-200);
}

.review-form {
    background: var(--stone-50);
}

.review-honeypot {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.review-form-status {
    color: var(--stone-600);
}

@media (max-width: 575.98px) {
    .shop-brand-logo {
        max-width: 140px;
        max-height: 36px;
    }

    .shop-nav-actions .btn-shop-icon,
    .shop-nav-toggler {
        width: 40px;
        min-width: 40px;
        height: 44px;
    }

    .value-props-grid {
        gap: 0.35rem;
        padding: 0.6rem 0;
    }

    .value-prop {
        gap: 0.35rem;
        text-align: center;
    }

    .value-prop i {
        display: none;
    }

    .value-prop strong {
        font-size: 0.65rem;
        line-height: 1.2;
    }

    .value-prop small {
        display: none;
    }

    .hero-slide-overlay {
        background: linear-gradient(90deg, rgba(28, 25, 23, 0.76), rgba(28, 25, 23, 0.38));
    }

    .hero-content {
        justify-content: flex-end !important;
        padding: 1rem 3.25rem 2.5rem !important;
    }

    .hero-title {
        color: #fff !important;
        font-size: clamp(1.55rem, 8vw, 2rem);
        line-height: 1.02;
        margin-bottom: 0.75rem !important;
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
    }

    .hero-kicker {
        color: #fff !important;
    }

    .hero-subtitle {
        display: none;
    }

    .hero-cta-btn {
        font-size: 0.7rem;
        padding: 0.65rem 1rem;
    }

    .hero-arrow {
        width: 38px;
        height: 38px;
    }

    .hero-dots {
        padding-bottom: 0.75rem !important;
    }

    .recently-viewed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
