/**
 * Bootstrap 5.3 theme + storefront overrides
 */
:root,
[data-bs-theme="light"] {
    --bs-primary: #0ea5e9;
    --bs-primary-rgb: 14, 165, 233;
    --bs-link-color: #0ea5e9;
    --bs-link-hover-color: #0284c7;
    --bs-body-font-family: "DM Sans", system-ui, -apple-system, sans-serif;
    --bs-body-bg: #f8fafc;
    --bs-body-color: #0f172a;
    --bs-secondary-color: #64748b;
    --bs-border-color: #e2e8f0;
    --bs-border-radius: 0.75rem;
    --bs-border-radius-lg: 1rem;
    --bs-border-radius-xl: 1.25rem;
    --bs-focus-ring-color: rgba(14, 165, 233, 0.25);

    /* Legacy aliases used by cart/checkout views */
    --fe-text: var(--bs-body-color);
    --fe-text-muted: var(--bs-secondary-color);
    --fe-accent: var(--bs-primary);
    --fe-accent-soft: rgba(var(--bs-primary-rgb), 0.1);
    --fe-border: var(--bs-border-color);
    --fe-border-soft: #f1f5f9;
    --fe-surface: #fff;
    --fe-radius: var(--bs-border-radius);
    --fe-radius-lg: var(--bs-border-radius-lg);
    --fe-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --fe-hero-start: #0369a1;
    --fe-hero-mid: #0c4a6e;
    --fe-hero-end: #0f172a;

    /* Storefront accent — matches header orange */
    --fe-accent-orange: #f97316;
    --fe-accent-orange-dark: #ea580c;
    --fe-accent-orange-soft: #fff7ed;
    --fe-accent-orange-muted: #ffedd5;
}

html,
body {
    overflow-x: clip;
}

.btn-primary {
    --bs-btn-font-weight: 600;
}

.navbar .nav-link.active {
    color: var(--bs-primary) !important;
    font-weight: 600;
}

/* Site header — 3D LIVE SHOPPING style */
.fe-site-header {
    --fe-header-orange: var(--fe-accent-orange);
    --fe-header-orange-dark: var(--fe-accent-orange-dark);
    --fe-header-orange-hover: #c2410c;
    position: relative;
    background: linear-gradient(180deg, #fff 0%, #fffcf9 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 14px 28px -14px rgba(15, 23, 42, 0.14),
        0 4px 12px -4px rgba(234, 88, 12, 0.1);
    z-index: 1030;
}

.fe-site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.35) 20%, rgba(251, 146, 60, 0.5) 50%, rgba(249, 115, 22, 0.35) 80%, transparent);
    pointer-events: none;
}

.fe-header-top {
    padding: 0.9rem 0;
    border-bottom: 1px solid #f8f1eb;
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.35) 0%, transparent 100%);
}

.fe-header-top-inner {
    display: flex;
    align-items: center;
    gap: 1rem 1.25rem;
}

.fe-header-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
    padding: 0.35rem 0.5rem;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fe-header-logo:hover {
    transform: translateY(-2px);
}

.fe-header-logo-main {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--fe-header-orange);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    text-shadow: 0 1px 0 #fff, 0 2px 8px rgba(249, 115, 22, 0.25);
}

.fe-header-logo-sub {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--fe-header-orange-dark);
    letter-spacing: 0.22em;
    margin-top: 0.2rem;
}

.fe-header-search {
    display: none;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 36rem;
    margin: 0 auto;
    filter: drop-shadow(0 6px 14px rgba(234, 88, 12, 0.12));
}

.fe-header-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 2.75rem;
    border: 2px solid #fed7aa;
    border-right: 0;
    border-radius: 0.55rem 0 0 0.55rem;
    padding: 0 0.9rem;
    font-size: 0.9375rem;
    color: #334155;
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fe-header-search-input::placeholder {
    color: #94a3b8;
}

.fe-header-search-input:focus {
    outline: none;
    border-color: var(--fe-header-orange);
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.04), 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.fe-header-search-btn {
    flex-shrink: 0;
    width: 3.1rem;
    height: 2.75rem;
    border: 0;
    border-radius: 0 0.55rem 0.55rem 0;
    background: linear-gradient(180deg, #fb923c 0%, var(--fe-header-orange) 50%, var(--fe-header-orange-dark) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 0 #c2410c, 0 6px 14px -4px rgba(234, 88, 12, 0.45);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.fe-header-search-btn:hover {
    background: linear-gradient(180deg, var(--fe-header-orange) 0%, var(--fe-header-orange-dark) 100%);
}

.fe-header-search-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #c2410c, 0 3px 8px -3px rgba(234, 88, 12, 0.4);
}

.fe-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
}

.fe-header-btn-3d {
    background: linear-gradient(180deg, #fb923c 0%, var(--fe-header-orange) 50%, var(--fe-header-orange-dark) 100%);
    box-shadow: 0 3px 0 #c2410c, 0 6px 14px -4px rgba(234, 88, 12, 0.4);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.fe-header-btn-3d:hover {
    background: linear-gradient(180deg, var(--fe-header-orange) 0%, var(--fe-header-orange-dark) 100%);
    color: #fff;
}

.fe-header-btn-3d:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #c2410c, 0 3px 8px -3px rgba(234, 88, 12, 0.35);
}

.fe-header-phone {
    align-items: center;
    gap: 0.5rem;
    height: 2.75rem;
    padding: 0 1rem;
    border-radius: 0.55rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    white-space: nowrap;
}

.fe-header-phone--mobile {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin: 0.75rem 0 1rem;
}

.fe-header-cart {
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.55rem;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.fe-header-cart:hover {
    color: #fff;
    transform: translateY(-1px);
}

.fe-header-cart-badge {
    position: absolute;
    top: -0.4rem;
    right: -0.4rem;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #fff;
    box-shadow: 0 3px 8px -2px rgba(15, 23, 42, 0.5);
}

.fe-header-account-btn {
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 0.55rem;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fe-header-account-btn::after {
    display: none;
}

.fe-header-phone,
.fe-header-cart,
.fe-header-account-btn,
.fe-header-mobile-toggle {
    background: linear-gradient(180deg, #fb923c 0%, var(--fe-header-orange) 50%, var(--fe-header-orange-dark) 100%);
    box-shadow: 0 3px 0 #c2410c, 0 6px 14px -4px rgba(234, 88, 12, 0.4);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.fe-header-phone:hover,
.fe-header-cart:hover,
.fe-header-account-btn:hover,
.fe-header-account-btn.show,
.fe-header-mobile-toggle:hover {
    background: linear-gradient(180deg, var(--fe-header-orange) 0%, var(--fe-header-orange-dark) 100%);
    color: #fff;
}

.fe-header-phone:active,
.fe-header-cart:active,
.fe-header-account-btn:active,
.fe-header-mobile-toggle:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #c2410c, 0 3px 8px -3px rgba(234, 88, 12, 0.35);
}

.fe-header-dropdown {
    border: 1px solid #f1e8e0;
    border-radius: 0.75rem;
    background: linear-gradient(165deg, #fff 0%, #fffcf9 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 18px 36px -12px rgba(15, 23, 42, 0.22),
        0 6px 14px -6px rgba(234, 88, 12, 0.12);
    margin-top: 0.5rem !important;
    padding: 0.35rem;
}

.fe-header-dropdown .dropdown-item {
    border-radius: 0.45rem;
    font-weight: 500;
    transition: background 0.15s ease, transform 0.12s ease;
}

.fe-header-dropdown .dropdown-item:hover {
    background: var(--fe-accent-orange-soft);
    color: var(--fe-accent-orange-dark);
    transform: translateX(2px);
}

.fe-header-mobile-toggle {
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 0.55rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0;
}

.fe-header-mobile-toggle span {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.fe-header-nav {
    background: linear-gradient(180deg, #f5f5f4 0%, #ececec 100%);
    border-bottom: 1px solid #ddd;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.fe-header-nav-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 0;
    padding: 0.6rem 0;
}

.fe-header-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.65rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    border-radius: 0.45rem;
    border: 1px solid transparent;
    transition: color 0.15s ease, background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.fe-header-nav-link:hover {
    color: var(--fe-header-orange-dark);
    background: #fff;
    border-color: #fed7aa;
    box-shadow: 0 4px 12px -6px rgba(234, 88, 12, 0.25);
    transform: translateY(-1px);
}

.fe-header-nav-link.is-active {
    color: #fff;
    background: linear-gradient(145deg, var(--fe-header-orange) 0%, var(--fe-header-orange-dark) 100%);
    border-color: #ea580c;
    box-shadow: 0 3px 0 #c2410c, 0 6px 14px -4px rgba(234, 88, 12, 0.35);
}

.fe-header-nav-sep {
    color: #cbd5e1;
    font-weight: 400;
    padding: 0 0.1rem;
    user-select: none;
}

.fe-header-search--mobile {
    display: flex;
    margin-top: 0.75rem;
    filter: drop-shadow(0 4px 10px rgba(234, 88, 12, 0.1));
}

.fe-header-mobile-panel {
    background: linear-gradient(180deg, #f5f5f4 0%, #ececec 100%);
    border-bottom: 1px solid #ddd;
    box-shadow: inset 0 4px 12px -8px rgba(15, 23, 42, 0.08);
}

.fe-header-nav-inner--mobile {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 1rem;
    gap: 0.35rem;
}

.fe-header-nav-inner--mobile .fe-header-nav-link {
    width: 100%;
    padding: 0.55rem 0.75rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 10px -6px rgba(15, 23, 42, 0.12);
}

.fe-header-nav-inner--mobile .fe-header-nav-link.is-active {
    background: linear-gradient(145deg, var(--fe-header-orange) 0%, var(--fe-header-orange-dark) 100%);
}

@media (min-width: 992px) {
    .fe-header-search {
        display: flex;
    }
}

@media (max-width: 991.98px) {
    .fe-header-top-inner {
        flex-wrap: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fe-header-logo:hover,
    .fe-header-nav-link:hover,
    .fe-header-phone:active,
    .fe-header-cart:active,
    .fe-header-account-btn:active,
    .fe-header-mobile-toggle:active,
    .fe-header-search-btn:active,
    .fe-header-dropdown .dropdown-item:hover {
        transform: none;
        transition: none;
    }
}

/* Wider ecommerce container */
@media (min-width: 1400px) {
    .container-xxl {
        max-width: 1440px;
    }
}

@media (min-width: 1600px) {
    .container-xxl {
        max-width: 1520px;
    }
}

/* Shop page — 3D layout */
.fe-shop-page {
    perspective: 1200px;
}

.fe-shop-hero {
    transform: translateZ(0);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 22px 40px -12px rgba(15, 23, 42, 0.45),
        0 8px 16px -8px rgba(234, 88, 12, 0.35);
}

.fe-shop-hero .card-body {
    position: relative;
    z-index: 1;
}

.fe-shop-hero__scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.fe-shop-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.7;
}

.fe-shop-hero__orb--1 {
    top: -30%;
    right: -5%;
    width: 14rem;
    height: 14rem;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.55) 0%, transparent 70%);
    animation: fe-shop-hero-drift-1 12s ease-in-out infinite;
}

.fe-shop-hero__orb--2 {
    bottom: -35%;
    left: 5%;
    width: 12rem;
    height: 12rem;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.45) 0%, transparent 72%);
    animation: fe-shop-hero-drift-2 15s ease-in-out infinite;
}

.fe-shop-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 20%, transparent 85%);
    opacity: 0.5;
}

.fe-shop-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.25);
}

.shop-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 55% at 90% 10%, rgba(251, 146, 60, 0.22) 0%, transparent 55%),
        linear-gradient(145deg, #1a1008 0%, #2a1810 42%, #150d07 100%);
}

.fe-shop-hero--all {
    background:
        radial-gradient(ellipse 70% 55% at 90% 10%, rgba(251, 146, 60, 0.22) 0%, transparent 55%),
        linear-gradient(145deg, #1a1008 0%, #2a1810 42%, #150d07 100%);
}

.fe-shop-hero--best-selling {
    background:
        radial-gradient(ellipse 65% 50% at 12% 85%, rgba(249, 115, 22, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 88% 15%, rgba(251, 191, 36, 0.18) 0%, transparent 50%),
        linear-gradient(145deg, #1c1209 0%, #2d1a0e 45%, #120a06 100%);
}

.fe-shop-hero--flash-sale {
    background:
        radial-gradient(ellipse 60% 50% at 85% 20%, rgba(244, 63, 94, 0.25) 0%, transparent 52%),
        radial-gradient(ellipse 55% 45% at 15% 75%, rgba(249, 115, 22, 0.3) 0%, transparent 55%),
        linear-gradient(145deg, #1a0a08 0%, #2a120c 45%, #140806 100%);
}

.shop-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.shop-hero::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -2rem;
    height: 2rem;
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.35) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.fe-shop-btn-primary {
    background: linear-gradient(180deg, #fb923c 0%, var(--fe-accent-orange) 50%, var(--fe-accent-orange-dark) 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 3px 0 #c2410c, 0 6px 14px -4px rgba(234, 88, 12, 0.4);
}

.fe-shop-btn-primary:hover {
    color: #fff;
    background: linear-gradient(180deg, var(--fe-accent-orange) 0%, var(--fe-accent-orange-dark) 100%);
}

.fe-shop-btn-outline {
    border: 2px solid #fed7aa;
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
    color: var(--fe-accent-orange-dark);
    font-weight: 700;
}

.fe-shop-btn-outline:hover {
    color: var(--fe-accent-orange-dark);
    border-color: var(--fe-accent-orange);
}

.fe-shop-clear-btn {
    border: 1.5px solid #fed7aa;
    background: #fff;
    color: var(--fe-accent-orange-dark);
    font-weight: 600;
}

.fe-shop-clear-btn:hover {
    background: var(--fe-accent-orange-soft);
    color: var(--fe-accent-orange-dark);
    border-color: var(--fe-accent-orange);
}

@keyframes fe-shop-hero-drift-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-6%, 8%); }
}

@keyframes fe-shop-hero-drift-2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(7%, -5%); }
}

@media (prefers-reduced-motion: reduce) {
    .fe-shop-hero__orb {
        animation: none;
    }
}

.fe-filter-panel {
    background: linear-gradient(165deg, #fff 0%, #faf7f5 100%);
    border: 1px solid #f1e8e0 !important;
    border-radius: 1rem !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 14px 28px -14px rgba(15, 23, 42, 0.18),
        0 4px 10px -4px rgba(234, 88, 12, 0.12);
    transform: translateZ(12px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fe-filter-panel:hover {
    transform: translateZ(18px) translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 20px 36px -14px rgba(15, 23, 42, 0.22),
        0 8px 16px -6px rgba(234, 88, 12, 0.15);
}

.fe-filter-panel__title {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.85rem;
}

.fe-filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.fe-filter-link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.55rem;
    text-decoration: none;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 500;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.fe-filter-link:hover {
    color: var(--fe-accent-orange-dark);
    background: #fff;
    border-color: #fed7aa;
    box-shadow: 0 4px 10px -4px rgba(234, 88, 12, 0.2);
    transform: translateX(3px);
}

.fe-filter-link.is-active {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(145deg, var(--fe-accent-orange) 0%, var(--fe-accent-orange-dark) 100%);
    border-color: #ea580c;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 6px 14px -4px rgba(234, 88, 12, 0.45),
        0 2px 0 #c2410c;
    transform: translateX(4px);
}

.fe-shop-grid {
    perspective: 1000px;
}

.fe-shop-grid__item {
    transform-style: preserve-3d;
}

/* Homepage hero */
.home-hero {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 40%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 10% 80%, rgba(56, 189, 248, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

/* Product card — 3D depth */
.product-card {
    position: relative;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
    border: 1px solid #f1e8e0 !important;
    background: linear-gradient(180deg, #fff 0%, #fffcf9 100%);
    overflow: hidden;
    border-radius: 1rem !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 10px 22px -12px rgba(15, 23, 42, 0.14),
        0 4px 8px -4px rgba(234, 88, 12, 0.08);
    transform: translateZ(0) rotateX(0deg);
    transform-style: preserve-3d;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%);
    pointer-events: none;
    z-index: 2;
}

.product-card:hover {
    transform: translateY(-10px) translateZ(16px) rotateX(2deg);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 28px 48px -16px rgba(15, 23, 42, 0.22),
        0 14px 24px -10px rgba(234, 88, 12, 0.2) !important;
    border-color: #fed7aa !important;
}

.product-card .card-img-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(160deg, var(--fe-accent-orange-soft) 0%, var(--fe-accent-orange-muted) 100%);
    box-shadow: 0 8px 16px -12px rgba(15, 23, 42, 0.2) inset;
    position: relative;
    z-index: 1;
}

.product-card .card-img-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 35%;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.06) 100%);
    pointer-events: none;
    z-index: 1;
}

.product-card .card-img-top {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card .card-body {
    background: transparent;
    position: relative;
    z-index: 3;
}

.product-card__brand {
    color: #94a3b8;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.product-card__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1e293b;
    font-weight: 600;
    transition: color 0.15s ease;
}

.product-card:hover .product-card__title a {
    color: var(--fe-accent-orange-dark);
}

.product-card__price {
    color: var(--fe-accent-orange-dark);
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.2;
}

.product-card__price-old {
    color: #94a3b8;
    font-size: 0.8125rem;
}

.product-card__badge-discount {
    background: linear-gradient(145deg, #f87171, #dc2626) !important;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.3em 0.55em;
    border-radius: 0.35rem;
    box-shadow: 0 3px 8px -2px rgba(220, 38, 38, 0.45);
    z-index: 4;
}

.product-card__badge-new {
    background: linear-gradient(145deg, var(--fe-accent-orange), var(--fe-accent-orange-dark)) !important;
    color: #fff !important;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.3em 0.55em;
    border-radius: 0.35rem;
    box-shadow: 0 3px 8px -2px rgba(234, 88, 12, 0.4);
    z-index: 4;
}

.product-card__btn-view {
    --bs-btn-color: var(--fe-accent-orange-dark);
    --bs-btn-border-color: var(--fe-accent-orange);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--fe-accent-orange);
    --bs-btn-hover-border-color: var(--fe-accent-orange);
    --bs-btn-active-bg: var(--fe-accent-orange-dark);
    --bs-btn-active-border-color: var(--fe-accent-orange-dark);
    font-weight: 600;
    box-shadow: 0 3px 0 #fdba74;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.product-card__btn-view:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #fdba74;
}

.product-card__btn-cart {
    --bs-btn-bg: var(--fe-accent-orange);
    --bs-btn-border-color: var(--fe-accent-orange);
    --bs-btn-hover-bg: var(--fe-accent-orange-dark);
    --bs-btn-hover-border-color: var(--fe-accent-orange-dark);
    --bs-btn-active-bg: #c2410c;
    --bs-btn-active-border-color: #c2410c;
    font-weight: 600;
    background: linear-gradient(180deg, #fb923c 0%, var(--fe-accent-orange) 45%, var(--fe-accent-orange-dark) 100%) !important;
    border-color: var(--fe-accent-orange-dark) !important;
    box-shadow: 0 4px 0 #c2410c, 0 8px 16px -6px rgba(234, 88, 12, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.product-card__btn-cart:hover {
    background: linear-gradient(180deg, var(--fe-accent-orange) 0%, var(--fe-accent-orange-dark) 100%) !important;
}

.product-card__btn-cart:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #c2410c, 0 4px 10px -4px rgba(234, 88, 12, 0.3);
}

.product-card__actions {
    display: flex;
    gap: 0.5rem;
}

.product-card__actions--dual .product-card__btn-view,
.product-card__actions--dual .product-card__btn-cart {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
}

.product-card__actions--dual .product-card__btn-cart {
    width: 100%;
}

.product-card__btn-cart.is-loading,
.fe-btn-add-cart.is-loading {
    opacity: 0.75;
    cursor: wait;
}

.product-card__btn-cart.is-added,
.fe-btn-add-cart.is-added {
    background: linear-gradient(180deg, #34d399 0%, #059669 100%) !important;
    border-color: #047857 !important;
    box-shadow: 0 4px 0 #065f46, 0 8px 16px -6px rgba(5, 150, 105, 0.35);
}

/* Cart page — 3D depth */
.fe-cart-page {
    perspective: 1200px;
}

.fe-cart-hero {
    background: linear-gradient(145deg, #ea580c 0%, var(--fe-accent-orange-dark) 42%, #9a3412 100%);
    border-radius: 1rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.75rem;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 22px 40px -12px rgba(154, 52, 18, 0.5),
        0 8px 16px -8px rgba(234, 88, 12, 0.35);
}

.fe-cart-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 237, 213, 0.35) 0%, transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 38%);
    pointer-events: none;
}

.fe-cart-hero::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -1.5rem;
    height: 1.5rem;
    background: radial-gradient(ellipse at center, rgba(154, 52, 18, 0.35) 0%, transparent 72%);
    pointer-events: none;
}

.fe-cart-hero__inner {
    position: relative;
    z-index: 1;
}

.fe-cart-hero h1 {
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    margin: 0 0 0.25rem;
    text-shadow: 0 2px 8px rgba(124, 45, 18, 0.35);
}

.fe-cart-hero p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9375rem;
}

.fe-cart-card,
.fe-summary-card {
    border-radius: 1rem;
    border: 1px solid #f1e8e0;
    background: linear-gradient(165deg, #fff 0%, #fffcf9 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 16px 32px -16px rgba(15, 23, 42, 0.16),
        0 6px 12px -6px rgba(234, 88, 12, 0.1);
    transform: translateZ(10px);
}

.fe-cart-card {
    overflow: hidden;
    padding: 0.65rem;
}

.fe-cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid #f8f1eb;
    background: #fff;
    align-items: center;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 6px 14px -8px rgba(15, 23, 42, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    transform: translateZ(4px);
}

.fe-cart-item:last-child {
    margin-bottom: 0;
}

.fe-cart-item:hover {
    transform: translateY(-3px) translateZ(8px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 14px 24px -10px rgba(15, 23, 42, 0.14),
        0 6px 12px -6px rgba(234, 88, 12, 0.12);
    border-color: #fed7aa;
}

.fe-cart-item__image {
    width: 80px;
    height: 80px;
    border-radius: 0.65rem;
    object-fit: cover;
    background: linear-gradient(160deg, var(--fe-accent-orange-soft) 0%, var(--fe-accent-orange-muted) 100%);
    flex-shrink: 0;
    border: 1px solid #fed7aa;
    box-shadow:
        0 4px 10px -4px rgba(15, 23, 42, 0.18),
        0 2px 0 #fff inset;
}

.fe-cart-item__info {
    flex: 1;
    min-width: 0;
}

.fe-cart-item__name {
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.fe-cart-item__name a {
    color: var(--fe-text);
    text-decoration: none;
    transition: color 0.15s ease;
}

.fe-cart-item__name a:hover {
    color: var(--fe-accent-orange-dark);
}

.fe-cart-item__price {
    color: var(--fe-text-muted);
    font-size: 0.8125rem;
}

.fe-cart-item__qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fe-cart-item__qty input {
    width: 70px;
    text-align: center;
    border-color: #fed7aa;
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
    box-shadow: 0 2px 0 #fed7aa inset, 0 1px 3px rgba(15, 23, 42, 0.06);
    font-weight: 600;
}

.fe-cart-item__qty input:focus {
    border-color: var(--fe-accent-orange);
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.15), 0 2px 0 #fed7aa inset;
}

.fe-cart-item__remove {
    width: 1.75rem;
    height: 1.75rem;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, #fee2e2, #fecaca);
    color: #b91c1c;
    font-size: 0.875rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 0 #fca5a5, 0 4px 10px -4px rgba(220, 38, 38, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.fe-cart-item__remove:hover {
    color: #991b1b;
    background: linear-gradient(145deg, #fecaca, #fca5a5);
}

.fe-cart-item__remove:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #fca5a5;
}

.fe-cart-item__total {
    font-weight: 800;
    color: var(--fe-accent-orange-dark);
    min-width: 5.5rem;
    text-align: right;
    padding: 0.35rem 0.55rem;
    border-radius: 0.5rem;
    background: var(--fe-accent-orange-soft);
    border: 1px solid #fed7aa;
    box-shadow: 0 2px 0 #ffedd5 inset;
}

.fe-cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
    border: 1px solid #fde68a;
    box-shadow: 0 8px 18px -12px rgba(234, 88, 12, 0.2);
}

.fe-summary-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fe-summary-card:hover {
    transform: translateZ(16px) translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 24px 40px -16px rgba(15, 23, 42, 0.2),
        0 10px 20px -8px rgba(234, 88, 12, 0.15);
}

.fe-summary-card .card-body {
    padding: 1.5rem;
}

.fe-summary-card .total {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--fe-accent-orange-dark);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.fe-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.fe-empty-cart {
    text-align: center;
    padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
    background: linear-gradient(165deg, #fff 0%, #fff7ed 100%);
    border-radius: 1rem;
    border: 1px solid #fed7aa;
    margin-bottom: 2.5rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 18px 36px -18px rgba(15, 23, 42, 0.16);
    transform: translateZ(8px);
}

.fe-empty-cart__icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--fe-accent-orange-soft), #ffedd5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow:
        0 6px 16px -6px rgba(234, 88, 12, 0.35),
        0 2px 0 #fff inset;
}

.fe-empty-cart h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.fe-empty-cart p {
    color: var(--fe-text-muted);
    max-width: 26rem;
    margin: 0 auto 1.5rem;
}

.fe-cart-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #fde68a;
}

.fe-cart-benefit {
    font-size: 0.8125rem;
    color: var(--fe-text-muted);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #fed7aa;
    box-shadow: 0 3px 8px -4px rgba(234, 88, 12, 0.2);
}

.fe-cart-btn-primary {
    --bs-btn-bg: var(--fe-accent-orange);
    --bs-btn-border-color: var(--fe-accent-orange-dark);
    --bs-btn-hover-bg: var(--fe-accent-orange-dark);
    --bs-btn-hover-border-color: #c2410c;
    --bs-btn-active-bg: #c2410c;
    --bs-btn-active-border-color: #c2410c;
    font-weight: 600;
    background: linear-gradient(180deg, #fb923c 0%, var(--fe-accent-orange) 45%, var(--fe-accent-orange-dark) 100%) !important;
    border-color: var(--fe-accent-orange-dark) !important;
    box-shadow: 0 4px 0 #c2410c, 0 10px 20px -8px rgba(234, 88, 12, 0.4);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.fe-cart-btn-primary:hover {
    background: linear-gradient(180deg, var(--fe-accent-orange) 0%, var(--fe-accent-orange-dark) 100%) !important;
}

.fe-cart-btn-primary:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #c2410c, 0 4px 12px -4px rgba(234, 88, 12, 0.35);
}

.fe-cart-btn-outline {
    --bs-btn-color: var(--fe-accent-orange-dark);
    --bs-btn-border-color: var(--fe-accent-orange);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--fe-accent-orange);
    --bs-btn-hover-border-color: var(--fe-accent-orange);
    --bs-btn-active-bg: var(--fe-accent-orange-dark);
    --bs-btn-active-border-color: var(--fe-accent-orange-dark);
    font-weight: 600;
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
    box-shadow: 0 3px 0 #fdba74;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.fe-cart-btn-outline:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #fdba74;
}

.fe-cart-btn-danger {
    --bs-btn-color: #b91c1c;
    --bs-btn-border-color: #fca5a5;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #dc2626;
    --bs-btn-hover-border-color: #dc2626;
    font-weight: 600;
    background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
    box-shadow: 0 3px 0 #fecaca;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.fe-cart-btn-danger:hover {
    color: #fff;
}

.fe-cart-btn-danger:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #fecaca;
}

.fe-cart-item--loading {
    opacity: 0.55;
    pointer-events: none;
}

.fe-cart-item--removing {
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fe-cart-toast {
    position: fixed;
    top: 5.5rem;
    right: 1rem;
    z-index: 1040;
    max-width: 20rem;
    padding: 0.75rem 1rem;
    border-radius: 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.25);
}

.fe-cart-toast--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.fe-cart-toast--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 767.98px) {
    .fe-cart-item {
        flex-wrap: wrap;
    }

    .fe-cart-item__total {
        width: 100%;
        text-align: left;
        margin-top: 0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fe-cart-item,
    .fe-cart-item:hover,
    .fe-summary-card,
    .fe-summary-card:hover {
        transform: none;
        transition: none;
    }
}

/* Checkout page */
.fe-checkout-page {
    padding-bottom: 5rem;
}

@media (min-width: 992px) {
    .fe-checkout-page {
        padding-bottom: 2rem;
    }
}

.fe-checkout-page-head {
    margin-bottom: 1.25rem;
}

.fe-checkout-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.fe-checkout-subtitle {
    font-size: 0.9375rem;
    color: #64748b;
}

.fe-checkout-progress {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    gap: 0.35rem;
    counter-reset: checkout-step;
}

.fe-checkout-progress__item {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}

.fe-checkout-progress__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.15rem;
    left: calc(50% + 1.1rem);
    right: calc(-50% + 1.1rem);
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.fe-checkout-progress__item.is-complete:not(:last-child)::after,
.fe-checkout-progress__item.is-active:not(:last-child)::after {
    background: var(--fe-accent-orange-muted);
}

.fe-checkout-progress__btn {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.35rem 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.fe-checkout-progress__btn:disabled {
    cursor: default;
    opacity: 0.55;
}

.fe-checkout-progress__num {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
    border: 2px solid #e2e8f0;
    transition: all 0.15s ease;
}

.fe-checkout-progress__item.is-active .fe-checkout-progress__num {
    background: var(--fe-accent-orange);
    border-color: var(--fe-accent-orange);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.fe-checkout-progress__item.is-complete .fe-checkout-progress__num {
    background: var(--fe-accent-orange-soft);
    border-color: var(--fe-accent-orange);
    color: var(--fe-accent-orange-dark);
}

.fe-checkout-progress__label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
    text-align: center;
    line-height: 1.2;
}

.fe-checkout-progress__item.is-active .fe-checkout-progress__label,
.fe-checkout-progress__item.is-complete .fe-checkout-progress__label {
    color: #334155;
}

@media (min-width: 576px) {
    .fe-checkout-progress__label {
        font-size: 0.75rem;
    }
}

.fe-checkout-step {
    overflow: hidden;
}

.fe-checkout-step.is-active {
    box-shadow: 0 4px 18px rgba(234, 88, 12, 0.08);
}

.fe-checkout-step.is-complete .fe-checkout-step__badge {
    background: var(--fe-accent-orange-soft);
    color: var(--fe-accent-orange-dark);
}

.fe-checkout-step__toggle {
    width: 100%;
    border: 0;
    background: #fff;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    cursor: pointer;
}

.fe-checkout-step.is-active .fe-checkout-step__toggle {
    background: var(--fe-accent-orange-soft);
}

.fe-checkout-step__badge {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
}

.fe-checkout-step.is-active .fe-checkout-step__badge {
    background: var(--fe-accent-orange);
    color: #fff;
}

.fe-checkout-step__head-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.fe-checkout-step__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1e293b;
}

.fe-checkout-step__summary {
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fe-checkout-step__chevron {
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -0.2rem;
}

.fe-checkout-step__toggle:not(.collapsed) .fe-checkout-step__chevron {
    transform: rotate(-135deg);
    margin-top: 0.2rem;
}

.fe-checkout-step__body {
    padding: 0 1.15rem 1.15rem;
    border-top: 1px solid #f8f1eb;
}

.fe-checkout-step__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid #f8f1eb;
}

.fe-checkout-step__actions .btn-lg {
    min-width: 10rem;
}

.fe-checkout-product__meta {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.15rem;
}

.fe-checkout-confirm-box {
    padding: 1rem;
    border-radius: 0.65rem;
    background: var(--fe-accent-orange-soft);
    border: 1px solid #fed7aa;
}

.fe-checkout-confirm-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.875rem;
    padding: 0.35rem 0;
    color: #64748b;
}

.fe-checkout-confirm-row strong {
    color: #1e293b;
    text-align: right;
}

.fe-checkout-confirm-row--total {
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px dashed #fed7aa;
    font-size: 1rem;
}

.fe-checkout-confirm-row--total strong {
    color: var(--fe-accent-orange-dark);
    font-size: 1.125rem;
}

.fe-checkout-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #f1e8e0;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.fe-checkout-mobile-bar__total {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.fe-checkout-mobile-bar__label {
    font-size: 0.6875rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fe-checkout-mobile-bar__total strong {
    font-size: 1.0625rem;
    color: var(--fe-accent-orange-dark);
}

.fe-checkout-mobile-bar__actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .fe-checkout-step:not([data-checkout-step="4"]) .fe-checkout-step__actions {
        display: none;
    }

    .fe-checkout-step[data-checkout-step="4"] .fe-checkout-step__actions .fe-cart-btn-outline {
        display: none;
    }
}

.fe-checkout-card,
.fe-checkout-summary {
    border-radius: var(--fe-radius-lg);
    border: 1px solid #f1e8e0;
    background: var(--fe-surface);
    box-shadow: var(--fe-shadow-sm);
}

.fe-checkout-card .card-body,
.fe-checkout-summary .card-body {
    padding: 1.25rem;
}

.fe-checkout-card .fe-section-head,
.fe-checkout-summary .fe-section-head {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 1rem;
}

.fe-checkout-card .fe-table thead th {
    background: var(--fe-accent-orange-soft);
    color: #9a3412;
    border-bottom-color: #fed7aa;
}

.fe-checkout-card .fe-table tbody td {
    border-bottom-color: #f8f1eb;
    vertical-align: middle;
}

.fe-checkout-card .fe-table tbody tr:last-child td {
    border-bottom: 0;
}

.fe-checkout-line-total {
    color: var(--fe-accent-orange-dark);
    font-weight: 600;
}

.fe-checkout-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.fe-checkout-product__img {
    width: 52px;
    height: 52px;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(160deg, var(--fe-accent-orange-soft) 0%, var(--fe-accent-orange-muted) 100%);
    border: 1px solid #fed7aa;
}

.fe-checkout-product__name {
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

a.fe-checkout-product__name:hover {
    color: var(--fe-accent-orange-dark);
}

.fe-checkout-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.fe-checkout-option {
    display: block;
    margin: 0;
    cursor: pointer;
}

.fe-checkout-option__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fe-checkout-option__card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    height: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #f1e8e0;
    border-radius: 0.75rem;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.fe-checkout-option__input:checked + .fe-checkout-option__card {
    border-color: var(--fe-accent-orange);
    background: var(--fe-accent-orange-soft);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.fe-checkout-option__icon,
.fe-checkout-option__badge {
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: 0.15rem;
}

.fe-checkout-option__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
}

.fe-checkout-option__title {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.9375rem;
}

.fe-checkout-option__desc {
    font-size: 0.8125rem;
    color: #64748b;
}

.fe-checkout-option__meta {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
}

.fe-checkout-payment-info {
    padding: 0.85rem 1rem;
    border-radius: 0.65rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.fe-checkout-account-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.fe-checkout-account-list li {
    padding: 0.55rem 0.65rem;
    border-radius: 0.5rem;
    background: #fff;
    border: 1px solid #fde68a;
    font-size: 0.8125rem;
}

.fe-checkout-summary-meta {
    padding: 0.75rem 0.85rem;
    border-radius: 0.5rem;
    background: var(--fe-accent-orange-soft);
    border: 1px solid #fed7aa;
}

.fe-checkout-card .form-control {
    border-color: #e2e8f0;
}

.fe-checkout-card .form-control:focus {
    border-color: var(--fe-accent-orange);
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.15);
}

.fe-checkout-summary .total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fe-accent-orange-dark);
}

.fe-checkout-summary .user-note {
    font-size: 0.875rem;
    color: var(--fe-text-muted);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f8f1eb;
}

/* Order success page */
.fe-success-wrap {
    max-width: 480px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3rem) 1rem;
    text-align: center;
}

.fe-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--fe-accent-orange) 0%, var(--fe-accent-orange-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 8px 24px -4px rgba(249, 115, 22, 0.35);
}

.fe-success-title {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 700;
    color: var(--fe-text);
    margin-bottom: 0.75rem;
}

.fe-success-lead {
    font-size: 1rem;
    color: var(--fe-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.fe-success-lead strong {
    color: var(--fe-accent-orange-dark);
}

.fe-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.fe-success-actions .btn {
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
}

.filter-card:hover {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card:hover,
    .fe-filter-panel,
    .fe-filter-panel:hover,
    .fe-filter-link,
    .fe-filter-link:hover,
    .fe-filter-link.is-active,
    .fe-cart-btn-primary,
    .fe-cart-btn-outline,
    .fe-cart-btn-danger,
    .fe-cart-item__remove {
        transform: none;
        transition: none;
    }
}

/* Footer — smart 3D */
.fe-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(249, 115, 22, 0.18) 0%, transparent 55%),
        linear-gradient(165deg, #0c1222 0%, #111827 38%, #1a1f2e 100%);
    color: #e2e8f0;
}

.fe-footer__glow {
    position: absolute;
    top: -6rem;
    left: 50%;
    width: min(42rem, 90vw);
    height: 12rem;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.fe-footer__top-border {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--fe-accent-orange) 20%, #fb923c 50%, var(--fe-accent-orange) 80%, transparent 100%);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.45);
}

.fe-footer__brand-card {
    padding: 1.35rem 1.4rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 18px 36px -18px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(249, 115, 22, 0.08);
    transform: translateZ(8px);
    backdrop-filter: blur(8px);
}

.fe-footer__logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 0.85rem;
}

.fe-footer__logo-main {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--fe-accent-orange);
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.fe-footer__logo-sub {
    font-size: 0.625rem;
    font-weight: 700;
    color: #fdba74;
    letter-spacing: 0.22em;
    margin-top: 0.25rem;
}

.fe-footer__tagline {
    font-size: 0.875rem;
    color: rgba(226, 232, 240, 0.72);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.fe-footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.fe-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, rgba(249, 115, 22, 0.35) 0%, rgba(234, 88, 12, 0.2) 100%);
    border: 1px solid rgba(251, 146, 60, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 4px 12px -4px rgba(0, 0, 0, 0.45),
        0 2px 0 rgba(194, 65, 12, 0.5);
}

.fe-footer__badge-icon {
    font-size: 0.875rem;
    line-height: 1;
}

.fe-footer__panel {
    height: 100%;
    padding: 0.25rem 0;
}

.fe-footer__heading {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #f8fafc;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(249, 115, 22, 0.25);
}

.fe-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.fe-footer__link {
    display: inline-flex;
    text-decoration: none;
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.875rem;
    font-weight: 500;
    transition: transform 0.15s ease, color 0.15s ease;
}

.fe-footer__link span {
    display: inline-flex;
    padding: 0.35rem 0.55rem;
    border-radius: 0.45rem;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.fe-footer__link:hover {
    color: #fff;
    transform: translateX(4px);
}

.fe-footer__link:hover span {
    color: #fff;
    background: linear-gradient(145deg, rgba(249, 115, 22, 0.22) 0%, rgba(234, 88, 12, 0.12) 100%);
    border-color: rgba(251, 146, 60, 0.3);
    box-shadow: 0 4px 14px -6px rgba(249, 115, 22, 0.45);
}

.fe-footer__panel--contact {
    padding: 1.15rem 1.2rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 14px 28px -16px rgba(0, 0, 0, 0.5);
}

.fe-footer__panel--contact .fe-footer__heading {
    border-bottom-color: rgba(249, 115, 22, 0.2);
    margin-bottom: 0.85rem;
}

.fe-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fe-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.fe-footer__contact-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.55rem;
    font-size: 0.95rem;
    background: linear-gradient(145deg, rgba(249, 115, 22, 0.25), rgba(234, 88, 12, 0.15));
    border: 1px solid rgba(251, 146, 60, 0.25);
    box-shadow: 0 3px 10px -4px rgba(0, 0, 0, 0.4);
}

.fe-footer__contact-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 0.1rem;
}

.fe-footer__contact-value {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #f1f5f9;
    text-decoration: none;
    transition: color 0.15s ease;
}

a.fe-footer__contact-value:hover {
    color: #fdba74;
}

.fe-footer__bottom {
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.35) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.fe-footer__copyright {
    font-size: 0.8125rem;
    color: rgba(148, 163, 184, 0.85);
}

@media (prefers-reduced-motion: reduce) {
    .fe-footer__link,
    .fe-footer__link:hover {
        transform: none;
        transition: none;
    }
}

.announcement-bar {
    background: linear-gradient(90deg, #0369a1 0%, #0ea5e9 100%);
}

/* Filter collapse on mobile */
@media (min-width: 992px) {
    #shopFilters.collapse:not(.show) {
        display: block;
        height: auto !important;
        visibility: visible;
    }
}

/* Homepage */
.home-hero-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--bs-border-radius-lg);
    padding: 1rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.2);
    width: 200px;
}

.home-hero-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--bs-border-radius);
    margin-bottom: 0.5rem;
    background: var(--bs-body-bg);
}

/* Shop by Category — 3D slider */
.fe-categories-section {
    perspective: 1200px;
}

.fe-categories-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.fe-categories-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.fe-categories-subtitle {
    color: #64748b;
    margin-bottom: 0;
    font-size: 0.9375rem;
}

.fe-categories-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.fe-categories-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.55rem;
    border: 2px solid #fed7aa;
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
    color: var(--fe-accent-orange-dark);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    box-shadow: 0 3px 0 #fdba74, 0 6px 14px -6px rgba(234, 88, 12, 0.25);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.15s ease, color 0.15s ease;
}

.fe-categories-btn-outline:hover {
    color: var(--fe-accent-orange-dark);
    border-color: var(--fe-accent-orange);
    transform: translateY(-1px);
}

.fe-categories-btn-outline:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #fdba74, 0 3px 8px -4px rgba(234, 88, 12, 0.2);
}

.fe-categories-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.fe-categories-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(180deg, #fb923c 0%, var(--fe-accent-orange) 50%, var(--fe-accent-orange-dark) 100%);
    box-shadow: 0 3px 0 #c2410c, 0 6px 14px -4px rgba(234, 88, 12, 0.4);
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.15s ease;
}

.fe-categories-nav-btn:hover:not(.swiper-button-disabled) {
    background: linear-gradient(180deg, var(--fe-accent-orange) 0%, var(--fe-accent-orange-dark) 100%);
}

.fe-categories-nav-btn:active:not(.swiper-button-disabled) {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #c2410c, 0 3px 8px -3px rgba(234, 88, 12, 0.35);
}

.fe-categories-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: 0 2px 0 #e2e8f0, 0 4px 10px -4px rgba(15, 23, 42, 0.12);
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #94a3b8;
}

.fe-categories-slider-wrap {
    position: relative;
    padding: 0.35rem 0 0.5rem;
}

.fe-categories-swiper {
    overflow: visible;
    padding-bottom: 2rem;
}

.fe-categories-swiper .swiper-slide {
    height: auto;
}

.fe-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #1e293b;
    height: 100%;
    min-height: 9.5rem;
    padding: 1.15rem 0.85rem;
    border-radius: 1rem;
    border: 1px solid #f1e8e0;
    background: linear-gradient(180deg, #fff 0%, #fffcf9 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 10px 22px -12px rgba(15, 23, 42, 0.14),
        0 4px 8px -4px rgba(234, 88, 12, 0.08);
    transform: translateZ(0) rotateX(0deg);
    transform-style: preserve-3d;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.fe-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6) 0%, transparent 45%);
    pointer-events: none;
}

.fe-category-card:hover {
    color: #1e293b;
    transform: translateY(-8px) translateZ(14px) rotateX(2deg);
    border-color: #fed7aa;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 24px 42px -16px rgba(15, 23, 42, 0.2),
        0 12px 22px -10px rgba(234, 88, 12, 0.22);
}

.fe-category-card__icon {
    position: relative;
    z-index: 1;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(145deg, var(--fe-accent-orange-soft) 0%, var(--fe-accent-orange-muted) 100%);
    border: 1px solid #fed7aa;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 6px 14px -8px rgba(234, 88, 12, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fe-category-card:hover .fe-category-card__icon {
    transform: translateY(-3px) scale(1.06);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 10px 18px -8px rgba(234, 88, 12, 0.4);
}

.fe-category-card__name {
    position: relative;
    z-index: 1;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.fe-category-card__count {
    position: relative;
    z-index: 1;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.fe-categories-pagination {
    bottom: 0 !important;
}

.fe-categories-pagination .swiper-pagination-bullet {
    width: 0.5rem;
    height: 0.5rem;
    background: #cbd5e1;
    opacity: 1;
    transition: transform 0.2s ease, background 0.2s ease;
}

.fe-categories-pagination .swiper-pagination-bullet-active {
    background: var(--fe-accent-orange);
    transform: scale(1.2);
    box-shadow: 0 2px 8px -2px rgba(234, 88, 12, 0.5);
}

@media (max-width: 575.98px) {
    .fe-categories-nav {
        display: none;
    }

    .fe-categories-header-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fe-category-card,
    .fe-category-card:hover,
    .fe-category-card__icon,
    .fe-categories-btn-outline:active,
    .fe-categories-nav-btn:active {
        transform: none;
        transition: none;
    }
}

/* Shared utility classes */
.fe-breadcrumb .breadcrumb-item a {
    color: var(--bs-secondary-color);
    text-decoration: none;
}

.fe-breadcrumb .breadcrumb-item a:hover {
    color: var(--bs-primary);
}

.fe-table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color);
    background: var(--fe-border-soft);
}

/* Product detail page */
.fe-product-page {
    padding-bottom: 2rem;
    perspective: 1200px;
}

.fe-product-zoom {
    position: relative;
}

.fe-product-gallery {
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(165deg, #fff 0%, #fffcf9 100%);
}

.fe-product-gallery--3d {
    border: 1px solid #f1e8e0 !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 20px 40px -18px rgba(15, 23, 42, 0.2),
        0 8px 18px -8px rgba(234, 88, 12, 0.15);
    transform: translateZ(12px) rotateX(1deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.fe-product-gallery--3d:hover {
    transform: translateZ(18px) rotateX(0deg) translateY(-4px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 28px 50px -18px rgba(15, 23, 42, 0.24),
        0 12px 24px -10px rgba(234, 88, 12, 0.2);
}

.fe-product-gallery__media {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(160deg, var(--fe-accent-orange-soft) 0%, var(--fe-accent-orange-muted) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
    cursor: crosshair;
}

.fe-product-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.65rem;
    transition: opacity 0.2s ease;
    position: relative;
    z-index: 1;
}

.fe-product-zoom.is-zooming .fe-product-gallery__img {
    opacity: 0.35;
}

.fe-product-zoom__lens {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 0 0 1px rgba(249, 115, 22, 0.45),
        0 8px 24px -4px rgba(15, 23, 42, 0.35),
        inset 0 0 20px rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(1px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
    will-change: transform;
}

.fe-product-zoom.is-zooming .fe-product-zoom__lens {
    opacity: 1;
}

.fe-product-zoom__result {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-repeat: no-repeat;
    background-color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    border-radius: inherit;
}

.fe-product-zoom.is-zooming .fe-product-zoom__result {
    opacity: 1;
}

.fe-product-zoom__hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 4;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #9a3412;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #fed7aa;
    box-shadow: 0 4px 12px -4px rgba(234, 88, 12, 0.25);
    transition: opacity 0.2s ease;
}

.fe-product-zoom.is-zooming .fe-product-zoom__hint {
    opacity: 0;
}

@media (hover: none), (pointer: coarse) {
    .fe-product-gallery__media {
        cursor: default;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fe-product-gallery--3d,
    .fe-product-gallery--3d:hover,
    .fe-buy-card,
    .fe-buy-card:hover {
        transform: none;
        transition: none;
    }
}

.fe-product-gallery__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 5;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

.fe-product-brand {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fe-accent-orange-dark);
    margin: 0;
}

.fe-product-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--fe-text);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

.fe-product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--fe-text-muted);
}

.fe-product-meta-item {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.fe-product-category {
    display: inline-flex;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0369a1;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.18);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.fe-product-category:hover {
    color: #0284c7;
    background: rgba(14, 165, 233, 0.16);
}

.fe-detail-card {
    border-radius: 1rem;
    border: 1px solid #f1e8e0;
    background: linear-gradient(165deg, #fff 0%, #fffcf9 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 12px 28px -16px rgba(15, 23, 42, 0.12);
}

.fe-detail-card .card-body {
    padding: 1.5rem;
}

.fe-detail-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--fe-text);
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--fe-border-soft);
}

.fe-product-details {
    color: var(--fe-text);
    line-height: 1.75;
    font-size: 0.9375rem;
}

.fe-product-details p:last-child {
    margin-bottom: 0;
}

.fe-buy-card {
    border-radius: 1rem;
    border: 1px solid #f1e8e0;
    background: linear-gradient(165deg, #fff 0%, #fff7ed 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 16px 32px -16px rgba(15, 23, 42, 0.16),
        0 6px 14px -6px rgba(234, 88, 12, 0.12);
    transform: translateZ(8px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fe-buy-card:hover {
    transform: translateZ(12px) translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 22px 40px -16px rgba(15, 23, 42, 0.18),
        0 10px 20px -8px rgba(234, 88, 12, 0.15);
}

.fe-buy-card .card-body {
    padding: 1.35rem;
}

.fe-buy-card-sticky {
    top: 1rem;
}

.fe-buy-card__pricing {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px dashed var(--fe-border);
}

.fe-buy-card__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fe-text-muted);
    margin-bottom: 0.25rem;
}

.fe-buy-card__price-old {
    font-size: 0.9375rem;
    color: var(--fe-text-muted);
    text-decoration: line-through;
    margin: 0;
}

.fe-buy-card__price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--fe-accent-orange-dark);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.fe-buy-card__save {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #047857;
    background: rgba(16, 185, 129, 0.1);
}

.fe-buy-card__stock {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.fe-buy-card__stock--in {
    color: #047857;
}

.fe-buy-card__stock--out {
    color: #be123c;
}

.fe-buy-form__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--fe-text-muted);
    margin-bottom: 0.35rem;
}

.fe-buy-qty .form-control {
    max-width: 6rem;
    font-weight: 600;
    text-align: center;
}

.fe-btn-add-cart {
    font-weight: 700;
    padding: 0.65rem 1rem;
    border-radius: var(--fe-radius);
    background: linear-gradient(180deg, #fb923c 0%, var(--fe-accent-orange) 45%, var(--fe-accent-orange-dark) 100%) !important;
    border-color: var(--fe-accent-orange-dark) !important;
    box-shadow: 0 4px 0 #c2410c, 0 10px 20px -6px rgba(234, 88, 12, 0.4);
}

.fe-btn-add-cart:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px -3px rgba(14, 165, 233, 0.45);
}

@media (max-width: 991.98px) {
    .fe-buy-card-sticky {
        position: static !important;
    }
}

/* Home newsletter — smart background */
.fe-newsletter {
    position: relative;
    overflow: hidden;
    padding: 3.25rem 0 3.75rem;
    margin-top: 0.5rem;
    background:
        radial-gradient(ellipse 75% 55% at 50% -10%, rgba(249, 115, 22, 0.28) 0%, transparent 58%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(234, 88, 12, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse 45% 35% at 92% 25%, rgba(251, 146, 60, 0.12) 0%, transparent 50%),
        linear-gradient(168deg, #120a06 0%, #1a1008 28%, #22150c 52%, #150d07 100%);
}

.fe-newsletter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--fe-accent-orange) 18%, #fb923c 50%, var(--fe-accent-orange) 82%, transparent 100%);
    box-shadow: 0 0 22px rgba(249, 115, 22, 0.5);
    z-index: 3;
}

.fe-newsletter__scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.fe-newsletter__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.75;
    will-change: transform;
}

.fe-newsletter__orb--1 {
    top: -18%;
    left: -8%;
    width: min(22rem, 55vw);
    height: min(22rem, 55vw);
    background: radial-gradient(circle, rgba(249, 115, 22, 0.55) 0%, transparent 68%);
    animation: fe-newsletter-drift-1 14s ease-in-out infinite;
}

.fe-newsletter__orb--2 {
    bottom: -22%;
    right: -6%;
    width: min(26rem, 60vw);
    height: min(26rem, 60vw);
    background: radial-gradient(circle, rgba(251, 146, 60, 0.45) 0%, transparent 70%);
    animation: fe-newsletter-drift-2 18s ease-in-out infinite;
}

.fe-newsletter__orb--3 {
    top: 35%;
    left: 42%;
    width: min(14rem, 38vw);
    height: min(14rem, 38vw);
    background: radial-gradient(circle, rgba(234, 88, 12, 0.35) 0%, transparent 72%);
    animation: fe-newsletter-drift-3 11s ease-in-out infinite;
}

.fe-newsletter__mesh {
    position: absolute;
    inset: -40%;
    background:
        conic-gradient(from 210deg at 50% 50%, rgba(249, 115, 22, 0.14), transparent 28%, rgba(251, 146, 60, 0.1) 52%, transparent 78%, rgba(234, 88, 12, 0.12));
    opacity: 0.55;
    animation: fe-newsletter-mesh-spin 28s linear infinite;
}

.fe-newsletter__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 15%, transparent 78%);
    opacity: 0.65;
}

.fe-newsletter__shine {
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.04) 42%, rgba(255, 237, 213, 0.08) 50%, rgba(255, 255, 255, 0.04) 58%, transparent 100%);
    animation: fe-newsletter-shine 9s ease-in-out infinite;
}

.fe-newsletter__inner {
    position: relative;
    z-index: 2;
}

.fe-newsletter-card {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
    padding: 2.15rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(251, 146, 60, 0.28);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 48%, rgba(255, 247, 237, 0.08) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 24px 48px -20px rgba(0, 0, 0, 0.55),
        0 12px 28px -14px rgba(234, 88, 12, 0.35);
    transform: translateZ(0);
}

.fe-newsletter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    color: var(--fe-accent-orange-dark);
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.95) 0%, rgba(255, 237, 213, 0.85) 100%);
    border: 1px solid rgba(251, 146, 60, 0.35);
    margin-bottom: 0.95rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 8px 18px -8px rgba(234, 88, 12, 0.45);
}

.fe-newsletter-title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.45rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.fe-newsletter-text {
    font-size: 0.9375rem;
    color: rgba(255, 237, 213, 0.82);
    margin: 0 0 1.35rem;
    line-height: 1.55;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.fe-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: 24rem;
    margin: 0 auto;
}

.fe-newsletter-input {
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.65rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.9375rem;
    background: rgba(255, 255, 255, 0.92);
    color: #1e293b;
    min-width: 0;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.05);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fe-newsletter-input::placeholder {
    color: #94a3b8;
}

.fe-newsletter-input:focus {
    border-color: var(--fe-accent-orange);
    background: #fff;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.04), 0 0 0 3px rgba(249, 115, 22, 0.22);
}

.fe-newsletter-btn {
    background: linear-gradient(180deg, #fb923c 0%, var(--fe-accent-orange) 50%, var(--fe-accent-orange-dark) 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.65rem 1.4rem;
    border-radius: 0.65rem;
    white-space: nowrap;
    box-shadow: 0 3px 0 #c2410c, 0 8px 18px -4px rgba(234, 88, 12, 0.55);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.fe-newsletter-btn:hover {
    color: #fff;
    background: linear-gradient(180deg, var(--fe-accent-orange) 0%, var(--fe-accent-orange-dark) 100%);
    transform: translateY(-1px);
}

.fe-newsletter-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #c2410c, 0 4px 12px -3px rgba(234, 88, 12, 0.45);
}

.fe-newsletter-alert {
    width: min(100%, 32rem);
    margin: 0 auto 0.85rem;
    padding: 0.65rem 0.9rem;
    border-radius: 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.fe-newsletter-alert--success {
    color: #ecfdf5;
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(52, 211, 153, 0.35);
}

.fe-newsletter-alert--info {
    color: #fff7ed;
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(251, 146, 60, 0.35);
}

.fe-newsletter-error {
    width: min(100%, 32rem);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fecaca;
}

@keyframes fe-newsletter-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(6%, 8%) scale(1.08); }
}

@keyframes fe-newsletter-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-7%, -5%) scale(1.06); }
}

@keyframes fe-newsletter-drift-3 {
    0%, 100% { transform: translate(-50%, 0) scale(1); }
    50% { transform: translate(-42%, -6%) scale(1.1); }
}

@keyframes fe-newsletter-mesh-spin {
    to { transform: rotate(360deg); }
}

@keyframes fe-newsletter-shine {
    0%, 72%, 100% { left: -120%; }
    38% { left: 130%; }
}

@media (min-width: 576px) {
    .fe-newsletter {
        padding: 3.75rem 0 4.25rem;
    }

    .fe-newsletter-card {
        padding: 2.5rem 2.25rem;
    }

    .fe-newsletter-form {
        flex-direction: row;
        align-items: stretch;
        gap: 0.55rem;
        max-width: 30rem;
    }

    .fe-newsletter-input {
        flex: 1 1 auto;
    }

    .fe-newsletter-btn {
        flex: 0 0 auto;
        min-width: 8.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fe-newsletter__orb,
    .fe-newsletter__mesh,
    .fe-newsletter__shine {
        animation: none;
    }

    .fe-newsletter-btn:hover,
    .fe-newsletter-btn:active {
        transform: none;
    }
}
