@font-face {
    font-family: "readexpro";
    src: url("../font/readexpro-regular.woff2") format("truetype");
}

:root {
    --bg-page: #ffffff;
    --bg-muted: #f8fafc;
    --bg-card: #ffffff;
    --border-subtle: #e5e7eb;
    --border-strong: #d1d5db;
    --text-main: #111827;
    --text-muted: #6b7280;
    --text-soft: #9ca3af;
    --primary: #1a4cff;
    --primary-soft: #e0ebff;
    --accent: #f4541d;
    --accent-soft: #ffd7ca;
    --radius-sm: 6px;
    --radius-md: 10px;
    --shadow-soft: 0 1px 3px rgba(15, 23, 42, 0.06);
    --container-width: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "readexpro", regular;
}

body {
    background: var(--bg-page);
    color: var(--text-main);
}

body a {
    color: inherit;
    text-decoration: none;
}

body img {
    max-width: 100%;
    display: block;
}

body .page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body .page-shell .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
}

body .page-shell .top-bar {
    background: #0f172a;
    color: #e5e7eb;
    font-size: 0.78rem;
}

body .page-shell .top-bar .top-bar-inner {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
}

body .page-shell .top-bar .top-bar-inner strong {
    color: #f9fafb;
    font-weight: 600;
}

body .page-shell .top-bar .top-bar-inner .highlight {
    color: var(--accent);
    font-weight: 600;
}

body .page-shell header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
}

body .page-shell header .header-main {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
}

body .page-shell header .header-main .logo-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

body .page-shell header .header-main .logo-area img {
    height: 50px;
}

body .page-shell header .header-main .logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.88rem;
    line-height: 1.1;
}

body .page-shell header .header-main .logo-text span:first-child {
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body .page-shell header .header-main .logo-text span:last-child {
    font-size: 0.75rem;
    color: var(--text-soft);
}

body .page-shell header .header-main .header-search {
    flex: 1;
    max-width: 520px;
    margin: 0 0.5rem;
}

body .page-shell header .header-main .header-search .search-wrapper {
    position: relative;
}

body .page-shell header .header-main .header-search .search-wrapper .search-input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    padding: 0.55rem 2.6rem 0.55rem 0.9rem;
    font-size: 0.9rem;
    background: var(--bg-muted);
    color: var(--text-main);
    outline: none;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

body .page-shell header .header-main .header-search .search-wrapper .search-input::placeholder {
    color: var(--text-soft);
}

body .page-shell header .header-main .header-search .search-wrapper .search-input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1);
}

body .page-shell header .header-main .header-search .search-wrapper .search-icon {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--text-soft);
    text-decoration: none;
    border: none;
    background: none;
}

body .page-shell header .header-main .header-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-shrink: 0;
}

body .page-shell header .header-main .header-actions .header-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

body .page-shell header .header-main .header-actions .header-link:hover {
    color: var(--primary);
}

body .page-shell header .header-main .header-actions .icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: border-color 160ms ease, background 160ms ease;
}

body .page-shell header .header-main .header-actions .icon-btn i {
    font-size: 0.95rem;
    color: var(--text-soft);
}

body .page-shell header .header-main .header-actions .icon-btn:hover {
    border-color: var(--primary);
    background: #f9fafb;
}

body .page-shell header .header-main .header-actions .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.65rem;
    padding: 0 4px;
    line-height: 1.3;
    font-weight: 600;
}

body .page-shell header .nav-tabs {
    border-bottom: 1px solid var(--border-subtle);
    background: rgb(15, 23, 42);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body .page-shell header .nav-tabs .nav-tabs-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    height: 52px;
    padding: 0;
    flex-wrap: nowrap;
}

body .page-shell header .nav-tabs .nav-tabs-inner::-webkit-scrollbar {
    display: none;
}

body .page-shell header .nav-tabs .nav-tabs-inner .nav-pill {
    border-radius: 999px;
    border: 1px solid rgb(15, 23, 42);
    padding: 0.3rem 0.9rem;
    font-size: 0.8rem;
    color: #ffffff;
    background: rgb(15, 23, 42);
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
    white-space: nowrap;
    flex-shrink: 0;
}

body .page-shell header .nav-tabs .nav-tabs-inner .nav-pill:hover {
    border-color: var(--accent);
    color: #ffffff;
}

body .page-shell header .nav-tabs .nav-tabs-inner .nav-pill.active {
    background: var(--accent);
    color: #ffffff;
    border-color: transparent;
}

body .page-shell header .nav-tabs .nav-tabs-inner .nav-pill.primary {
    margin-left: auto;
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent);
    font-weight: 500;
}

body .page-shell main {
    flex: 1;
    padding: 0px 10px;
}

body .page-shell main .main-layout {
    padding: 2rem 0 3rem;
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
}

body .page-shell main .main-layout .sidebar {
    width: 260px;
    flex-shrink: 0;
}

body .page-shell main .main-layout .sidebar .sidebar-toggle-btn {
    display: none;
}

body .page-shell main .main-layout .sidebar .sidebar-card {
    background: rgb(15, 23, 42);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem 1rem;
    box-shadow: var(--shadow-soft);
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section + .sidebar-section {
    margin-top: 1.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border-subtle);
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffffff;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.4rem 0.1rem;
    font-size: 0.86rem;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background 140ms ease, color 140ms ease;
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-item:hover {
    color: var(--text-soft);
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-item .sidebar-item-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-item .sidebar-item-label .sidebar-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--border-strong);
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-item.active .sidebar-item-label .sidebar-dot {
    background: var(--accent);
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-item.active {
    color: #ffffff;
    font-weight: 500;
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-count {
    font-size: 0.78rem;
    color: var(--text-soft);
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-promo {
    margin-top: 0.4rem;
    background: #fefce8;
    border-radius: var(--radius-md);
    border: 1px solid #facc15;
    padding: 0.8rem 0.9rem;
    font-size: 0.8rem;
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-promo .sidebar-promo-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

body .page-shell main .main-layout .sidebar .sidebar-card .sidebar-section .sidebar-promo .badge {
    position: static;
    background: #111827;
    color: #fefce8;
    padding: 0.1rem 0.5rem;
    margin-left: 0.3rem;
}

body .page-shell main .main-layout .content {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/************** CONTENT **************/

/* Cart shell */

body .page-shell main .main-layout .content .cart-shell {
    max-width: 980px;
    margin: 0 auto;
}

/* Header */

body .page-shell main .main-layout .content .cart-shell .cart-header {
    margin-bottom: 1.6rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-header .cart-title {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 0.4rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-header .cart-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Empty state */

body .page-shell main .main-layout .content .cart-shell .cart-empty {
    text-align: center;
    padding: 2.4rem 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-subtle);
}

body .page-shell main .main-layout .content .cart-shell .cart-empty .cart-empty-icon {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    margin: 0 auto 0.9rem;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    background: var(--bg-muted);
}

body .page-shell main .main-layout .content .cart-shell .cart-empty .cart-empty-title {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-empty .cart-empty-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-empty .cart-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Layout: items + summary */

body .page-shell main .main-layout .content .cart-shell .cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 1.4rem;
}

/* Cart items */

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 0.95rem;
    box-shadow: var(--shadow-soft);
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-thumb {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-muted);
    flex-shrink: 0;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info bloc */

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-title-row .cart-item-title {
    font-size: 1rem;
    line-height: 1.3;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-title-row .cart-item-remove {
    border: none;
    background: transparent;
    font-size: 0.8rem;
    color: var(--text-soft);
    cursor: pointer;
    padding: 0;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-title-row .cart-item-remove:hover {
    color: var(--accent);
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-soft);
}

/* Tags */

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-tags .tag-soft {
    font-size: 0.75rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--bg-muted);
    color: var(--text-muted);
}

/* Controls row */

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls {
    margin-top: 0.4rem;
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 0.9rem;
    align-items: center;
}

/* Quantity control */

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls .cart-qty {
    font-size: 0.8rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls .cart-qty label {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--text-soft);
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls .cart-qty .cart-qty-input {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls .cart-qty .cart-qty-input .qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--bg-muted);
    font-size: 0.9rem;
    cursor: pointer;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls .cart-qty .cart-qty-input .qty-input {
    width: 40px;
    border: none;
    text-align: center;
    font-size: 0.85rem;
    outline: none;
}

/* Price + total */

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls .cart-item-price,
body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls .cart-item-total {
    text-align: right;
    font-size: 0.8rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls .cart-item-price .cart-item-price-label,
body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls .cart-item-total .cart-item-total-label {
    display: block;
    color: var(--text-soft);
    margin-bottom: 0.1rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls .cart-item-price .cart-item-price-value {
    font-weight: 500;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls .cart-item-total .cart-item-total-value {
    font-weight: 600;
}

/* Summary */

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary {
    position: sticky;
    top: 90px;
    align-self: flex-start;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    padding: 1.3rem 1.1rem;
    font-size: 0.9rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-summary-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
    color: var(--text-main);
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-summary-row.cart-summary-total {
    font-weight: 600;
    margin-top: 0.4rem;
    font-size: 0.95rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-summary-divider {
    border-top: 1px solid var(--border-subtle);
    margin: 0.7rem 0;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-summary-note {
    font-size: 0.78rem;
    color: var(--text-soft);
    margin-top: 0.3rem;
    margin-bottom: 0.8rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-shipping {
    margin-top: 0.9rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-subtle);
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-shipping .cart-shipping-header {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-shipping .cart-shipping-text {
    font-size: 0.8rem;
    color: var(--text-soft);
    margin-bottom: 0.5rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-shipping .cart-shipping-option {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    background: #ffffff;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-shipping .cart-shipping-option:hover {
    border-color: var(--border-subtle);
    background: var(--bg-muted);
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-shipping .cart-shipping-option input {
    margin-top: 0.15rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-shipping .cart-shipping-option .cart-shipping-option-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-shipping .cart-shipping-option .cart-shipping-title {
    font-weight: 500;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-shipping .cart-shipping-option .cart-shipping-sub {
    color: var(--text-soft);
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-shipping .cart-shipping-option .cart-shipping-price {
    font-weight: 600;
    white-space: nowrap;
    margin-left: 0.4rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-shipping .cart-shipping-option-none .cart-shipping-price {
    display: none;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-summary-checkout {
    width: 100%;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-summary-benefits {
    margin-top: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-summary-benefits .benefit {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary .cart-summary-card .cart-summary-benefits .benefit i {
    font-size: 0.95rem;
    color: var(--primary);
}

/* Buttons utility */
.btn-ghost,
body .page-shell main .main-layout .content
.btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 160ms ease;
    margin-top: 10px;
    gap: 7px;
}


/* ================= Pay on Ghost ================= */
body .page-shell main .main-layout .content .btn-ghost {
    background: #ffffff;
    color: var(--text-main);
    border-color: var(--border-subtle);
}

body .page-shell main .main-layout .content .btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ================= Pay on Cancel ================= */
body .page-shell main .main-layout .content .btn-cancel {
    background: #f72626;
    color: #ffffff;
    border-color: var(--border-subtle);
}

body .page-shell main .main-layout .content .btn-cancel:hover {
    background: #dd2121;
}

/* ================= Focus / Active ================= */
body .page-shell main .main-layout .content
.btn-ghost:active {
    transform: translateY(1px);
}

.btn-payimg{
    display:block;
    width:100%;
    margin-top:10px;
    border-radius:16px;
    overflow:hidden;
    border:1px solid var(--border-subtle);
    background:#fff;
    box-shadow:var(--shadow-soft);
    transition:transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.btn-payimg img{
    width:100%;
    height:auto;
    display:block;
}
.btn-payimg:hover{
    transform:translateY(-1px);
    border-color:var(--border-strong);
    box-shadow:0 10px 25px rgba(15,23,42,.10);
}
.btn-payimg:active{
    transform:translateY(0);
}

@media (max-width: 640px) {
    body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main {
        grid-template-columns: minmax(0, 1fr);
    }

    body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-thumb {
        width: 100%;
        max-width: 120px;
    }

    body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.7rem;
        text-align: left;
    }

    body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls .cart-item-price,
    body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-items .cart-item .cart-item-main .cart-item-info .cart-item-controls .cart-item-total {
        text-align: left;
    }
}


body .page-shell footer {
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
    background: var(--bg-muted);
    font-size: 0.85rem;
    padding: 0px 10px;
}

body .page-shell footer .footer-inner {
    padding: 2rem 0 1.8rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.8rem;
}

body .page-shell footer .footer-inner .footer-heading {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

body .page-shell footer .footer-inner .footer-link {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--text-muted);
}

body .page-shell footer .footer-inner .footer-link:hover {
    color: var(--text-main);
}

body .page-shell footer .footer-inner .footer-country-select {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    background: #ffffff;
}

body .page-shell footer .footer-inner .footer-country-select .flag-dot {
    width: 16px;
    height: 11px;
    border-radius: 2px;
    background: linear-gradient(90deg, #009246 0 33%, #ffffff 33% 66%, #ce2b37 66% 100%);
}

body .page-shell footer .footer-inner .footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

body .page-shell footer .footer-inner .footer-social .social-circle {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: #ffffff;
    transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}

body .page-shell footer .footer-inner .footer-social .social-circle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f9fafb;
}

body .page-shell footer .footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 0.9rem 0;
    font-size: 0.78rem;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

body .page-shell footer .footer-bottom a {
    color: var(--text-soft);
}

body .page-shell footer .footer-bottom a:hover {
    color: var(--text-main);
}

body .floating-wa-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    
    width: 50px;
    height: 50px;
    border-radius: 999px;
    background: #22c55e;
    color: #ffffff;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
    text-decoration: none;
    
    transition:
        transform 140ms ease,
        box-shadow 140ms ease,
        background 140ms ease;
}

body .floating-wa-btn i {
    font-size: 1.4rem;
    line-height: 1;
}

body .floating-wa-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
}

body .page-shell .mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    body .page-shell .container {
        padding: 10px 1.1rem;
    }

    body .page-shell header .header-main {
        height: auto;
        padding: 0.9rem 10px;
        flex-wrap: wrap;
    }

    body .page-shell header .header-main .header-search {
        order: 3;
        width: 100%;
        max-width: none;
        margin: 0.3rem 0 0;
    }

    body .page-shell main .main-layout {
        padding: 10px 0px;
        flex-direction: column;
        gap: 10px;
    }

    body .page-shell main .main-layout .sidebar {
        width: 100%;
    }

    body .page-shell main .main-layout .sidebar .sidebar-card {
        display: none;
    }

    body .page-shell main .main-layout .sidebar .sidebar-card.is-open {
        display: block;
        margin-top: 0.75rem;
    }

    body .page-shell main .main-layout .sidebar .sidebar-toggle-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        border-radius: 999px;
        border: 1px solid var(--border-subtle);
        padding: 0.35rem 0.8rem;
        background: #ffffff;
        font-size: 0.78rem;
        color: var(--text-muted);
        cursor: pointer;
        transition: background 140ms ease, border-color 140ms ease;
    }

    body .page-shell main .main-layout .sidebar .sidebar-toggle-btn:hover {
        background: var(--bg-muted);
        border-color: var(--primary);
    }

    body .page-shell main .main-layout .sidebar .sidebar-toggle-btn i {
        font-size: 0.85rem;
    }

    /************** CONTENT **************/

    body .page-shell main .main-layout .content .cart-shell .cart-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    body .page-shell main .main-layout .content .cart-shell .cart-layout .cart-summary {
        position: static;
    }

    body .page-shell header .header-main .header-actions .header-link {
        display: none;
    }

    body .page-shell header .nav-tabs .nav-tabs-inner {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    body .page-shell .container {
        padding: 10px 1rem;
    }

    body .page-shell .top-bar .top-bar-inner {
        height: auto;
        padding: 0.35rem 0.4rem;
        flex-wrap: wrap;
    }

    body .page-shell header .header-main {
        padding: 0.4rem 10px;
        gap: 0.75rem;
        align-items: center;
    }

    body .page-shell header .header-main .logo-area img {
        height: 32px;
    }

    body .page-shell header .header-main .header-actions {
        gap: 0.55rem;
        margin-left: auto;
    }

    body .page-shell header .header-main .header-actions .icon-btn {
        width: 32px;
        height: 32px;
    }

    body .page-shell .mobile-only {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body .page-shell header .nav-tabs .nav-tabs-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body .page-shell header .nav-tabs .nav-tabs-inner::-webkit-scrollbar {
        display: none;
    }

    /************** CONTENT **************/
    
    body .page-shell footer .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.3rem;
    }
}

@media (max-width: 640px) {
    body .page-shell .container {
        padding: 10px 0.9rem;
    }

    body .page-shell header .header-main {
        flex-wrap: wrap;
        align-items: center;
    }

    body .page-shell header .header-main .logo-area {
        flex: 1 1 auto;
    }

    body .page-shell header .header-main .header-actions {
        width: auto;
        margin-left: 0;
    }

    body .page-shell header .header-main .header-search {
        order: 3;
        margin-top: 0.4rem;
    }

    /************** CONTENT **************/

    body .page-shell footer .footer-inner {
        grid-template-columns: 1fr;
    }

    body .page-shell footer .footer-bottom {
        flex-wrap: wrap;
        text-align: center;
    }
    body .page-shell .floating-wa-btn {
        right: 14px;
        bottom: 14px;
        width: 46px;
        height: 46px;
    }

    body .page-shell .floating-wa-btn i {
        font-size: 1.25rem;
    }
}

@media (max-width: 380px) {
    body .page-shell .container {
        padding: 10px 0.75rem;
    }

    body .page-shell .top-bar {
        font-size: 0.72rem;
    }

    body .page-shell header .header-main .header-search .search-wrapper .search-input {
        font-size: 0.82rem;
        padding: 0.5rem 2.3rem 0.5rem 0.8rem;
    }

    
    /************** CONTENT **************/

    body .page-shell main .main-layout .content .products-grid .product-card {
        padding: 0.8rem;
    }

    body .page-shell main .main-layout .content .products-grid .product-card .product-title {
        font-size: 0.9rem;
    }

    body .page-shell main .main-layout .content .products-grid .product-card .product-meta {
        font-size: 0.78rem;
    }

    body .page-shell main .main-layout .content .products-grid .product-card .product-footer .btn-ghost {
        font-size: 13px;
        padding: 0.4rem 0.7rem;
    }
}
