/* =============================================
   KAGI — components.css
   Shared styles used across all pages
   ============================================= */

/* ─── Shared Variables (supplement styles.css) ─── */
:root {
    --amazon-blue: #007185;
    --amazon-blue-hover: #005f6d;
    --amazon-link: #0066c0;
    --amazon-orange: #D0405A;
    --yellow: #D0405A;
    --yellow-dark: #A63348;
    --sidebar-w: 240px;
}


/* ─── SEARCH SUGGESTIONS ─── */
.search-bar {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    z-index: 1100;
    overflow: hidden;
    display: none;
    border: 1px solid #e2e8f0;
}

.search-suggestions.open {
    display: block;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    transition: background 0.15s;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f7f8fa;
}

.sug-emoji {
    font-size: 20px;
    flex-shrink: 0;
}

.sug-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #0f1724;
}

.sug-cat {
    font-size: 12px;
    color: #718096;
}

/* ─── NAV ACTIVE LINK ─── */
.nav-active {
    color: var(--yellow) !important;
}

.nav-username {
    font-size: 14px;
    font-weight: 700;
    color: var(--yellow);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─── PROFESSIONAL AUTH & ACCOUNT UI ─── */
.acct-professional {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.acct-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.acct-avatar-large {
    width: 64px;
    height: 64px;
    background: #1a2537;
    color: #D0405A;
    font-size: 28px;
    font-weight: 800;
    border-radius: 16px;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.acct-info h3 {
    font-size: 18px;
    font-weight: 800;
    color: #1a2537;
    margin: 0;
}

.acct-info p {
    font-size: 14px;
    color: #718096;
    margin: 2px 0 6px;
}

.acct-badge {
    font-size: 11px;
    font-weight: 700;
    background: #f0f5ff;
    color: #2b6cb0;
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: uppercase;
}

.acct-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 32px;
}

.acct-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.acct-tile:hover {
    background: #fff;
    border-color: #D0405A;
    color: #D0405A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.admin-tile {
    grid-column: span 2;
    background: #fff5f5;
    border-color: #fed7d7;
    color: #c53030;
}

.admin-tile:hover {
    background: #c53030;
    color: #fff;
}

.acct-recent h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #a0aec0;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.acct-mini-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 13px;
}

.acct-mini-order em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.status-pending { background: #fffaf0; color: #92400e; }
.status-paid { background: #f0fff4; color: #22543d; }
.status-shipped { background: #ebf8ff; color: #2a4365; }

.acct-logout-btn {
    margin-top: auto;
    width: 100%;
    padding: 14px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #718096;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.acct-logout-btn:hover {
    background: #fff5f5;
    color: #e53e3e;
    border-color: #feb2b2;
}

/* Auth Professional UI */
.auth-professional {
    padding-top: 20px;
}

.auth-header-professional {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    height: 48px;
    margin-bottom: 16px;
}

.auth-header-professional h2 {
    font-size: 24px;
    font-weight: 800;
    color: #1a2537;
    margin-bottom: 4px;
}

.auth-header-professional p {
    color: #718096;
    font-size: 14px;
}

.form-group-prof {
    margin-bottom: 16px;
}

.form-group-prof label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 6px;
}

.form-group-prof input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #edf2f7;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
}

.form-group-prof input:focus {
    border-color: #D0405A;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(208, 64, 90, 0.05);
}

.auth-options {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.link-btn-prof {
    background: none;
    border: none;
    color: #D0405A;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.auth-btn-prof {
    width: 100%;
    padding: 14px;
    background: #1a2537;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-btn-prof:hover {
    background: #D0405A;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(208, 64, 90, 0.2);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #cbd5e0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #edf2f7;
}

.auth-divider span {
    padding: 0 12px;
}

.google-auth-btn {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s;
}

.google-auth-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e0;
}

.google-auth-btn img {
    width: 20px;
}

/* ─── ACCOUNT MODAL ─── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: #fff;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    overflow-y: auto;
    padding: 32px 28px;
    position: relative;
    transform: translateX(40px);
    transition: transform 0.3s ease;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.2);
}

.modal-overlay.open .modal-box {
    transform: translateX(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    font-size: 14px;
    color: #666;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-close:hover {
    background: #e0e0e0;
}

/* Auth Forms */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #718096;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.auth-tab.active {
    color: var(--navy);
    border-bottom-color: var(--yellow);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-form h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f1724;
    margin-bottom: 4px;
}

.auth-form input {
    padding: 11px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.auth-form input:focus {
    border-color: var(--yellow);
}

.auth-error {
    font-size: 13px;
    color: #e53e3e;
    min-height: 16px;
}

/* Account panel (logged in) */
.acct-welcome {
    text-align: center;
    padding: 20px 0 24px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.acct-avatar {
    width: 64px;
    height: 64px;
    background: var(--navy);
    color: var(--yellow);
    font-size: 28px;
    font-weight: 800;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
}

.acct-welcome h3 {
    font-size: 20px;
    font-weight: 800;
}

.acct-email {
    font-size: 13px;
    color: #718096;
    margin-top: 4px;
}

.acct-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.acct-link {
    display: block;
    padding: 10px 14px;
    background: #f7f8fa;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #0f1724;
    transition: background 0.2s;
    text-decoration: none;
}

.acct-link:hover {
    background: #eef1f8;
}

.acct-orders h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.acct-empty {
    font-weight: 400;
    color: #718096;
    font-size: 13px;
}

.acct-order-row {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}

.acct-order-id {
    font-weight: 700;
    flex: 1;
    color: var(--amazon-link);
}

.acct-order-date {
    color: #718096;
}

.acct-order-total {
    font-weight: 700;
    color: #b12704;
}

.btn-logout {
    margin-top: 24px;
    width: 100%;
    padding: 11px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-logout:hover {
    border-color: #e53e3e;
    color: #e53e3e;
}

/* ─── TOAST ─── */
.cart-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--navy);
    color: #fff;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--yellow);
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
    z-index: 9999;
    pointer-events: none;
    max-width: 320px;
}

.cart-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ─── PAGE SHELL ─── */
.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-body {
    flex: 1;
    max-width: 1340px;
    margin: 0 auto;
    padding: 32px 24px;
    width: 100%;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #718096;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--amazon-link);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #a0aec0;
}

/* ─── SHARED PRODUCT CARD (used in shop, search, related) ─── */
.pc {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.22s, transform 0.22s;
    text-decoration: none;
    color: inherit;
}

.pc:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.pc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 100px;
    z-index: 1;
}

.pc-badge-bestseller {
    background: #ffe4e1;
    color: #D0405A;
}

.pc-badge-new {
    background: #bee3f8;
    color: #2b6cb0;
}

.pc-badge-sale {
    background: #fed7d7;
    color: #9b2c2c;
}

.pc-wish {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    color: #a0aec0;
    border: none;
}

.pc-wish:hover,
.pc-wish.liked {
    color: #e53e3e;
    transform: scale(1.1);
}

.pc-img {
    background: linear-gradient(135deg, #f8f9ff, #eef1f8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    min-height: 140px;
    font-size: 56px;
    transition: transform 0.22s;
}

.pc:hover .pc-img {
    transform: scale(1.05) rotate(-2deg);
}

.pc-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.pc-brand {
    font-size: 11px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pc-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f1724;
    line-height: 1.4;
}

.pc-stars {
    color: var(--yellow);
    font-size: 13px;
}

.pc-rating-count {
    font-size: 12px;
    color: var(--amazon-link);
    margin-left: 4px;
}

.pc-price {
    font-size: 19px;
    font-weight: 800;
    color: #b12704;
}

.pc-was {
    font-size: 12px;
    color: #718096;
    text-decoration: line-through;
    margin-left: 6px;
}

.pc-discount {
    font-size: 12px;
    font-weight: 700;
    color: #38a169;
    background: #f0fff4;
    padding: 2px 6px;
    border-radius: 100px;
    margin-left: 4px;
}

.pc-delivery {
    font-size: 12px;
    color: #38a169;
    font-weight: 500;
}

.pc-atc {
    margin-top: auto;
    width: 100%;
    padding: 9px;
    background: var(--yellow);
    color: var(--navy);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.15s;
    font-family: inherit;
}

.pc-atc:hover {
    background: var(--yellow-dark);
    transform: translateY(-1px);
}

.pc-atc:active {
    transform: scale(0.97);
}

/* ─── SIDEBAR FILTER ─── */
.shop-layout {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    gap: 28px;
    align-items: start;
}

.filter-sidebar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    position: sticky;
    top: 140px;
}

.filter-sidebar h3 {
    font-size: 15px;
    font-weight: 800;
    color: #0f1724;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.filter-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f1724;
    margin-bottom: 10px;
}

.filter-check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4a5568;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.15s;
}

.filter-check-label:hover {
    color: #0f1724;
}

.filter-check-label input[type=checkbox] {
    accent-color: var(--navy);
    width: 15px;
    height: 15px;
}

.price-range-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.price-range-row input[type=range] {
    flex: 1;
    accent-color: var(--yellow);
}

.price-range-row span {
    font-size: 13px;
    font-weight: 600;
    color: #0f1724;
    min-width: 44px;
}

.cat-tree {
    list-style: none;
}

.cat-tree-item a {
    display: block;
    padding: 5px 8px;
    font-size: 13px;
    color: var(--amazon-link);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s;
}

.cat-tree-item a:hover {
    background: #f0f5ff;
    text-decoration: underline;
}

.cat-tree-item a.active {
    font-weight: 700;
    color: #0f1724;
    background: #eef1f8;
}

.sub-tree {
    list-style: none;
    padding-left: 14px;
    margin-top: 4px;
}

.sub-tree a {
    display: block;
    padding: 4px 8px;
    font-size: 12px;
    color: var(--amazon-blue);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s;
}

.sub-tree a:hover {
    text-decoration: underline;
    background: #f0f5ff;
}

.sub-tree a.active {
    font-weight: 700;
    color: #0f1724;
}

.star-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.star-filter label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    cursor: pointer;
}

.star-filter input {
    accent-color: var(--yellow);
}

/* ─── SORT BAR ─── */
.sort-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sort-bar-label {
    font-size: 14px;
    font-weight: 600;
    color: #0f1724;
}

.sort-bar select {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.sort-bar select:focus {
    border-color: var(--yellow);
}

.result-count {
    font-size: 13px;
    color: #718096;
    margin-left: auto;
}

/* ─── PRODUCT GRID (shop/search) ─── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── PAGINATION ─── */
.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-top: 32px;
}

.page-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    color: #0f1724;
}

.page-btn:hover {
    border-color: var(--navy);
}

.page-btn.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* ─── SHARED FOOTER (for all inner pages) ─── */
.site-footer {
    background: var(--navy);
    color: #718096;
    padding: 32px 24px 20px;
    font-size: 13px;
    margin-top: auto;
}

.site-footer-inner {
    max-width: 1340px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer a {
    color: #718096;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--yellow);
}

.site-footer-links {
    display: flex;
    gap: 18px;
}

/* ─── SKELETON LOADER ─── */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-wave 1.4s infinite;
    border-radius: 8px;
}

@keyframes skeleton-wave {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ─── EMPTY STATE ─── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.empty-state-icon {
    font-size: 64px;
}

.empty-state h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f1724;
}

.empty-state p {
    font-size: 15px;
    color: #718096;
    max-width: 380px;
}

/* ─── RESPONSIVE sidebar ─── */
@media (max-width: 860px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        z-index: 1800;
        border-radius: 0;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    }

    .filter-sidebar.mobile-open {
        transform: translateX(0);
    }

    .filter-sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1799;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    .filter-sidebar-backdrop.open {
        opacity: 1;
        pointer-events: all;
    }

    .mobile-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 18px;
        background: #fff;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        color: #0f1724;
        cursor: pointer;
        font-family: inherit;
        margin-bottom: 16px;
        transition: border-color 0.2s;
    }

    .mobile-filter-toggle:hover {
        border-color: var(--navy);
    }
}

@media (min-width: 861px) {

    .mobile-filter-toggle,
    .filter-sidebar-backdrop {
        display: none !important;
    }
}

/* ─── MOBILE NAV ─── */
@media (max-width: 768px) {
    .mega-dropdown {
        display: none !important;
    }

    .cat-nav {
        display: none;
    }

    /* Account modal full-width on mobile */
    .modal-box {
        max-width: 100%;
        width: 100%;
        border-radius: 0;
    }

    /* Product card mobile tweaks */
    .pc-img {
        padding: 20px;
        min-height: 110px;
        font-size: 44px;
    }

    .pc-body {
        padding: 10px;
        gap: 4px;
    }

    .pc-name {
        font-size: 13px;
    }

    .pc-price {
        font-size: 16px;
    }

    .pc-atc {
        padding: 8px;
        font-size: 12px;
    }

    /* Search suggestions */
    .search-suggestions {
        left: -12px;
        right: -12px;
    }

    /* Sort bar */
    .sort-bar {
        gap: 8px;
    }

    /* Page body */
    .page-body {
        padding: 20px 12px;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 12px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .pc-img {
        padding: 16px;
        min-height: 90px;
        font-size: 36px;
    }

    .pc-body {
        padding: 8px;
    }

    .pc-name {
        font-size: 12px;
    }

    .pc-brand {
        font-size: 10px;
    }

    .pc-price {
        font-size: 15px;
    }

    .pc-atc {
        padding: 7px;
        font-size: 11px;
        border-radius: 6px;
    }

    .page-body {
        padding: 16px 10px;
    }

    .products-grid {
        gap: 10px;
    }
}
