@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --ink: #17181a;
    --paper: #ffffff;
    --line: #e7e5e0;
    --muted: #8a8781;
    --accent: #5b6b4f;
    --accent-ink: #ffffff;
    --danger: #a3403a;
    --radius: 8px;
    --max-width: 100%;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: var(--paper);
    z-index: 50;
}
.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.site-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-logo img { max-height: 48px; width: auto; }
.site-nav { display: flex; gap: 20px; align-items: center; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }

.cart-link { position: relative; display: flex; align-items: center; color: var(--ink); }
.cart-link__badge {
    position: absolute; top: -8px; right: -10px;
    background: var(--ink); color: var(--paper);
    font-size: 10px; font-weight: 700;
    min-width: 17px; height: 17px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; padding: 0 3px;
}

/* ---------- Hero ---------- */
.hero { padding: 32px 24px 20px; max-width: var(--max-width); margin: 0 auto; }
.hero h1 {
    font-size: clamp(26px, 3.2vw, 40px);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.hero p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Category pills ---------- */
.category-pills-wrap {
    display: flex; align-items: center; gap: 8px;
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px 16px;
}
.category-pills__arrow {
    flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--paper); color: var(--ink);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}
.category-pills__arrow:hover { border-color: var(--ink); }
.category-pills__arrow.is-disabled { opacity: 0.3; pointer-events: none; }
.category-pills {
    display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto;
    scroll-behavior: smooth; flex: 1; min-width: 0; scrollbar-width: none;
}
.category-pills::-webkit-scrollbar { display: none; }
.category-pill {
    font-size: 14px; padding: 8px 16px; border-radius: 20px;
    border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
    flex-shrink: 0; transition: all 0.15s ease;
}
.category-pill:hover { border-color: var(--ink); color: var(--ink); }
.category-pill.active { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 600; }

/* ---------- Filter bar ---------- */
.filter-clear-row { max-width: var(--max-width); margin: 0 auto; padding: 0 24px 12px; display: flex; justify-content: flex-end; }
.filter-bar__clear { font-size: 13px; color: var(--muted); text-decoration: underline; white-space: nowrap; }
.filter-clear-row .filter-bar__clear { font-weight: 600; }

.filter-bar { max-width: var(--max-width); margin: 0 auto; padding: 0 24px 24px; }
.filter-bar__form {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 14px 16px; background: #f7f6f3;
}
.filter-bar__search {
    display: flex; align-items: center; border: 1px solid var(--line);
    border-radius: var(--radius); background: var(--paper);
    flex: 1 1 220px; min-width: 180px;
}
.filter-bar__search input { border: none; padding: 9px 10px; font-size: 13px; flex: 1; background: transparent; font-family: inherit; }
.filter-bar__search input:focus { outline: none; }
.filter-bar__search button { background: none; border: none; padding: 0 10px; color: var(--muted); cursor: pointer; display: flex; align-items: center; }

.filter-bar select {
    padding: 10px 32px 10px 14px; border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 13px; font-family: inherit; background: var(--paper);
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a8781'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; cursor: pointer;
}

.filter-toggle-input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.filter-bar__sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-bar__size-chip {
    display: flex; align-items: center; justify-content: center; min-width: 38px;
    font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 8px;
    padding: 7px 12px; background: var(--paper); color: var(--ink); cursor: pointer; transition: all 0.15s ease;
}
.filter-bar__size-chip:hover { border-color: #2563eb; }
.filter-bar__size-chip:has(.filter-toggle-input:checked) { background: #2563eb; border-color: #2563eb; color: #fff; }

.filter-bar__checkbox {
    display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
    white-space: nowrap; cursor: pointer; border: 1px solid var(--line); border-radius: 8px;
    padding: 7px 14px; color: var(--ink); transition: all 0.15s ease;
}
.filter-bar__checkbox:hover { border-color: #2563eb; }
.filter-bar__checkbox:has(.filter-toggle-input:checked) { background: #2563eb; border-color: #2563eb; color: #fff; }

.filter-size-group { display: flex; flex-direction: row; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; background: var(--paper); }
.filter-size-group__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; white-space: nowrap; }

@media (max-width: 700px) { .filter-bar__form { flex-direction: column; align-items: stretch; } }

/* ---------- Product grid ---------- */
.shop-main-full { max-width: var(--max-width); margin: 0 auto; padding: 0 24px 40px; }
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 32px 24px; padding: 0; max-width: var(--max-width); margin: 0 auto;
}
.product-card { display: block; }
.product-card__img {
    aspect-ratio: 3 / 4; background: #f2f1ee; overflow: hidden; margin-bottom: 12px;
    position: relative; border-radius: var(--radius);
}
.no-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.card-frame {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 0.8s ease-in-out; pointer-events: none;
}
.card-frame.active { opacity: 1; }
.badge-soldout {
    position: absolute; top: 10px; left: 10px; background: var(--ink); color: var(--paper);
    font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 8px;
    z-index: 3; opacity: 1; transition: opacity 0.25s ease;
}
.product-card.is-previewing .badge-soldout { opacity: 0; }
.product-card__name { font-size: 14px; text-transform: uppercase; margin: 0 0 4px; }
.product-card__price { font-size: 13px; color: var(--muted); margin: 0; }
.empty-state { text-align: center; padding: 60px 24px; color: var(--muted); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 12px; color: var(--muted); padding: 16px 24px 0; max-width: var(--max-width); margin: 0 auto; text-transform: uppercase; letter-spacing: 0.04em; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 460px 1fr; gap: 56px; padding: 48px 24px 80px; max-width: 1040px; margin: 0 auto; }
.product-gallery { max-width: 460px; }
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; gap: 28px; } .product-gallery { max-width: 100%; } }

.product-gallery__main { background: #f2f1ee; aspect-ratio: 3 / 4; overflow: hidden; position: relative; width: 100%; }
.gallery-frame {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 0.6s ease-in-out, transform 0.15s ease-out; pointer-events: none;
    transform: scale(1); transform-origin: center center;
}
.gallery-frame.active { opacity: 1; pointer-events: auto; }
img.gallery-frame.active { cursor: zoom-in; }
img.gallery-frame.is-zoomed { transform: scale(2); cursor: zoom-out; }

.gallery-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
    width: 34px; height: 34px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.85); color: var(--ink);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15); transition: background 0.15s ease;
}
.gallery-arrow:hover { background: var(--paper); }
.gallery-arrow--prev { left: 16px; }
.gallery-arrow--next { right: 16px; }

.product-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.gallery-thumb { width: 56px; height: 70px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; padding: 0; cursor: pointer; background: none; }
.gallery-thumb.active { border-color: var(--ink); border-width: 2px; }
.gallery-thumb img, .gallery-thumb video { width: 100%; height: 100%; object-fit: cover; }

.product-detail__info h1 { font-size: 26px; text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 12px; }
.product-detail__price { font-size: 20px; margin-bottom: 20px; }
.product-detail__desc { color: #4a4a48; margin-top: 28px; margin-bottom: 24px; max-width: 460px; padding-top: 20px; border-top: 1px solid var(--line); }

.stock-status { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 16px; }
.stock-status.in { color: var(--muted); }
.stock-status.out { color: var(--danger); font-weight: 700; }

.size-selector { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.size-option { position: relative; }
.size-option input { position: absolute; opacity: 0; }
.size-option span {
    display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; cursor: pointer; padding: 0 12px;
}
.size-option input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-option.soldout span { color: var(--muted); text-decoration: line-through; cursor: not-allowed; background: #f2f1ee; }

.alert-box { background: #f6e6e4; color: var(--danger); border: 1px solid #e6bdb8; padding: 12px 16px; border-radius: var(--radius); font-size: 15px; margin-bottom: 16px; }

.qty-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; margin: 0 0 6px; }
.qty-cart-row { display: flex; gap: 10px; max-width: 320px; margin-bottom: 10px; }
.qty-cart-row input[type=number] { width: 70px; flex-shrink: 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; }
.qty-cart-row .btn { flex: 1; }

.product-actions { display: flex; gap: 10px; max-width: 320px; }
.qty-cart-row__spacer { width: 70px; flex-shrink: 0; }
.product-actions .btn { flex: 1; width: 100%; position: relative; transition: background-color 0.2s ease, opacity 0.15s ease, transform 0.1s ease; }
.product-actions .btn.is-loading { opacity: 0.7; cursor: wait; }
.product-actions .btn.is-added { background: var(--accent); animation: add-to-cart-pop 0.3s ease; }
@keyframes add-to-cart-pop { 0% { transform: scale(1); } 35% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; background: var(--ink); color: var(--paper); padding: 13px 28px;
    font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; border: none; cursor: pointer;
    border-radius: var(--radius); transition: opacity 0.15s ease, transform 0.1s ease;
}
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }
.btn:disabled, .btn.disabled { background: #cfcdc7; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

/* ---------- Cart page ---------- */
.back-link { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.back-link:hover { color: var(--ink); }
.continue-link { font-size: 14px; text-decoration: underline; color: var(--muted); }
.cart-page { max-width: 900px; margin: 0 auto; padding: 32px 24px 80px; }
.cart-page__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.cart-page__head h1 { margin: 0; font-size: 24px; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table td { padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; align-items: center; gap: 16px; }
.cart-item__img { width: 64px; height: 80px; background: #f2f1ee; border-radius: 4px; flex-shrink: 0; overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-size: 14px; text-transform: uppercase; margin: 0 0 4px; }
.cart-item__size { font-size: 13px; color: var(--muted); margin: 0 0 4px; }
.cart-item__price { font-size: 13px; color: var(--muted); margin: 0; }

.qty-stepper { display: flex; align-items: center; gap: 10px; }
.qty-stepper button { width: 28px; height: 28px; border: 1px solid var(--line); background: var(--paper); border-radius: 4px; cursor: pointer; font-size: 15px; }
.qty-stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.qty-stepper .remove-btn { border: none; background: none; color: var(--danger); font-size: 15px; }

.cart-summary { max-width: 320px; margin-left: auto; margin-top: 24px; }
.cart-summary__row { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 8px; text-transform: uppercase; }
.cart-summary__note { font-size: 12px; color: var(--muted); margin-bottom: 16px; }

/* ---------- Checkout ---------- */
.checkout-page { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; max-width: 1040px; margin: 0 auto; padding: 32px 24px 80px; }
@media (max-width: 800px) { .checkout-page { grid-template-columns: 1fr; gap: 32px; } }
.checkout-page h1 { font-size: 22px; margin: 0 0 20px; }
.section-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin: 20px 0 10px; color: var(--muted); }
.checkout-form-col .form-group { margin-bottom: 12px; }
.checkout-form-col input[type=text], .checkout-form-col textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 15px; font-family: inherit;
}
.checkout-form-col select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 15px; font-family: inherit; background: var(--paper);
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a8781'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.checkout-form-col select:disabled { background-color: #f7f6f3; color: var(--muted); cursor: not-allowed; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.payment-subtext { font-size: 13px; color: var(--muted); margin: 0 0 12px; }

.payment-card { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.payment-card.disabled { opacity: 0.5; }
.payment-card label { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; }
.payment-card__title { font-size: 14px; font-weight: 600; }
.payment-card__badge { margin-left: auto; font-size: 10px; text-transform: uppercase; background: #f2f1ee; padding: 4px 8px; border-radius: 4px; color: var(--muted); }
.payment-card__details { background: #f7f6f3; border-top: 1px solid var(--line); padding: 12px 14px; font-size: 14px; color: #4a4a48; line-height: 1.6; }
.payment-card__details input[type=text] { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; margin-top: 8px; }

.payment-qr-image { display: block; max-width: 160px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: var(--paper); }
.payment-account { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.payment-account:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.payment-account__detail { margin: 0; font-size: 14px; }

.qr-lightbox { position: fixed; inset: 0; background: rgba(23, 24, 26, 0.9); display: none; align-items: center; justify-content: center; z-index: 999; padding: 24px; }
.qr-lightbox.active { display: flex; }
.qr-lightbox img { max-width: min(90vw, 420px); max-height: 85vh; border-radius: var(--radius); background: var(--paper); }
.qr-lightbox__close { position: absolute; top: 20px; right: 24px; background: none; border: 1px solid rgba(255,255,255,0.4); color: var(--paper); width: 40px; height: 40px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }

.checkout-summary { background: #f7f6f3; border-radius: var(--radius); padding: 20px; height: fit-content; }
.summary-line { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 10px; }
.summary-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; font-size: 16px; text-transform: uppercase; font-weight: 700; }
.shipping-hint { color: var(--muted); font-size: 13px; }

/* ---------- Order confirmation ---------- */
.confirmation-page { max-width: 640px; margin: 0 auto; padding: 48px 24px 80px; }
.confirmation-page h1 { font-size: 26px; }
.confirmation-sub { color: var(--muted); margin-bottom: 20px; }

/* ---------- Account auth pages (login/signup) ---------- */
.account-auth-page { max-width: 400px; margin: 60px auto; padding: 0 24px; }
.account-auth-box h1 { text-align: center; font-size: 22px; margin-bottom: 24px; }
.account-auth-box input[type=text], .account-auth-box input[type=email], .account-auth-box input[type=password] {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; font-family: inherit;
}
.account-auth-box .form-group { margin-bottom: 12px; }

/* ---------- Account page ---------- */
.account-page { max-width: 800px; margin: 0 auto; padding: 32px 24px 80px; }
.account-page__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.account-page__head h1 { margin: 0; font-size: 24px; }
.account-page__sub { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.account-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.account-tabs__link { padding: 12px 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); border-bottom: 2px solid transparent; }
.account-tabs__link.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #eaf2e7; color: #3d5c33; border: 1px solid #c9dcc0; }
.alert-error { background: #f6e6e4; color: var(--danger); border: 1px solid #e6bdb8; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 6px; }
.form-group input[type=text], .form-group input[type=email], .form-group input[type=password] {
    width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; font-family: inherit;
}
.form-group select {
    width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 15px; font-family: inherit; background: var(--paper);
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a8781'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.form-group select:disabled { background-color: #f7f6f3; color: var(--muted); cursor: not-allowed; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ph-zip[readonly] { background: #f7f6f3; color: var(--muted); }

.order-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.order-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.order-card__date { color: var(--muted); font-size: 12px; margin-left: 10px; }
.order-card__tracking { font-size: 13px; margin: 8px 0; }
.order-status-badge { font-size: 11px; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; color: #fff; font-weight: 600; }
.status-pending { background: #0e9594; }
.status-to_ship { background: #2f6fed; }
.status-ongoing_shipping { background: #7c3aed; }
.status-to_receive { background: #f59e0b; }
.status-completed { background: #16a34a; }
.status-cancelled { background: #dc2626; }

.order-tracker { display: flex; gap: 4px; margin: 16px 0; }
.order-tracker__step { flex: 1; text-align: center; font-size: 11px; text-transform: uppercase; padding: 8px 4px; background: #f2f1ee; color: var(--muted); border-radius: 4px; }
.order-tracker__step.active { background: var(--ink); color: var(--paper); }

/* ---------- Inline field validation ---------- */
input.has-error, select.has-error, textarea.has-error { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: 12px; margin: 6px 0 0; line-height: 1.4; }
.field-error-text, .field-error { display: block; }

.form-group input.has-error, .form-group select.has-error, .form-group textarea.has-error,
.checkout-form-col input.has-error, .checkout-form-col select.has-error, .account-auth-box input.has-error {
    border-color: var(--danger) !important;
}

/* ---------- Password show/hide toggle ---------- */
.password-toggle-wrap { position: relative; width: 100%; }
.password-toggle-wrap input[type=password], .password-toggle-wrap input[type=text] { padding-right: 42px !important; }
.password-toggle-btn {
    position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
    background: none; border: none; padding: 4px; color: var(--muted); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.password-toggle-btn:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 32px 24px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); margin-top: 40px; text-transform: uppercase; letter-spacing: 0.04em; }
