/* Luxury Shop Catalog Stylesheet */
.luxury-catalog-wrapper {
    background-color: #faf7f4;
    min-height: 100vh;
    padding-bottom: 80px;
    font-family: inherit;
}

/* Hero Header */
.luxury-catalog-hero {
    background: linear-gradient(180deg, #f4efe9 0%, #faf7f4 100%);
    padding: 60px 20px 40px 20px;
    text-align: center;
    border-bottom: 1px solid #efe8e1;
}
.catalog-hero-inner {
    max-width: 680px;
    margin: 0 auto;
}
.catalog-hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8c7e75;
    background: #ffffff;
    padding: 5px 14px;
    border-radius: 99px;
    border: 1px solid #e8e2dc;
    margin-bottom: 14px;
}
.catalog-hero-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #3b302a;
    margin: 0 0 10px 0;
    line-height: 1.25;
}
.catalog-hero-desc {
    font-size: 1rem;
    color: #6a5e55;
    margin: 0;
    line-height: 1.5;
}

/* Sticky Category Bar */
.catalog-sticky-bar {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #efe8e1;
    box-shadow: 0 4px 20px rgba(69, 55, 47, 0.05);
}
/* Breadcrumb Hierarchy Bar */
.catalog-breadcrumb {
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 24px 0 24px;
    font-size: 13px;
    font-weight: 500;
    color: #8c7e75;
    display: flex;
    align-items: center;
    gap: 6px;
}
.bc-link {
    color: #5a4b41;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}
.bc-link:hover {
    color: #3b302a;
    text-decoration: underline;
}
.bc-sep {
    color: #c0b5ab;
    font-size: 14px;
}
.bc-current {
    color: #3b302a;
    font-weight: 700;
}

/* Active Tag Badge Pill */
.catalog-active-tag-wrap {
    max-width: 1300px;
    margin: 10px auto 0 auto;
    padding: 0 24px;
}
.active-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3b302a;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(59, 48, 42, 0.15);
}
.active-tag-pill .tag-clear-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0 0 0 4px;
    opacity: 0.8;
    transition: opacity 0.15s ease;
}
.active-tag-pill .tag-clear-btn:hover {
    opacity: 1;
}

/* Row 1: Search & Sort Controls */
.catalog-top-controls-row {
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 24px 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #f4efe9;
}

.catalog-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 420px;
}

.catalog-top-controls-secondary {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Filter Toggles: Tilboð & Á goymslu */
.catalog-toggles-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.catalog-toggle-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f4efe9;
    border: 1.5px solid #e8e2dc;
    color: #5a4b41;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 15px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    user-select: none;
}
.catalog-toggle-pill:hover {
    border-color: #5a4b41;
    color: #3b302a;
}
.catalog-toggle-pill.toggle-tilbod[data-active="1"] {
    background: #b84a32;
    border-color: #b84a32;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(184, 74, 50, 0.25);
}
.catalog-toggle-pill.toggle-instock[data-active="1"] {
    background: #3b302a;
    border-color: #3b302a;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(59, 48, 42, 0.2);
}
.toggle-pill-icon {
    font-size: 12px;
    font-weight: 700;
}
.catalog-search-icon {
    position: absolute;
    left: 14px;
    color: #8c7e75;
    pointer-events: none;
}
.catalog-search-input {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #e8e2dc;
    border-radius: 99px;
    padding: 8px 36px 8px 38px;
    font-size: 13.5px;
    color: #3b302a;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.catalog-search-input:focus {
    background: #ffffff;
    border-color: #5a4b41;
    box-shadow: 0 4px 14px rgba(90, 75, 65, 0.1);
}
.catalog-search-clear {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    color: #8c7e75;
    cursor: pointer;
    display: none;
    padding: 2px 6px;
    line-height: 1;
}

/* Row 2: Category Pills Row */
.catalog-categories-row {
    max-width: 1300px;
    margin: 0 auto;
    padding: 8px 24px;
}

/* Subtle Single-Row Matching Categories Discovery Bar */
.catalog-matching-cats {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-top: 4px;
    padding: 4px 0;
    background: transparent;
    border: none;
    width: 100%;
}
.catalog-matching-cats::-webkit-scrollbar {
    display: none;
}
.matching-cats-label {
    font-size: 11px;
    font-weight: 700;
    color: #8c7e75;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin-right: 4px;
    flex-shrink: 0;
}
.matching-cat-chip {
    background: #f4efe9;
    border: 1px solid #e8e2dc;
    color: #5a4b41;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 99px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.18s ease;
}
.matching-cat-chip:hover,
.matching-cat-chip.is-active {
    background: #5a4b41;
    border-color: #5a4b41;
    color: #ffffff;
}

/* Category Pills */
.catalog-categories-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}
.catalog-categories-pills::-webkit-scrollbar {
    display: none;
}
.category-pill {
    background: #f4efe9;
    border: 1px solid #e8e2dc;
    color: #5a4b41;
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 99px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}
.category-pill:hover,
.category-pill.is-active {
    background: #3b302a;
    border-color: #3b302a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(59, 48, 42, 0.15);
}
.category-pill-tilbod {
    background: #fbf0ec;
    border-color: #eab6a8;
    color: #b84a32;
    font-weight: 600;
}
.category-pill-tilbod:hover,
.category-pill-tilbod.is-active {
    background: #b84a32;
    border-color: #b84a32;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(184, 74, 50, 0.25);
}
.category-pill.has-search-matches {
    font-weight: 700;
    border-color: #5a4b41;
    background: #ffffff;
}
.category-pill.no-search-matches {
    opacity: 0.45;
}

/* Sticky Back Button Wrapper */
.category-back-wrap {
    position: sticky;
    left: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-right: 6px;
    flex-shrink: 0;
}

/* Subtle Back Button Pill */
.category-pill.category-back-pill {
    background: #ffffff;
    border: 1.5px solid #d8cfc6;
    color: #8c7e75;
    font-weight: 600;
    padding: 7px 16px;
}
.category-pill.category-back-pill:hover {
    background: #5a4b41;
    border-color: #5a4b41;
    color: #ffffff;
}

/* Pill Divider */
.pill-divider {
    color: #d8cfc6;
    font-size: 14px;
    font-weight: 300;
    user-select: none;
    padding: 0 2px;
}

/* Secondary Sub-Categories Bar */
.catalog-subcategories-bar {
    max-width: 1300px;
    margin: 0 auto;
    padding: 12px 24px 16px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    background: #f7f3ee;
    border-top: 1px solid #e8e2dc;
    scrollbar-width: none;
    animation: slideDownFade 0.22s ease-out;
}
.catalog-subcategories-bar::-webkit-scrollbar {
    display: none;
}

@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.sub-category-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #5a4b41;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 8px;
    white-space: nowrap;
}

.sub-category-pill {
    background: #ffffff;
    border: 1.5px solid #d8cfc6;
    color: #4a3e35;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 99px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.sub-category-pill:hover {
    border-color: #5a4b41;
    color: #3b302a;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(90, 75, 65, 0.12);
}
.sub-category-pill.is-active {
    background: #5a4b41;
    border-color: #5a4b41;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(90, 75, 65, 0.25);
}

/* Sort Select */
.catalog-orderby-select {
    background: #ffffff;
    border: 1px solid #e8e2dc;
    border-radius: 99px;
    padding: 8px 16px;
    font-size: 13.5px;
    color: #3b302a;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.catalog-orderby-select:focus {
    border-color: #5a4b41;
}

/* Main Catalog Container */
.catalog-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 24px;
}

/* Status Header */
.catalog-status-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
}
.catalog-count-text {
    font-size: 14px;
    color: #8c7e75;
    font-weight: 500;
}

/* Product Grid */
.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Product Card */
.catalog-product-card {
    background: #ffffff;
    border: 1px solid #efe8e1;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.catalog-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(69, 55, 47, 0.12);
    border-color: #dfdfe0;
}
.catalog-product-card p,
.related-catalog-grid p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}

/* Card Image Area */
.card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    overflow: hidden;
}
.card-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.card-img-primary,
.card-img-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.card-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.catalog-product-card:hover .card-img-hover {
    opacity: 1;
}
.catalog-product-card:hover .card-img-primary {
    transform: scale(1.04);
}

/* Badges */
.card-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #8b3a2b;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* Quick Add Button Overlay */
.card-add-cart-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(90, 75, 65, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    border: none;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transform: translateY(0);
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.catalog-product-card:hover .card-add-cart-btn {
    transform: translateY(0);
    background: #3b302a;
}
.card-add-cart-btn:hover {
    background: #3b302a;
}
.card-add-cart-btn.added {
    background: #3b6b45;
}
.card-add-cart-btn.in-cart {
    background: #d6ccdb !important;
    color: #3b302a !important;
    font-weight: 700;
}
.card-add-cart-btn.in-cart:hover {
    background: #c7bad0 !important;
    color: #261f1b !important;
}

/* Card Content Info */
.card-info {
    padding: 14px 16px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8c7e75;
    margin-bottom: 6px;
}
.card-title {
    font-size: 15px;
    font-weight: 600;
    color: #3b302a;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-price {
    font-size: 14.5px;
    font-weight: 600;
    color: #5a4b41;
    margin-top: auto;
}
.card-price del {
    color: #a89f97;
    font-size: 13px;
    margin-right: 6px;
    font-weight: 400;
}
.card-price ins {
    text-decoration: none;
    color: #8b3a2b;
}

/* Skeleton Loading Shimmer */
.product-card-skeleton {
    background: #ffffff;
    border: 1px solid #efe8e1;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.skeleton-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #eee8e2;
    border-radius: 12px;
    animation: shimmer 1.5s infinite linear;
}
.skeleton-title {
    width: 80%;
    height: 16px;
    background: #eee8e2;
    border-radius: 4px;
    animation: shimmer 1.5s infinite linear;
}
.skeleton-price {
    width: 40%;
    height: 16px;
    background: #eee8e2;
    border-radius: 4px;
    animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Load More Button */
.catalog-load-more-wrap {
    text-align: center;
    margin-top: 40px;
}
.catalog-load-more-btn {
    background: #ffffff;
    border: 1.5px solid #5a4b41;
    color: #5a4b41;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.catalog-load-more-btn:hover {
    background: #5a4b41;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(90, 75, 65, 0.18);
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
    .catalog-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .luxury-catalog-hero {
        padding: 40px 16px 24px 16px;
    }
    .catalog-hero-title {
        font-size: 1.7rem;
    }
    .catalog-bar-inner {
        padding: 10px 16px;
    }
    .catalog-container {
        padding: 20px 16px;
    }
    .catalog-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .card-info {
        padding: 12px 14px 16px 14px;
    }
    .card-title {
        font-size: 13.5px;
    }
    .card-add-cart-btn {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        transform: translateY(0);
        background: rgba(90, 75, 65, 0.92);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        padding: 9px 10px;
        font-size: 12px;
    }
}

/* Subtle Floating Smart Cart & Free Shipping Bar */
.floating-cart-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: calc(100% - 32px);
    max-width: 540px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid #e8e2dc;
    border-radius: 99px;
    padding: 9px 18px;
    box-shadow: 0 10px 30px rgba(69, 55, 47, 0.12);
    animation: floatingCartSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #3b302a;
    box-sizing: border-box;
}

@keyframes floatingCartSlideUp {
    from { opacity: 0; transform: translate(-50%, 14px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.floating-cart-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Free Shipping Container */
.free-shipping-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.free-shipping-msg {
    font-size: 12px;
    color: #5a4b41;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.free-shipping-msg strong {
    color: #3b302a;
    font-weight: 700;
}

.free-shipping-bar-bg {
    width: 100%;
    height: 5px;
    background: #efe8e1;
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.free-shipping-progress-fill {
    height: 100%;
    border-radius: 99px;
    background: #5a4b41;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
}

/* Controls Row */
.floating-cart-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.floating-cart-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-cart-badge-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a4b41;
}

.floating-cart-count-badge {
    position: absolute;
    top: -6px;
    right: -7px;
    background: #5a4b41;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cart-price-wrap {
    display: flex;
    flex-direction: column;
}

.floating-cart-total-price {
    font-size: 13.5px;
    font-weight: 700;
    color: #3b302a;
    white-space: nowrap;
}

/* Action Button: Vís kurv */
.floating-btn-drawer {
    border: none;
    border-radius: 99px;
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    background: #5a4b41;
    color: #ffffff;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.floating-btn-drawer:hover {
    background: #3b302a;
    box-shadow: 0 3px 10px rgba(59, 48, 42, 0.2);
}

/* Mobile Responsive Floating Cart */
@media (max-width: 600px) {
    .floating-cart-bar {
        bottom: 12px;
        width: calc(100% - 24px);
        padding: 8px 14px;
        border-radius: 99px;
    }
    .free-shipping-msg {
        font-size: 11.5px;
    }
    .floating-cart-total-price {
        font-size: 12.5px;
    }
    .floating-btn-drawer {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* Custom Slide-Out Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.cart-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 999999;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.cart-drawer.is-open {
    transform: translateX(0);
}

/* Drawer Header */
.cart-drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid #efe8e1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #faf6f2;
}
.cart-drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3b302a;
}
.cart-drawer-title-wrap h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #3b302a;
}
.cart-drawer-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #8c7e75;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease;
}
.cart-drawer-close:hover {
    color: #3b302a;
}

/* Shipping Banner inside Drawer */
.cart-drawer-shipping-banner {
    padding: 14px 24px;
    background: #f7f3ee;
    border-bottom: 1px solid #efe8e1;
}
.drawer-shipping-msg {
    font-size: 12.5px;
    color: #5a4b41;
    margin-bottom: 6px;
}
.drawer-shipping-msg strong {
    color: #3b302a;
    font-weight: 700;
}
.drawer-shipping-bar-bg {
    width: 100%;
    height: 6px;
    background: #e8e2dc;
    border-radius: 99px;
    overflow: hidden;
}
.drawer-shipping-progress-fill {
    height: 100%;
    background: #5a4b41;
    border-radius: 99px;
    transition: width 0.35s ease;
}

/* Drawer Items List */
.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cart-drawer-loading,
.cart-drawer-empty {
    text-align: center;
    color: #8c7e75;
    font-size: 14px;
    padding: 40px 0;
}

.drawer-item-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f4efe9;
}
.drawer-item-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    background: #faf6f2;
    flex-shrink: 0;
}
.drawer-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.drawer-item-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #3b302a;
    text-decoration: none;
    line-height: 1.3;
}
.drawer-item-title:hover {
    color: #5a4b41;
}
.drawer-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}
.drawer-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e8e2dc;
    border-radius: 99px;
    background: #f4efe9;
    padding: 2px 4px;
}
.drawer-qty-btn {
    border: none;
    background: transparent;
    color: #5a4b41;
    font-size: 14px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    padding: 0;
    line-height: 1;
}
.drawer-qty-btn:hover {
    background: #ffffff;
    color: #3b302a;
}
.drawer-qty-val {
    font-size: 12.5px;
    font-weight: 700;
    color: #3b302a;
    padding: 0 6px;
    min-width: 16px;
    text-align: center;
}
.drawer-item-qty {
    font-size: 12px;
    color: #8c7e75;
    background: #f4efe9;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 600;
}
.drawer-item-price {
    font-size: 13.5px;
    font-weight: 700;
    color: #3b302a;
}
.drawer-item-remove {
    background: none;
    border: none;
    color: #a89a8e;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}
.drawer-item-remove:hover {
    color: #c62828;
}

/* Drawer Footer */
.cart-drawer-footer {
    padding: 20px 24px 24px 24px;
    border-top: 1px solid #efe8e1;
    background: #faf6f2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cart-drawer-subtotal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 700;
    color: #3b302a;
}
.cart-drawer-note {
    font-size: 11px;
    color: #8c7e75;
    margin: -2px 0 0 0;
    text-align: center;
    font-weight: 400;
    line-height: 1.35;
}
.cart-drawer-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px;
    background: #5a4b41;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 99px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.cart-drawer-checkout-btn:hover {
    background: #3b302a;
    box-shadow: 0 6px 18px rgba(59, 48, 42, 0.25);
}

@media (max-width: 768px) {
    .catalog-top-controls-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 16px 8px 16px;
    }
    .catalog-search-wrap {
        max-width: 100%;
        width: 100%;
    }
    .catalog-top-controls-secondary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }
    .catalog-top-controls-secondary::-webkit-scrollbar {
        display: none;
    }
    .catalog-toggles-wrap {
        flex-shrink: 0;
    }
    .catalog-toggle-pill {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 6px 13px;
        font-size: 12.5px;
    }
    .catalog-sort-select-wrap {
        flex-shrink: 0;
    }
    .catalog-orderby-select {
        font-size: 12.5px;
        padding: 6px 26px 6px 12px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100vw;
    }
}

/* Header Røkta Cart Icon Button */
.header-rokta-cart-btn {
    background: transparent !important;
    border: none !important;
    color: #3b302a !important;
    position: relative !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px !important;
    margin-left: 4px !important;
    outline: none !important;
    transition: transform 0.15s ease !important;
    flex-shrink: 0 !important;
}
.header-rokta-cart-btn:hover {
    transform: scale(1.08) !important;
}
.header-rokta-cart-btn .header-cart-badge {
    position: absolute !important;
    top: -2px !important;
    right: -4px !important;
    background: #3b302a !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 99px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    line-height: 1 !important;
    border: 2px solid #ffffff !important;
}
/* Hide WooCommerce native mini cart widget/dropdown since we use custom drawer */
.widget_shopping_cart, .woocommerce-mini-cart, .wc-block-mini-cart__drawer {
    display: none !important;
}

/* Hide default WooCommerce Blocks related products so only our custom shortcode shows */
.wp-block-woocommerce-product-details .related.products {
    display: none !important;
}

/* Footer Block Alignment & Navigation Flex Layout for /handil/ */
.site-footer-block-wrap {
    background-color: #faf7f4 !important;
    border-top: 1px solid #efe8e1 !important;
    padding: 60px 24px 40px 24px !important;
    color: #3b302a !important;
}
.site-footer-block-wrap .wp-block-group.alignwide {
    max-width: 1240px !important;
    margin: 0 auto !important;
}
.site-footer-block-wrap .wp-block-site-title a {
    font-size: 2rem !important;
    font-weight: 300 !important;
    color: #3b302a !important;
    text-decoration: none !important;
    letter-spacing: -0.5px !important;
}
.site-footer-block-wrap .wp-block-group.alignfull:first-of-type {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    margin-top: 20px !important;
    width: 100% !important;
}
.site-footer-block-wrap .wp-block-columns {
    display: flex !important;
    flex-direction: column !important;
    max-width: 380px !important;
    margin: 0 !important;
}
.site-footer-block-wrap .wp-block-column p {
    margin: 12px 0 0 0 !important;
    color: #6a5e55 !important;
    line-height: 1.6 !important;
    font-size: 14px !important;
}
.site-footer-block-wrap .wp-block-group.alignfull:first-of-type > .wp-block-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 140px !important;
    align-items: flex-start !important;
    margin-left: auto !important;
}
.site-footer-block-wrap .wp-block-navigation {
    display: flex !important;
    flex-direction: column !important;
}
.site-footer-block-wrap .wp-block-navigation ul,
.site-footer-block-wrap .wp-block-navigation-mode-responsive,
.site-footer-block-wrap .wp-block-navigation__container {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}
.site-footer-block-wrap .wp-block-navigation li {
    list-style: none !important;
    margin: 0 !important;
}
.site-footer-block-wrap .wp-block-navigation a {
    color: #3b302a !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: color 0.15s ease !important;
}
.site-footer-block-wrap .wp-block-navigation a:hover {
    color: #8c7e75 !important;
}
.site-footer-block-wrap .wp-block-group.alignfull:last-of-type {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 50px !important;
    padding-top: 24px !important;
    border-top: 1px solid #efe8e1 !important;
}
.site-footer-block-wrap .wp-block-group.alignfull:last-of-type p {
    margin: 0 !important;
    font-size: 13px !important;
    color: #8c7e75 !important;
}
.site-footer-block-wrap .wp-block-group.alignfull:last-of-type .wp-block-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    align-items: center !important;
}
