/* =====================================================================
 * Rhino Outdoor — Homepage CSS
 * Match design reference. No framework. Mobile-first.
 * ===================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #1a1a1a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* =====================================================================
 * BASE VARIABLES
 * ===================================================================== */
:root {
    --black:        #1a1a1a;
    --yellow:       #f0c419;
    --lime:         #c8e04a;
    --dark-green:   #0f4c1c;
    --gray-50:      #f9fafb;
    --gray-100:     #f3f4f6;
    --gray-200:     #e5e7eb;
    --gray-400:     #9ca3af;
    --gray-600:     #4b5563;
    --gray-800:     #1f2937;
}

/* =====================================================================
 * HEADER
 * ===================================================================== */
.site-header {
    background: var(--black);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.site-header__logo-icon {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.site-header__search {
    flex: 1;
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    height: 32px;
}

.site-header__search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 12px;
    font-size: 13px;
    color: var(--gray-800);
}

.site-header__search button {
    background: var(--lime);
    color: var(--black);
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.site-header__search button:hover { background: var(--yellow); }

.site-header__cart {
    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-header__cart svg { width: 22px; height: 22px; }

.site-header__cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

@media (max-width: 480px) {
    .site-header__search { display: none; }
}

/* =====================================================================
 * HERO
 * ===================================================================== */
.hero {
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, #7a2f1a 0%, #d9663a 50%, #4a240e 100%);
    background-image: 
        linear-gradient(135deg, rgba(76, 32, 18, 0.85) 0%, rgba(180, 90, 50, 0.65) 50%, rgba(60, 30, 12, 0.9) 100%),
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1600');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.hero__title {
    position: relative;
    color: var(--yellow);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    margin-bottom: 12px;
}

.hero__subtitle {
    position: relative;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero__dots {
    position: absolute;
    bottom: 20px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.7);
    transition: background 0.2s;
}

.hero__dot--active { background: #fff; }

@media (min-width: 768px) {
    .hero { height: 400px; }
    .hero__title { font-size: 44px; }
    .hero__subtitle { font-size: 18px; }
}

/* =====================================================================
 * SECTION
 * ===================================================================== */
.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 16px;
}

.section__title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.section__title-bar {
    width: 4px;
    height: 28px;
    background: var(--lime);
    border-radius: 2px;
}

.section__title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--black);
}

@media (min-width: 768px) {
    .section__title { font-size: 24px; }
}

/* =====================================================================
 * PRODUCT GRID
 * ===================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* =====================================================================
 * PRODUCT CARD
 * ===================================================================== */
.product-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-card__img-wrap {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--gray-50);
}

.product-card__img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s;
}

.product-card:hover .product-card__img { transform: scale(1.03); }

.product-card__body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card__name {
    font-size: 12px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px;
}

.product-card__price {
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
}

.product-card__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 12px 12px;
}

.btn-detail {
    display: block;
    padding: 8px;
    border: 2px solid var(--black);
    color: var(--black);
    background: #fff;
    font-weight: 700;
    font-size: 11px;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.15s, color 0.15s;
}

.btn-detail:hover {
    background: var(--black);
    color: #fff;
}

.btn-cart {
    display: block;
    padding: 8px;
    background: var(--lime);
    color: var(--black);
    font-weight: 700;
    font-size: 11px;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.15s, transform 0.1s;
    border: none;
    width: 100%;
}

.btn-cart:hover { background: var(--yellow); }
.btn-cart:active { transform: scale(0.98); }

/* =====================================================================
 * LOAD MORE
 * ===================================================================== */
.section__more {
    text-align: center;
    margin-top: 32px;
}

.btn-outline {
    display: inline-block;
    padding: 10px 32px;
    border: 2px solid var(--black);
    color: var(--black);
    background: #fff;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.15s, color 0.15s;
}

.btn-outline:hover {
    background: var(--black);
    color: #fff;
}

/* =====================================================================
 * EMPTY STATE
 * ===================================================================== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 16px;
    color: var(--gray-400);
}

/* =====================================================================
 * FOOTER
 * ===================================================================== */
.site-footer {
    background: var(--dark-green);
    color: #fff;
    margin-top: 64px;
}

.site-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
}

.site-footer__brand {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
}

.site-footer__desc {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
}

.site-footer h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.site-footer ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer ul a {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    transition: color 0.15s;
}

.site-footer ul a:hover { color: var(--lime); }

.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}

.site-footer__social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.site-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    transition: border-color 0.15s, background 0.15s;
}

.site-footer__social a:hover {
    border-color: var(--lime);
    background: rgba(200,224,74,0.15);
}

.site-footer__social svg {
    width: 16px;
    height: 16px;
    fill: rgba(255,255,255,0.8);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 16px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}
/* =====================================================================
 * CATALOG — Filter bar
 * ===================================================================== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    margin-bottom: 20px;
    align-items: flex-end;
}

.filter-bar__group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 140px;
}

.filter-bar__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-bar__input {
    padding: 8px 10px;
    border: 1px solid var(--gray-300, #d1d5db);
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    color: var(--gray-800);
}

.filter-bar__input:focus {
    outline: none;
    border-color: var(--lime);
    box-shadow: 0 0 0 2px rgba(200, 224, 74, 0.3);
}

.btn-filter {
    padding: 9px 20px;
    background: var(--black);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.15s;
}

.btn-filter:hover { background: #333; }

.btn-filter--reset {
    background: transparent;
    color: var(--black);
    border: 1px solid var(--gray-400);
    margin-left: 6px;
}

.btn-filter--reset:hover { background: var(--gray-100); }

.result-info {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 16px;
}

/* =====================================================================
 * PAGINATION
 * ===================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 40px;
}

.pagination__btn {
    padding: 8px 14px;
    border: 1px solid var(--gray-300, #d1d5db);
    border-radius: 4px;
    background: #fff;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 13px;
    transition: all 0.15s;
}

.pagination__btn:hover {
    border-color: var(--black);
    background: var(--gray-50);
}

.pagination__btn.is-active {
    background: var(--black);
    color: #fff;
    border-color: var(--black);
}

/* =====================================================================
 * PRODUCT DETAIL — Layout 2 kolom
 * ===================================================================== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.breadcrumb a:hover { color: var(--black); }
.breadcrumb span:not(:last-child) { color: var(--gray-400); }

.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .product-detail { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.product-detail__gallery { display: flex; flex-direction: column; gap: 12px; }

.product-detail__main-img {
    aspect-ratio: 1 / 1;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-detail__main-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-detail__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.product-detail__thumb {
    aspect-ratio: 1 / 1;
    border: 2px solid var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    background: var(--gray-50);
    padding: 4px;
    transition: border-color 0.15s;
}

.product-detail__thumb:hover { border-color: var(--gray-400); }
.product-detail__thumb.is-active { border-color: var(--black); }

.product-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Info */
.product-detail__info { display: flex; flex-direction: column; gap: 16px; }

.product-detail__kategori {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-detail__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--black);
    line-height: 1.3;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .product-detail__title { font-size: 26px; }
}

.product-detail__pricing {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.product-detail__price,
.product-detail__price-discount {
    font-size: 24px;
    font-weight: 800;
    color: var(--black);
}

.product-detail__price-original {
    font-size: 16px;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-detail__discount-badge {
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.product-detail__stock {
    font-size: 13px;
    color: var(--gray-600);
}

.product-detail__form { display: flex; flex-direction: column; gap: 16px; }
.product-detail__section { display: flex; flex-direction: column; gap: 8px; }

.product-detail__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Variant */
.variant-selector { display: flex; flex-wrap: wrap; gap: 8px; }

.variant-option input { position: absolute; opacity: 0; pointer-events: none; }

.variant-option__btn {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid var(--gray-300, #d1d5db);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    background: #fff;
}

.variant-option input:checked + .variant-option__btn {
    border-color: var(--black);
    background: var(--black);
    color: #fff;
}

.variant-option:hover .variant-option__btn { border-color: var(--gray-400); }

/* Qty */
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--gray-300, #d1d5db); border-radius: 4px; overflow: hidden; }

.qty-control__btn {
    width: 36px;
    height: 36px;
    background: #fff;
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.qty-control__btn:hover { background: var(--gray-100); }

.qty-control__input {
    width: 60px;
    height: 36px;
    border: none;
    border-left: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    background: #fff;
}

.qty-control__input::-webkit-inner-spin-button { display: none; }

.btn-cart--large {
    padding: 14px;
    font-size: 13px;
}

.btn-cart--large:disabled {
    background: var(--gray-300, #d1d5db);
    color: var(--gray-600);
    cursor: not-allowed;
}

/* Deskripsi */
.product-detail__subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lime);
}

.product-detail__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-600);
}

.product-detail__spec {
    width: 100%;
    font-size: 13px;
    border-collapse: collapse;
}

.product-detail__spec tr { border-bottom: 1px solid var(--gray-200); }

.product-detail__spec td {
    padding: 8px 0;
}

.product-detail__spec td:first-child {
    color: var(--gray-600);
    width: 40%;
}

.product-detail__spec td:last-child {
    color: var(--black);
    font-weight: 500;
}

/* =====================================================================
 * HEADER ACTIONS (user + cart)
 * ===================================================================== */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-header__user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
}

.site-header__user-name {
    display: none;
    font-weight: 600;
}

@media (min-width: 640px) {
    .site-header__user-name { display: inline; }
}

.site-header__login, .site-header__logout {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    transition: background 0.15s, border-color 0.15s;
}

.site-header__login:hover, .site-header__logout:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--lime);
}

/* =====================================================================
 * FLASH MESSAGE
 * ===================================================================== */
.flash {
    max-width: 1200px;
    margin: 12px auto 0;
    padding: 10px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

.flash button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.5;
}

.flash button:hover { opacity: 1; }

.flash--success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.flash--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.flash--info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================================
 * CART PAGE
 * ===================================================================== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (min-width: 900px) {
    .cart-layout { grid-template-columns: 1fr 340px; }
}

.cart-items { display: flex; flex-direction: column; gap: 12px; }

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    grid-template-areas:
        "img info remove"
        ".  qty  subtitle";
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #fff;
    align-items: center;
}

@media (min-width: 640px) {
    .cart-item {
        grid-template-columns: 100px 1fr 140px 120px 40px;
        grid-template-areas: "img info qty subtitle remove";
    }
}

.cart-item__img {
    grid-area: img;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    background: var(--gray-50);
    padding: 4px;
    display: block;
}

.cart-item__img img { width: 100%; height: 100%; object-fit: contain; }

.cart-item__info { grid-area: info; display: flex; flex-direction: column; gap: 4px; }

.cart-item__name {
    font-weight: 600;
    font-size: 14px;
    color: var(--black);
    line-height: 1.35;
    text-transform: uppercase;
}

.cart-item__variant { font-size: 12px; color: var(--gray-600); }

.cart-item__price { font-size: 13px; font-weight: 600; color: var(--gray-800); }

.cart-item__qty-form { grid-area: qty; }

.cart-item__subtotal {
    grid-area: subtitle;
    text-align: right;
    font-weight: 700;
    font-size: 14px;
    color: var(--black);
}

.cart-item__remove-form { grid-area: remove; }

.cart-item__remove {
    color: var(--gray-400);
    padding: 6px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.cart-item__remove:hover { color: #dc2626; background: #fee2e2; }

.cart-actions { margin-top: 12px; }

/* Summary */
.cart-summary {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 80px;
}

.cart-summary__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lime);
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.cart-summary__row--hint { border: none; padding-top: 0; }

.cart-summary__row--total {
    border-top: 2px solid var(--gray-200);
    margin-top: 8px;
    padding-top: 12px;
    font-size: 16px;
    font-weight: 800;
}

/* =====================================================================
 * AUTH PAGES
 * ===================================================================== */
.auth-section {
    max-width: 420px;
    margin: 40px auto;
    padding: 0 16px;
}

.auth-box {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 32px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.auth-box__title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.auth-box__subtitle {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.auth-box__footer {
    text-align: center;
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 20px;
}

.auth-box__footer a {
    color: var(--black);
    font-weight: 700;
    border-bottom: 2px solid var(--lime);
}

.auth-form { display: flex; flex-direction: column; gap: 14px; }

.auth-form__group { display: flex; flex-direction: column; gap: 5px; }

.auth-form__group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--black);
}

.auth-form__group input {
    padding: 10px 12px;
    border: 1px solid var(--gray-300, #d1d5db);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.auth-form__group input:focus {
    outline: none;
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(200,224,74,0.25);
}

/* =====================================================================
 * CHECKOUT FORM
 * ===================================================================== */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (min-width: 900px) {
    .checkout-layout { grid-template-columns: 1fr 340px; }
}

.checkout-form { display: flex; flex-direction: column; gap: 20px; }

.checkout-block {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 20px;
}

.checkout-block__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lime);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

@media (min-width: 640px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }

.form-group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--black);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 10px 12px;
    border: 1px solid var(--gray-300, #d1d5db);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(200,224,74,0.25);
}

.form-group textarea { resize: vertical; }

/* Rate List */
.rate-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.rate-option input { position: absolute; opacity: 0; pointer-events: none; }

.rate-option__btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 2px solid var(--gray-200);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    font-size: 13px;
    background: #fff;
}

.rate-option input:checked + .rate-option__btn {
    border-color: var(--black);
    background: #f9fafb;
}

.rate-option__courier {
    font-weight: 700;
    color: var(--black);
    flex: 1;
}

.rate-option__etd { color: var(--gray-600); font-size: 12px; }

.rate-option__price {
    font-weight: 800;
    color: var(--black);
    margin-left: auto;
}

/* Summary items */
.checkout-summary-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 12px;
}

.checkout-summary-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 12px;
}

.checkout-summary-item__qty {
    font-weight: 600;
    color: var(--gray-600);
    min-width: 24px;
}

.checkout-summary-item__name {
    flex: 1;
    color: var(--black);
    line-height: 1.3;
}

.checkout-summary-item__total {
    font-weight: 700;
    color: var(--black);
    white-space: nowrap;
}

/* Success page */
.success-box {
    max-width: 640px;
    margin: 40px auto;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    text-align: center;
}

.success-box__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #059669;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-box__title {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.success-box__subtitle {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 24px;
}

.order-info {
    text-align: left;
    background: var(--gray-50);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.order-info__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 13px;
}

.order-info__row:last-child { border-bottom: none; }

.order-info__row span:first-child { color: var(--gray-600); }

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge--pending {
    background: #fef3c7;
    color: #92400e;
}

.success-box__items {
    text-align: left;
    margin-bottom: 24px;
}

.success-box__actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

/* =====================================================================
 * ORDER TRACKING & PAYMENT
 * ===================================================================== */
.order-status-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.order-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 40px 0;
    padding: 0 20px;
}

@media (max-width: 640px) {
    .order-timeline { flex-direction: column; padding: 0; gap: 20px; }
}

.order-timeline__item {
    flex: 1;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.order-timeline__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #d1d5db;
    border: 3px solid #f3f4f6;
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
}

.order-timeline__item.is-done .order-timeline__dot {
    background: var(--lime);
    border-color: var(--black);
}

.order-timeline__line {
    position: absolute;
    top: 8px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.order-timeline__item:last-child .order-timeline__line {
    display: none;
}

.order-timeline__item.is-done .order-timeline__line { background: var(--lime); }

.order-timeline__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #9ca3af;
}

.order-timeline__item.is-done .order-timeline__label { color: var(--black); }

.order-detail-block {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.order-detail-block__title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lime);
}

.payment-box {
    max-width: 480px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 32px 24px;
}

.payment-box__header { margin-bottom: 24px; }

.payment-box__title {
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.payment-box__subtitle {
    font-size: 13px;
    color: var(--gray-600);
}

.payment-box__amount {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 16px;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.order-row:hover {
    border-color: var(--black);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.order-row__left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}

.order-row__left small { color: var(--gray-600); font-size: 12px; }

.order-row__right {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

/* WhatsApp Float */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@media (max-width: 640px) {
    .wa-float { bottom: 16px; right: 16px; width: 48px; height: 48px; }
    .wa-float svg { width: 26px; height: 26px; }
}
