/**
 * Premium Storefront Branding Overrides — Nordic (Furniture) Theme.
 * Visual Identity: Minimalist, fresh, organic layout with micro-animations and warm wood/sage tones.
 */

body.nordic-theme.storefront-branded,
body.nordic-theme.storefront-branded main,
body.nordic-theme.storefront-branded .homepage,
body.nordic-theme.storefront-branded #page {
    font-family: var(--sf-font-stack), 'Outfit', 'Inter', sans-serif;
    background-color: var(--sf-secondary) !important;
    background-image: none !important;
    color: var(--sf-body-text) !important;
    -webkit-font-smoothing: antialiased;
}

/* ─── Navigation Header ────────────────────────────────────────────────── */
body.nordic-theme.storefront-branded header,
body.nordic-theme.storefront-branded #navbar_main,
body.nordic-theme.storefront-branded .navbar-dark {
    background-color: color-mix(in srgb, var(--sf-header-bg) 80%, transparent) !important;
    backdrop-filter: blur(20px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
    border-bottom: 1px solid color-mix(in srgb, var(--sf-header-text) 8%, transparent) !important;
    color: var(--sf-header-text) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.nordic-theme.storefront-branded img.header-logo {
    filter: var(--sf-logo-filter, none) !important;
}

/* ─── Uniform Header Icons Alignment & Proportions ─────────────────────── */
body.nordic-theme.storefront-branded header nav i:not(.fa-2x):not(.fa-3x) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    text-align: center !important;
    vertical-align: middle !important;
}

/* Color thematic icons in header nav (login, profile) */
body.nordic-theme.storefront-branded .login_register_dropdown i,
body.nordic-theme.storefront-branded .my_profile i {
    color: var(--sf-primary) !important;
}

/* Location marker icon in the address badge is enlarged and kept dark */
body.nordic-theme.storefront-branded .crakers-service-chip i,
body.nordic-theme.storefront-branded .crakers-service-chip svg {
    width: 20px !important;
    height: 20px !important;
    font-size: 16px !important;
    color: #1a1a1a !important;
    stroke: #1a1a1a !important;
}

body.nordic-theme.storefront-branded .offcanvas i:not(.fa-2x):not(.fa-3x) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-align: center !important;
    vertical-align: middle !important;
}

/* Mobile toggler and cart bag icon override */
@media (max-width: 991px) {
    body.nordic-theme.storefront-branded header nav .d-lg-none i:not(.fa-2x):not(.fa-3x) {
        width: 24px !important;
        height: 24px !important;
        font-size: 20px !important;
    }
    body.nordic-theme.storefront-branded header nav a.nav-link,
    body.nordic-theme.storefront-branded header nav button.navbar-toggler {
        color: var(--sf-header-text) !important;
    }
}

body.nordic-theme.storefront-branded .navbar-dark .navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a1a1a !important;
    background: linear-gradient(135deg, var(--sf-primary), color-mix(in srgb, var(--sf-primary) 70%, #000));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.nordic-theme.storefront-branded .navbar-dark .nav-link {
    color: var(--sf-header-text) !important;
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: 0.3px;
    padding: 10px 18px !important;
    border-radius: 20px;
    transition: all 0.25s ease;
}

body.nordic-theme.storefront-branded .navbar-dark .nav-link:hover,
body.nordic-theme.storefront-branded .navbar-dark .nav-link.active {
    color: var(--sf-primary) !important;
    background-color: color-mix(in srgb, var(--sf-primary) 8%, transparent);
}

/* ─── Buttons & Actions ────────────────────────────────────────────────── */
body.nordic-theme.storefront-branded .btn-primary,
body.nordic-theme.storefront-branded .first_button,
body.nordic-theme.storefront-branded .product-card-footer .product-order,
body.nordic-theme.storefront-branded .add-to-cart-action {
    background-color: var(--sf-primary) !important;
    border: 1px solid var(--sf-primary) !important;
    color: var(--sf-on-primary) !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 13px;
    padding: 12px 24px !important;
    border-radius: 4px !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

body.nordic-theme.storefront-branded .btn-primary:hover,
body.nordic-theme.storefront-branded .first_button:hover,
body.nordic-theme.storefront-branded .product-card-footer .product-order:hover {
    background-color: color-mix(in srgb, var(--sf-primary) 88%, #000) !important;
    border-color: color-mix(in srgb, var(--sf-primary) 88%, #000) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

body.nordic-theme.storefront-branded .btn-outline-primary,
body.nordic-theme.storefront-branded .btn-secondary {
    background-color: transparent !important;
    border: 1.5px solid var(--sf-primary) !important;
    color: var(--sf-primary) !important;
    font-weight: 600;
    padding: 10px 22px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

body.nordic-theme.storefront-branded .btn-outline-primary:hover,
body.nordic-theme.storefront-branded .btn-secondary:hover {
    background-color: var(--sf-primary) !important;
    color: var(--sf-on-primary) !important;
}

/* ─── Hero Swiper Slider ────────────────────────────────────────────────── */
body.nordic-theme.storefront-branded .swiper-slide {
    background-color: color-mix(in srgb, var(--sf-secondary) 96%, #000);
}

body.nordic-theme.storefront-branded .slider-caption {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 40px !important;
    color: #1a1a1a !important;
}

body.nordic-theme.storefront-branded .slider-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 44px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    letter-spacing: -0.5px !important;
}

body.nordic-theme.storefront-branded .slider-desc {
    color: #4a4a4a !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
}

/* ─── Product Card Grid ────────────────────────────────────────────────── */
body.nordic-theme.storefront-branded .product-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.nordic-theme.storefront-branded .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(95, 111, 101, 0.1) !important;
    border-color: color-mix(in srgb, var(--sf-primary) 20%, rgba(0, 0, 0, 0.05)) !important;
}

body.nordic-theme.storefront-branded .product-img {
    background-color: #f7f7f5 !important;
    border-radius: 6px !important;
    padding: 12px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.nordic-theme.storefront-branded .product-img img {
    max-height: 90% !important;
    object-fit: contain !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

body.nordic-theme.storefront-branded .product-card:hover .product-img img {
    transform: scale(1.08);
}

body.nordic-theme.storefront-branded .product-head {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #1a1a1a !important;
    line-height: 1.4 !important;
}

body.nordic-theme.storefront-branded .product-details {
    padding-left: 0 !important;
    list-style: none !important;
    margin-top: 8px !important;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

body.nordic-theme.storefront-branded .product-details li,
body.nordic-theme.storefront-branded .product-detail-badge {
    font-size: 11px !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
    color: #555552 !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-weight: 500 !important;
    display: inline-block !important;
    list-style: none !important;
}

body.nordic-theme.storefront-branded .product-price {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: var(--sf-primary) !important;
}

/* ─── Footer Section ────────────────────────────────────────────────────── */
body.nordic-theme.storefront-branded footer,
body.nordic-theme.storefront-branded .footerBottom {
    background-color: var(--sf-footer-bg) !important;
    color: var(--sf-footer-text) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 60px !important;
}

body.nordic-theme.storefront-branded footer a,
body.nordic-theme.storefront-branded footer p,
body.nordic-theme.storefront-branded footer span,
body.nordic-theme.storefront-branded footer li,
body.nordic-theme.storefront-branded .footerBottom a,
body.nordic-theme.storefront-branded .footerBottom p,
body.nordic-theme.storefront-branded .footerBottom span {
    color: var(--sf-footer-text-muted) !important;
    transition: color 0.2s ease;
}

body.nordic-theme.storefront-branded footer h1,
body.nordic-theme.storefront-branded footer h2,
body.nordic-theme.storefront-branded footer h3,
body.nordic-theme.storefront-branded footer h4,
body.nordic-theme.storefront-branded footer h5,
body.nordic-theme.storefront-branded footer h6,
body.nordic-theme.storefront-branded footer .text-white,
body.nordic-theme.storefront-branded footer a[style*="color: #ffffff"],
body.nordic-theme.storefront-branded footer a[style*="color:#ffffff"] {
    color: var(--sf-footer-text) !important;
}

body.nordic-theme.storefront-branded footer a:hover,
body.nordic-theme.storefront-branded .footerBottom a:hover {
    color: var(--sf-link-accent) !important;
    text-decoration: none !important;
}

/* ─── Additional UI Enhancements ────────────────────────────────────────── */
body.nordic-theme.storefront-branded .types-of-pizza .extra-flavors {
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: #ffffff !important;
    border-radius: 30px !important;
    padding: 12px 28px !important;
    color: #4a4a4a !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

body.nordic-theme.storefront-branded .types-of-pizza .extra-flavors.active,
body.nordic-theme.storefront-branded .types-of-pizza .extra-flavors:hover {
    background-color: var(--sf-primary) !important;
    border-color: var(--sf-primary) !important;
    color: var(--sf-on-primary) !important;
    box-shadow: 0 8px 20px rgba(95, 111, 101, 0.15) !important;
}

body.nordic-theme.storefront-branded .basket-count {
    background-color: var(--sf-primary) !important;
    color: var(--sf-on-primary) !important;
    font-weight: 700;
}

/* Dynamic Text & Headings Styling for Light/Dark Templates */
body.nordic-theme.storefront-branded h1.text-reset,
body.nordic-theme.storefront-branded h2.text-reset,
body.nordic-theme.storefront-branded h3.text-reset,
body.nordic-theme.storefront-branded h4.text-reset,
body.nordic-theme.storefront-branded h5.text-reset,
body.nordic-theme.storefront-branded h6.text-reset,
body.nordic-theme.storefront-branded .text-reset {
    color: var(--sf-body-text) !important;
}

body.nordic-theme.storefront-branded .text-muted {
    color: color-mix(in srgb, var(--sf-body-text) 60%, transparent) !important;
}

/* ─── Premium Service Type Chip Override for Nordic ───────────────────── */
body.nordic-theme.storefront-branded .crakers-service-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 16px !important;
    border-radius: 30px !important;
    background-color: #f4f6f5 !important;
    border: 1px solid rgba(95, 111, 101, 0.15) !important;
    color: #1a1a1a !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    height: 40px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    text-decoration: none !important;
}

body.nordic-theme.storefront-branded .crakers-service-chip:hover {
    background-color: #e9ecea !important;
    border-color: var(--sf-primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(95, 111, 101, 0.08) !important;
}

body.nordic-theme.storefront-branded .crakers-service-chip i,
body.nordic-theme.storefront-branded .crakers-service-chip svg {
    margin: 0 !important;
}

body.nordic-theme.storefront-branded .crakers-service-chip .chip-branch-name {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #1a1a1a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.nordic-theme.storefront-branded .crakers-service-chip .chip-service-type {
    background-color: var(--sf-primary) !important;
    color: var(--sf-on-primary) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-left: 4px !important;
}

/* ─── Cart Button Alignment and Pill Styling ──────────────────────────── */
body.nordic-theme.storefront-branded .basket button#cartDropdown,
body.nordic-theme.storefront-branded .basket button {
    height: 40px !important;
    padding: 0 20px !important;
    border-radius: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    gap: 8px !important;
}

body.nordic-theme.storefront-branded .basket button #cart-count {
    background-color: #ffffff !important;
    color: var(--sf-primary) !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    height: 18px !important;
    line-height: 1 !important;
    margin-left: 4px !important;
}

/* ─── Trendyol-style Hover Dropdowns (Desktop Only) ─────────────────────── */
@media (min-width: 992px) {
    body.nordic-theme.storefront-branded .login_register_dropdown:hover .dropdown-menu,
    body.nordic-theme.storefront-branded .my_profile:hover .dropdown-menu {
        display: block !important;
        margin-top: 0 !important;
        animation: slideUpFade 0.2s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    }
}

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

/* ─── Premium Profile Dropdown Popover ────────────────────────────────── */
body.nordic-theme.storefront-branded .my_profile .dropdown-menu,
body.nordic-theme.storefront-branded .login_register_dropdown .dropdown-menu {
    min-width: 240px !important;
    border-radius: 12px !important;
    padding: 16px !important;
    border: 1px solid rgba(95, 111, 101, 0.12) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08) !important;
    background-color: #ffffff !important;
    margin-top: 10px !important;
}

body.nordic-theme.storefront-branded .my_profile .profile_title {
    background-color: rgba(95, 111, 101, 0.05) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    margin-bottom: 12px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 12.5px !important;
    color: #555555 !important;
    line-height: 1.4 !important;
}

body.nordic-theme.storefront-branded .my_profile .profile_title b {
    color: var(--sf-primary) !important;
    font-weight: 700 !important;
    display: block !important;
    font-size: 14px !important;
    margin-top: 4px !important;
}

body.nordic-theme.storefront-branded .my_profile .dropdown-item {
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: transparent !important;
    border: none !important;
}

body.nordic-theme.storefront-branded .my_profile .dropdown-item i {
    font-size: 14px !important;
    color: var(--sf-primary) !important;
    transition: transform 0.2s ease !important;
    width: 18px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.nordic-theme.storefront-branded .my_profile .dropdown-item:hover {
    background-color: rgba(95, 111, 101, 0.06) !important;
    color: #1a1a1a !important;
}

body.nordic-theme.storefront-branded .my_profile .dropdown-item:hover i {
    transform: scale(1.15) !important;
}

body.nordic-theme.storefront-branded .my_profile .dropdown-item.text-danger {
    color: #dc3545 !important;
    margin-top: 4px !important;
}

body.nordic-theme.storefront-branded .my_profile .dropdown-item.text-danger i {
    color: #dc3545 !important;
}

body.nordic-theme.storefront-branded .my_profile .dropdown-item.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.05) !important;
}

body.nordic-theme.storefront-branded .my_profile .dropdown-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
    margin: 8px 0 !important;
}

/* ─── Premium Cart Dropdown Styling ─────────────────────────────────────── */
body.nordic-theme.storefront-branded .basket .dropdown-menu {
    width: 340px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(95, 111, 101, 0.12) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08) !important;
    background-color: #ffffff !important;
    margin-top: 10px !important;
}

body.nordic-theme.storefront-branded .my_basket_canvas {
    padding: 0 !important;
}

body.nordic-theme.storefront-branded #empty-cart-message {
    padding: 30px 20px !important;
    font-family: 'Outfit', sans-serif !important;
}

body.nordic-theme.storefront-branded #empty-cart-message .text-muted i {
    color: var(--sf-primary) !important;
    opacity: 0.3 !important;
}

body.nordic-theme.storefront-branded #empty-cart-message .fw-bold {
    font-size: 13px !important;
    color: #555555 !important;
    font-weight: 600 !important;
    margin-top: 8px !important;
}

body.nordic-theme.storefront-branded #cart-items-dropdown {
    padding: 8px 0 !important;
    max-height: 320px !important;
}

body.nordic-theme.storefront-branded .my_basket_item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    transition: background-color 0.2s ease !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 14px !important;
    align-items: flex-start !important;
}

body.nordic-theme.storefront-branded .my_basket_item:hover {
    background-color: rgba(95, 111, 101, 0.02) !important;
}

body.nordic-theme.storefront-branded .my_basket_item:last-of-type {
    border-bottom: none !important;
}

body.nordic-theme.storefront-branded .my_basket_img {
    width: 50px !important;
    height: 50px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    background-color: #fcfcfb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.nordic-theme.storefront-branded .my_basket_img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.nordic-theme.storefront-branded .my_basket_info {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

body.nordic-theme.storefront-branded .my_basket_title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-bottom: 3px !important;
    line-height: 1.4 !important;
}

body.nordic-theme.storefront-branded .my_basket_desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 11.5px !important;
    color: #7f8c8d !important;
    line-height: 1.3 !important;
    margin: 0 0 8px 0 !important;
}

body.nordic-theme.storefront-branded .my_basket_desc br {
    display: none !important;
}

body.nordic-theme.storefront-branded .my_basket_price {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    color: #555555 !important;
    margin-bottom: 10px !important;
    text-align: left !important;
}

body.nordic-theme.storefront-branded .my_basket_price .unit-price {
    color: #7f8c8d !important;
    font-weight: 500 !important;
}

body.nordic-theme.storefront-branded .my_basket_price .multiply,
body.nordic-theme.storefront-branded .my_basket_price .quantity,
body.nordic-theme.storefront-branded .my_basket_price .equals {
    color: #7f8c8d !important;
}

body.nordic-theme.storefront-branded .my_basket_price .total-price {
    color: #b38e5d !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

body.nordic-theme.storefront-branded .counter_trash {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin-left: auto !important;
    align-self: flex-start !important;
    flex-shrink: 0 !important;
}

body.nordic-theme.storefront-branded .my_basket_count {
    margin: 0 !important;
}

body.nordic-theme.storefront-branded .counter_side {
    border: 1px solid rgba(0, 0, 0, 0.10) !important;
    border-radius: 16px !important;
    padding: 2px !important;
    background: #f4f4f2 !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 24px !important;
    gap: 0 !important;
}

body.nordic-theme.storefront-branded .counter_side button {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    font-size: 7px !important;
    color: #555555 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
}

body.nordic-theme.storefront-branded .counter_side button:hover {
    background-color: #e8e8e5 !important;
    color: var(--sf-primary) !important;
}

body.nordic-theme.storefront-branded .counter_side input.counter {
    width: 20px !important;
    font-size: 10px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    padding: 0 !important;
    margin: 0 2px !important;
}

body.nordic-theme.storefront-branded .my_basket_trash {
    margin: 0 !important;
}

body.nordic-theme.storefront-branded .counter_trash a.remove-item {
    color: #aaaaaa !important;
    font-size: 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background-color: rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

body.nordic-theme.storefront-branded .counter_trash a.remove-item:hover {
    background-color: rgba(220, 53, 69, 0.10) !important;
    color: #dc3545 !important;
    transform: scale(1.05) !important;
}

body.nordic-theme.storefront-branded #cart-bottom {
    background-color: #fafaf9 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 16px 18px !important;
}

body.nordic-theme.storefront-branded #cart-bottom .text-muted {
    font-family: 'Outfit', sans-serif !important;
    font-size: 13.5px !important;
    color: #7f8c8d !important;
    font-weight: 500 !important;
}

body.nordic-theme.storefront-branded #cart-bottom #cart-total-dropdown {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
}

body.nordic-theme.storefront-branded #cart-bottom a.btn-primary {
    border-radius: 24px !important;
    padding: 10px 0 !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    background-color: var(--sf-primary) !important;
    border: none !important;
    color: #ffffff !important;
}

body.nordic-theme.storefront-branded #cart-bottom a.btn-primary:hover {
    background-color: color-mix(in srgb, var(--sf-primary) 85%, #000000) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(95, 111, 101, 0.2) !important;
}

/* ─── Responsive Adjustments ────────────────────────────────────────────── */

/* Medium Screens / Small Desktops (992px to 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {
    body.nordic-theme.storefront-branded .navbar-dark .nav-link {
        padding: 8px 12px !important;
        font-size: 13.5px !important;
    }
    body.nordic-theme.storefront-branded .navbar-nav {
        gap: 8px !important;
    }
    body.nordic-theme.storefront-branded .crakers-service-chip {
        padding: 6px 10px !important;
        height: 38px !important;
    }
    body.nordic-theme.storefront-branded .crakers-service-chip .chip-branch-name {
        max-width: 80px !important;
    }
    body.nordic-theme.storefront-branded .basket button#cartDropdown,
    body.nordic-theme.storefront-branded .basket button {
        height: 38px !important;
        padding: 0 14px !important;
    }
}

/* Tablet & Mobile Screens (991px and below) */
@media (max-width: 991px) {
    body.nordic-theme.storefront-branded .crakers-service-chip {
        height: 36px !important;
        padding: 4px 12px !important;
    }
    body.nordic-theme.storefront-branded .crakers-service-chip i,
    body.nordic-theme.storefront-branded .crakers-service-chip svg {
        font-size: 12px !important;
        width: 16px !important;
        height: 16px !important;
    }
    body.nordic-theme.storefront-branded .crakers-service-chip .chip-branch-name {
        font-size: 11.5px !important;
    }
}

/* Small Mobile Screens (576px and below) */
@media (max-width: 576px) {
    body.nordic-theme.storefront-branded .navbar-brand img.header-logo {
        max-height: 38px !important;
    }
    body.nordic-theme.storefront-branded .crakers-service-chip .chip-branch-name {
        max-width: 90px !important;
    }
}

/* Extra Small Mobile Screens (380px and below) */
@media (max-width: 380px) {
    body.nordic-theme.storefront-branded .navbar-brand img.header-logo {
        max-height: 32px !important;
    }
    body.nordic-theme.storefront-branded .crakers-service-chip {
        padding: 4px 8px !important;
    }
    body.nordic-theme.storefront-branded .crakers-service-chip .chip-branch-name {
        max-width: 55px !important;
    }
}

/* ─── Product Details Page Styles ───────────────────────────────────────── */

body.nordic-theme.storefront-branded .order-padding {
    padding: 60px 0 !important;
    background-color: var(--sf-secondary) !important;
}

body.nordic-theme.storefront-branded .detail-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 50px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 40px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: none !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
}

body.nordic-theme.storefront-branded .img-div {
    background-color: #f7f7f5 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px !important;
    width: 100% !important;
    height: auto !important;
}

body.nordic-theme.storefront-branded .product-detail-img {
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

body.nordic-theme.storefront-branded .img-div:hover .product-detail-img {
    transform: scale(1.04) !important;
}

body.nordic-theme.storefront-branded .detail-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    padding: 10px 0 !important;
}

body.nordic-theme.storefront-branded .detail-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
    line-height: 1.25 !important;
}

body.nordic-theme.storefront-branded .detail-content {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    color: #555552 !important;
    line-height: 1.6 !important;
    display: block !important;
    margin-bottom: 8px !important;
}

body.nordic-theme.storefront-branded .italic-description {
    font-style: italic !important;
    padding: 15px !important;
    background: rgba(95, 111, 101, 0.05) !important;
    border-left: 3px solid var(--sf-primary) !important;
    border-radius: 0 8px 8px 0 !important;
    margin-bottom: 20px !important;
    color: #3a3a3a !important;
}

body.nordic-theme.storefront-branded .properties-list {
    padding-left: 20px !important;
    margin-bottom: 30px !important;
    list-style-type: disc !important;
}

body.nordic-theme.storefront-branded .properties-list li {
    font-size: 14px !important;
    color: #4a4a4a !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
}

body.nordic-theme.storefront-branded .detail-purchase-row {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding-top: 30px !important;
    margin-top: 20px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    width: 100% !important;
}

body.nordic-theme.storefront-branded .detail-purchase-row .add-remove-button {
    height: 52px !important;
    border-radius: 50px !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    padding: 0 16px !important;
    width: 130px !important;
    flex-shrink: 0 !important;
}

body.nordic-theme.storefront-branded .detail-purchase-row .btn-add-to-cart {
    flex-grow: 1 !important;
    height: 52px !important;
    border-radius: 50px !important;
    background-color: var(--sf-primary, #ff6f00) !important;
    color: var(--sf-on-primary, #ffffff) !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}

body.nordic-theme.storefront-branded .detail-purchase-row .btn-add-to-cart:hover {
    background-color: color-mix(in srgb, var(--sf-primary, #ff6f00) 88%, #000) !important;
    border-color: color-mix(in srgb, var(--sf-primary, #ff6f00) 88%, #000) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

body.nordic-theme.storefront-branded .detail-purchase-row .btn-wishlist-heart {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    background-color: #ffffff !important;
    color: var(--sf-primary, #1a1a1a) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
}

body.nordic-theme.storefront-branded .detail-purchase-row .btn-wishlist-heart:hover {
    border-color: var(--sf-primary, #ff6f00) !important;
    color: var(--sf-primary, #ff6f00) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

body.nordic-theme.storefront-branded .detail-purchase-row .btn-wishlist-heart.active {
    background-color: #ffeef0 !important;
    border-color: #ffcdd2 !important;
}

body.nordic-theme.storefront-branded .detail-purchase-row .btn-wishlist-heart.active i {
    color: #e53935 !important;
}

@media (max-width: 575px) {
    body.nordic-theme.storefront-branded .detail-purchase-row {
        flex-wrap: wrap !important;
    }
    body.nordic-theme.storefront-branded .detail-purchase-row .add-remove-button {
        width: 110px !important;
        height: 48px !important;
    }
    body.nordic-theme.storefront-branded .detail-purchase-row .btn-wishlist-heart {
        width: 48px !important;
        height: 48px !important;
    }
    body.nordic-theme.storefront-branded .detail-purchase-row .btn-add-to-cart {
        height: 48px !important;
    }
}

body.nordic-theme.storefront-branded .detail-price {
    font-family: 'Outfit', sans-serif !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    color: var(--sf-primary) !important;
    margin-bottom: 10px !important;
}

body.nordic-theme.storefront-branded .detail-button {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
}

body.nordic-theme.storefront-branded .detail-button .button-wrapper {
    margin: 0 !important;
}

body.nordic-theme.storefront-branded .detail-button button.add {
    background-color: var(--sf-primary) !important;
    border: 1px solid var(--sf-primary) !important;
    color: var(--sf-on-primary) !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    height: 46px !important;
    padding: 0 32px !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important;
    cursor: pointer !important;
}

body.nordic-theme.storefront-branded .detail-button button.add:hover {
    background-color: color-mix(in srgb, var(--sf-primary) 88%, #000) !important;
    border-color: color-mix(in srgb, var(--sf-primary) 88%, #000) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08) !important;
}

body.nordic-theme.storefront-branded .add-remove-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: rgba(95, 111, 101, 0.06) !important;
    border: 1px solid rgba(95, 111, 101, 0.18) !important;
    border-radius: 8px !important;
    height: 46px !important;
    padding: 0 16px !important;
    gap: 12px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

body.nordic-theme.storefront-branded .add-remove-button button {
    background: none !important;
    border: none !important;
    color: var(--sf-primary) !important;
    padding: 0 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    width: 20px !important;
    height: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.2s ease !important;
}

body.nordic-theme.storefront-branded .add-remove-button button:hover {
    transform: scale(1.2) !important;
}

body.nordic-theme.storefront-branded .add-remove-button .quantity {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    min-width: 16px !important;
    text-align: center !important;
}

body.nordic-theme.storefront-branded .detail-button button.share,
body.nordic-theme.storefront-branded .detail-button .order-heart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
    color: #555552 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

body.nordic-theme.storefront-branded .detail-button button.share img {
    width: 18px !important;
    height: 18px !important;
    opacity: 0.7 !important;
}

body.nordic-theme.storefront-branded .detail-button button.share:hover,
body.nordic-theme.storefront-branded .detail-button .order-heart:hover {
    border-color: var(--sf-primary) !important;
    color: var(--sf-primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

body.nordic-theme.storefront-branded .detail-button .order-heart.active {
    background-color: var(--sf-primary) !important;
    border-color: var(--sf-primary) !important;
    color: var(--sf-on-primary) !important;
}

/* ─── Similar Products Section ──────────────────────────────────────────── */

body.nordic-theme.storefront-branded .similar-products-section {
    margin-top: 20px !important;
    border-top: none !important;
    padding-top: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.nordic-theme.storefront-branded .order-like-title {
    display: none !important;
}

body.nordic-theme.storefront-branded .like-product {
    width: 100% !important;
    display: block !important;
}

body.nordic-theme.storefront-branded .slider-container {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
}

body.nordic-theme.storefront-branded .slider-track {
    display: flex !important;
    gap: 20px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    padding: 10px 0 !important;
    width: 100% !important;
    scrollbar-width: none !important;
}

body.nordic-theme.storefront-branded .slider-track::-webkit-scrollbar {
    display: none !important;
}

body.nordic-theme.storefront-branded .slider-item {
    min-width: 260px !important;
    width: 260px !important;
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
}

/* ─ Card itself: no shadow, subtle border, theme bg ─ */
body.nordic-theme.storefront-branded .slider-item .product-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid color-mix(in srgb, var(--sf-body-text) 10%, transparent) !important;
    border-radius: 12px !important;
    background-color: color-mix(in srgb, var(--sf-secondary) 95%, #ffffff) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    padding: 12px !important;
    display: flex;
    flex-direction: column;
    height: 360px !important;
}

body.nordic-theme.storefront-branded .slider-item .product-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-4px) !important;
    border-color: var(--sf-primary) !important;
}

/* ─ Card image: inset with rounded corners and framed styling ─ */
body.nordic-theme.storefront-branded .slider-item .product-card-img {
    border-radius: 8px !important;
    width: 100% !important;
    height: 130px !important;
    object-fit: contain !important;
    background-color: #f7f7f5 !important;
    padding: 8px !important;
}

/* ─ Card text: theme-aware ─ */
body.nordic-theme.storefront-branded .slider-item .product-info {
    padding: 12px 4px 8px 4px !important;
}

body.nordic-theme.storefront-branded .slider-item .product-title {
    color: var(--sf-body-text) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
}

body.nordic-theme.storefront-branded .slider-item .product-content {
    padding-left: 0 !important;
    list-style: none !important;
    margin-bottom: 12px !important;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

body.nordic-theme.storefront-branded .slider-item .product-content li {
    font-size: 11px !important;
    background-color: color-mix(in srgb, var(--sf-body-text) 8%, transparent) !important;
    color: color-mix(in srgb, var(--sf-body-text) 70%, transparent) !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    font-weight: 500 !important;
}

body.nordic-theme.storefront-branded .slider-item .price {
    color: var(--sf-primary) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    margin-bottom: 12px !important;
}

/* ─ Card buttons: theme primary ─ */
body.nordic-theme.storefront-branded .slider-item .product-button {
    display: flex !important;
    gap: 8px !important;
    padding: 0 4px 4px 4px !important;
    margin-top: auto !important;
}

body.nordic-theme.storefront-branded .slider-item .product-button .add {
    flex: 1 !important;
    height: 40px !important;
    background-color: var(--sf-primary) !important;
    border: none !important;
    color: var(--sf-on-primary) !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 8px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.nordic-theme.storefront-branded .slider-item .product-button .add:hover {
    background-color: color-mix(in srgb, var(--sf-primary) 85%, #000) !important;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--sf-primary) 20%, transparent) !important;
    transform: translateY(-1px) !important;
}

body.nordic-theme.storefront-branded .slider-item .product-button .share {
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
    border: 1px solid color-mix(in srgb, var(--sf-body-text) 15%, transparent) !important;
    border-radius: 8px !important;
    background-color: color-mix(in srgb, var(--sf-body-text) 4%, transparent) !important;
    color: var(--sf-body-text) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

body.nordic-theme.storefront-branded .slider-item .product-button .share img {
    width: 16px !important;
    height: 16px !important;
    filter: invert(72%) sepia(93%) saturate(1210%) hue-rotate(357deg) brightness(102%) contrast(107%) !important;
}

body.nordic-theme.storefront-branded .slider-item .product-button .share:hover {
    background-color: rgba(241, 196, 15, 0.08) !important;
    border-color: rgba(241, 196, 15, 0.4) !important;
}

/* ─ Heart icon ─ */
body.nordic-theme.storefront-branded .slider-item .product-heart {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 32px !important;
    height: 32px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #1a1a1a !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

body.nordic-theme.storefront-branded .slider-item .product-heart:hover {
    transform: scale(1.05) !important;
    background-color: #ffffff !important;
}

body.nordic-theme.storefront-branded .slider-item .product-heart.active {
    background-color: var(--sf-primary) !important;
    border-color: var(--sf-primary) !important;
    color: var(--sf-on-primary) !important;
}

body.nordic-theme.storefront-branded .slider-item .product-heart.active i {
    color: var(--sf-on-primary) !important;
}

/* ─ Slider nav buttons: hidden for auto-scroll ─ */
body.nordic-theme.storefront-branded .similar-products-section .slider-btn {
    display: none !important;
}


/* ─── Share Modal Styling ────────────────────────────────────────────────── */

body.nordic-theme.storefront-branded .share-modal {
    position: fixed !important;
    z-index: 10000 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    transition: opacity 0.3s ease !important;
}

body.nordic-theme.storefront-branded .share-modal.hidden {
    display: none !important;
    opacity: 0 !important;
}

body.nordic-theme.storefront-branded .share-modal-content {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    padding: 30px !important;
    width: 400px !important;
    max-width: 90% !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    position: relative !important;
    text-align: center !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body.nordic-theme.storefront-branded .share-modal .close-btn {
    position: absolute !important;
    right: 20px !important;
    top: 15px !important;
    font-size: 28px !important;
    color: #888 !important;
    cursor: pointer !important;
    font-weight: 300 !important;
    transition: color 0.2s ease !important;
}

body.nordic-theme.storefront-branded .share-modal .close-btn:hover {
    color: #1a1a1a !important;
}

body.nordic-theme.storefront-branded .share-modal h3 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #1a1a1a !important;
    margin-bottom: 24px !important;
}

body.nordic-theme.storefront-branded .share-links {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-bottom: 24px !important;
}

body.nordic-theme.storefront-branded .share-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: transform 0.2s ease !important;
}

body.nordic-theme.storefront-branded .share-links a:hover {
    transform: scale(1.08) !important;
}

body.nordic-theme.storefront-branded .share-links .whatsapp {
    background-color: #25D366 !important;
}

body.nordic-theme.storefront-branded .share-links .facebook {
    background-color: #1877F2 !important;
}

body.nordic-theme.storefront-branded .share-links .twitter {
    background-color: #1DA1F2 !important;
}

body.nordic-theme.storefront-branded .copy-section {
    display: flex !important;
    gap: 10px !important;
}

body.nordic-theme.storefront-branded .copy-section input {
    flex-grow: 1 !important;
    padding: 10px 15px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    font-size: 13.5px !important;
    color: #666 !important;
    outline: none !important;
    background-color: #f8f9fa !important;
}

body.nordic-theme.storefront-branded .copy-section button {
    padding: 10px 20px !important;
    background-color: var(--sf-primary) !important;
    border: none !important;
    color: var(--sf-on-primary) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

body.nordic-theme.storefront-branded .copy-section button:hover {
    background-color: color-mix(in srgb, var(--sf-primary) 88%, #000) !important;
}

/* Responsive detail container grid */
@media (max-width: 991px) {
    body.nordic-theme.storefront-branded .detail-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 24px !important;
    }
    body.nordic-theme.storefront-branded .detail-title {
        font-size: 26px !important;
    }
}

/* ─── Premium Single Row Details Buttons Alignment ───────────────────── */
@media (min-width: 769px) {
    body.nordic-theme.storefront-branded .detail-button {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    body.nordic-theme.storefront-branded .detail-button .button-wrapper {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
    }

    /* Add to cart wrapper takes remaining space */
    body.nordic-theme.storefront-branded .detail-button .button-wrapper:first-child {
        flex: 1 1 auto !important;
    }

    body.nordic-theme.storefront-branded .detail-button button.add {
        width: 100% !important;
    }
}

/* ─── Premium Furniture Details Page Specs Grid ──────────────────────── */
body.nordic-theme.storefront-branded .nordic-product-specs {
    background-color: #fafaf8 !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-top: 15px !important;
}

body.nordic-theme.storefront-branded .nordic-product-specs .specs-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
}

body.nordic-theme.storefront-branded .spec-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 6px !important;
    padding: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01) !important;
}

body.nordic-theme.storefront-branded .spec-icon-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background-color: rgba(95, 111, 101, 0.08) !important;
    color: var(--sf-primary) !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
}

body.nordic-theme.storefront-branded .spec-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

body.nordic-theme.storefront-branded .spec-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #888885 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

body.nordic-theme.storefront-branded .spec-desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #2c2c2a !important;
}

body.nordic-theme .additional-properties .properties-sub-title {
    display: inline-flex !important;
    align-items: center !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #1a1a1a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

body.nordic-theme .additional-properties .properties-sub-title i {
    font-size: 11.5px !important;
    margin-right: 6px !important;
}

body.nordic-theme .badge-property {
    display: inline-flex !important;
    align-items: center !important;
    background-color: #f4f4f2 !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    color: #555552 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

body.nordic-theme .badge-property:hover {
    background-color: rgba(95, 111, 101, 0.08) !important;
    color: var(--sf-primary, #5f6f65) !important;
}

/* ─── Premium Tabs Section ────────────────────────────────────────────── */
body.nordic-theme.storefront-branded .furniture-details-tabs {
    max-width: 1320px !important;
    margin: 40px auto 0 !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02) !important;
}

body.nordic-theme.storefront-branded .furniture-details-tabs .nav-tabs {
    display: flex !important;
    border-bottom: 2px solid #f0f0ed !important;
    margin-bottom: 20px !important;
}

body.nordic-theme.storefront-branded .furniture-details-tabs .nav-tabs .nav-link {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #888885 !important;
    background: none !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    padding: 12px 20px !important;
    margin-bottom: -2px !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
}

body.nordic-theme.storefront-branded .furniture-details-tabs .nav-tabs .nav-link:hover {
    color: var(--sf-primary) !important;
    border-bottom-color: rgba(95, 111, 101, 0.3) !important;
}

body.nordic-theme.storefront-branded .furniture-details-tabs .nav-tabs .nav-link.active {
    color: var(--sf-primary) !important;
    border-bottom: 2px solid var(--sf-primary) !important;
}

body.nordic-theme.storefront-branded .furniture-details-tabs .tab-pane {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #4a4a47 !important;
}

body.nordic-theme.storefront-branded .specs-table {
    margin-bottom: 0 !important;
    border-color: #f0f0ed !important;
}

body.nordic-theme.storefront-branded .specs-table th {
    background-color: #fafaf8 !important;
    color: #1a1a1a !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    width: 250px !important;
    padding: 12px 20px !important;
}

body.nordic-theme.storefront-branded .specs-table td {
    color: #555552 !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
}

@media (max-width: 768px) {
    body.nordic-theme.storefront-branded .nordic-product-specs .specs-grid {
        grid-template-columns: 1fr !important;
    }
    body.nordic-theme.storefront-branded .furniture-details-tabs .nav-tabs {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        border-bottom: none !important;
        gap: 8px !important;
    }
    body.nordic-theme.storefront-branded .furniture-details-tabs .nav-tabs .nav-link {
        border-bottom: 2px solid #f0f0ed !important;
        border-radius: 6px !important;
        background-color: #fafaf9 !important;
        margin-bottom: 0 !important;
    }
    body.nordic-theme.storefront-branded .furniture-details-tabs .nav-tabs .nav-link.active {
        background-color: rgba(95, 111, 101, 0.08) !important;
        border-bottom-color: var(--sf-primary) !important;
    }
}


/* ============================================================
   SECTION TITLE — theme-aware heading utility
   Replaces Bootstrap text-reset which inherits parent color.
   Uses high specificity to override any Bootstrap or global rules.
   ============================================================ */
body.nordic-theme .sf-section-title,
body.nordic-theme.storefront-branded .sf-section-title,
html.storefront-branded body.nordic-theme h2.sf-section-title {
    color: var(--sf-body-text, #1a1a1a) !important;
}

/* ─── Product Detail: Quantity Controls ────────────────────────────────── */
body.nordic-theme.storefront-branded .add-remove-button {
    border-color: var(--sf-primary) !important;
    border-radius: 8px !important;
}

body.nordic-theme.storefront-branded .add-remove-button span.quantity {
    color: var(--sf-primary) !important;
    font-weight: 700 !important;
}

body.nordic-theme.storefront-branded .add-remove-button button {
    color: var(--sf-primary) !important;
}

/* ─── Similar Products: Hide title, auto-scroll left ───────────────────── */
body.nordic-theme.storefront-branded .similar-products-section .order-like-title {
    display: none !important;
}

body.nordic-theme.storefront-branded .slider-track.nordic-auto-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    width: 100% !important;
    scrollbar-width: none !important; /* Hide scrollbar for Firefox */
    scroll-behavior: auto !important; /* Crucial for frame-perfect manual drag and JS scrolling */
    user-select: none !important;
    -webkit-user-drag: none !important;
    scroll-snap-type: none !important; /* Disable snapping so JS smooth auto-scroll works */
}

body.nordic-theme.storefront-branded .slider-track.nordic-auto-scroll::-webkit-scrollbar {
    display: none !important; /* Hide scrollbar for Chrome/Safari */
}

body.nordic-theme.storefront-branded .slider-track.nordic-auto-scroll .slider-item,
body.nordic-theme.storefront-branded .slider-track.nordic-auto-scroll .product-card,
body.nordic-theme.storefront-branded .slider-track.nordic-auto-scroll img {
    user-select: none !important;
    -webkit-user-drag: none !important;
}

body.nordic-theme.storefront-branded .similar-products-section .slider-container {
    overflow: hidden !important;
    position: relative !important;
    border-radius: 0 !important;
    background: color-mix(in srgb, var(--sf-secondary, #ffffff) 20%, transparent) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid color-mix(in srgb, var(--sf-body-text, #1a1a1a) 8%, transparent) !important;
    padding: 12px 15px !important;
}

body.nordic-theme.storefront-branded .similar-products-section .slider-track {
    height: 390px !important;
}


body.nordic-theme.storefront-branded .similar-products-section .slider-btn {
    display: flex !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background-color: var(--sf-secondary, #F5F5F3) !important;
    border: 1px solid color-mix(in srgb, var(--sf-body-text, #1a1a1a) 15%, transparent) !important;
    color: var(--sf-body-text, #1a1a1a) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 10 !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

body.nordic-theme.storefront-branded .similar-products-section .slider-btn:hover {
    background-color: var(--sf-primary) !important;
    color: var(--sf-on-primary) !important;
    border-color: var(--sf-primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

body.nordic-theme.storefront-branded .similar-products-section .left-btn {
    left: 15px !important;
}

body.nordic-theme.storefront-branded .similar-products-section .right-btn {
    right: 15px !important;
}

/* ─── Page Detail Spacing and Card Shadows ────────────────────────────── */
body.nordic-theme .order-padding {
    padding-top: 30px !important; /* Spacing between header and card */
}

body.nordic-theme.storefront-branded .detail-container,
body.nordic-theme .detail-container {
    box-shadow: none !important; /* Remove shadow from the main details container */
}

body.nordic-theme .product-card,
body.nordic-theme .slider-item .product-card {
    box-shadow: none !important; /* Remove shadows from all product cards */
}

body.nordic-theme .product-card:hover,
body.nordic-theme .slider-item .product-card:hover {
    box-shadow: none !important; /* Prevent shadows on hover */
}

/* ─── Input Focus Aesthetics Override ───────────────────────────────────── */
body.nordic-theme input:focus,
body.nordic-theme textarea:focus,
body.nordic-theme select:focus,
body.nordic-theme .form-control:focus,
body.nordic-theme .form-select:focus {
    border-color: var(--sf-primary, #5F6F65) !important;
    box-shadow: 0 0 0 3px rgba(95, 111, 101, 0.12) !important;
    outline: none !important;
}

/* ─── Remove Shadow from Specs Card ─────────────────────────────────────── */
body.nordic-theme.storefront-branded .detail-specs-card,
body.nordic-theme.storefront-branded .spec-card,
body.nordic-theme .detail-specs-card,
body.nordic-theme .spec-card {
    box-shadow: none !important;
}
