/*
Theme Name: Hidden Beauty
Theme URI: https://hiddenbeauty-lingerie.com
Description: Premium lingerie store theme for Hidden Beauty — UAE market. WooCommerce & Google Shopping ready.
Author: Hidden Beauty
Author URI: https://hiddenbeauty-lingerie.com
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: hiddenbeauty
Tags: woocommerce, e-commerce, lingerie, custom-menu

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ═══════════════════════════════════════════════
   CSS VARIABLES / DESIGN TOKENS
   ═══════════════════════════════════════════════ */
:root {
    /* Colors */
    --hb-black: #0a0a0a;
    --hb-dark: #111111;
    --hb-dark-alt: #1a1a1a;
    --hb-gold: #c9a96e;
    --hb-gold-light: #d4b97e;
    --hb-rose: #e8d5c4;
    --hb-white: #ffffff;
    --hb-gray-100: #f5f5f5;
    --hb-gray-200: #e5e5e5;
    --hb-gray-300: #d4d4d4;
    --hb-gray-400: #a3a3a3;
    --hb-gray-500: #737373;
    --hb-gray-600: #525252;
    --hb-gray-700: #404040;
    --hb-gray-800: #262626;
    --hb-red: #dc2626;
    --hb-green: #16a34a;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-size-xs: 0.6875rem;
    /* 11px */
    --font-size-sm: 0.75rem;
    /* 12px */
    --font-size-base: 0.8125rem;
    /* 13px */
    --font-size-md: 0.875rem;
    /* 14px */
    --font-size-lg: 1rem;
    /* 16px */
    --font-size-xl: 1.125rem;
    /* 18px */
    --font-size-2xl: 1.5rem;
    /* 24px */
    --font-size-3xl: 2rem;
    /* 32px */
    --font-size-4xl: 2.5rem;
    /* 40px */

    /* Spacing */
    --header-height: 60px;
    --nav-height: 44px;
    --announcement-height: 36px;
    --container-max: 1440px;
    --container-padding: 40px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

    /* Z-index */
    --z-header: 1000;
    --z-mega-menu: 999;
    --z-overlay: 998;
    --z-mobile-menu: 1001;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--hb-black);
    background: var(--hb-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ═══════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ═══════════════════════════════════════════════ */
.announcement-bar {
    background: var(--hb-black);
    color: var(--hb-white);
    text-align: center;
    padding: 8px 20px;
    font-size: var(--font-size-xs);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    z-index: var(--z-header);
    overflow: hidden;
}

.announcement-bar__text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: announcement-shimmer 3s ease-in-out infinite;
}

.announcement-bar__text span {
    color: var(--hb-gold);
}

@keyframes announcement-shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

/* ═══════════════════════════════════════════════
   SITE HEADER
   ═══════════════════════════════════════════════ */
.site-header {
    background: var(--hb-white);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    border-bottom: 1px solid var(--hb-gray-200);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Logo */
.site-logo {
    flex: 0 0 auto;
}

.site-logo a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hb-black);
    display: flex;
    align-items: center;
    gap: 2px;
    transition: color var(--transition-base);
}

.site-logo a:hover {
    color: var(--hb-gold);
}

.logo-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--hb-gold);
    border-radius: 50%;
    margin-left: 2px;
    margin-bottom: 2px;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--hb-black);
    transition: all var(--transition-fast);
    position: relative;
}

.header-icon:hover {
    background: var(--hb-gray-100);
    color: var(--hb-gold);
}

.header-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--hb-black);
    color: var(--hb-white);
    font-size: 9px;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-count:empty {
    display: none;
}

/* ═══════════════════════════════════════════════
   MAIN NAVIGATION
   ═══════════════════════════════════════════════ */
.main-nav {
    background: var(--hb-white);
    border-top: 1px solid var(--hb-gray-200);
    position: relative;
    z-index: var(--z-header);
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--hb-black);
    transition: color var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--hb-gold);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: center;
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
    color: var(--hb-gold);
}

.nav-item:hover .nav-link::after {
    transform: scaleX(1);
}

.nav-link--sale {
    color: var(--hb-red) !important;
}

.nav-item:hover .nav-link--sale {
    color: var(--hb-red) !important;
}

.nav-link--sale::after {
    background: var(--hb-red) !important;
}

/* ═══════════════════════════════════════════════
   MEGA MENU
   ═══════════════════════════════════════════════ */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--hb-white);
    border-top: 2px solid var(--hb-gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12),
        0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 32px 40px;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: all var(--transition-slow);
    pointer-events: none;
    z-index: var(--z-mega-menu);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
}

.mega-menu__column {}

.mega-menu__title {
    font-size: var(--font-size-sm);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hb-black);
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--hb-gray-200);
}

.mega-menu__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu__link {
    font-size: var(--font-size-base);
    color: var(--hb-gray-600);
    transition: all var(--transition-fast);
    padding: 2px 0;
    position: relative;
}

.mega-menu__link:hover {
    color: var(--hb-gold);
    padding-left: 6px;
}

.mega-menu__link--view-all {
    font-weight: 600;
    color: var(--hb-black);
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mega-menu__link--view-all::after {
    content: '→';
    font-size: var(--font-size-sm);
    transition: transform var(--transition-fast);
}

.mega-menu__link--view-all:hover {
    color: var(--hb-gold);
}

.mega-menu__link--view-all:hover::after {
    transform: translateX(4px);
}

/* Badge for categories */
.mega-menu__badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--hb-gold);
    color: var(--hb-white);
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 6px;
    vertical-align: middle;
}

.mega-menu__badge--red {
    background: var(--hb-red);
}

/* Mega menu overlay */
.mega-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: calc(var(--z-mega-menu) - 1);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    pointer-events: none;
}

.nav-item:hover~.mega-menu-overlay,
.main-nav:hover .mega-menu-overlay {
    /* Controlled via JS for better UX */
}

/* ═══════════════════════════════════════════════
   SEARCH OVERLAY
   ═══════════════════════════════════════════════ */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: calc(var(--z-mobile-menu) + 1);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay__inner {
    background: var(--hb-white);
    width: 100%;
    max-width: 680px;
    border-radius: 8px;
    padding: 24px 32px;
    transform: translateY(-20px);
    transition: transform var(--transition-slow);
}

.search-overlay.active .search-overlay__inner {
    transform: translateY(0);
}

.search-overlay__form {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--hb-black);
    padding-bottom: 12px;
}

.search-overlay__input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    color: var(--hb-black);
    background: transparent;
}

.search-overlay__input::placeholder {
    color: var(--hb-gray-400);
}

.search-overlay__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-fast);
}

.search-overlay__close:hover {
    background: var(--hb-gray-100);
}

.search-overlay__close svg {
    width: 20px;
    height: 20px;
}

/* ═══════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════ */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--hb-black);
    transition: all var(--transition-base);
    transform-origin: center;
}

/* Dark Overlay behind mobile menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: var(--z-mobile-menu);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Slide-in drawer — 85% width, max 400px */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: var(--hb-white);
    z-index: calc(var(--z-mobile-menu) + 1);
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Header with logo + big close button */
.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hb-gray-200);
    flex-shrink: 0;
    background: var(--hb-white);
    position: sticky;
    top: 0;
    z-index: 2;
}

.mobile-menu__close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--hb-gray-100);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.mobile-menu__close:hover,
.mobile-menu__close:active {
    background: var(--hb-black);
    color: var(--hb-white);
}

.mobile-menu__close svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Scrollable menu list */
.mobile-menu__list {
    padding: 8px 0 100px;
    flex: 1;
    overflow-y: auto;
}

.mobile-menu__item {
    border-bottom: 1px solid var(--hb-gray-100);
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    font-size: var(--font-size-md);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hb-black);
    transition: background var(--transition-fast);
}

.mobile-menu__link:active {
    background: var(--hb-gray-100);
}

.mobile-menu__link svg {
    width: 18px;
    height: 18px;
    color: var(--hb-gray-400);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.mobile-menu__item.expanded .mobile-menu__link {
    color: var(--hb-gold);
    background: var(--hb-gray-100);
}

.mobile-menu__item.expanded .mobile-menu__link svg {
    transform: rotate(180deg);
    color: var(--hb-gold);
}

/* Submenu — smooth accordion with max-height */
.mobile-menu__submenu {
    max-height: 0;
    overflow: hidden;
    background: var(--hb-gray-100);
    transition: max-height 0.35s ease;
}

.mobile-menu__item.expanded .mobile-menu__submenu {
    max-height: 600px;
}

.mobile-menu__sublink {
    display: flex;
    align-items: center;
    padding: 12px 24px 12px 36px;
    font-size: var(--font-size-base);
    color: var(--hb-gray-600);
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.mobile-menu__sublink:active,
.mobile-menu__sublink:hover {
    color: var(--hb-gold);
    border-left-color: var(--hb-gold);
    background: rgba(201, 169, 110, 0.06);
}

/* Sale label styling in mobile */
.mobile-menu__link--sale {
    color: var(--hb-red) !important;
}

/* Footer section inside mobile menu */
.mobile-menu__footer {
    padding: 20px 24px;
    border-top: 1px solid var(--hb-gray-200);
    flex-shrink: 0;
    background: var(--hb-gray-100);
}

.mobile-menu__footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.mobile-menu__footer-link {
    font-size: var(--font-size-sm);
    color: var(--hb-gray-500);
    transition: color var(--transition-fast);
}

.mobile-menu__footer-link:hover {
    color: var(--hb-gold);
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--hb-black);
    color: var(--hb-white);
    border-color: var(--hb-black);
}

.btn--primary:hover {
    background: var(--hb-gold);
    border-color: var(--hb-gold);
    color: var(--hb-white);
}

.btn--outline {
    background: transparent;
    color: var(--hb-white);
    border-color: var(--hb-white);
}

.btn--outline:hover {
    background: var(--hb-white);
    color: var(--hb-black);
}

.btn--dark {
    background: var(--hb-black);
    color: var(--hb-white);
    border-color: var(--hb-black);
}

.btn--dark:hover {
    background: transparent;
    color: var(--hb-black);
    border-color: var(--hb-black);
}

/* ═══════════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════════ */
.section {
    padding: 80px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 48px;
}

.section__label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hb-gold);
    margin-bottom: 12px;
}

.section__title {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 400;
    color: var(--hb-black);
    letter-spacing: 1px;
}

.section__footer {
    text-align: center;
    margin-top: 48px;
}

/* ═══════════════════════════════════════════════
   HERO BANNER
   ═══════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 85vh;
    min-height: 550px;
    max-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.35) 50%,
            rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 var(--container-padding);
    color: var(--hb-white);
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__label {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hb-gold);
    margin-bottom: 20px;
    padding: 6px 16px;
    border: 1px solid rgba(201, 169, 110, 0.4);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: var(--font-size-md);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 440px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════ */
.trust-bar {
    background: var(--hb-gray-100);
    border-bottom: 1px solid var(--hb-gray-200);
}

.trust-bar__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--container-max);
    margin: 0 auto;
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 32px;
    border-right: 1px solid var(--hb-gray-200);
}

.trust-bar__item:last-child {
    border-right: none;
}

.trust-bar__item svg {
    flex-shrink: 0;
    color: var(--hb-gold);
}

.trust-bar__item strong {
    display: block;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--hb-black);
}

.trust-bar__item span {
    font-size: var(--font-size-xs);
    color: var(--hb-gray-500);
}

a.trust-bar__item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

a.trust-bar__item:hover {
    background: #fafaf8;
}

a.trust-bar__item:hover svg {
    color: var(--hb-gold);
    transform: scale(1.1);
}

/* ═══════════════════════════════════════════════
   CATEGORIES GRID
   ═══════════════════════════════════════════════ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    height: 380px;
}

.category-card__img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-card__img img {
    transform: scale(1.08);
}

.category-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    color: var(--hb-white);
}

.category-card__title {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 500;
    margin-bottom: 4px;
}

.category-card__cta {
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--hb-gold);
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--transition-base);
}

.category-card:hover .category-card__cta {
    opacity: 1;
    transform: translateY(0);
}

.category-card__count {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.products-section--alt {
    background: var(--hb-gray-100);
}

.product-card {
    display: block;
    cursor: pointer;
}

.product-card__img {
    position: relative;
    overflow: hidden;
    background: var(--hb-gray-100);
    aspect-ratio: 3/4;
    margin-bottom: 14px;
}

.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.4s ease;
}

.product-card__img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-card:hover .product-card__img-main {
    opacity: 0;
}

.product-card:hover .product-card__img-hover {
    opacity: 1;
}

.product-card:hover .product-card__img img {
    transform: scale(1.05);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--hb-black);
    color: var(--hb-white);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
}

.product-card__badge--sale {
    background: var(--hb-red);
}

.product-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover .product-card__overlay {
    opacity: 1;
}

.product-card__quick {
    background: var(--hb-white);
    color: var(--hb-black);
    padding: 10px 24px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(10px);
    transition: transform var(--transition-base);
}

.product-card:hover .product-card__quick {
    transform: translateY(0);
}

.product-card__info {
    text-align: center;
}

.product-card__name {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--hb-black);
    margin-bottom: 6px;
    text-transform: capitalize;
    transition: color var(--transition-fast);
}

.product-card:hover .product-card__name {
    color: var(--hb-gold);
}

.product-card__price {
    font-size: var(--font-size-sm);
    color: var(--hb-gray-500);
}

.product-card__price del {
    opacity: 0.5;
    margin-right: 6px;
}

.product-card__price ins {
    text-decoration: none;
    color: var(--hb-red);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════
   BRAND STORY SECTION
   ═══════════════════════════════════════════════ */
.brand-section {
    background: var(--hb-black);
    color: var(--hb-white);
    padding: 100px 0;
}

.brand-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.brand-section__title {
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.brand-section__text {
    font-size: var(--font-size-md);
    color: var(--hb-gray-400);
    line-height: 1.8;
    margin-bottom: 16px;
}

.brand-section__text:last-of-type {
    margin-bottom: 32px;
}

.brand-section .btn--primary {
    background: var(--hb-gold);
    border-color: var(--hb-gold);
}

.brand-section .btn--primary:hover {
    background: transparent;
    color: var(--hb-gold);
}

.brand-section__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.brand-stat {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid var(--hb-gray-700);
    transition: border-color var(--transition-base);
}

.brand-stat:hover {
    border-color: var(--hb-gold);
}

.brand-stat__number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 400;
    color: var(--hb-gold);
    margin-bottom: 8px;
}

.brand-stat__label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hb-gray-400);
}

/* ═══════════════════════════════════════════════
   SHOP / CATALOG PAGES
   ═══════════════════════════════════════════════ */

/* Breadcrumb */
.shop-breadcrumb {
    padding: 20px 0;
    border-bottom: 1px solid var(--hb-gray-200);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: var(--hb-gray-400);
}

.breadcrumb-item a {
    color: var(--hb-gray-500);
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--hb-black);
}

.breadcrumb-sep {
    margin: 0 10px;
    color: var(--hb-gray-300);
}

.breadcrumb-item:last-child {
    color: var(--hb-black);
    font-weight: 600;
}

/* Shop Header */
.shop-header {
    text-align: center;
    padding: 50px 0 40px;
    border-bottom: 1px solid var(--hb-gray-200);
}

.shop-header__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hb-gold);
    margin-bottom: 12px;
}

.shop-header__title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 400;
    color: var(--hb-black);
    margin-bottom: 10px;
}

.shop-header__desc {
    max-width: 600px;
    margin: 0 auto 10px;
    font-size: var(--font-size-sm);
    color: var(--hb-gray-500);
    line-height: 1.7;
}

.shop-header__count {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hb-gray-400);
}

/* Toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--hb-gray-200);
}

.shop-toolbar__right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.shop-filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--hb-gray-300);
    padding: 10px 18px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.shop-filter-toggle:hover,
.shop-filter-toggle.active {
    border-color: var(--hb-black);
    background: var(--hb-black);
    color: var(--hb-white);
}

/* Sort */
.shop-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.shop-sort label {
    color: var(--hb-gray-400);
}

.shop-sort__select {
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 0;
    color: var(--hb-black);
}

/* Grid/List Toggle */
.shop-view-toggle {
    display: flex;
    gap: 4px;
}

.shop-view-btn {
    background: none;
    border: 1px solid var(--hb-gray-300);
    padding: 8px;
    cursor: pointer;
    color: var(--hb-gray-400);
    transition: all var(--transition-fast);
}

.shop-view-btn.active,
.shop-view-btn:hover {
    border-color: var(--hb-black);
    color: var(--hb-black);
    background: var(--hb-gray-100);
}

/* Layout */
.shop-content {
    padding: 0 0 80px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding-top: 30px;
}

.shop-layout.sidebar-hidden {
    grid-template-columns: 1fr;
}

/* Sidebar */
.shop-sidebar {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: 20px;
}

.shop-sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hb-gray-200);
}

.shop-sidebar__header h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.shop-sidebar__close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--hb-gray-500);
}

/* Filter Groups */
.filter-group {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--hb-gray-200);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 16px;
    color: var(--hb-black);
}

.filter-group__title svg {
    transition: transform var(--transition-fast);
}

.filter-group.collapsed .filter-group__title svg {
    transform: rotate(-90deg);
}

.filter-group.collapsed .filter-group__body {
    display: none;
}

.filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: var(--hb-gray-500);
    transition: color var(--transition-fast);
}

.filter-item:hover {
    color: var(--hb-black);
}

.filter-item.active {
    color: var(--hb-black);
    font-weight: 600;
}

.filter-item__count {
    font-size: 12px;
    color: var(--hb-gray-300);
}

.filter-clear {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--hb-gold);
    text-decoration: underline;
}

/* Size filter grid */
.filter-group__body--sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-size {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--hb-gray-300);
    font-size: 12px;
    font-weight: 500;
    color: var(--hb-gray-500);
    transition: all var(--transition-fast);
}

.filter-size:hover {
    border-color: var(--hb-black);
    color: var(--hb-black);
}

.filter-size.active {
    background: var(--hb-black);
    border-color: var(--hb-black);
    color: var(--hb-white);
}

/* Shop Grid (reuses .products-grid from homepage) */
.shop-grid {
    grid-template-columns: repeat(3, 1fr);
}

.shop-grid.list-view {
    grid-template-columns: 1fr;
}

.shop-grid.list-view .product-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.shop-grid.list-view .product-card__img {
    aspect-ratio: 3/4;
}

/* Pagination */
.shop-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.shop-pagination ul {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-pagination li a,
.shop-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--hb-gray-300);
    font-size: 13px;
    font-weight: 500;
    color: var(--hb-black);
    transition: all var(--transition-fast);
}

.shop-pagination li a:hover {
    background: var(--hb-black);
    border-color: var(--hb-black);
    color: var(--hb-white);
}

.shop-pagination li span.current {
    background: var(--hb-black);
    border-color: var(--hb-black);
    color: var(--hb-white);
}

/* Empty State */
.shop-empty {
    text-align: center;
    padding: 80px 0;
}

.shop-empty svg {
    color: var(--hb-gray-300);
    margin-bottom: 20px;
}

.shop-empty h2 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 10px;
}

.shop-empty p {
    color: var(--hb-gray-500);
    margin-bottom: 30px;
}

/* ═══════════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ═══════════════════════════════════════════════ */
.single-product {
    padding: 40px 0 80px;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 120px;
}

.product-gallery__main {
    position: relative;
    overflow: hidden;
    background: var(--hb-gray-100);
    margin-bottom: 12px;
    cursor: zoom-in;
}

.product-gallery__img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.product-gallery__main:hover .product-gallery__img {
    transform: scale(1.5);
}

.product-gallery__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #e53e3e;
    color: white;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
}

.product-gallery__thumb {
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: var(--hb-gray-100);
    transition: border-color var(--transition-fast);
    aspect-ratio: 1;
    overflow: hidden;
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
    border-color: var(--hb-black);
}

/* Product Info */
.product-info__cat {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hb-gray-400);
    margin-bottom: 12px;
}

.product-info__cat a {
    color: var(--hb-gold);
    transition: color var(--transition-fast);
}

.product-info__cat a:hover {
    color: var(--hb-black);
}

.product-info__title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    color: var(--hb-black);
    line-height: 1.2;
    margin-bottom: 16px;
}

.product-info__price {
    font-size: 22px;
    font-weight: 600;
    color: var(--hb-black);
    margin-bottom: 20px;
}

.product-info__price del {
    color: var(--hb-gray-400);
    font-weight: 400;
    font-size: 18px;
}

.product-info__price ins {
    text-decoration: none;
    color: #e53e3e;
}

.product-info__desc {
    font-size: var(--font-size-sm);
    color: var(--hb-gray-500);
    line-height: 1.8;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hb-gray-200);
}

/* Product Options */
.product-option {
    margin-bottom: 24px;
}

.product-option__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--hb-black);
}

.product-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-size-btn {
    min-width: 56px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--hb-gray-300);
    background: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--hb-gray-500);
    transition: all var(--transition-fast);
}

.product-size-btn:hover {
    border-color: var(--hb-black);
    color: var(--hb-black);
}

.product-size-btn.selected {
    background: var(--hb-black);
    border-color: var(--hb-black);
    color: var(--hb-white);
}

/* Quantity + Add to Cart */
.product-cart-form {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.product-qty {
    display: flex;
    border: 1px solid var(--hb-gray-300);
}

.product-qty__btn {
    width: 44px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--hb-gray-500);
    transition: color var(--transition-fast);
}

.product-qty__btn:hover {
    color: var(--hb-black);
}

.product-qty__input {
    width: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--hb-gray-300);
    border-right: 1px solid var(--hb-gray-300);
    font-size: 14px;
    font-weight: 500;
    -moz-appearance: textfield;
}

.product-qty__input::-webkit-outer-spin-button,
.product-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-add-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    font-size: 13px;
}

.btn--full {
    width: 100%;
}

/* Trust Indicators */
.product-trust {
    padding-top: 24px;
    border-top: 1px solid var(--hb-gray-200);
}

.product-trust__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--hb-gray-500);
}

.product-trust__item svg {
    color: var(--hb-gold);
    flex-shrink: 0;
}

/* Tabs */
.product-tabs {
    border-top: 1px solid var(--hb-gray-200);
    margin-bottom: 80px;
}

.product-tabs__nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--hb-gray-200);
}

.product-tabs__btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 16px 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hb-gray-400);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.product-tabs__btn:hover {
    color: var(--hb-black);
}

.product-tabs__btn.active {
    color: var(--hb-black);
    border-bottom-color: var(--hb-black);
}

.product-tabs__content {
    padding: 32px 0;
    max-width: 800px;
}

.product-tab {
    display: none;
    font-size: var(--font-size-sm);
    color: var(--hb-gray-500);
    line-height: 1.8;
}

.product-tab.active {
    display: block;
}

.product-tab h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--hb-black);
    margin: 20px 0 10px;
}

.product-tab h4:first-child {
    margin-top: 0;
}

.product-tab ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.product-tab li {
    margin-bottom: 6px;
}

/* Color Swatch */
.product-color-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.product-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--hb-gray-200);
    display: inline-block;
}

.product-color-name {
    font-size: 14px;
    color: var(--hb-gray-500);
}

/* Size Guide */
.product-option__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-option__header .product-option__label {
    margin-bottom: 0;
}

.product-size-guide {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: var(--hb-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.product-size-guide:hover {
    color: var(--hb-black);
}

/* Wishlist */
.product-wishlist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--hb-gray-300);
    background: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--hb-gray-500);
    transition: all var(--transition-fast);
    margin-bottom: 24px;
}

.product-wishlist-btn:hover {
    border-color: var(--hb-black);
    color: var(--hb-black);
}

.product-wishlist-btn:hover svg {
    fill: #e53e3e;
    stroke: #e53e3e;
}

/* Accordions */
.product-accordions {
    margin-top: 8px;
}

.product-accordion {
    border-bottom: 1px solid var(--hb-gray-200);
}

.product-accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--hb-black);
    transition: color var(--transition-fast);
}

.product-accordion__header:hover {
    color: var(--hb-gold);
}

.product-accordion__header svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.product-accordion.open .product-accordion__header svg {
    transform: rotate(45deg);
}

.product-accordion__body {
    display: none;
    padding: 0 0 20px;
    font-size: 14px;
    color: var(--hb-gray-500);
    line-height: 1.8;
}

.product-accordion.open .product-accordion__body {
    display: block;
}

.product-accordion__body ul {
    padding-left: 18px;
    margin: 0;
}

.product-accordion__body li {
    margin-bottom: 4px;
}

/* Detail Sections */
.detail-section {
    margin-bottom: 16px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h5 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--hb-black);
    margin-bottom: 8px;
}

/* Related Products */
.product-related {
    padding-top: 60px;
    border-top: 1px solid var(--hb-gray-200);
}

/* ═══════════════════════════════════════════════
   JOURNAL / BLOG
   ═══════════════════════════════════════════════ */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.journal-card {
    display: block;
    cursor: pointer;
    overflow: hidden;
}

.journal-card__img {
    overflow: hidden;
    aspect-ratio: 16/10;
    margin-bottom: 20px;
    border-radius: 4px;
}

.journal-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.journal-card:hover .journal-card__img img {
    transform: scale(1.06);
}

.journal-card__date {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hb-gold);
    margin-bottom: 10px;
}

.journal-card__title {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: var(--hb-black);
    line-height: 1.3;
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.journal-card:hover .journal-card__title {
    color: var(--hb-gold);
}

.journal-card__excerpt {
    font-size: var(--font-size-sm);
    color: var(--hb-gray-500);
    line-height: 1.7;
    margin-bottom: 14px;
}

.journal-card__link {
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hb-black);
    transition: color var(--transition-fast);
}

.journal-card:hover .journal-card__link {
    color: var(--hb-gold);
}

/* ═══════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════ */
.newsletter-section {
    padding: 80px 0;
    background: var(--hb-gray-100);
}

.newsletter__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.newsletter__title {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    font-weight: 400;
    margin-bottom: 8px;
}

.newsletter__text {
    font-size: var(--font-size-base);
    color: var(--hb-gray-500);
}

.newsletter__form {
    display: flex;
    gap: 0;
    flex-shrink: 0;
}

.newsletter__input {
    padding: 14px 20px;
    border: 2px solid var(--hb-gray-300);
    border-right: none;
    font-family: var(--font-primary);
    font-size: var(--font-size-md);
    width: 280px;
    outline: none;
    background: var(--hb-white);
    transition: border-color var(--transition-fast);
}

.newsletter__input:focus {
    border-color: var(--hb-gold);
}

.newsletter__form .btn {
    border-radius: 0;
}

/* ═══════════════════════════════════════════════
   CART DRAWER
   ═══════════════════════════════════════════════ */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background: var(--hb-white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--hb-gray-200);
}

.cart-drawer__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cart-drawer__count {
    font-size: 14px;
    color: var(--hb-gray-400);
}

.cart-drawer__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--hb-gray-500);
    transition: color 0.2s;
}

.cart-drawer__close:hover {
    color: var(--hb-black);
}

/* Shipping Progress */
.cart-drawer__shipping {
    padding: 16px 24px;
    border-bottom: 1px solid var(--hb-gray-200);
}

.shipping-progress__bar {
    width: 100%;
    height: 4px;
    background: var(--hb-gray-200);
    border-radius: 2px;
    overflow: hidden;
}

.shipping-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--hb-gold), #2d5a3d);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.shipping-progress__text {
    font-size: 12px;
    color: var(--hb-gray-500);
    margin: 8px 0 0;
    text-align: center;
}

/* Cart Items */
.cart-drawer__items {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--hb-gray-100);
    position: relative;
}

.cart-item__img {
    width: 80px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--hb-gray-50);
}

.cart-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item__details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item__name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin: 0;
}

.cart-item__variant {
    font-size: 11px;
    color: var(--hb-gray-400);
    margin: 4px 0 0;
}

.cart-item__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.cart-item__qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--hb-gray-200);
    border-radius: 4px;
}

.cart-item__qty-btn {
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hb-gray-500);
    transition: color 0.2s;
}

.cart-item__qty-btn:hover {
    color: var(--hb-black);
}

.cart-item__qty-num {
    font-size: 13px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.cart-item__price {
    font-size: 14px;
    font-weight: 600;
}

.cart-item__remove {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--hb-gray-300);
    transition: color 0.2s;
    padding: 4px;
}

.cart-item__remove:hover {
    color: #e53e3e;
}

/* Cart Empty */
.cart-drawer__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px;
    color: var(--hb-gray-400);
}

.cart-drawer__empty svg {
    margin-bottom: 16px;
    opacity: 0.3;
}

.cart-drawer__empty p {
    margin: 0 0 20px;
    font-size: 15px;
}

.cart-drawer__empty .btn {
    width: auto;
    padding: 12px 32px;
}

/* Cart Footer */
.cart-drawer__footer {
    padding: 20px 24px;
    border-top: 1px solid var(--hb-gray-200);
    background: var(--hb-white);
}

.cart-drawer__subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    margin-bottom: 4px;
}

.cart-drawer__subtotal strong {
    font-size: 18px;
}

.cart-drawer__tax-note {
    font-size: 11px;
    color: var(--hb-gray-400);
    margin: 0 0 16px;
}

.cart-drawer__checkout {
    text-align: center;
    font-size: 14px;
}

.cart-drawer__view-cart {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hb-gray-500);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-drawer__view-cart:hover {
    color: var(--hb-black);
}

/* ═══════════════════════════════════════════════
   MOBILE BOTTOM CART BAR
   ═══════════════════════════════════════════════ */
.mobile-cart-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--hb-white);
    z-index: 999;
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--hb-gray-200);
}

.mobile-cart-bar__btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-cart-bar__count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--hb-black);
    color: var(--hb-white);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-cart-bar__info {
    flex: 1;
}

.mobile-cart-bar__total {
    font-size: 16px;
    font-weight: 700;
}

.mobile-cart-bar__checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--hb-black);
    color: var(--hb-white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
}

/* ═══════════════════════════════════════════════
   MAIN CONTENT PLACEHOLDER
   ═══════════════════════════════════════════════ */
.site-main {
    min-height: auto;
}

/* ═══════════════════════════════════════════════
   SITE FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
    background: var(--hb-black);
    color: var(--hb-white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-brand {
    padding-right: 40px;
}

.footer-brand__logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-brand__desc {
    font-size: var(--font-size-base);
    color: var(--hb-gray-400);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hb-gray-700);
    border-radius: 50%;
    color: var(--hb-gray-400);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    border-color: var(--hb-gold);
    color: var(--hb-gold);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
}

.footer-column__title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--hb-white);
}

.footer-column__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column__link {
    font-size: var(--font-size-base);
    color: var(--hb-gray-400);
    transition: all var(--transition-fast);
}

.footer-column__link:hover {
    color: var(--hb-gold);
    padding-left: 4px;
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 40px auto 0;
    padding: 20px var(--container-padding) 0;
    border-top: 1px solid var(--hb-gray-800);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--font-size-xs);
    color: var(--hb-gray-500);
}

.footer-payments {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-payments img {
    height: 24px;
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.footer-payments img:hover {
    opacity: 1;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1200px) {
    :root {
        --container-padding: 24px;
    }

    .nav-link {
        padding: 12px 12px;
        font-size: var(--font-size-xs);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 960px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        height: 70vh;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .trust-bar__inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-bar__item:nth-child(2) {
        border-right: none;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        height: 280px;
    }

    .category-card--large {
        grid-row: span 1;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-section__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .brand-section {
        padding: 60px 0;
    }

    .journal-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .newsletter__inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter__form {
        width: 100%;
        max-width: 400px;
    }

    .newsletter__input {
        flex: 1;
        width: auto;
    }

    .section {
        padding: 60px 0;
    }

    /* Shop responsive — 960px */
    .shop-header__title {
        font-size: 32px;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        max-height: 100vh;
        background: var(--hb-white);
        z-index: 1001;
        padding: 30px 24px;
        transition: left 0.3s ease;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
    }

    /* Single product responsive — 960px */
    .product-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-gallery {
        position: static;
    }

    .product-info__title {
        font-size: 28px;
    }

    .shop-sidebar.open {
        left: 0;
    }

    .shop-sidebar__close {
        display: block;
    }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-sort label {
        display: none;
    }
}

@media (max-width: 640px) {
    :root {
        --container-padding: 16px;
        --header-height: 52px;

        /* Shop responsive — 640px */
        .shop-header {
            padding: 30px 0 24px;
        }

        .shop-header__title {
            font-size: 26px;
        }

        .shop-toolbar {
            flex-wrap: wrap;
            gap: 12px;
        }

        .shop-view-toggle {
            display: none;
        }

        .shop-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        .shop-grid.list-view {
            grid-template-columns: 1fr;
        }

        .shop-grid.list-view .product-card {
            grid-template-columns: 120px 1fr;
            gap: 16px;
        }

        /* Single product responsive — 640px */
        .single-product {
            padding: 32px 0 40px;
        }

        .product-main {
            gap: 24px;
        }

        .product-info__title {
            font-size: 24px;
        }

        /* Cart drawer responsive */
        .cart-drawer {
            width: 100%;
            right: -100%;
        }

        .mobile-cart-bar {
            display: flex;
        }

        .site-footer {
            padding-bottom: 70px;
        }

        .product-info__price {
            font-size: 18px;
        }

        .product-tabs__nav {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .product-tabs__btn {
            padding: 14px 16px;
            font-size: 11px;
            white-space: nowrap;
        }

        .product-cart-form {
            flex-direction: column;
        }

        .back-to-top {
            bottom: 80px;
            right: 16px;
            width: 40px;
            height: 40px;
        }

        .product-tabs {
            margin-bottom: 40px;
        }

        .product-related .products-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    .site-logo a {
        font-size: 1.2rem;
    }

    .header-icons {
        gap: 0;
    }

    .header-icon {
        width: 36px;
        height: 36px;
    }

    .hero {
        height: 65vh;
        min-height: 450px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: var(--font-size-base);
    }

    .hero__actions {
        flex-direction: column;
        gap: 10px;
    }

    .hero__actions .btn {
        width: 100%;
        text-align: center;
    }

    .trust-bar__inner {
        grid-template-columns: 1fr 1fr;
    }

    .trust-bar__item {
        padding: 16px 14px;
        gap: 10px;
    }

    .trust-bar__item strong {
        font-size: var(--font-size-xs);
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-card {
        height: 200px;
    }

    .category-card--large {
        grid-row: span 1;
    }

    .section__title {
        font-size: var(--font-size-2xl);
    }

    .section {
        padding: 48px 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card__name {
        font-size: var(--font-size-xs);
    }

    .brand-section__stats {
        gap: 12px;
    }

    .brand-stat {
        padding: 24px 12px;
    }

    .brand-stat__number {
        font-size: var(--font-size-2xl);
    }

    .newsletter-section {
        padding: 48px 0;
    }

    .newsletter__form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter__input {
        border-right: 2px solid var(--hb-gray-300);
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .search-overlay {
        padding-top: 60px;
    }

    .search-overlay__inner {
        margin: 0 16px;
        padding: 16px 20px;
    }
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ═══════════════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--hb-black);
    color: var(--hb-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
    background: var(--hb-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ═══════════════════════════════════════════════
   PAGE TEMPLATE
   ═══════════════════════════════════════════════ */
.page-wrapper {
    padding: 20px 0 60px;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hb-gray-200);
}

/* ═══════════════════════════════════════════════
   CUSTOM CART PAGE
   ═══════════════════════════════════════════════ */

/* Shipping Progress */
.cart-page-shipping {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
    padding: 20px 24px;
    background: var(--hb-gray-50);
    border-radius: 8px;
}

.cart-page-shipping__bar {
    width: 100%;
    height: 6px;
    background: var(--hb-gray-200);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.cart-page-shipping__fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--hb-gold), #2d5a3d);
    transition: width 0.5s ease;
}

.cart-page-shipping__text {
    font-size: 13px;
    color: var(--hb-gray-500);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-page-shipping__text--success {
    color: #38a169;
}

.cart-page-shipping__text svg {
    flex-shrink: 0;
}

/* Layout */
.cart-page-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

/* Items Column */
.cart-page-items {
    flex: 1;
    min-width: 0;
}

.cart-page-items__header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 12px 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hb-gray-400);
    border-bottom: 2px solid var(--hb-gray-200);
}

/* Single Item */
.cart-page-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 24px 0;
    align-items: center;
    border-bottom: 1px solid var(--hb-gray-100);
}

.cart-page-item__product {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cart-page-item__img {
    width: 80px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: var(--hb-gray-50);
    display: block;
}

.cart-page-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-page-item__info {
    min-width: 0;
}

.cart-page-item__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--hb-black);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.cart-page-item__name:hover {
    color: var(--hb-gold);
}

.cart-page-item__variant {
    font-size: 12px;
    color: var(--hb-gray-400);
    margin: 0 0 8px;
}

.cart-page-item__remove {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    color: var(--hb-gray-400);
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 0;
    font-family: var(--font-primary);
    transition: color 0.2s;
}

.cart-page-item__remove:hover {
    color: #e53e3e;
}

.cart-page-item__price {
    font-size: 14px;
}

.cart-page-item__total {
    font-size: 14px;
}

/* Qty Selector */
.cart-page-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--hb-gray-200);
    border-radius: 6px;
}

.cart-page-qty__btn {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hb-gray-500);
    transition: color 0.2s;
}

.cart-page-qty__btn:hover {
    color: var(--hb-black);
}

.cart-page-qty__num {
    font-size: 14px;
    font-weight: 600;
    min-width: 32px;
    text-align: center;
}

/* Continue Shopping */
.cart-page-actions {
    padding: 20px 0;
}

.cart-page-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--hb-gray-500);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.cart-page-continue:hover {
    color: var(--hb-black);
}

/* ── Summary Sidebar ── */
.cart-page-summary {
    flex: 0 0 360px;
    position: sticky;
    top: 160px;
    padding: 32px;
    background: var(--hb-gray-50);
    border-radius: 8px;
}

.cart-page-summary__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hb-gray-200);
}

.cart-page-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding: 8px 0;
    color: var(--hb-gray-500);
}

.cart-page-summary__row strong {
    color: var(--hb-black);
}

.cart-page-summary__row--total {
    font-size: 18px;
    font-weight: 700;
    color: var(--hb-black);
    padding: 16px 0 0;
}

.cart-page-summary__row--total strong {
    font-size: 20px;
}

.cart-page-summary__divider {
    height: 1px;
    background: var(--hb-gray-200);
    margin: 8px 0;
}

.cart-page-checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 32px;
    margin-top: 20px;
    background: var(--hb-black);
    color: white;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s;
}

.cart-page-checkout-btn:hover {
    background: var(--hb-gold);
    color: white;
}

/* Trust Badges */
.cart-page-trust {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--hb-gray-200);
}

.cart-page-trust__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--hb-gray-500);
}

.cart-page-trust__item svg {
    flex-shrink: 0;
    color: var(--hb-gold);
}

/* Payment Methods */
.cart-page-payments {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--hb-gray-200);
    text-align: center;
}

.cart-page-payments span:first-child {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--hb-gray-400);
    margin-bottom: 6px;
}

.cart-page-payments__methods {
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--hb-gray-400);
}

/* Empty Cart */
.cart-page-empty {
    text-align: center;
    padding: 80px 40px;
}

.cart-page-empty svg {
    color: var(--hb-gray-300);
    margin-bottom: 20px;
}

.cart-page-empty h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.cart-page-empty p {
    color: var(--hb-gray-400);
    margin: 0 0 30px;
}

.cart-page-empty .btn {
    padding: 14px 40px;
}

/* ── Cart Page Responsive ── */
@media (max-width: 960px) {
    .cart-page-layout {
        flex-direction: column;
        gap: 32px;
    }

    .cart-page-summary {
        flex: 1;
        position: static;
    }
}

@media (max-width: 640px) {
    .cart-page-items__header {
        display: none;
    }

    .cart-page-item {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        padding: 20px 0;
    }

    .cart-page-item__product {
        width: 100%;
    }

    .cart-page-item__price,
    .cart-page-item__qty,
    .cart-page-item__total {
        width: auto;
    }

    .cart-page-item__price::before,
    .cart-page-item__qty::before,
    .cart-page-item__total::before {
        content: attr(data-label);
        display: block;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--hb-gray-400);
        margin-bottom: 4px;
    }
}

/* ═══════════════════════════════════════════════
   CUSTOM CHECKOUT PAGE — PREMIUM
   ═══════════════════════════════════════════════ */

/* Security Banner */
.checkout-security-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    margin-bottom: 36px;
    background: #fafafa;
    border: 1px solid var(--hb-gray-200);
    font-size: 12px;
    font-weight: 500;
    color: var(--hb-gray-500);
    letter-spacing: 0.5px;
}

.checkout-security-banner svg {
    flex-shrink: 0;
    color: var(--hb-gold);
}

/* Checkout Steps — premium line style */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.checkout-steps__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--hb-gray-400);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

.checkout-steps__item--done {
    color: var(--hb-gold);
}

.checkout-steps__item--done:hover {
    color: var(--hb-black);
}

.checkout-steps__item--active {
    color: var(--hb-black);
    font-weight: 600;
}

.checkout-steps__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    border: 1.5px solid var(--hb-gray-300);
    color: var(--hb-gray-400);
    transition: all 0.3s;
}

.checkout-steps__item--done .checkout-steps__num {
    background: var(--hb-gold);
    color: white;
    border-color: var(--hb-gold);
}

.checkout-steps__item--active .checkout-steps__num {
    background: var(--hb-black);
    color: white;
    border-color: var(--hb-black);
}

.checkout-steps__sep {
    flex: 1;
    height: 1px;
    background: var(--hb-gray-200);
    margin: 0 16px;
    min-width: 40px;
}

/* Checkout Content Wrapper */
.checkout-content {
    margin-bottom: 48px;
}

/* ── WC Blocks Checkout Overrides (aggressive) ── */

/* Main layout */
.woocommerce-checkout .wc-block-components-sidebar-layout {
    gap: 48px !important;
    align-items: flex-start !important;
}

.woocommerce-checkout .wc-block-checkout__main {
    flex: 1 !important;
    min-width: 0;
}

.woocommerce-checkout .wc-block-checkout__sidebar {
    flex: 0 0 380px !important;
    position: sticky !important;
    top: 160px !important;
}

/* Checkout step titles */
.wc-block-components-checkout-step__heading,
.wc-block-checkout__order-notes .wc-block-components-checkout-step__heading {
    font-family: var(--font-heading) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid var(--hb-gray-100) !important;
}

/* Step containers */
.wc-block-components-checkout-step {
    padding-left: 0 !important;
    border: none !important;
    margin-bottom: 8px !important;
}

.wc-block-components-checkout-step::before,
.wc-block-components-checkout-step::after {
    display: none !important;
}

/* Text inputs */
.wc-block-components-text-input {
    margin-bottom: 12px !important;
}

.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-text-input textarea {
    border: 1px solid var(--hb-gray-200) !important;
    border-radius: 0 !important;
    padding: 16px !important;
    font-size: 14px !important;
    font-family: var(--font-primary) !important;
    background: white !important;
    transition: border-color 0.2s !important;
    height: auto !important;
    line-height: 1.4 !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus {
    border-color: var(--hb-black) !important;
    box-shadow: none !important;
    outline: none !important;
}

.wc-block-components-text-input label {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: var(--hb-gray-400) !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

/* Select/Combobox */
.wc-block-components-combobox .components-combobox-control input[type="text"] {
    border: 1px solid var(--hb-gray-200) !important;
    border-radius: 0 !important;
    padding: 16px !important;
    font-size: 14px !important;
    font-family: var(--font-primary) !important;
}

.wc-block-components-combobox .components-combobox-control input:focus {
    border-color: var(--hb-black) !important;
    box-shadow: none !important;
}

.wc-block-components-combobox label {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--hb-gray-400) !important;
}

/* Checkbox styling */
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
    border-radius: 0 !important;
    border: 1px solid var(--hb-gray-300) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
    background: var(--hb-black) !important;
    border-color: var(--hb-black) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__label {
    font-size: 13px !important;
    color: var(--hb-gray-500) !important;
}

/* Sidebar — Order Summary */
.wc-block-checkout__sidebar .wc-block-components-panel {
    border: none !important;
}

.wc-block-checkout__sidebar .wc-block-components-order-summary {
    padding: 24px !important;
    background: var(--hb-gray-50) !important;
    border: 1px solid var(--hb-gray-100) !important;
}

.wc-block-components-order-summary-item {
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--hb-gray-100) !important;
}

.wc-block-components-order-summary-item__image img {
    border-radius: 4px !important;
    object-fit: cover !important;
}

.wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
}

/* Totals */
.wc-block-components-totals-wrapper {
    border-color: var(--hb-gray-100) !important;
    padding: 12px 0 !important;
}

.wc-block-components-totals-item__label {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--hb-gray-500) !important;
    letter-spacing: 0.3px !important;
}

.wc-block-components-totals-item__value {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--hb-black) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--hb-black) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Place Order Button */
.wc-block-components-checkout-place-order-button,
.wc-block-checkout__actions_row .wc-block-components-button {
    background: var(--hb-black) !important;
    color: white !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 18px 32px !important;
    width: 100% !important;
    font-family: var(--font-primary) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    transition: background 0.3s ease !important;
    cursor: pointer !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout__actions_row .wc-block-components-button:hover {
    background: var(--hb-gold) !important;
}

/* Return to cart link */
.wc-block-checkout__actions_row a {
    font-size: 12px !important;
    color: var(--hb-gray-400) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    letter-spacing: 0.5px !important;
}

.wc-block-checkout__actions_row a:hover {
    color: var(--hb-black) !important;
}

/* Payment Methods */
.wc-block-components-radio-control__option {
    padding: 16px 20px !important;
    border: 1px solid var(--hb-gray-200) !important;
    margin-bottom: 8px !important;
    background: white !important;
    transition: border-color 0.2s !important;
}

.wc-block-components-radio-control__option--checked {
    border-color: var(--hb-black) !important;
}

.wc-block-components-radio-control__label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--hb-black) !important;
    letter-spacing: 0.3px !important;
}

.wc-block-components-radio-control__description {
    font-size: 12px !important;
    color: var(--hb-gray-400) !important;
}

.wc-block-components-radio-control__input {
    accent-color: var(--hb-black) !important;
}

/* Payment box description */
.wc-block-components-radio-control-accordion-content {
    padding: 12px 20px !important;
    font-size: 13px !important;
    color: var(--hb-gray-500) !important;
    background: var(--hb-gray-50) !important;
}

/* Coupon */
.wc-block-components-totals-coupon__button {
    background: var(--hb-black) !important;
    color: white !important;
    border: none !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    padding: 14px 20px !important;
}

.wc-block-components-totals-coupon__button:hover {
    background: var(--hb-gold) !important;
}

/* Notices */
.wc-block-components-notice-banner {
    border: none !important;
    border-left: 3px solid var(--hb-gold) !important;
    background: var(--hb-gray-50) !important;
    padding: 14px 20px !important;
    font-size: 13px !important;
    margin-bottom: 16px !important;
}

.wc-block-components-notice-banner.is-error {
    border-left-color: #e53e3e !important;
}

.wc-block-components-notice-banner.is-success {
    border-left-color: #16a34a !important;
}

/* Shipping options */
.wc-block-components-shipping-rates-control__package {
    border: 1px solid var(--hb-gray-200) !important;
    padding: 16px !important;
}

/* ── Trust Footer ── */
.checkout-trust-footer {
    padding: 40px 0;
    border-top: 1px solid var(--hb-gray-200);
    margin-top: 20px;
}

.checkout-trust-footer__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 28px;
}

.checkout-trust-footer__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.checkout-trust-footer__item svg {
    flex-shrink: 0;
    color: var(--hb-gold);
    margin-top: 2px;
}

.checkout-trust-footer__item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--hb-black);
    margin-bottom: 3px;
    letter-spacing: 0.3px;
}

.checkout-trust-footer__item span {
    font-size: 11px;
    color: var(--hb-gray-400);
    letter-spacing: 0.2px;
}

.checkout-trust-footer__payments {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--hb-gray-100);
    font-size: 11px;
    color: var(--hb-gray-400);
    letter-spacing: 2px;
}

.checkout-trust-footer__payments span {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hb-gray-400);
    margin-bottom: 8px;
}

/* ── Checkout Responsive ── */
@media (max-width: 960px) {
    .woocommerce-checkout .wc-block-components-sidebar-layout {
        flex-direction: column !important;
        gap: 32px !important;
    }

    .woocommerce-checkout .wc-block-checkout__sidebar {
        flex: 1 !important;
        position: static !important;
    }
}

@media (max-width: 768px) {
    .checkout-steps {
        max-width: 100%;
    }

    .checkout-steps__item span:last-child {
        font-size: 10px;
    }

    .checkout-trust-footer__items {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .checkout-steps__item span:last-child {
        display: none;
    }

    .checkout-trust-footer__items {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════
   CHECKOUT POLISH — FINAL TOUCHES
   ═══════════════════════════════════════════════ */

/* Express Checkout Buttons (Apple Pay, Google Pay) */
.wc-block-components-express-payment,
.wc-block-checkout__payment-method .wc-block-components-express-payment {
    margin-bottom: 24px !important;
}

.wc-block-components-express-payment__title {
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: var(--hb-gray-400) !important;
    font-weight: 600 !important;
}

.wc-block-components-express-payment .wc-block-components-express-payment__event-buttons button {
    border-radius: 0 !important;
    min-height: 48px !important;
}

/* OR divider */
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::after,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::before {
    background: var(--hb-gray-200) !important;
}

/* Form Validation States */
.wc-block-components-text-input.has-error input {
    border-color: #e53e3e !important;
}

.wc-block-components-text-input.has-error label {
    color: #e53e3e !important;
}

.wc-block-components-validation-error {
    color: #e53e3e !important;
    font-size: 12px !important;
    margin-top: 4px !important;
}

/* Loading Spinner — Place Order */
.wc-block-components-button--loading .wc-block-components-button__text {
    opacity: 0 !important;
}

.wc-block-components-button--loading::after {
    content: '' !important;
    position: absolute !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-top-color: white !important;
    border-radius: 50% !important;
    animation: hb-spin 0.6s linear infinite !important;
}

@keyframes hb-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Accordion Panel (coupon, order details toggle) */
.wc-block-components-panel .wc-block-components-panel__button {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--hb-gray-500) !important;
    padding: 12px 0 !important;
    letter-spacing: 0.3px !important;
}

.wc-block-components-panel .wc-block-components-panel__button:hover {
    color: var(--hb-black) !important;
}

.wc-block-components-panel .wc-block-components-panel__button-icon {
    fill: var(--hb-gray-400) !important;
}

/* Address row — two fields side by side */
.wc-block-components-address-form__address_2-toggle {
    font-size: 12px !important;
    color: var(--hb-gold) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.wc-block-components-address-form__address_2-toggle:hover {
    color: var(--hb-black) !important;
}

/* Order Summary — item quantity badge */
.wc-block-components-order-summary-item__quantity {
    background: var(--hb-black) !important;
    color: white !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 50% !important;
    min-width: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
    text-align: center !important;
}

/* Product price in order summary */
.wc-block-components-order-summary-item__total-price {
    font-weight: 700 !important;
    font-size: 13px !important;
}

.wc-block-components-order-summary-item__individual-price {
    font-size: 11px !important;
    color: var(--hb-gray-400) !important;
}

/* Privacy Policy text */
.wc-block-checkout__terms,
.wc-block-checkout__terms p {
    font-size: 11px !important;
    color: var(--hb-gray-400) !important;
    line-height: 1.5 !important;
}

.wc-block-checkout__terms a {
    color: var(--hb-gold) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

/* Login/guest checkout notice */
.wc-block-checkout__login-prompt {
    font-size: 12px !important;
    color: var(--hb-gray-500) !important;
    margin-bottom: 20px !important;
}

.wc-block-checkout__login-prompt a {
    color: var(--hb-gold) !important;
    font-weight: 600 !important;
}

/* Shipping method in sidebar */
.wc-block-components-totals-shipping .wc-block-components-shipping-rates-control {
    margin-top: 8px !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__option:last-child {
    margin-bottom: 0 !important;
}

/* Micro-animations */
.wc-block-components-text-input input,
.wc-block-components-combobox .components-combobox-control input,
.wc-block-components-radio-control__option,
.checkout-steps__num,
.cart-page-checkout-btn,
.checkout-trust-footer__item {
    transition: all 0.2s ease !important;
}

/* Divider between checkout sections */
.wc-block-checkout__main>.wc-block-components-checkout-step+.wc-block-components-checkout-step {
    border-top: 1px solid var(--hb-gray-100) !important;
    padding-top: 24px !important;
    margin-top: 16px !important;
}

/* ── Checkout Responsive — Enhanced ── */
@media (max-width: 960px) {
    .woocommerce-checkout .wc-block-components-sidebar-layout {
        flex-direction: column !important;
        gap: 32px !important;
    }

    .woocommerce-checkout .wc-block-checkout__sidebar {
        flex: 1 !important;
        position: static !important;
    }
}

@media (max-width: 768px) {
    .checkout-steps {
        max-width: 100%;
    }

    .checkout-steps__item span:last-child {
        font-size: 10px;
    }

    .checkout-trust-footer__items {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .checkout-security-banner {
        font-size: 11px;
        padding: 10px 16px;
    }
}

@media (max-width: 640px) {

    /* Mobile sticky Place Order */
    .wc-block-checkout__actions_row {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 100 !important;
        background: white !important;
        padding: 12px 16px !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
        border-top: 1px solid var(--hb-gray-100) !important;
    }

    .wc-block-checkout__actions_row a {
        display: none !important;
    }

    .checkout-trust-footer {
        margin-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .checkout-steps__item span:last-child {
        display: none;
    }

    .checkout-trust-footer__items {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════
   CLASSIC WOOCOMMERCE CHECKOUT
   ═══════════════════════════════════════════════ */

/* Main checkout: CSS Grid 2-column layout */
.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 380px !important;
    grid-template-rows: auto !important;
    gap: 0 48px !important;
    align-items: start !important;
}

/* Left column: all form sections */
.woocommerce-checkout form.checkout>.col2-set,
.woocommerce-checkout form.checkout>#customer_details {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 100% !important;
}

.woocommerce-checkout form.checkout>.woocommerce-additional-fields {
    grid-column: 1 !important;
    grid-row: 2 !important;
}

/* Right column: order review - wrap heading + review in same column */
.woocommerce-checkout form.checkout>#order_review_heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    margin-bottom: 0 !important;
    padding-bottom: 16px !important;
}

.woocommerce-checkout form.checkout>#order_review {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin-top: 48px !important;
    position: sticky !important;
    top: 140px !important;
    align-self: start !important;
}

/* Coupon and notices — full width left column */
.woocommerce-checkout form.checkout>.woocommerce-NoticeGroup,
.woocommerce-checkout form.checkout>.woocommerce-form-coupon-toggle {
    grid-column: 1 !important;
}

/* Payment section — moved to left column via JS */
.woocommerce-checkout form.checkout>#payment-section {
    grid-column: 1 !important;
    margin-top: 8px !important;
    padding-top: 32px !important;
    border-top: 1px solid var(--hb-gray-100) !important;
}

/* Order review sidebar — only shows table now (payment was moved out) */
.woocommerce-checkout form.checkout>#order_review {
    background: var(--hb-gray-50) !important;
    padding: 24px !important;
    border: 1px solid var(--hb-gray-100) !important;
}

/* col2-set: make children full width */
.woocommerce-checkout .col2-set {
    display: block !important;
    width: 100% !important;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
}

/* Section headings */
.woocommerce-checkout h3,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
    font-family: var(--font-heading) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--hb-gray-100) !important;
}

/* Form rows */
.woocommerce-checkout .form-row {
    margin-bottom: 16px;
}

.woocommerce-checkout .form-row label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hb-gray-400);
    margin-bottom: 6px;
    display: block;
}

.woocommerce-checkout .form-row label .required {
    color: var(--hb-gold);
}

/* Inputs */
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100% !important;
    padding: 14px !important;
    border: 1px solid var(--hb-gray-200) !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-family: var(--font-primary) !important;
    background: white !important;
    transition: border-color 0.2s !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--hb-black) !important;
    outline: none !important;
    box-shadow: none !important;
}

.woocommerce-checkout textarea {
    min-height: 80px;
    resize: vertical;
}

/* Select2 overrides */
.woocommerce-checkout .select2-container .select2-selection--single {
    height: 48px !important;
    border: 1px solid var(--hb-gray-200) !important;
    border-radius: 0 !important;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
    padding-left: 14px !important;
    font-size: 14px !important;
    color: var(--hb-black) !important;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
}

/* Order Review Table */
.woocommerce-checkout #order_review_heading {
    font-family: var(--font-heading) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid var(--hb-gray-100) !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 24px !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--hb-gray-100) !important;
    font-size: 13px !important;
    text-align: left !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--hb-gray-400) !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
    font-size: 18px !important;
    font-weight: 700 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--hb-black) !important;
    text-transform: uppercase !important;
}

/* Payment box */
/* Payment — clean, no wrapper */
.woocommerce-checkout #payment {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.woocommerce-checkout #payment .payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Hide payment method wrapper — form IS the payment */
.woocommerce-checkout #payment .payment_methods li {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    list-style: none !important;
}

/* Hide radio + label when only 1 payment method */
.woocommerce-checkout #payment .payment_methods li input[type="radio"] {
    display: none !important;
}

.woocommerce-checkout #payment .payment_methods li>label {
    display: none !important;
}

/* Payment box — no padding/bg, form handles its own style */
.woocommerce-checkout #payment .payment_box {
    background: transparent !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    margin: 0 !important;
}

.woocommerce-checkout #payment .payment_box::before {
    display: none !important;
}

/* Place Order button */
.woocommerce-checkout #place_order {
    background: var(--hb-black) !important;
    color: white !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 18px 32px !important;
    width: 100% !important;
    font-family: var(--font-primary) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
}

.woocommerce-checkout #place_order:hover {
    background: var(--hb-gold) !important;
}

/* Privacy text */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    font-size: 11px !important;
    color: var(--hb-gray-400) !important;
    margin-bottom: 16px !important;
    line-height: 1.5 !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
    color: var(--hb-gold) !important;
}

/* Coupon toggle */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    background: var(--hb-gray-50) !important;
    border: 1px solid var(--hb-gray-100) !important;
    border-left: none !important;
    padding: 14px 20px !important;
    font-size: 13px !important;
    color: var(--hb-gray-500) !important;
    margin-bottom: 24px !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle a {
    color: var(--hb-gold) !important;
}

/* Success notice */
.woocommerce-checkout .woocommerce-message {
    background: var(--hb-gray-50) !important;
    border: 1px solid var(--hb-gray-100) !important;
    border-left: 3px solid #16a34a !important;
    padding: 14px 20px !important;
    font-size: 13px !important;
    margin-bottom: 24px !important;
}

/* Classic Checkout Responsive */
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Stack ALL checkout sections in single column */
    .woocommerce-checkout form.checkout {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }

    /* Reset all grid-column assignments */
    .woocommerce-checkout form.checkout>.col2-set,
    .woocommerce-checkout form.checkout>#customer_details,
    .woocommerce-checkout form.checkout>.woocommerce-additional-fields,
    .woocommerce-checkout form.checkout>#order_review_heading,
    .woocommerce-checkout form.checkout>#order_review,
    .woocommerce-checkout form.checkout>#payment {
        grid-column: unset !important;
        grid-row: unset !important;
        width: 100% !important;
        display: block !important;
    }

    /* YOUR ORDER heading */
    .woocommerce-checkout form.checkout>#order_review_heading {
        margin-top: 32px !important;
        padding-top: 0 !important;
    }
}

/* ═══════════════════════════════════════════════
   WOOCOMMERCE BLOCKS — CART & CHECKOUT
   ═══════════════════════════════════════════════ */
.woocommerce-cart .page-body,
.woocommerce-checkout .page-body {
    max-width: 100%;
}

/* ── Sidebar Layout (two-column) ── */
.wc-block-components-sidebar-layout {
    gap: 60px !important;
}

.wc-block-cart__main,
.wc-block-checkout__main {
    flex: 1 !important;
}

.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
    flex: 0 0 380px !important;
}

/* ── Cart Items Table ── */
.wc-block-cart-items .wc-block-cart-items__header {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hb-gray-400);
    border-bottom: 2px solid var(--hb-gray-200);
}

.wc-block-cart-items__row {
    border-bottom: 1px solid var(--hb-gray-100) !important;
    padding: 24px 0 !important;
}

/* Product images */
.wc-block-cart-item__image img {
    border-radius: 6px !important;
    object-fit: cover !important;
    width: 90px !important;
    height: 110px !important;
}

/* Product name */
.wc-block-components-product-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--hb-black) !important;
    text-decoration: none !important;
    letter-spacing: 0.3px;
}

.wc-block-components-product-name:hover {
    color: var(--hb-gold) !important;
}

/* Product meta (size, color) */
.wc-block-components-product-metadata {
    font-size: 12px !important;
    color: var(--hb-gray-400) !important;
    margin-top: 4px !important;
}

.wc-block-components-product-metadata__description {
    display: none;
}

/* Price */
.wc-block-cart-item__prices,
.wc-block-components-product-price {
    font-size: 14px !important;
    font-weight: 600 !important;
}

.wc-block-components-product-price__value {
    font-weight: 700 !important;
}

/* Quantity Selector */
.wc-block-components-quantity-selector {
    border: 1px solid var(--hb-gray-200) !important;
    border-radius: 6px !important;
    overflow: hidden;
}

.wc-block-components-quantity-selector__button {
    background: transparent !important;
    border: none !important;
    font-size: 16px !important;
    color: var(--hb-gray-500) !important;
    width: 36px !important;
    transition: color 0.2s;
}

.wc-block-components-quantity-selector__button:hover {
    color: var(--hb-black) !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__input {
    font-family: var(--font-primary) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: none !important;
    text-align: center;
    width: 40px !important;
    min-width: 40px !important;
}

/* Remove link */
.wc-block-cart-item__remove-link {
    font-size: 12px !important;
    color: var(--hb-gray-400) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.wc-block-cart-item__remove-link:hover {
    color: #e53e3e !important;
}

/* ── Order Summary / Totals Sidebar ── */
.wc-block-components-totals-wrapper {
    border-top: 1px solid var(--hb-gray-100) !important;
    padding: 16px 0 !important;
}

.wc-block-components-totals-item__label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--hb-gray-500) !important;
}

.wc-block-components-totals-item__value {
    font-size: 14px !important;
    font-weight: 600 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--hb-black) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 20px !important;
    font-weight: 700 !important;
}

/* Checkout / Proceed Button */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-container .wc-block-components-button {
    background: var(--hb-black) !important;
    color: white !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 16px 32px !important;
    font-family: var(--font-primary) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    transition: background 0.3s !important;
    width: 100%;
    text-align: center;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-container .wc-block-components-button:hover {
    background: var(--hb-gold) !important;
}

/* ── Coupon / Discount ── */
.wc-block-components-totals-coupon__content {
    display: flex;
    gap: 8px;
}

.wc-block-components-totals-coupon__content input {
    padding: 12px 16px !important;
    border: 1px solid var(--hb-gray-200) !important;
    border-radius: 4px !important;
    font-family: var(--font-primary) !important;
    font-size: 13px !important;
}

.wc-block-components-totals-coupon__content input:focus {
    border-color: var(--hb-gold) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1) !important;
}

.wc-block-components-totals-coupon__content button {
    background: var(--hb-black) !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    font-family: var(--font-primary) !important;
    cursor: pointer;
}

.wc-block-components-totals-coupon__content button:hover {
    background: var(--hb-gold) !important;
}

/* ── Checkout Form Fields ── */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-combobox .components-combobox-control input {
    border: 1px solid var(--hb-gray-200) !important;
    border-radius: 4px !important;
    font-family: var(--font-primary) !important;
    font-size: 14px !important;
    padding: 14px 16px !important;
    transition: border-color 0.2s;
}

.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus {
    border-color: var(--hb-gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1) !important;
}

.wc-block-components-text-input label {
    font-size: 12px !important;
    color: var(--hb-gray-500) !important;
    letter-spacing: 0.3px;
}

/* Checkout headings */
.wc-block-components-checkout-step__heading {
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

/* ── Payment Methods ── */
.wc-block-components-radio-control__option {
    padding: 16px !important;
    border: 1px solid var(--hb-gray-200) !important;
    border-radius: 4px !important;
    margin-bottom: 8px !important;
    background: white !important;
}

.wc-block-components-radio-control__label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--hb-black) !important;
}

.wc-block-components-radio-control__description {
    font-size: 12px !important;
    color: var(--hb-gray-400) !important;
}

/* ── Notices ── */
.wc-block-components-notice-banner {
    border-left: 3px solid var(--hb-gold) !important;
    background: var(--hb-gray-50) !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
}

.wc-block-components-notice-banner.is-error {
    border-left-color: #e53e3e !important;
}

.wc-block-components-notice-banner.is-success {
    border-left-color: #38a169 !important;
}

/* ── Shipping Options ── */
.wc-block-components-shipping-rates-control__package {
    border: 1px solid var(--hb-gray-200) !important;
    border-radius: 4px !important;
    padding: 16px !important;
}

/* ── Classic WooCommerce Fallback ── */
.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    border-radius: 0;
}

.woocommerce table.shop_table th {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hb-gray-400);
    padding: 12px 16px;
    border-bottom: 2px solid var(--hb-gray-200);
}

.woocommerce table.shop_table td {
    padding: 20px 16px;
    border-bottom: 1px solid var(--hb-gray-100);
    vertical-align: middle;
}

.woocommerce a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--hb-gray-400) !important;
    font-size: 20px;
    background: var(--hb-gray-50);
    transition: all 0.2s;
    text-decoration: none;
}

.woocommerce a.remove:hover {
    background: #e53e3e;
    color: white !important;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a {
    display: block;
    text-align: center;
    padding: 16px 32px;
    background: var(--hb-black);
    color: white;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a:hover {
    background: var(--hb-gold);
}

.woocommerce #place_order {
    width: 100%;
    padding: 18px 32px;
    background: var(--hb-black);
    color: white;
    border: none;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.woocommerce #place_order:hover {
    background: var(--hb-gold);
}

/* Notices (classic) */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
    padding: 16px 20px;
    margin-bottom: 20px;
    border-left: 3px solid var(--hb-gold);
    background: var(--hb-gray-50);
    font-size: 14px;
    list-style: none;
}

.woocommerce .woocommerce-error {
    border-left-color: #e53e3e;
}

.woocommerce .woocommerce-message {
    border-left-color: #38a169;
}

/* ═══════════════════════════════════════════════
   CART/CHECKOUT RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .page-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .wc-block-components-sidebar-layout {
        flex-direction: column !important;
        gap: 24px !important;
    }

    .wc-block-cart__sidebar,
    .wc-block-checkout__sidebar {
        flex: 1 !important;
    }

    .wc-block-cart-item__image img {
        width: 70px !important;
        height: 90px !important;
    }
}

.woocommerce-cart .page-body {
    max-width: 100%;
}

.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    border-radius: 0;
}

.woocommerce table.shop_table th {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hb-gray-400);
    padding: 12px 16px;
    border-bottom: 2px solid var(--hb-gray-200);
    text-align: left;
}

.woocommerce table.shop_table td {
    padding: 20px 16px;
    border-bottom: 1px solid var(--hb-gray-100);
    vertical-align: middle;
}

.woocommerce table.shop_table td.product-thumbnail {
    width: 100px;
}

.woocommerce table.shop_table td.product-thumbnail img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.woocommerce table.shop_table td.product-name a {
    font-size: 14px;
    font-weight: 600;
    color: var(--hb-black);
    text-decoration: none;
    letter-spacing: 0.3px;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: var(--hb-gold);
}

.woocommerce table.shop_table td.product-name .variation {
    font-size: 12px;
    color: var(--hb-gray-400);
    margin-top: 4px;
}

.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
    font-size: 14px;
    font-weight: 600;
}

/* Qty input */
.woocommerce .quantity .qty {
    width: 60px;
    padding: 8px 10px;
    border: 1px solid var(--hb-gray-200);
    text-align: center;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    appearance: textfield;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
}

.woocommerce .quantity .qty:focus {
    border-color: var(--hb-gold);
    outline: none;
}

/* Remove button */
.woocommerce a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--hb-gray-400) !important;
    font-size: 20px;
    transition: all 0.2s;
    text-decoration: none;
    background: var(--hb-gray-50);
}

.woocommerce a.remove:hover {
    background: #e53e3e;
    color: white !important;
}

/* Cart Actions */
.woocommerce .cart-collaterals,
.woocommerce-cart .actions {
    margin-top: 20px;
}

.woocommerce .coupon {
    display: flex;
    gap: 8px;
    align-items: center;
}

.woocommerce .coupon input[type="text"] {
    padding: 12px 16px;
    border: 1px solid var(--hb-gray-200);
    font-family: var(--font-primary);
    font-size: 13px;
    width: 200px;
    outline: none;
}

.woocommerce .coupon input[type="text"]:focus {
    border-color: var(--hb-gold);
}

.woocommerce .coupon button,
.woocommerce button[name="update_cart"] {
    padding: 12px 20px;
    background: var(--hb-black);
    color: white;
    border: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--font-primary);
    transition: background 0.3s;
}

.woocommerce .coupon button:hover,
.woocommerce button[name="update_cart"]:hover {
    background: var(--hb-gold);
}

.woocommerce button[name="update_cart"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Cart Totals */
.woocommerce .cart_totals {
    max-width: 420px;
    margin-left: auto;
    margin-top: 40px;
    padding: 32px;
    background: var(--hb-gray-50);
    border-radius: 8px;
}

.woocommerce .cart_totals h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.woocommerce .cart_totals table {
    width: 100%;
    border: none;
}

.woocommerce .cart_totals table th {
    font-size: 13px;
    font-weight: 500;
    color: var(--hb-gray-500);
    padding: 12px 0;
    text-align: left;
    border: none;
}

.woocommerce .cart_totals table td {
    font-size: 14px;
    font-weight: 600;
    text-align: right;
    padding: 12px 0;
    border: none;
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
    font-size: 18px;
    font-weight: 700;
    border-top: 2px solid var(--hb-gray-200);
    padding-top: 16px;
}

.woocommerce .cart_totals .wc-proceed-to-checkout {
    margin-top: 20px;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a {
    display: block;
    text-align: center;
    padding: 16px 32px;
    background: var(--hb-black);
    color: white;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s;
}

.woocommerce .cart_totals .wc-proceed-to-checkout a:hover {
    background: var(--hb-gold);
}

/* ═══════════════════════════════════════════════
   WOOCOMMERCE CHECKOUT
   ═══════════════════════════════════════════════ */
.woocommerce-checkout .page-body {
    max-width: 100%;
}

.woocommerce form.checkout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.woocommerce .col2-set {
    flex: 1;
    min-width: 300px;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
    margin-bottom: 30px;
}

/* Form headings */
.woocommerce h3,
.woocommerce form.checkout h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hb-gray-200);
}

/* Form fields */
.woocommerce form .form-row {
    margin-bottom: 16px;
}

.woocommerce form .form-row label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--hb-gray-500);
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
}

.woocommerce form .form-row label .required {
    color: var(--hb-gold);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--hb-gray-200);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 14px;
    background: white;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--hb-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

/* Select2 dropdown override */
.woocommerce .select2-container .select2-selection--single {
    height: 48px;
    border: 1px solid var(--hb-gray-200);
    border-radius: 4px;
}

.woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
    padding: 0 16px;
    font-size: 14px;
}

/* Order review / sidebar */
.woocommerce #order_review_heading,
.woocommerce #order_review {
    flex: 0 0 380px;
}

.woocommerce #order_review {
    background: var(--hb-gray-50);
    padding: 32px;
    border-radius: 8px;
}

.woocommerce #order_review table.shop_table {
    margin-bottom: 20px;
}

.woocommerce #order_review table.shop_table th,
.woocommerce #order_review table.shop_table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--hb-gray-200);
    font-size: 13px;
}

.woocommerce #order_review table.shop_table tfoot th {
    font-weight: 600;
    color: var(--hb-black);
}

.woocommerce #order_review table.shop_table tfoot .order-total th,
.woocommerce #order_review table.shop_table tfoot .order-total td {
    font-size: 18px;
    font-weight: 700;
    border-top: 2px solid var(--hb-gray-300);
}

/* Payment Methods */
.woocommerce #payment {
    background: transparent;
    border-radius: 0;
}

.woocommerce #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border: none;
}

.woocommerce #payment ul.payment_methods li {
    padding: 16px;
    border: 1px solid var(--hb-gray-200);
    margin-bottom: 8px;
    border-radius: 4px;
    background: white;
}

.woocommerce #payment ul.payment_methods li label {
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    color: var(--hb-black);
}

.woocommerce #payment .payment_box {
    background: var(--hb-gray-50);
    padding: 16px;
    margin-top: 12px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--hb-gray-500);
}

/* Place Order */
.woocommerce #place_order {
    width: 100%;
    padding: 18px 32px;
    background: var(--hb-black);
    color: white;
    border: none;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 16px;
}

.woocommerce #place_order:hover {
    background: var(--hb-gold);
}

/* Notices */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
    padding: 16px 20px;
    margin-bottom: 20px;
    border-left: 3px solid var(--hb-gold);
    background: var(--hb-gray-50);
    font-size: 14px;
    list-style: none;
}

.woocommerce .woocommerce-error {
    border-left-color: #e53e3e;
}

.woocommerce .woocommerce-message {
    border-left-color: #38a169;
}

/* ═══════════════════════════════════════════════
   CART/CHECKOUT RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .page-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    /* Cart table → stacked on mobile */
    .woocommerce table.shop_table thead {
        display: none;
    }

    .woocommerce table.shop_table tr {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 20px 0;
        border-bottom: 1px solid var(--hb-gray-100);
    }

    .woocommerce table.shop_table td {
        padding: 4px 0;
        border: none;
    }

    .woocommerce table.shop_table td.product-thumbnail {
        width: 80px;
    }

    .woocommerce table.shop_table td.product-thumbnail img {
        width: 80px;
        height: 100px;
    }

    .woocommerce table.shop_table td.product-name {
        flex: 1;
        min-width: 150px;
    }

    .woocommerce table.shop_table td.product-remove {
        order: -1;
    }

    .woocommerce table.shop_table td.product-quantity,
    .woocommerce table.shop_table td.product-subtotal {
        width: auto;
    }

    .woocommerce table.shop_table .actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .woocommerce .coupon {
        flex-direction: column;
        width: 100%;
    }

    .woocommerce .coupon input[type="text"] {
        width: 100%;
    }

    /* Cart totals full width */
    .woocommerce .cart_totals {
        max-width: 100%;
        margin-top: 24px;
    }

    /* Checkout cols stacked */
    .woocommerce form.checkout {
        flex-direction: column;
        gap: 24px;
    }

    .woocommerce #order_review_heading,
    .woocommerce #order_review {
        flex: 1;
    }
}

/* ===== WOOCOMMERCE NOTICES — STRIPE STYLE ===== */

/* Error notice */
.woocommerce-error,
.woocommerce .woocommerce-error {
    background: #fff0f0 !important;
    border: 1px solid #fca5a5 !important;
    border-radius: 6px !important;
    border-left: none !important;
    color: #991b1b !important;
    padding: 14px 18px !important;
    margin: 0 0 20px !important;
    list-style: none !important;
    font-size: 14px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 400 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    box-shadow: none !important;
}

.woocommerce-error li,
.woocommerce .woocommerce-error li {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    color: #991b1b !important;
    font-size: 14px !important;
}

.woocommerce-error li::before,
.woocommerce .woocommerce-error li::before {
    content: "" !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23dc2626'%3E%3Cpath fill-rule='evenodd' d='M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
    background-size: 16px 16px !important;
    background-repeat: no-repeat !important;
    margin-top: 1px !important;
}

/* Success notice */
.woocommerce-message,
.woocommerce .woocommerce-message {
    background: #f0fdf4 !important;
    border: 1px solid #86efac !important;
    border-radius: 6px !important;
    border-left: none !important;
    border-top: none !important;
    color: #166534 !important;
    padding: 14px 18px !important;
    margin: 0 0 20px !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: none !important;
}

/* Info notice */
.woocommerce-info,
.woocommerce .woocommerce-info {
    background: #eff6ff !important;
    border: 1px solid #93c5fd !important;
    border-radius: 6px !important;
    border-left: none !important;
    border-top: none !important;
    color: #1e40af !important;
    padding: 14px 18px !important;
    margin: 0 0 20px !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

/* Hide the ugly icon that WC puts in notices */
.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
    display: none !important;
}

/* ═══════════════════════════════════════════════
   CHECKOUT: Hide mobile cart bar (redundant here)
   ═══════════════════════════════════════════════ */
.woocommerce-checkout .mobile-cart-bar,
.woocommerce-checkout #mobile-cart-bar {
    display: none !important;
}