/* FZ Store — Huawei Consumer inspired premium e-commerce UI */
:root {
    --hw-black: #000000;
    --hw-dark: #0a0a0a;
    --hw-gray-900: #1a1a1a;
    --hw-gray-700: #444444;
    --hw-gray-500: #777777;
    --hw-gray-300: #cccccc;
    --hw-gray-200: #e5e5e5;
    --hw-gray-100: #f5f5f5;
    --hw-gray-400: #999999;
    --hw-white: #ffffff;
    --hw-accent: #4b8bf9;
    --hw-accent-hover: #3a72d8;
    --hw-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --hw-header-h: 56px;
    --hw-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fz-shop {
    background: var(--hw-white);
    min-height: 100vh;
    font-family: var(--hw-font);
    color: var(--hw-black);
    -webkit-font-smoothing: antialiased;
}

.fz-shop a:not(.hw-btn):not(.hw-auth-social__btn):not(.hw-hero__link):not(.hw-showcase-card):not(.hw-category-card):not(.hw-section__view-all) {
    color: inherit;
    text-decoration: none;
    transition: color var(--hw-transition);
}

.fz-shop a.hw-btn {
    text-decoration: none;
}

.fz-shop button.hw-btn {
    appearance: none;
    -webkit-appearance: none;
}

/* Override global site typography inside shop */
.fz-shop h1,
.fz-shop h2,
.fz-shop h3,
.fz-shop h4,
.fz-shop h5,
.fz-shop h6 {
    color: inherit;
    font-family: var(--hw-font);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0;
}

/* ── Header ── */
.hw-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--hw-white);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    height: var(--hw-header-h);
}

.hw-header__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.hw-header__logo img {
    height: 28px;
    width: auto;
}

.hw-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

.hw-header__nav::-webkit-scrollbar { display: none; }

.hw-header__nav a {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 400;
    color: var(--hw-gray-700);
    white-space: nowrap;
    border-radius: 4px;
    transition: color var(--hw-transition), background var(--hw-transition);
}

.hw-header__nav a:hover,
.hw-header__nav a.is-active {
    color: var(--hw-black);
    background: var(--hw-gray-100);
}

.hw-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.hw-header__icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    color: var(--hw-black);
    transition: background var(--hw-transition);
}

.hw-header__icon-btn:hover {
    background: var(--hw-gray-100);
}

.hw-header__icon-btn svg {
    width: 20px;
    height: 20px;
}

.hw-header__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--hw-accent);
    color: var(--hw-white);
    font-size: 10px;
    font-weight: 600;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hw-header__menu-toggle {
    display: none;
}

/* Search overlay */
.hw-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--hw-transition), visibility var(--hw-transition);
}

.hw-search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.hw-search-panel {
    background: var(--hw-white);
    padding: 24px;
    transform: translateY(-100%);
    transition: transform var(--hw-transition);
}

.hw-search-overlay.is-open .hw-search-panel {
    transform: translateY(0);
}

.hw-search-panel form {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--hw-black);
}

.hw-search-panel input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 20px;
    padding: 12px 0;
    background: transparent;
}

.hw-search-panel button {
    border: none;
    background: transparent;
    padding: 12px;
    cursor: pointer;
}

/* Mobile drawer */
.hw-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 250;
    pointer-events: none;
}

.hw-mobile-drawer.is-open {
    pointer-events: auto;
}

.hw-mobile-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity var(--hw-transition);
}

.hw-mobile-drawer.is-open .hw-mobile-drawer__backdrop {
    opacity: 1;
}

.hw-mobile-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: var(--hw-white);
    transform: translateX(-100%);
    transition: transform var(--hw-transition);
    overflow-y: auto;
    padding: 24px;
}

.hw-mobile-drawer.is-open .hw-mobile-drawer__panel {
    transform: translateX(0);
}

.hw-mobile-drawer__panel a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--hw-gray-100);
}

/* ── Hero carousel — background image + subtle dark overlay ── */
.hw-hero {
    position: relative;
    background: #1a1a1a;
    color: var(--hw-white);
    overflow: hidden;
    min-height: clamp(480px, 52vw, 580px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.hw-hero__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hw-hero__ambient::before {
    content: "";
    position: absolute;
    inset: -8px;
    background: url("../images/bg/background_store.jpg") center center / cover no-repeat;
    filter: blur(2px);
    transform: scale(1.02);
}

.hw-hero__ambient::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0, 0, 0, 0.48) 0%,
        rgba(0, 0, 0, 0.28) 45%,
        rgba(0, 0, 0, 0.12) 100%
    );
}

.hw-hero__slides {
    position: relative;
    display: grid;
    width: 100%;
    z-index: 1;
}

.hw-hero__slide {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition:
        opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.65s,
        transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.hw-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 1;
}

.hw-hero__content {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 72px clamp(32px, 4vw, 64px) 96px clamp(64px, 9vw, 140px);
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hw-hero__copy {
    max-width: 560px;
}

.hw-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b8d4ff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(75, 139, 249, 0.28);
}

.hw-hero__title {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 600;
    line-height: 1.08;
    margin: 0 0 16px;
    letter-spacing: -0.03em;
    color: var(--hw-white);
}

.hw-hero__desc {
    margin: 0 0 18px;
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    max-width: 46ch;
}

.hw-hero__price {
    margin: 0 0 28px;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--hw-white);
}

.hw-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.hw-btn--hero,
.fz-shop a.hw-btn--hero,
.fz-shop button.hw-btn--hero {
    background: var(--hw-accent);
    color: var(--hw-white) !important;
    padding: 14px 32px;
    box-shadow: 0 6px 20px rgba(75, 139, 249, 0.28);
}

.hw-btn--hero:hover,
.fz-shop a.hw-btn--hero:hover,
.fz-shop button.hw-btn--hero:hover {
    background: var(--hw-accent-hover);
    color: var(--hw-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(75, 139, 249, 0.36);
}

.hw-btn--hero svg,
.fz-shop a.hw-btn--hero svg {
    stroke: currentColor;
}

.hw-hero__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 2px;
    transition: color var(--hw-transition), border-color var(--hw-transition);
}

.hw-hero__link:hover {
    color: var(--hw-white);
    border-bottom-color: rgba(255, 255, 255, 0.75);
}

.hw-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.hw-hero__frame {
    position: relative;
    width: min(100%, 460px);
    min-height: clamp(320px, 38vw, 480px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 2.5vw, 24px);
    border-radius: 22px;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 42%, rgba(75, 139, 249, 0.08) 100%),
        rgba(8, 14, 28, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(75, 139, 249, 0.14) inset,
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transform: rotateY(-4deg) rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.hw-hero__slide.is-active .hw-hero__frame {
    transform: rotateY(0deg) rotateX(0deg);
}

.hw-hero__frame::before {
    content: "";
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle at 28% 18%, rgba(75, 139, 249, 0.28) 0%, transparent 42%),
        radial-gradient(circle at 78% 82%, rgba(255, 255, 255, 0.06) 0%, transparent 38%);
    pointer-events: none;
    z-index: 0;
}

.hw-hero__frame::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 55%);
    pointer-events: none;
    z-index: 2;
}

.hw-hero__frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: clamp(280px, 36vw, 440px);
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
}

.hw-hero__controls {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.hw-hero__dots {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.hw-hero__dot {
    width: 28px;
    height: 4px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: background var(--hw-transition), width var(--hw-transition), transform var(--hw-transition);
}

.hw-hero__dot.is-active {
    width: 40px;
    background: var(--hw-white);
}

.hw-hero__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: var(--hw-white);
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background var(--hw-transition), border-color var(--hw-transition), transform var(--hw-transition);
}

.hw-hero__arrow:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.35);
}

.hw-hero__arrow:active {
    transform: scale(0.96);
}

/* ── Category section ── */
.hw-section {
    padding: 80px 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.hw-section--alt {
    background: var(--hw-gray-100);
    max-width: none;
}

.hw-section--alt .hw-section__inner {
    max-width: 1440px;
    margin: 0 auto;
}

.hw-section__header {
    text-align: center;
    margin-bottom: 48px;
}

.hw-section__label {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hw-gray-500);
    margin-bottom: 8px;
}

.hw-section__title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 600;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    color: var(--hw-black);
}

.hw-section__desc {
    font-size: 16px;
    color: var(--hw-gray-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.hw-section__view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    font-size: 15px;
    color: var(--hw-accent);
    font-weight: 500;
}

.hw-section__view-all:hover {
    color: var(--hw-accent-hover);
}

/* ── Category strip (company profile catalog) ── */
.hw-category-strip {
    padding: 48px 24px 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.hw-category-strip__inner {
    width: 100%;
}

.hw-category-strip__head {
    text-align: center;
    margin-bottom: 28px;
}

.hw-category-strip__title {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 600;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    color: var(--hw-black);
}

.hw-category-strip__desc {
    margin: 0 auto;
    max-width: 640px;
    font-size: 15px;
    color: var(--hw-gray-500);
    line-height: 1.6;
}

.hw-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hw-category-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: var(--hw-white);
    transition: transform var(--hw-transition), box-shadow var(--hw-transition);
}

.hw-category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.hw-category-card__media {
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: var(--hw-gray-100);
}

.hw-category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hw-category-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hw-category-card__body strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--hw-black);
}

.hw-category-card__body span {
    font-size: 13px;
    line-height: 1.5;
    color: var(--hw-gray-500);
}

.hw-catalog__subtitle {
    margin: -8px 0 24px;
    font-size: 15px;
    color: var(--hw-gray-500);
    line-height: 1.6;
}

.hw-showcase-card__category {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hw-gray-500);
}

.hw-pdp-hero__division a {
    color: inherit;
}

.hw-pdp-hero__division a:hover {
    color: var(--hw-accent);
}

@media (max-width: 991px) {
    .hw-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .hw-category-grid {
        grid-template-columns: 1fr;
    }
}

/* Product showcase grid (Huawei style) */
.hw-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hw-showcase-card {
    background: var(--hw-white);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform var(--hw-transition), box-shadow var(--hw-transition);
}

.hw-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.hw-section--alt .hw-showcase-card {
    background: var(--hw-white);
}

.hw-showcase-card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.hw-showcase-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--hw-transition);
}

.hw-showcase-card:hover .hw-showcase-card__image img {
    transform: scale(1.05);
}

.hw-showcase-card__body {
    padding: 20px 16px 28px;
}

.hw-showcase-card__name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hw-showcase-card__price {
    font-size: 14px;
    color: var(--hw-gray-500);
    margin-bottom: 16px;
}

.hw-showcase-card__cta {
    font-size: 14px;
    color: var(--hw-accent);
    font-weight: 500;
}

.hw-showcase-card__cta:hover {
    text-decoration: underline;
}

/* ── Search / catalog results ── */
.hw-catalog {
    max-width: 1440px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.hw-catalog__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--hw-gray-100);
}

.hw-catalog__title {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.02em;
}

.hw-catalog__filters {
    display: flex;
    gap: 12px;
    align-items: center;
}

.hw-catalog__filters select {
    border: 1px solid var(--hw-gray-300);
    border-radius: 4px;
    padding: 8px 32px 8px 12px;
    font-size: 14px;
    background: var(--hw-white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.hw-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.hw-product-grid .hw-showcase-card {
    text-align: left;
}

.hw-product-grid .hw-showcase-card__image {
    aspect-ratio: 4/3;
}

/* ── Product detail page ── */
.hw-pdp-hero {
    background: var(--hw-gray-100);
    padding: 48px 24px 64px;
}

.hw-pdp-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hw-pdp-hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hw-pdp-hero__image img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.hw-pdp-hero__division {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hw-gray-500);
    margin-bottom: 12px;
}

.hw-pdp-hero__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.hw-pdp-hero__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--hw-gray-500);
    margin-bottom: 20px;
}

.hw-pdp-hero__stars {
    color: #f5a623;
}

.hw-pdp-hero__price {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hw-pdp-hero__stock {
    font-size: 14px;
    color: var(--hw-gray-500);
    margin-bottom: 32px;
}

.hw-pdp-hero__desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--hw-gray-700);
    margin-bottom: 32px;
}

.hw-pdp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--hw-font);
    line-height: 1.2;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition:
        background var(--hw-transition),
        color var(--hw-transition),
        border-color var(--hw-transition),
        box-shadow var(--hw-transition),
        transform var(--hw-transition);
    text-decoration: none;
    white-space: nowrap;
}

.hw-btn:focus-visible {
    outline: 2px solid var(--hw-accent);
    outline-offset: 2px;
}

.hw-btn:disabled,
.hw-btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hw-btn--primary,
.fz-shop a.hw-btn--primary,
.fz-shop button.hw-btn--primary {
    background: var(--hw-accent);
    color: var(--hw-white) !important;
    border-color: var(--hw-accent);
}

.hw-btn--primary:hover,
.fz-shop a.hw-btn--primary:hover,
.fz-shop button.hw-btn--primary:hover {
    background: var(--hw-accent-hover);
    border-color: var(--hw-accent-hover);
    color: var(--hw-white) !important;
}

.hw-btn--outline,
.fz-shop a.hw-btn--outline,
.fz-shop button.hw-btn--outline {
    background: transparent;
    color: var(--hw-accent) !important;
    border-color: var(--hw-accent);
}

.hw-btn--outline:hover,
.fz-shop a.hw-btn--outline:hover,
.fz-shop button.hw-btn--outline:hover {
    background: var(--hw-accent);
    border-color: var(--hw-accent);
    color: var(--hw-white) !important;
}

.hw-btn--text,
.fz-shop button.hw-btn--text {
    padding: 8px 0;
    background: transparent;
    border-color: transparent;
    color: var(--hw-accent) !important;
    font-size: 13px;
    font-weight: 500;
    border-radius: 0;
}

.hw-btn--text:hover,
.fz-shop button.hw-btn--text:hover {
    color: var(--hw-accent-hover) !important;
    text-decoration: underline;
}

.hw-qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--hw-gray-300);
    border-radius: 999px;
    overflow: hidden;
}

.hw-qty button {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: var(--hw-black);
}

.hw-qty input {
    width: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--hw-gray-300);
    border-right: 1px solid var(--hw-gray-300);
    height: 40px;
    font-size: 15px;
    background: transparent;
}

.hw-qty__display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 40px;
    padding: 0 8px;
    font-size: 15px;
    font-weight: 600;
    border-left: 1px solid var(--hw-gray-300);
    border-right: 1px solid var(--hw-gray-300);
    color: var(--hw-black);
}

.hw-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
}

/* PDP tabs / reviews */
.hw-pdp-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px;
}

.hw-pdp-section__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hw-gray-100);
}

.hw-review {
    padding: 24px 0;
    border-bottom: 1px solid var(--hw-gray-100);
}

.hw-review__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.hw-review__stars {
    color: #f5a623;
}

.hw-rating-form {
    background: var(--hw-gray-100);
    border-radius: 12px;
    padding: 32px;
    margin-top: 32px;
}

.hw-rating-form .star-picker {
    display: flex;
    gap: 4px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.hw-rating-form .star-picker input { display: none; }

.hw-rating-form .star-picker label {
    font-size: 32px;
    color: var(--hw-gray-300);
    cursor: pointer;
}

.hw-rating-form .star-picker input:checked ~ label,
.hw-rating-form .star-picker label:hover,
.hw-rating-form .star-picker label:hover ~ label {
    color: #f5a623;
}

.hw-related {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

/* ── Cart, checkout, auth pages ── */
.hw-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.hw-page__title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.hw-card {
    background: var(--hw-white);
    border: 1px solid var(--hw-gray-100);
    border-radius: 12px;
    padding: 32px;
}

.hw-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.hw-cart-table th {
    font-size: 13px;
    font-weight: 500;
    color: var(--hw-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    border-bottom: 1px solid var(--hw-gray-100);
    text-align: left;
}

.hw-cart-table td {
    padding: 20px 16px;
    border-bottom: 1px solid var(--hw-gray-100);
    vertical-align: middle;
}

.hw-cart-item__img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--hw-gray-100);
}

.hw-summary {
    position: sticky;
    top: calc(var(--hw-header-h) + 24px);
}

.hw-shipping-free {
    color: #0d7a3e;
    font-weight: 600;
}

.hw-shipping-hint,
.hw-shipping-note {
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 8px;
    color: #666;
}

.hw-shipping-hint {
    color: var(--hw-accent, #c7000b);
}

.hw-summary__row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}

.hw-summary__total {
    font-size: 20px;
    font-weight: 600;
    border-top: 1px solid var(--hw-gray-100);
    padding-top: 16px;
    margin-top: 8px;
}

/* ── Cart & checkout (redesign) ── */
.hw-cart-page,
.hw-checkout-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.hw-page-head {
    margin-bottom: 32px;
}

.hw-page-head__title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 12px 0 8px;
    line-height: 1.15;
}

.hw-page-head__subtitle {
    margin: 0;
    font-size: 15px;
    color: var(--hw-gray-500);
    max-width: 520px;
}

.hw-checkout-steps {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 0;
    padding: 6px 12px;
    background: var(--hw-gray-100);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

.hw-checkout-steps__item {
    padding: 4px 10px;
    color: var(--hw-gray-500);
    text-decoration: none;
}

.hw-checkout-steps__item.is-done {
    color: var(--hw-black);
}

.hw-checkout-steps__item.is-current {
    color: var(--hw-white);
    background: var(--hw-black);
    border-radius: 999px;
}

.hw-checkout-steps__item.is-next {
    color: var(--hw-black);
    text-decoration: none;
}

.hw-checkout-steps__item.is-next:hover {
    color: var(--hw-accent);
}

.hw-checkout-steps__item.is-disabled {
    color: var(--hw-gray-300);
    cursor: not-allowed;
    user-select: none;
}

a.hw-checkout-steps__item.is-done:hover,
a.hw-checkout-steps__item.is-next:hover {
    color: var(--hw-accent);
}

.hw-checkout-steps__sep {
    width: 20px;
    height: 1px;
    background: var(--hw-gray-300);
    margin: 0 4px;
}

.hw-cart-layout,
.hw-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: start;
}

.hw-cart-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hw-cart-item {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 20px;
    padding: 20px;
    background: var(--hw-white);
    border: 1px solid var(--hw-gray-100);
    border-radius: 16px;
    transition: box-shadow 0.2s ease, opacity 0.2s ease;
}

.hw-cart-item:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.hw-cart-item.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.hw-cart-item__media {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: var(--hw-gray-100);
    aspect-ratio: 1;
}

.hw-cart-item__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.hw-cart-item__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.hw-cart-item__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--hw-black);
    text-decoration: none;
    line-height: 1.35;
}

.hw-cart-item__name:hover {
    color: var(--hw-accent);
}

.hw-cart-item__remove {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--hw-gray-100);
    color: var(--hw-gray-500);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.hw-cart-item__remove:hover {
    background: #fef2f2;
    color: var(--hw-accent);
}

.hw-cart-item__unit {
    margin: 6px 0 16px;
    font-size: 14px;
    color: var(--hw-gray-500);
}

.hw-cart-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.hw-cart-item__line-total {
    font-size: 17px;
    font-weight: 700;
    color: var(--hw-black);
}

.hw-qty--cart .hw-qty__btn {
    width: 44px;
    height: 44px;
    transition: background 0.15s;
}

.hw-qty--cart .hw-qty__btn:hover:not(:disabled) {
    background: var(--hw-gray-100);
}

.hw-qty--cart .hw-qty__btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.hw-order-summary__card {
    background: var(--hw-white);
    border: 1px solid var(--hw-gray-100);
    border-radius: 16px;
    padding: 28px;
    position: sticky;
    top: calc(var(--hw-header-h) + 24px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.hw-order-summary__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
}

.hw-order-summary__items {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
}

.hw-order-summary__item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--hw-gray-100);
}

.hw-order-summary__item:last-child {
    border-bottom: none;
}

.hw-order-summary__item-name {
    grid-column: 1 / -1;
    font-weight: 500;
    line-height: 1.35;
}

.hw-order-summary__item-meta {
    color: var(--hw-gray-500);
    font-size: 13px;
}

.hw-order-summary__item-price {
    font-weight: 600;
}

.hw-order-summary__divider {
    height: 1px;
    background: var(--hw-gray-100);
    margin-bottom: 8px;
}

.hw-order-summary__muted {
    font-weight: 400;
    color: var(--hw-gray-500);
    font-size: 13px;
}

.hw-order-summary__cta {
    margin-top: 20px;
}

.hw-order-summary__auth-hint {
    text-align: center;
    font-size: 13px;
    color: var(--hw-gray-500);
    margin: 10px 0 0;
}

.hw-order-summary__auth-hint a {
    color: var(--hw-accent);
    font-weight: 500;
}

.hw-order-summary__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 14px 0 0;
    font-size: 12px;
    color: var(--hw-gray-500);
}

.hw-cart-empty {
    background: var(--hw-white);
    border: 1px dashed var(--hw-gray-300);
    border-radius: 20px;
}

.hw-cart-empty__icon {
    color: var(--hw-gray-300);
    margin-bottom: 16px;
}

.hw-toast--cart {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    padding: 12px 20px;
    background: var(--hw-black);
    color: var(--hw-white);
    font-size: 14px;
    border-radius: 999px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hw-toast--cart.is-error {
    background: #991b1b;
}

.hw-form-section {
    background: var(--hw-white);
    border: 1px solid var(--hw-gray-100);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
}

.hw-form-section__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hw-gray-100);
}

.hw-form-section__step {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--hw-black);
    color: var(--hw-white);
    font-size: 13px;
    font-weight: 700;
    margin-top: 10px;
}

.hw-form-section__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hw-gray-100);
    border-radius: 12px;
    color: var(--hw-black);
}

.hw-form-section__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
}

.hw-form-section__desc {
    margin: 0;
    font-size: 14px;
    color: var(--hw-gray-500);
}

.hw-form-grid {
    display: grid;
    gap: 18px;
}

.hw-form-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.hw-form-field--full {
    grid-column: 1 / -1;
}

.hw-form-label__opt {
    font-weight: 400;
    color: var(--hw-gray-500);
}

.hw-form-error {
    font-size: 13px;
    color: #b91c1c;
    margin-top: 6px;
}

.hw-form-input.is-invalid {
    border-color: #fca5a5;
    background: #fffbfb;
}

.hw-checkout-alert ul {
    padding-left: 1.2rem;
}

.hw-checkout-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hw-ro-address__hint {
    margin: 0 0 16px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    background: #f8fafc;
    border: 1px solid var(--hw-gray-100);
    border-radius: 10px;
}

.hw-form-input[disabled],
select.hw-form-input:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

select.hw-form-input {
    appearance: none;
    -webkit-appearance: none;
    height: auto;
    min-height: 48px;
    line-height: 1.5;
    box-sizing: border-box;
    background-color: var(--hw-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

select.hw-form-input:disabled {
    background-color: #f5f5f5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.hw-shipping-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 32px 20px;
    border: 1px dashed var(--hw-gray-200, #ddd);
    border-radius: 12px;
    background: #fafbfc;
}

.hw-shipping-empty--error {
    border-color: #fecaca;
    background: #fffbfb;
}

.hw-shipping-empty__icon {
    color: var(--hw-gray-400, #999);
    margin-bottom: 4px;
}

.hw-shipping-empty__title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--hw-black);
}

.hw-shipping-empty__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--hw-gray-500);
    max-width: 320px;
}

.hw-shipping-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 20px;
    font-size: 14px;
    color: var(--hw-gray-500);
    border: 1px solid var(--hw-gray-100);
    border-radius: 12px;
    background: #fafbfc;
}

.hw-shipping-loading__spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--hw-gray-200, #ddd);
    border-top-color: var(--hw-accent, #c7000b);
    border-radius: 50%;
    animation: hw-spin 0.7s linear infinite;
}

.hw-area-search {
    position: relative;
}

.hw-area-search__status {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f4f7fb;
    color: #5c6570;
    font-size: 12px;
    line-height: 1.45;
}

.hw-area-search__status-icon {
    flex-shrink: 0;
    line-height: 1.4;
}

.hw-area-search__status.is-loading {
    background: #eef6ff;
    color: #2563eb;
}

.hw-area-search__status.is-warning {
    background: #fff8eb;
    color: #b45309;
}

.hw-area-search__status.is-error {
    background: #fff5f5;
    color: #b91c1c;
}

.hw-area-search__results {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 240px;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--hw-gray-200, #ddd);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hw-area-search__item,
.hw-area-search__empty {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
    color: var(--hw-black);
}

.hw-area-search__item:hover,
.hw-area-search__item:focus {
    background: #f8fafc;
}

.hw-area-search__empty {
    color: var(--hw-gray-500);
    font-size: 13px;
}

.hw-area-search__empty--limit {
    color: #b45309;
}

.hw-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.hw-shipping-quota {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #eef6ff;
    color: #1d4ed8;
    font-size: 13px;
    line-height: 1.45;
}

.hw-shipping-quota.is-warning {
    background: #fff8eb;
    color: #b45309;
}

.hw-shipping-quota__icon {
    flex-shrink: 0;
}

.hw-shipping-empty__retry {
    margin: 10px 0 0;
    font-size: 13px;
    color: #b45309;
}

.hw-shipping-empty__btn {
    margin-top: 12px;
}

.hw-shipping-recalc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--hw-gray-200, #ddd);
}

.hw-shipping-recalc__hint {
    font-size: 12px;
    color: var(--hw-gray-500, #888);
}

.hw-btn--ghost {
    background: transparent;
    border: 1px solid var(--hw-gray-200, #ddd);
    color: var(--hw-black);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.hw-btn--ghost:hover {
    background: #f5f5f5;
}

.hw-form-help {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--hw-gray-500);
}

@keyframes hw-spin {
    to { transform: rotate(360deg); }
}

.hw-shipping-info {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid var(--hw-gray-100);
}

.hw-shipping-info__item {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--hw-accent, #c7000b);
}

.hw-shipping-info__item + .hw-shipping-info__item {
    margin-top: 6px;
}

.hw-shipping-info__item--muted {
    color: var(--hw-gray-500);
}

.hw-summary-shipping {
    margin-bottom: 4px;
}

.hw-summary-shipping__head {
    padding-bottom: 8px;
}

.hw-summary-shipping__detail {
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid var(--hw-gray-100);
}

.hw-summary-shipping__detail-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    line-height: 1.5;
    padding: 2px 0;
}

.hw-summary-shipping__detail-row span:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--hw-black);
}

.hw-summary-shipping__pending {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--hw-gray-500);
    font-style: italic;
}

.hw-summary-shipping__buyer-note {
    margin: 0 0 8px;
    font-size: 11px;
    line-height: 1.45;
    color: var(--hw-gray-500);
}

.hw-midtrans-channels {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--hw-border, #e5e7eb);
}

.hw-midtrans-channels__title {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--hw-text, #111);
}

.hw-midtrans-channels__hint {
    font-size: 0.78rem;
    color: var(--hw-text-muted, #6b7280);
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.hw-midtrans-channels__grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hw-midtrans-channel {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--hw-border, #e5e7eb);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.hw-midtrans-channel:hover {
    border-color: color-mix(in srgb, var(--hw-primary, #c45c26) 40%, var(--hw-border, #e5e7eb));
}

.hw-midtrans-channel.is-selected {
    border-color: var(--hw-primary, #c45c26);
    background: color-mix(in srgb, var(--hw-primary, #c45c26) 6%, #fff);
}

.hw-midtrans-channel__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hw-midtrans-channel__radio {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid var(--hw-border, #d1d5db);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.hw-midtrans-channel.is-selected .hw-midtrans-channel__radio {
    border-color: var(--hw-primary, #c45c26);
    box-shadow: inset 0 0 0 3px var(--hw-primary, #c45c26);
}

.hw-midtrans-channel__body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.hw-midtrans-channel__name {
    font-weight: 600;
    font-size: 0.88rem;
}

.hw-midtrans-channel__fee {
    font-size: 0.8rem;
    color: var(--hw-text-muted, #6b7280);
}

.hw-midtrans-channel__fee-note {
    font-size: 0.72rem;
}

.hw-summary__row--fee {
    color: var(--hw-text-muted, #6b7280);
    font-size: 0.9rem;
}

.hw-checkout-page .hw-pay-options {
    margin-top: 8px;
}

.hw-empty {
    text-align: center;
    padding: 80px 24px;
}

.hw-empty__icon {
    width: 64px;
    height: 64px;
    color: var(--hw-gray-300);
    margin-bottom: 24px;
}

.hw-empty h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hw-empty p {
    color: var(--hw-gray-500);
    margin-bottom: 24px;
}

.hw-card__subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--hw-black);
    margin: 8px 0 20px;
    letter-spacing: -0.01em;
}

/* ── Shipping method cards (checkout, Shopee-style) ── */
.hw-shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.hw-shipping-method {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--hw-gray-100);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color var(--hw-transition), background var(--hw-transition), box-shadow var(--hw-transition);
    margin: 0;
}

.hw-shipping-method:hover {
    border-color: rgba(75, 139, 249, 0.35);
    background: #fafbff;
}

.hw-shipping-method.is-selected {
    border-color: var(--hw-accent);
    background: linear-gradient(135deg, #f8fbff 0%, #f0f6ff 100%);
    box-shadow: 0 4px 16px rgba(75, 139, 249, 0.1);
}

.hw-shipping-method__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hw-shipping-method__radio {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 2px solid var(--hw-gray-200, #d9d9d9);
    border-radius: 50%;
    background: #fff;
    transition: border-color var(--hw-transition), background var(--hw-transition);
}

.hw-shipping-method.is-selected .hw-shipping-method__radio {
    border-color: var(--hw-accent);
    background: radial-gradient(circle at center, var(--hw-accent) 0 5px, transparent 5px);
}

.hw-shipping-method__body {
    flex: 1;
    min-width: 0;
}

.hw-shipping-method__head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px 12px;
    align-items: center;
}

.hw-shipping-method__courier {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    background: #666;
}

.hw-shipping-method__courier--jne { background: #e31e24; }
.hw-shipping-method__courier--jnt { background: #e60012; }
.hw-shipping-method__courier--sicepat { background: #e31837; }
.hw-shipping-method__courier--pos { background: #0054a6; }
.hw-shipping-method__courier--grab { background: #00b14f; }
.hw-shipping-method__courier--anteraja { background: #f7941d; }
.hw-shipping-method__courier--ninja { background: #e31e24; }
.hw-shipping-method__courier--other,
.hw-shipping-method__courier--standard { background: #555; }

.hw-shipping-method__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.hw-shipping-method__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--hw-black);
}

.hw-shipping-method__badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.hw-shipping-method__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--hw-black);
    white-space: nowrap;
}

.hw-shipping-method__eta {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #666;
}

.hw-shipping-method__desc {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

@media (max-width: 575px) {
    .hw-shipping-method__head {
        grid-template-columns: auto 1fr;
    }

    .hw-shipping-method__price {
        grid-column: 2;
        justify-self: start;
    }
}

/* ── Payment method cards (checkout) ── */
.hw-pay-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.hw-pay-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border: 2px solid var(--hw-gray-100);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color var(--hw-transition), background var(--hw-transition), box-shadow var(--hw-transition);
    margin: 0;
}

.hw-pay-option:hover {
    border-color: rgba(75, 139, 249, 0.35);
    background: #fafbff;
}

.hw-pay-option.is-selected {
    border-color: var(--hw-accent);
    background: linear-gradient(135deg, #f8fbff 0%, #f0f6ff 100%);
    box-shadow: 0 4px 20px rgba(75, 139, 249, 0.12);
}

.hw-pay-option__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hw-pay-option__radio {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border: 2px solid var(--hw-gray-300);
    border-radius: 50%;
    transition: border-color var(--hw-transition), background var(--hw-transition), box-shadow var(--hw-transition);
}

.hw-pay-option.is-selected .hw-pay-option__radio {
    border-color: var(--hw-accent);
    background: var(--hw-accent);
    box-shadow: inset 0 0 0 4px var(--hw-white);
}

.hw-pay-option__body {
    flex: 1;
    min-width: 0;
}

.hw-pay-option__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.hw-pay-option__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
}

.hw-pay-option__icon--online {
    background: linear-gradient(135deg, #e8f1ff 0%, #d4e4ff 100%);
    color: var(--hw-accent);
}

.hw-pay-option__icon--cod {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #15803d;
}

.hw-pay-option__title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--hw-black);
    line-height: 1.3;
}

.hw-pay-option__badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hw-accent);
    background: rgba(75, 139, 249, 0.12);
    border-radius: 100px;
}

.hw-pay-option__badge--muted {
    color: #15803d;
    background: rgba(21, 128, 61, 0.1);
}

.hw-pay-option__desc {
    display: block;
    font-size: 13px;
    line-height: 1.55;
    color: var(--hw-gray-500);
}

.hw-pay-option__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.hw-pay-option__tags span {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    color: var(--hw-gray-700);
    background: var(--hw-white);
    border: 1px solid var(--hw-gray-100);
    border-radius: 6px;
}

.hw-pay-option.is-selected .hw-pay-option__tags span {
    border-color: rgba(75, 139, 249, 0.2);
    background: rgba(255, 255, 255, 0.85);
}

.hw-pay-trust {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border: 1px solid rgba(75, 139, 249, 0.15);
    border-radius: 12px;
}

.hw-pay-trust__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--hw-accent);
    background: var(--hw-white);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(75, 139, 249, 0.1);
}

.hw-pay-trust p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #1e3a5f;
}

.hw-pay-trust strong {
    font-weight: 600;
    color: var(--hw-accent);
}

/* ── Payment page ── */
.hw-payment-nav {
    margin-bottom: 20px;
    font-size: 14px;
}

.hw-payment-nav a {
    color: var(--hw-accent) !important;
    font-weight: 500;
}

.hw-payment-card__status {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #b45309;
    background: #fffbeb;
    border-radius: 100px;
}

.hw-payment-card__title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px;
}

.hw-payment-card__meta {
    font-size: 14px;
    color: var(--hw-gray-500);
    margin-bottom: 4px;
}

.hw-payment-card__amount {
    font-size: 28px;
    font-weight: 700;
    margin: 16px 0 24px;
}

.hw-payment-instruction__lead {
    font-size: 15px;
    color: var(--hw-gray-700);
    margin-bottom: 20px;
}

.hw-payment-instruction__note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--hw-gray-500);
}

.hw-payment-qris {
    display: inline-flex;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--hw-gray-200);
}

.hw-payment-qris__img {
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    border: 1px solid var(--hw-gray-200);
    background: #fff;
}

.hw-payment-va {
    border: 1px solid var(--hw-gray-200);
    border-radius: 12px;
    overflow: hidden;
    background: #fafbfc;
}

.hw-payment-va__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--hw-gray-100);
    font-size: 14px;
}

.hw-payment-va__row:last-child {
    border-bottom: none;
}

.hw-payment-va__label {
    color: var(--hw-gray-500);
}

.hw-payment-va__number {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.04em;
}

.hw-payment-card__channel {
    font-size: 14px;
    color: var(--hw-gray-600);
    margin-top: 4px;
}

.hw-payment-channel-switch {
    margin-top: 20px;
    padding: 24px;
    background: var(--hw-white);
    border: 1px solid var(--hw-gray-100);
    border-radius: 16px;
}

.hw-payment-channel-switch__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.hw-payment-channel-switch__hint {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--hw-gray-500);
}

.hw-payment-channel-switch__current {
    font-size: 12px;
    font-weight: 500;
    color: var(--hw-accent);
}

.hw-payment-channel-switch .hw-midtrans-channels__grid {
    margin-top: 0;
}

.hw-payment-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hw-payment-card__hint {
    text-align: left;
    font-size: 13px;
}

/* ── Customer orders list ── */
.hw-orders-page__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.hw-orders-page__subtitle {
    margin: 0;
    font-size: 15px;
    color: var(--hw-gray-500);
    line-height: 1.5;
}

.hw-orders-page__shop-link {
    flex-shrink: 0;
}

.hw-orders-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 20px;
    color: var(--hw-gray-300);
    background: var(--hw-gray-100);
    border-radius: 50%;
}

.hw-orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hw-order-card {
    background: var(--hw-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 22px 24px;
    transition: border-color var(--hw-transition), box-shadow var(--hw-transition);
}

.hw-order-card:hover {
    border-color: rgba(75, 139, 249, 0.25);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.hw-order-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--hw-gray-100);
}

.hw-order-card__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hw-gray-500);
    margin-bottom: 4px;
}

.hw-order-card__id strong {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    word-break: break-all;
}

.hw-order-status {
    flex-shrink: 0;
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 100px;
    white-space: nowrap;
}

.hw-order-status--pending {
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.hw-order-status--paid {
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.hw-order-status--processing,
.hw-order-status--shipped {
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.hw-order-status--completed {
    color: #374151;
    background: var(--hw-gray-100);
    border: 1px solid var(--hw-gray-300);
}

.hw-order-status--cancelled {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.hw-order-status--default {
    color: var(--hw-gray-700);
    background: var(--hw-gray-100);
}

.hw-order-tracking {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f0f7ff;
    border: 1px solid #cfe3ff;
}

.hw-order-tracking__label {
    font-size: 12px;
    font-weight: 500;
    color: var(--hw-gray-500);
    margin-bottom: 4px;
}

.hw-order-tracking__number {
    font-size: 18px;
    font-weight: 600;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.04em;
    color: var(--hw-black);
    word-break: break-all;
}

.hw-order-tracking__link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--hw-accent);
}

.hw-order-tracking__link:hover {
    color: var(--hw-accent-hover);
}

.hw-order-tracking__hint,
.hw-order-tracking__pending {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--hw-gray-500);
    line-height: 1.5;
}

.hw-order-card__meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 24px;
    margin-bottom: 18px;
}

.hw-order-card__meta-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--hw-gray-500);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hw-order-card__meta-item {
    font-size: 14px;
    color: var(--hw-black);
}

.hw-order-card__total {
    font-size: 18px;
    font-weight: 700;
    color: var(--hw-black);
}

.hw-order-card__resi {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.03em;
}

.hw-order-card__notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #1e3a5f;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f7ff 100%);
    border: 1px solid rgba(75, 139, 249, 0.15);
    border-radius: 10px;
}

.hw-order-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hw-order-card__actions .hw-btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    justify-content: center;
}

.hw-orders-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.hw-orders-pagination .pagination {
    gap: 6px;
    margin: 0;
}

.hw-orders-pagination .page-link {
    border-radius: 8px;
    border-color: var(--hw-gray-100);
    color: var(--hw-gray-700);
    font-size: 14px;
    padding: 8px 14px;
}

.hw-orders-pagination .page-item.active .page-link {
    background: var(--hw-accent);
    border-color: var(--hw-accent);
}

/* ── Auth pages (login / register) ── */
.hw-auth-page {
    min-height: calc(100vh - var(--hw-header-h) - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 80px;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(75, 139, 249, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, var(--hw-gray-100) 0%, var(--hw-white) 45%);
}

.hw-auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--hw-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 36px 32px 32px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 20px 48px rgba(0, 0, 0, 0.06);
}

.hw-auth-card--wide {
    max-width: 520px;
}

.hw-auth-card__header {
    text-align: center;
    margin-bottom: 28px;
}

.hw-auth-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    color: var(--hw-accent);
    background: linear-gradient(135deg, #e8f1ff 0%, #d4e4ff 100%);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(75, 139, 249, 0.15);
}

.hw-auth-card__icon--register {
    color: #0d9488;
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.12);
}

.hw-auth-card__title {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.hw-auth-card__subtitle {
    font-size: 14px;
    line-height: 1.5;
    color: var(--hw-gray-500);
    margin: 0;
}

.hw-verify-email__tips {
    font-size: 0.9rem;
    color: var(--hw-gray-600, #555);
    background: var(--hw-gray-50, #f8f9fa);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    line-height: 1.5;
}

.hw-alert--warning {
    background: #fff8e6;
    border: 1px solid #f0d78c;
    color: #7a5c00;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.hw-alert--success {
    background: #ecfdf3;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.hw-alert__link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.hw-auth-card__notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #1e3a5f;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f7ff 100%);
    border: 1px solid rgba(75, 139, 249, 0.2);
    border-radius: 12px;
}

.hw-auth-card__notice-icon {
    flex-shrink: 0;
    color: var(--hw-accent);
    margin-top: 1px;
}

.hw-auth-card__error {
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #b71c1c;
    background: #fdecea;
    border-radius: 10px;
    border: 1px solid rgba(198, 40, 40, 0.15);
}

.hw-auth-form .hw-form-input {
    margin-bottom: 0;
}

.hw-auth-field {
    margin-bottom: 18px;
}

.hw-auth-field__wrap {
    position: relative;
}

.hw-auth-field__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hw-gray-500);
    pointer-events: none;
}

.hw-auth-field__input {
    padding-left: 44px !important;
}

.hw-auth-field__error {
    font-size: 12px;
    color: #c62828;
    margin-top: 6px;
}

.hw-form-optional {
    font-weight: 400;
    color: var(--hw-gray-500);
}

.hw-auth-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--hw-gray-700);
    cursor: pointer;
    user-select: none;
}

.hw-auth-remember input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hw-auth-remember__box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--hw-gray-300);
    border-radius: 6px;
    transition: background var(--hw-transition), border-color var(--hw-transition);
    flex-shrink: 0;
}

.hw-auth-remember input:checked + .hw-auth-remember__box {
    background: var(--hw-accent);
    border-color: var(--hw-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

.hw-auth-submit {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
}

.hw-auth-card__footer {
    text-align: center;
    margin: 24px 0 0;
    font-size: 14px;
    color: var(--hw-gray-500);
}

.hw-auth-card__footer a {
    color: var(--hw-accent) !important;
    font-weight: 600;
    margin-left: 4px;
}

.hw-auth-card__footer a:hover {
    color: var(--hw-accent-hover) !important;
}

.hw-auth-social {
    margin-bottom: 20px;
}

.hw-auth-social__label {
    text-align: center;
    font-size: 13px;
    color: var(--hw-gray-500);
    margin: 0 0 12px;
}

.hw-auth-social__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.hw-auth-social__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1.5px solid var(--hw-gray-200);
    border-radius: 12px;
    background: #fff;
    color: var(--hw-gray-900) !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s, background 0.2s;
}

.hw-auth-social__btn:hover {
    border-color: var(--hw-gray-300);
    background: var(--hw-gray-100);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
    color: var(--hw-gray-900) !important;
}

.hw-auth-social__btn:focus-visible {
    outline: 2px solid var(--hw-accent);
    outline-offset: 2px;
}

.hw-auth-social__btn--google {
    border-color: #dadce0;
}

.hw-auth-social__btn--google:hover {
    border-color: #c6c9cc;
    background: #f8f9fa;
}

.hw-auth-social__btn--facebook {
    border-color: #d4e3fc;
    background: #f8fbff;
}

.hw-auth-social__btn--instagram {
    border-color: #f5c6d8;
    background: #fff8fb;
}

.hw-auth-social__btn--tiktok {
    border-color: #d1d5db;
    background: #fafafa;
}

.hw-auth-social__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hw-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--hw-gray-400);
    font-size: 12px;
}

.hw-auth-divider::before,
.hw-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--hw-gray-200);
}

@media (max-width: 480px) {
    .hw-auth-social__btn {
        max-width: 100%;
    }
}

/* Legacy auth wrapper (if referenced elsewhere) */
.hw-auth {
    max-width: 440px;
    margin: 64px auto;
    padding: 0 24px;
}

.hw-auth .hw-card {
    padding: 40px;
}

.hw-auth h2 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
}

.hw-form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--hw-gray-700);
    margin-bottom: 6px;
    display: block;
}

.hw-form-input {
    width: 100%;
    border: 1px solid var(--hw-gray-300);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 16px;
    transition: border-color var(--hw-transition);
    box-sizing: border-box;
}

.fz-shop input.hw-form-input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.fz-shop select.hw-form-input {
    height: auto;
    min-height: 48px;
}

.fz-shop textarea.hw-form-input {
    min-height: 0;
    height: auto;
}

.hw-form-input:focus {
    outline: none;
    border-color: var(--hw-black);
}

.hw-alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.hw-alert--success {
    background: #edf7ed;
    color: #1b5e20;
}

.hw-alert--info {
    background: #e8f4fd;
    color: #0d47a1;
}

/* ── Shop footer ── */
.hw-footer {
    background: var(--hw-gray-900);
    color: rgba(255,255,255,0.7);
    padding: 64px 24px 32px;
}

.hw-footer__inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.hw-footer h4 {
    color: var(--hw-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hw-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hw-footer li {
    margin-bottom: 10px;
}

.hw-footer a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.hw-footer a:hover {
    color: var(--hw-white);
}

.hw-footer__bottom {
    max-width: 1440px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* Hide main site footer on shop pages */
.fz-shop ~ .fz-site-footer,
body:has(.fz-shop) .fz-site-footer {
    display: none !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hw-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .hw-hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 48px 20px 88px;
    }

    .hw-hero__copy {
        max-width: none;
        margin: 0 auto;
    }

    .hw-hero__desc {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .hw-hero__actions {
        justify-content: center;
    }

    .hw-hero__visual {
        order: -1;
    }

    .hw-hero__frame {
        width: min(100%, 340px);
        min-height: 300px;
        padding: 16px;
        transform: none;
    }

    .hw-hero__slide.is-active .hw-hero__frame {
        transform: none;
    }

    .hw-hero__frame img {
        max-height: 260px;
    }

    .hw-hero__arrow {
        display: none;
    }

    .hw-pdp-hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hw-footer__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hw-header__nav {
        display: none;
    }

    .hw-header__menu-toggle {
        display: flex;
    }

    .hw-showcase {
        grid-template-columns: 1fr;
    }

    .hw-hero {
        min-height: 440px;
    }

    .hw-hero__slide {
        min-height: auto;
    }

    .hw-cart-table thead {
        display: none;
    }

    .hw-cart-table tr {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--hw-gray-100);
    }

    .hw-cart-table td {
        display: block;
        padding: 4px 0;
        border: none;
    }

    .hw-footer__inner {
        grid-template-columns: 1fr;
    }

    .hw-pdp-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hw-btn {
        width: 100%;
    }

    .hw-pay-option {
        padding: 16px;
    }

    .hw-pay-option__head {
        flex-wrap: wrap;
    }

    .hw-auth-page {
        padding: 32px 16px 64px;
        align-items: flex-start;
    }

    .hw-auth-card {
        padding: 28px 20px 24px;
        border-radius: 16px;
    }

    .hw-auth-card__title {
        font-size: 22px;
    }

    .hw-orders-page__header {
        flex-direction: column;
    }

    .hw-orders-page__shop-link {
        width: 100%;
    }

    .hw-order-card__meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .hw-order-card__meta-item--total {
        grid-column: 1 / -1;
    }

    .hw-order-card__actions .hw-btn {
        flex: 1 1 100%;
    }

    .hw-cart-layout,
    .hw-checkout-layout {
        grid-template-columns: 1fr;
    }

    .hw-order-summary__card {
        position: static;
    }

    .hw-cart-item {
        grid-template-columns: 88px 1fr;
        gap: 14px;
        padding: 16px;
    }

    .hw-form-grid--2 {
        grid-template-columns: 1fr;
    }

    .hw-form-section {
        padding: 20px;
    }

    .hw-form-section__head {
        flex-wrap: wrap;
    }

    .hw-form-section__step {
        margin-top: 0;
    }

    .hw-checkout-page {
        padding: 32px 16px 64px;
    }
}

/* Multi-image gallery for PDP */
.hw-pdp-gallery {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.hw-pdp-gallery__main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--hw-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.hw-pdp-gallery__main img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.05));
    transition: opacity 0.2s ease-in-out;
}
.hw-pdp-gallery__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    overflow-x: auto;
    width: 100%;
    padding: 4px 2px;
    scrollbar-width: thin;
}
.hw-pdp-gallery__thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    background: var(--hw-white);
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.hw-pdp-gallery__thumb:hover {
    border-color: var(--hw-gray-300);
}
.hw-pdp-gallery__thumb.is-active {
    border-color: var(--hw-accent);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}
.hw-pdp-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
