/* =========================
   Reset / Base
========================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: #ffffff;
    color: #111111;
}

a {
    color: inherit;
}


/* =========================
   Top Bar
========================= */


.topbar {
    height: 72px;
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 0 32px;
    border-bottom: 1px solid #e9e9e9;
    background: #ffffff;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.brand-name {
    display: block;
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -0.07em;
    line-height: 1;
    color: #000000;
}

.brand-sub {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #777777;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* =========================
   Search Bar
========================= */

.searchbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.searchbar input {
    width: 100%;
    max-width: 520px;
    padding: 11px 16px;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    outline: none;
    background: #f6f6f6;
    font-size: 14px;
    font-weight: 500;
}


.searchbar input:focus {
    background: #ffffff;
    border-color: #111111;
}

.searchbar button {
    border: 1px solid #111111;
    background: #111111;
    color: #ffffff;
    border-radius: 999px;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.searchbar button:hover {
    background: #333333;
}


/* =========================
   Top Right Links
========================= */

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    overflow-x: auto;
    flex-shrink: 1;
}

.topbar-nav a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    color: #111111;
}

.count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    margin-left: 3px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
}


/* =========================
   Page Layout
========================= */

.page-shell {
    display: flex;
    align-items: flex-start;
}


/* =========================
   Sidebar
========================= */

.sidebar {
    width: 210px;
    min-height: calc(100vh - 72px);
    padding: 24px 14px;
    border-right: 1px solid #eeeeee;
    background: #ffffff;
    flex-shrink: 0;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 82vw;
        max-width: 320px;
        min-height: 100dvh;
        height: 100dvh;
        border-right: none;
        padding: 22px 18px;
        z-index: 7000;
        transform: translateX(-110%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        overflow-x: hidden;
        flex-direction: column;
        gap: 0;
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.22);
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }
}
.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-heading {
    margin: 0 0 14px 8px;
    font-size: 12px;
    font-weight: 900;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cat-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;

    width: 100%;
    padding: 9px 10px;
    margin-bottom: 3px;

    border-radius: 8px;
    border-bottom: none;

    text-decoration: none !important;
    color: #111111;

    font-size: 14px;
    font-weight: 750;

    transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.cat-label {
    display: inline-flex;
    align-items: center;
}

.cat-count {
    color: #777777;
    font-size: 12px;
    font-weight: 800;
    margin-left: 2px;
}

.cat-link:hover {
    background: #f3f3f3;
    transform: translateX(3px);
    text-decoration: none !important;
}

.cat-link.active {
    background: #111111;
    color: #ffffff;
    font-weight: 950;
}

.cat-link.active .cat-count {
    color: #ffffff;
}

/* =========================
   Sidebar Notifications
========================= */

.sidebar-notifications-section {
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
}

.sidebar-notification-dropdown {
    width: 100%;
}

.sidebar-notification-summary {
    list-style: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    padding: 10px 10px;
    border-radius: 8px;

    color: #111111;
    background: #ffffff;

    font-size: 14px;
    font-weight: 900;

    transition: background 0.18s ease, transform 0.18s ease;
}

.sidebar-notification-summary::-webkit-details-marker {
    display: none;
}

.sidebar-notification-summary:hover {
    background: #f3f3f3;
    transform: translateX(3px);
}

.sidebar-notification-menu {
    display: grid;
    gap: 4px;
    padding: 8px 0 0 8px;
}

.sidebar-sub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    padding: 8px 10px;
    border-radius: 8px;

    color: #111111;
    text-decoration: none !important;

    font-size: 13px;
    font-weight: 800;

    transition: background 0.18s ease, transform 0.18s ease;
}

.sidebar-sub-link:hover {
    background: #f5f5f5;
    transform: translateX(3px);
    text-decoration: none !important;
}

.sidebar-red-badge,
.sidebar-small-red-badge {
    border-radius: 999px;
    background: #e60023;
    color: #ffffff !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    line-height: 1;
    font-weight: 950;
}

.sidebar-red-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 11px;
}

.sidebar-small-red-badge {
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    font-size: 10px;
}

/* =========================
   Sidebar Admin
========================= */

.sidebar-admin-section {
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
}

.admin-dashboard-cat-link {
    background: #111111;
    color: #ffffff !important;
    font-weight: 950;
}

.admin-dashboard-cat-link:hover {
    background: #333333;
    transform: translateX(3px);
    text-decoration: none !important;
}

/* =========================
   Shop Body
========================= */

.shop-body {
    flex: 1;
    padding: 26px 30px;
}


/* =========================
   Product Grid
========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px 18px;
}

.product-card {
    min-width: 0;
    position: relative;
}

.product-card-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.product-card-image-wrap > a {
    display: block;
}

.product-card-image-wrap > a > img,
.product-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    background: #f5f5f5;
}

.product-title {
    display: block;
    margin-top: 8px;
    color: #111111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-title:hover {
    text-decoration: underline;
}

.product-price {
    margin: 4px 0 0 0;
    font-size: 13px;
    font-weight: 950;
    color: #111111;
}

/* Like button — always visible, no hover trigger */
.card-like-btn,
.card-login-like-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 36px;
    padding: 6px 4px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    color: #111;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.card-like-btn.liked {
    color: #e53935;
}

.card-like-count {
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    color: #111;
}

/* Remove any image opacity on hover/active — no blocking on mobile */
.product-card img:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .product-card img:hover,
    .product-card img:active {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .card-like-btn,
    .card-login-like-btn {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }
}

.product-title {
    display: block;
    margin-top: 8px;
    color: #111111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-title:hover {
    text-decoration: underline;
}

.product-price {
    margin: 4px 0 0 0;
    font-size: 13px;
    font-weight: 950;
    color: #111111;
}


/* =========================
   Empty Message
========================= */

.product-grid > p {
    grid-column: 1 / -1;
    margin: 40px 0;
    color: #777777;
    font-size: 14px;
    font-weight: 600;
}


/* =========================
   Responsive
========================= */

@media (max-width: 1250px) {
    .product-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1050px) {
    .topbar {
        grid-template-columns: 190px 1fr 220px;
        padding: 0 22px;
    }

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 820px) {
    .topbar {
        height: auto;
        grid-template-columns: 1fr;
        padding: 16px 18px;
        gap: 14px;
    }

    .brand {
        justify-content: center;
    }

    .topbar-nav {
        justify-content: center;
        order: 3;
    }

    .page-shell {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #eeeeee;
        padding: 14px 18px;
        display: flex;
        gap: 18px;
        overflow-x: auto;
    }

    .sidebar-heading {
        display: none;
    }

    .cat-link {
        border-bottom: none;
        white-space: nowrap;
        padding: 6px 0;
    }

    .cat-link span {
        display: none;
    }

    .shop-body {
        padding: 20px 18px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 14px;
    }
}

.auth-page {
    min-height: calc(100vh - 72px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 18px;
    background: #ffffff;
}

.auth-card {
    width: 100%;
    max-width: 390px;
    border: 1px solid #e5e5e5;
    padding: 28px;
    background: #ffffff;
}

.auth-card h1 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.auth-subtitle {
    margin: 0 0 22px 0;
    color: #777;
    font-size: 14px;
    font-weight: 600;
}

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

.auth-card input {
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    font-size: 14px;
    outline: none;
}

.auth-card input:focus {
    border-color: #111;
}

.auth-card button {
    margin-top: 4px;
    padding: 12px 14px;
    border: 1px solid #111;
    background: #111;
    color: white;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.auth-card button:hover {
    background: #333;
}

.auth-switch {
    margin: 18px 0 0 0;
    font-size: 13px;
    color: #555;
}

.auth-switch a {
    color: #111;
    font-weight: 800;
}

.form-message {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: #b42318;
}

.form-message {
    color: #c1121f;
    background: #fff1f1;
    border: 1px solid #f3b6b6;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 850;
}
.form-message-success {
    color: #087443 !important;
    background: #fff1f1;
    border: 1px solid #f3b6b6;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 850;
}


.profile-page {
    max-width: 850px;
    margin: 34px auto;
    padding: 0 18px;
}

.profile-card {
    border: 1px solid #e5e5e5;
    background: #ffffff;
    padding: 22px;
    margin-bottom: 18px;
}

.profile-card h1,
.profile-card h2 {
    margin: 0 0 8px 0;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.profile-muted {
    margin: 0 0 18px 0;
    color: #777;
    font-size: 14px;
    font-weight: 600;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
}

.profile-row span {
    color: #666;
    font-weight: 700;
}

.profile-row strong {
    font-weight: 900;
}

.profile-btn {
    display: inline-block;
    padding: 10px 14px;
    background: #111;
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
}

.danger-zone {
    border-color: #f3b4b4;
}

.confirm-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d8d8;
    margin-bottom: 12px;
    font-size: 14px;
}

.confirm-input::placeholder {
    color: #c1121f;
    font-weight: 900;
}

.danger-btn {
    border: none;
    background: #c1121f;
    color: white;
    padding: 12px 14px;
    font-weight: 900;
    cursor: pointer;
}

.danger-btn:hover {
    background: #8f0d17;
}

/* =========================
   Product Detail Page
========================= */

.product-detail-page {
    max-width: 1200px;
    margin: 34px auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 42px;
}

.product-detail-images {
    min-width: 0;
}

.main-detail-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    background: #f5f5f5;
}

.extra-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.extra-image-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f5f5f5;
}

.product-detail-info {
    padding-top: 6px;
}

.back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: #777;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

.back-link:hover {
    text-decoration: underline;
}

.product-detail-info h1 {
    margin: 0 0 10px 0;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.detail-price {
    margin: 0 0 24px 0;
    font-size: 24px;
    font-weight: 950;
}

.detail-meta {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 12px 0;
}

.detail-meta p {
    margin: 10px 0;
    font-size: 14px;
}

.detail-description {
    margin-top: 0px;
}

.detail-description h2 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 950;
}

.detail-description p {
    margin: 0;
    color: #444;
    line-height: 1.5;
    font-size: 14px;
}

.detail-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
}


.admin-detail-actions {
    margin-top: 22px;
}


.admin-detail-actions a {
    color: #111;
}


/* =========================
   Admin Pages
========================= */

.admin-page {
    max-width: 1150px;
    margin: 34px auto;
    padding: 0 24px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.admin-header h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.admin-header p {
    margin: 6px 0 0 0;
    color: #777;
    font-size: 14px;
    font-weight: 600;
}

.admin-primary-btn {
    background: #111;
    color: white;
    padding: 11px 15px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e5e5;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 13px;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #eeeeee;
    text-align: left;
}

.admin-table th {
    font-weight: 950;
    color: #555;
    background: #fafafa;
}

.admin-thumb {
    width: 54px;
    height: 68px;
    object-fit: cover;
    background: #f5f5f5;
}

.admin-actions {
    display: flex;
    gap: 10px;
}

.admin-actions a {
    font-weight: 800;
    color: #111;
}


/* =========================
   Admin Forms
========================= */

.admin-form-page {
    min-height: calc(100vh - 72px);
    display: flex;
    justify-content: center;
    padding: 36px 18px;
}

.admin-form-card {
    width: 100%;
    max-width: 560px;
    border: 1px solid #e5e5e5;
    padding: 26px;
    background: #fff;
}

.admin-form-card h1 {
    margin: 0 0 8px 0;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.admin-form-card p {
    margin: 0 0 20px 0;
    color: #777;
    font-size: 14px;
    font-weight: 600;
}

.admin-form-card form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-form-card label {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 900;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-form-card input,
.admin-form-card textarea,
.admin-form-card select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d8d8d8;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.admin-form-card textarea {
    min-height: 100px;
    resize: vertical;
}

.admin-form-card input:focus,
.admin-form-card textarea:focus,
.admin-form-card select:focus {
    border-color: #111;
}

.admin-form-card button {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #111;
    background: #111;
    color: white;
    font-weight: 950;
    cursor: pointer;
}

.admin-current-product {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #eeeeee;
    padding: 12px;
    margin-bottom: 20px;
}

.admin-current-product img {
    width: 64px;
    height: 80px;
    object-fit: cover;
    background: #f5f5f5;
}

.admin-current-product strong {
    display: block;
    font-size: 14px;
}

.admin-current-product span {
    display: block;
    margin-top: 4px;
    color: #777;
    font-weight: 800;
}


/* =========================
   Responsive Detail/Admin
========================= */

@media (max-width: 850px) {
    .product-detail-page {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 18px;
    }

    .extra-image-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .detail-actions {
        flex-direction: column;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.image-drop-zone {
    border: 2px dashed #999;
    border-radius: 14px;
    padding: 35px;
    text-align: center;
    cursor: pointer;
    background: #fafafa;
    transition: 0.2s ease;
    margin-bottom: 20px;
}

.image-drop-zone:hover {
    background: #f1f1f1;
    border-color: #333;
}

.image-drop-zone.drag-over {
    background: #e8f0ff;
    border-color: #1a73e8;
}

.drop-zone-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.image-preview-card {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 8px;
    background: white;
    text-align: center;
}

.image-preview-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
}

.image-preview-card small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #555;
}

.remove-image-btn {
    margin-top: 6px;
    border: none;
    background: #111;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

.remove-image-btn:hover {
    background: #444;
}

.hidden-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.topbar-nav a.logout-btn {
    color: white;
    background: #c1121f;
    padding: 8px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}

.topbar-nav a.logout-btn:hover {
    background: darkred;
}

.saved-image-card {
    position: relative;
}

.saved-image-actions {
    display: flex;
    gap: 4px;
    padding: 6px;
    background: #ffffff;
}

.saved-image-actions form {
    margin: 0;
}

.saved-image-actions button {
    border: 1px solid #d8d8d8;
    background: #ffffff;
    color: #111;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 7px;
    cursor: pointer;
}

.saved-image-actions button:hover {
    background: #f3f3f3;
}

.saved-image-actions .delete-image-btn {
    color: #c1121f;
    border-color: #f0b5b5;
}

.image-preview-grid saved-images-grid.delete-checkbox-label {
    position: absolute;
    right: 6px;
    bottom: 6px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.95);
    color: #c1121f;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 7px;
    border-radius: 999px;
    cursor: pointer;
    border: 1px solid #f0b5b5;
}

.image-preview-grid saved-images-grid.delete-checkbox-label input {
    margin-right: 4px;
}

.saved-image-card.marked-delete {
    opacity: 0.45;
    outline: 2px solid #c1121f;
}

.saved-image-card {
    cursor: grab;
}

/* =========================
   Product Gallery
========================= */

.product-gallery {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    align-items: start;
}

.thumbnail-column {
    max-height: 640px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-right: 4px;
}

.thumbnail-column::-webkit-scrollbar {
    width: 4px;
}

.thumbnail-column::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

.thumbnail-btn {
    width: 76px;
    height: 92px;
    border: 1px solid #e2e2e2;
    padding: 0;
    background: #f5f5f5;
    cursor: pointer;
    overflow: hidden;
}

.thumbnail-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-btn:hover {
    border-color: #111;
}

.active-thumbnail {
    border: 2px solid #111;
}

.main-image-wrap {
    position: relative;
    width: 100%;
}

.main-detail-image {
    width: 100%;
    max-height: 640px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    background: #f5f5f5;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
}

.gallery-arrow:hover {
    background: #ffffff;
}

.gallery-arrow-left {
    left: 12px;
}

.gallery-arrow-right {
    right: 12px;
}

.missing-image-box {
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 640px;
    background: #f3f3f3;
    border: 1px solid #e5e5e5;
    color: #777;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile */
@media (max-width: 850px) {
    .product-gallery {
        grid-template-columns: 1fr;
    }

    .thumbnail-column {
        order: 2;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        flex-direction: row;
        padding-right: 0;
        padding-top: 10px;
    }

    .thumbnail-btn {
        width: 70px;
        height: 84px;
        flex: 0 0 auto;
    }

    .main-image-wrap {
        order: 1;
    }
}

.variant-form-card {
    max-width: 760px;
    margin-bottom: 26px;
}

.variant-form-card h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.variant-size-section {
    margin-top: 18px;
    border: 1px solid #eeeeee;
    padding: 14px;
}

.variant-size-section h3 {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 950;
}

.variant-size-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.size-check-label {
    font-weight: 900;
    font-size: 13px;
}

.variant-table-wrap {
    margin-top: 20px;
}

.variant-photo-section {
    margin-top: 32px;
}

.variant-photo-section h2 {
    margin: 0 0 16px 0;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.variant-color-photo-group {
    border: 1px solid #e5e5e5;
    padding: 16px;
    margin-bottom: 18px;
    background: #fff;
}

.variant-color-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.variant-color-heading strong {
    font-size: 15px;
    font-weight: 950;
}

.variant-color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid #d8d8d8;
    display: inline-block;
}

/* =========================
   Variant Picker
========================= */

.variant-picker {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 18px 0;
    margin-bottom: 18px;
}

.variant-group {
    margin-bottom: 18px;
}

.variant-label {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.color-swatch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-swatch-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #d8d8d8;
    background: #ffffff;
    border-radius: 999px;
    padding: 4px;
    cursor: pointer;
}

.color-swatch-circle {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    border: 1px solid #dddddd;
}

.active-color-swatch {
    border: 2px solid #111111;
}

.selected-option-text {
    margin: 8px 0 0 0;
    color: #666;
    font-size: 13px;
    font-weight: 700;
}

.size-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.size-option-btn {
    min-width: 48px;
    padding: 10px 13px;
    border: 1px solid #d8d8d8;
    background: #ffffff;
    color: #111111;
    font-weight: 900;
    cursor: pointer;
}

.size-option-btn:hover {
    border-color: #111111;
}

.active-size {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.disabled-size {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

.delete-variant-form {
    margin-top: 16px;
}



.inline-delete-form {
    display: inline;
    margin: 0;
}

.table-delete-btn {
    border: none;
    background: transparent;
    color: #c1121f;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
}

.table-delete-btn:hover {
    text-decoration: underline;
}

.variant-group-section {
    margin-top: 28px;
}

.variant-group-section h2 {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.variant-size-pill {
    display: inline-block;
    background: #f3f3f3;
    border: 1px solid #e2e2e2;
    padding: 4px 7px;
    margin: 2px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
}

.muted-table-text {
    color: #888;
    font-size: 12px;
    font-weight: 700;
}

.inline-delete-form {
    display: inline;
    margin: 0;
}

///////

/* =========================
   Product Detail Option UI
========================= */

.simple-product-options,
.variant-picker {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 18px 0;
    margin-bottom: 18px;
}

.variant-group {
    margin-bottom: 18px;
}

.variant-label {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.color-swatch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-swatch-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #d8d8d8;
    background: #ffffff;
    border-radius: 999px;
    padding: 4px;
    cursor: pointer;
}

.color-swatch-circle {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    border: 1px solid #dddddd;
}

.active-color-swatch {
    border: 2px solid #111111;
}

.selected-option-text {
    margin: 8px 0 0 0;
    color: #666;
    font-size: 13px;
    font-weight: 700;
}

.size-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.size-option-btn {
    min-width: 48px;
    padding: 10px 13px;
    border: 1px solid #d8d8d8;
    background: #ffffff;
    color: #111111;
    font-weight: 900;
    cursor: pointer;
}

.size-option-btn:hover {
    border-color: #111111;
}

.active-size {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.disabled-size {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Product Detail Meta */

.clean-detail-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 16px 0;
}

.detail-chip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
}

.detail-chip-label {
    color: #777;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.detail-chip-value {
    color: #111;
    font-weight: 900;
    text-transform: capitalize;
}

.confirm-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.show-confirm-modal {
    display: flex;
}

.confirm-modal {
    width: min(420px, calc(100% - 32px));
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.confirm-modal h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 950;
}

.confirm-modal p {
    margin: 0;
    color: #555;
    font-size: 14px;
    font-weight: 650;
}

.confirm-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.danger-btn {
    border: none;
    background: #c1121f;
    color: white;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 900;
    cursor: pointer;
}

.add-size-card {
    margin-top: 22px;
}

.inline-notice {
    display: none;
    margin: 14px 0;
    padding: 12px 14px;
    border: 1px solid #f0b5b5;
    background: #fff4f4;
    color: #9f1239;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 850;
}

.show-inline-notice {
    display: block;
}

.profile-photo-card {
    border: 1px solid #eeeeee;
    background: #ffffff;
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 20px;
}

.profile-photo-preview {
    margin: 12px 0;
}

.profile-photo-preview img,
.profile-photo-fallback {
    width: 92px;
    height: 92px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid #e2e2e2;
}

.profile-photo-fallback {
    background: #111;
    color: white;
    font-size: 34px;
    font-weight: 950;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-profile-img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.topbar-profile-img:hover {
    opacity: 0.85;
    border-color: #777777;
}

.topbar-profile-fallback {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.topbar-profile-fallback:hover {
    background: #767676;
    border-color: #777777;
}

.profile-photo-card h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 950;
}

.profile-photo-preview {
    margin: 12px 0;
}

.profile-photo-preview img,
.profile-photo-fallback {
    width: 92px;
    height: 92px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid #e2e2e2;
}

.topbar-list-item-btn {
    height: 34px;
    min-width: auto;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1;
}

.list-item-btn,
.list-item-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 13px;
    border-radius: 7px;
    background: #111111;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid #111111;
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.list-item-btn:hover,
.list-item-btn:focus,
.list-item-btn:active {
    background: #333333;
    border-color: #333333;
    color: #ffffff !important;
    outline: none;
}

/* =========================
   Messages
========================= */

.messages-page {
    max-width: 920px;
    margin: 34px auto;
    padding: 0 24px;
}

.messages-header h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.messages-header p {
    margin: 6px 0 22px 0;
    color: #666;
    font-weight: 650;
}

.conversation-list {
    display: grid;
    gap: 12px;
}

.conversation-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    background: #ffffff;
    text-decoration: none;
    color: #111111;
}

.conversation-card:hover {
    background: #fafafa;
    border-color: #dcdcdc;
}

.conversation-avatar img,
.conversation-avatar span {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    background: #111111;
    color: #ffffff;
    font-weight: 950;
}

.conversation-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.conversation-topline strong {
    font-size: 15px;
    font-weight: 950;
}

.conversation-topline span {
    color: #888;
    font-size: 12px;
    font-weight: 750;
}

.conversation-product {
    margin: 3px 0;
    color: #555;
    font-size: 13px;
    font-weight: 800;
}

.conversation-snippet {
    margin: 0;
    color: #777;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty-messages {
    padding: 34px;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    text-align: center;
    background: #ffffff;
}

/* =========================
   Conversation Detail
========================= */

.conversation-page {
    max-width: 1100px;
    margin: 34px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

.conversation-side-card {
    position: sticky;
    top: 90px;
}

.conversation-product-card {
    display: grid;
    gap: 10px;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    text-decoration: none;
    color: #111111;
}

.conversation-product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f4f4f4;
}

.conversation-product-card div {
    padding: 12px;
    display: grid;
    gap: 4px;
}

.conversation-product-card strong {
    font-size: 14px;
    font-weight: 950;
}

.conversation-product-card span {
    font-size: 14px;
    font-weight: 900;
}


.chat-bubble {
    max-width: 72%;
    padding: 10px 12px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #eeeeee;
}

.my-chat-bubble {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.chat-bubble p {
    margin: 0;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
}

.chat-bubble span {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    opacity: 0.72;
    font-weight: 700;
}

.chat-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px;
    border-top: 1px solid #eeeeee;
}

.chat-form textarea {
    min-height: 48px;
    max-height: 120px;
    resize: vertical;
    border: 1px solid #dddddd;
    border-radius: 14px;
    padding: 11px 13px;
    font-size: 14px;
    font-family: inherit;
}

.chat-form button {
    align-self: end;
    border: none;
    background: #111111;
    color: #ffffff;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 950;
    cursor: pointer;
}

.chat-form button:hover {
    background: #333333;
}

.empty-chat {
    text-align: center;
    color: #777;
    font-weight: 750;
}

@media (max-width: 850px) {
    .conversation-page {
        grid-template-columns: 1fr;
    }

    .conversation-side-card {
        position: static;
    }
}

.messages-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.messages-icon {
    font-size: 20px;
    color: #111111;
    line-height: 1;
}

.message-count-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border-radius: 999px;
    background: #d90429;
    color: #ffffff;
    font-size: 10px;
    font-weight: 950;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-avatar img,
.chat-header-avatar span {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
    background: #111111;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}

.chat-date-divider {
    justify-self: center;
    background: #eeeeee;
    color: #666666;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 850;
    margin: 8px 0;
}

.chat-message-row {
    display: flex;
    justify-content: flex-start;
}


.chat-message-row {
    display: flex;
    width: 100%;
}

.my-message-row {
    justify-content: flex-end;
}

.chat-message-row:not(.my-message-row) {
    justify-content: flex-start;
}

.chat-message-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    max-width: 70%;
}

.my-message-stack {
    align-items: flex-end;
}

.chat-bubble {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 14px;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.25;
}

.chat-bubble p {
    display: inline;
    width: auto;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

.my-chat-bubble {
    background: #2563eb;
    color: #ffffff;
    border-bottom-right-radius: 5px;
}

.their-chat-bubble {
    background: #eeeeee;
    color: #111111;
    border-bottom-left-radius: 5px;
}

.chat-time {
    margin-top: 2px;
    padding: 0 3px;
    font-size: 9px;
    color: #888888;
    font-weight: 700;
}

.chat-form textarea {
    min-height: 42px;
    height: 42px;
    max-height: 110px;
    resize: vertical;
    border: 1px solid #dddddd;
    border-radius: 14px;
    padding: 10px 13px;
    font-size: 14px;
    font-family: inherit;
}

.chat-panel {
    border: 1px solid #eeeeee;
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
}

.chat-header {
    padding: 18px;
    border-bottom: 1px solid #eeeeee;
}

.chat-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-avatar img,
.chat-header-avatar span {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
    background: #111111;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}

.chat-header h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
}

.chat-header p {
    margin: 4px 0 0 0;
    color: #666666;
    font-size: 13px;
    font-weight: 750;
}

.chat-messages {
    min-height: 260px;
    max-height: 560px;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fafafa;
}

.chat-date-divider {
    align-self: center;
    color: #777777;
    font-size: 11px;
    font-weight: 850;
    margin: 10px 0 6px 0;
    background: transparent;
    padding: 0;
    border: none;
}

.empty-chat {
    text-align: center;
    color: #777777;
    font-weight: 750;
}

.unread-conversation-card {
    border-color: #111111;
    background: #f8fbff;
}

.unread-conversation-card:hover {
    background: #f2f7ff;
}

.conversation-name-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
}

.conversation-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d90429;
    display: inline-block;
}

.conversation-date-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
}

.conversation-unread-count {
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: #d90429;
    color:white !important;
    font-size: 10px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.unread-conversation-snippet {
    color: #111111;
    font-weight: 900;
}

.message-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    position: relative;
}

.message-icon-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, transform 0.18s ease;
}

.message-icon-wrap:hover {
    background: #f1f1f1;
    transform: translateY(-1px);
}

.message-topbar-icon {
    width: 27px;
    height: 27px;
    object-fit: contain;
    display: block;
}

.message-icon-badge {
    position: absolute;
    top: 1px;
    right: 0px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e60023;
    color: #ffffff;
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* =========================
   Likes / Favorites
========================= */

.product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.product-title-row h1 {
    margin: 0;
}

.like-form {
    margin: 0;
}


.like-btn:hover {
    background: #f7f7f7;
}

.like-btn.liked {
    color: #e60023;
    border-color: #f3b0bc;
    background: #fff4f6;
}

.like-count-text {
    margin: 6px 0 14px 0;
    color: #666666;
    font-size: 13px;
    font-weight: 750;
}

.card-like-form {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    z-index: 3;
}


.card-like-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: #111111;
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.card-like-btn.liked {
    color: #e60023;
}

.likes-page {
    max-width: 1120px;
    margin: 34px auto;
    padding: 0 24px;
}

.likes-header h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.likes-header p {
    margin: 6px 0 20px 0;
    color: #666666;
    font-weight: 650;
}

.likes-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.likes-filter-row a {
    text-decoration: none;
    color: #111111;
    border: 1px solid #dddddd;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 900;
}

.likes-filter-row a:hover {
    background: #f5f5f5;
}

.active-like-filter {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

.liked-product-image-wrap {
    position: relative;
    display: block;
}

.sold-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    background: rgba(0,0,0,0.78);
    color: #ffffff;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 950;
}

.sold-liked-product img {
    filter: grayscale(0.4);
    opacity: 0.7;
}

.liked-card-footer {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.liked-card-footer span {
    color: #777777;
    font-size: 12px;
    font-weight: 800;
}

.remove-like-btn {
    border: none;
    background: transparent;
    color: #e60023;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
}

.remove-like-btn:hover {
    text-decoration: underline;
}

.empty-likes {
    border: 1px solid #eeeeee;
    background: #ffffff;
    border-radius: 18px;
    padding: 40px;
    text-align: center;
}

.empty-likes h2 {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 950;
}

.empty-likes p {
    color: #666666;
    font-weight: 650;
}

.empty-likes a {
    display: inline-flex;
    margin-top: 12px;
    background: #111111;
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    padding: 11px 18px;
    font-weight: 900;
}

.likes-nav-link {
    font-size: 24px !important;
    line-height: 1;
    text-decoration: none !important;
    color: #111111;
}

.likes-nav-link:hover {
    color: #e60023;
}

.product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.product-title-row h1 {
    margin: 0;
}

.like-form {
    margin: 0;
}


.like-btn:hover {
    background: #f7f7f7;
}

.like-btn.liked {
    color: #e60023;
    border-color: #f3b0bc;
    background: #fff4f6;
}

.like-count-text {
    margin: 6px 0 14px 0;
    color: #666666;
    font-size: 13px;
    font-weight: 750;
}

.product-like-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.product-like-count {
    color: #666666;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
}

.likes-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.likes-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, transform 0.18s ease;
}

.likes-icon-wrap:hover {
    background: #f1f1f1;
    transform: translateY(-1px);
}

.likes-topbar-icon {
    font-size: 25px;
    line-height: 1;
    color: #111111;
    font-weight: 900;
}


.card-like-form {
    margin: 0;
}

.card-like-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #111111;
    font-size: 23px;
    font-weight: 950;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
    z-index: 4;
}

.like-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(12px);
    background: #111111;
    color: #ffffff;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 850;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.show-like-toast {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.card-like-btn:hover {
    background: #ffffff;
    transform: scale(1.05);
}

.card-login-like-btn {
    text-decoration: none !important;
}

.show-like-toast {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.admin-like-view {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #dddddd;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.75;
}

.product-like-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.product-like-count {
    color: #666666;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
}

/* =========================
   Heart / Like Icons
========================= */

/* Shared heart image settings */
.heart-icon-img,
.likes-topbar-img {
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.admin-like-view {
    cursor: default;
    opacity: 0.8;
}

.like-btn:hover {
    background: #f7f7f7;
}

.like-btn .heart-icon-img,
.admin-like-view .heart-icon-img {
    width: 30px;
    height: 30px;
}

.product-like-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.product-like-count {
    color: #666666;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
}

/* =========================
   Topbar Heart
========================= */

.likes-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.likes-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition: background 0.18s ease, transform 0.18s ease;
}

.likes-icon-wrap:hover {
    background: #f1f1f1;
    transform: translateY(-1px);
}

.likes-topbar-img {
    width: 27px;
    height: 27px;
}

/* =========================
   Like Toast
========================= */


.show-like-toast {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.card-like-btn .heart-icon-img,
.card-login-like-btn .heart-icon-img {
    width: 27px !important;
    height: 27px !important;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

/* =========================
   FINAL Product Card Like Button
========================= */

.product-card-image-wrap {
    position: relative !important;
    overflow: hidden;
    border-radius: 10px;
}

.product-card-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Form sits bottom-right only */
.card-like-form {
    position: absolute !important;
    right: 9px !important;
    bottom: 9px !important;
    top: auto !important;
    left: auto !important;

    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;

    z-index: 20;
}

/* Button itself should NOT position top-right anymore */
.card-like-btn,
.card-login-like-btn {
    position: static !important;

    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    padding: 0 !important;
    border-radius: 999px;
    border: none;

    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    text-decoration: none !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);

    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;

    z-index: 21;
}

/* Logged-out link has no form, so it needs its own bottom-right position */
.card-login-like-btn {
    position: absolute !important;
    right: 9px !important;
    bottom: 9px !important;
    top: auto !important;
    left: auto !important;
}

/* Show only while hovering/touching the product card/image */
.product-card:hover .card-like-btn,
.product-card:hover .card-login-like-btn,
.product-card-image-wrap:hover .card-like-btn,
.product-card-image-wrap:hover .card-login-like-btn {
    opacity: 1;
    transform: translateY(0);
}

/* IMPORTANT: do not make liked buttons permanently visible */
.card-like-btn.liked {
    opacity: 0;
    transform: translateY(6px);
}

.product-card:hover .card-like-btn.liked,
.product-card-image-wrap:hover .card-like-btn.liked {
    opacity: 1;
    transform: translateY(0);
}

.card-like-btn:hover,
.card-login-like-btn:hover {
    background: #ffffff;
}

.card-heart-icon-img {
    width: 21px !important;
    height: 21px !important;
    max-width: 21px !important;
    max-height: 21px !important;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.cart-page {
    max-width: 1120px;
    margin: 34px auto;
    padding: 0 24px;
}

.cart-header h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.cart-header p {
    margin: 6px 0 22px 0;
    color: #666666;
    font-weight: 650;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.cart-items-list {
    display: grid;
    gap: 14px;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding: 14px;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    background: #ffffff;
}

.cart-item-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 14px;
    background: #f4f4f4;
}

.cart-item-info {
    display: grid;
    gap: 12px;
}

.cart-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.cart-item-title {
    text-decoration: none;
    color: #111111;
    font-size: 15px;
    font-weight: 950;
}

.cart-item-title:hover {
    text-decoration: underline;
}

.cart-item-meta {
    margin: 5px 0 0 0;
    color: #666666;
    font-size: 13px;
    font-weight: 750;
}

.cart-warning {
    margin: 7px 0 0 0;
    color: #b42318;
    font-size: 12px;
    font-weight: 850;
}

.remove-cart-btn {
    border: none;
    background: transparent;
    color: #c1121f;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
}

.remove-cart-btn:hover {
    text-decoration: underline;
}

.cart-item-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
}

.cart-qty-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-form label {
    font-size: 12px;
    color: #666666;
    font-weight: 900;
}

.cart-qty-form input {
    width: 58px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    padding: 7px;
    font-weight: 800;
}

.cart-qty-form button {
    border: none;
    background: #111111;
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.cart-item-price {
    display: grid;
    text-align: right;
    gap: 4px;
}

.cart-item-price span {
    color: #777777;
    font-size: 12px;
    font-weight: 750;
}

.cart-item-price strong {
    color: #111111;
    font-size: 16px;
    font-weight: 950;
}

.cart-summary {
    position: sticky;
    top: 90px;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    background: #ffffff;
    padding: 18px;
}

.cart-summary h2 {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 950;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 15px;
}

.cart-summary-note {
    color: #666666;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
    margin: 14px 0;
}

.checkout-btn {
    width: 100%;
    border: none;
    background: #111111;
    color: #ffffff;
    border-radius: 999px;
    padding: 13px 18px;
    font-weight: 950;
    cursor: pointer;
}

.checkout-btn:hover {
    background: #333333;
}

.empty-cart {
    border: 1px solid #eeeeee;
    background: #ffffff;
    border-radius: 18px;
    padding: 42px;
    text-align: center;
}

.empty-cart h2 {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 950;
}

.empty-cart p {
    color: #666666;
    font-weight: 650;
}

.empty-cart a {
    display: inline-flex;
    margin-top: 12px;
    background: #111111;
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    padding: 11px 18px;
    font-weight: 900;
}

@media (max-width: 850px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

.cart-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.cart-icon-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition: background 0.18s ease, transform 0.18s ease;
}

.cart-icon-wrap:hover {
    background: #f1f1f1;
    transform: translateY(-1px);
}

.cart-topbar-img {
    width: 31px;
    height: 31px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.cart-count-badge {
    position: absolute;
    top: 1px;
    right: 0px;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    border-radius: 999px;
    background: #e60023;
    color: #ffffff !important;

    font-size: 10px;
    font-weight: 950;
    line-height: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #ffffff;
}

.cart-fixed-qty {
    color: #666666;
    font-size: 13px;
    font-weight: 900;
}

.cart-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.cart-icon-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition: background 0.18s ease, transform 0.18s ease;
}

.cart-icon-wrap:hover {
    background: #f1f1f1;
    transform: translateY(-1px);
}

.cart-topbar-img {
    width: 27px !important;
    height: 27px !important;
    max-width: 27px !important;
    max-height: 27px !important;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.cart-count-badge {
    position: absolute;
    top: 1px;
    right: 0;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    border-radius: 999px;
    background: #e60023;
    color: #ffffff !important;

    font-size: 10px;
    font-weight: 950;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #ffffff;
}

.shop-in-messages {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 34px;
    padding: 0 14px;

    border: 1px solid #dddddd;
    border-radius: 999px;

    background: #ffffff;
    color: #111111 !important;

    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    text-transform: none !important;

    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.shop-in-messages:hover {
    background: #f1f1f1;
    border-color: #cfcfcf;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.shop-in-messages:active {
    transform: translateY(0);
}

.search-results-header {
    max-width: 1120px;
    margin: 22px auto 10px auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.search-results-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 950;
}

.search-results-header a {
    color: #111111;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid #dddddd;
    border-radius: 999px;
    padding: 7px 12px;
}

.search-results-header a:hover {
    background: #f3f3f3;
}

.searchbar {
    position: relative;
    margin-left: 40px;

}

.searchbar-inner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.searchbar-inner input {
    width: 100%;
}

.search-suggestions-box {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;

    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 14px;

    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);

    overflow: hidden;
    z-index: 9999;
}

.show-search-suggestions {
    display: grid;
}

.search-suggestion-item {
    padding: 12px 14px;
    color: #111111;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 750;
    border-bottom: 1px solid #f2f2f2;
}

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

.search-suggestion-item:hover {
    background: #f7f7f7;
}

.searchbar-inner button {
    margin-left: 12px;
}

.profile-support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 40px;
    padding: 0 16px;

    border-radius: 8px;
    border: 1px solid #111111;

    background: #111111;
    color: #ffffff !important;

    font-size: 14px;
    font-weight: 900;
    text-decoration: none !important;

    transition: background 0.18s ease, transform 0.18s ease;
}

.profile-support-link:hover {
    background: #333333;
    transform: translateY(-1px);
    text-decoration: none !important;
}

body.shop-page {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.shop-page .topbar {
    flex-shrink: 0;
    height: 72px;
}

body.shop-page .page-shell {
    flex: 1;
    display: flex;
    overflow: hidden;
}

body.shop-page .sidebar {
    flex-shrink: 0;
    width: 210px;
    overflow-y: auto;
    height: 100%;
}

@media (max-width: 768px) {
    body.shop-page .sidebar {
        width: 82vw;
        max-width: 320px;
        height: 100dvh;
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-110%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 7000;
        background: #ffffff;
        padding: 22px 18px;
        flex-direction: column;
        gap: 0;
    }

    body.shop-page .sidebar.mobile-open {
        transform: translateX(0);
    }
}

body.shop-page .shop-body {
    flex: 1;
    overflow-y: auto;
    height: 100%;
    min-width: 0;
}

body.regular-page {
    margin: 0;
}

body.regular-page .topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

body.regular-page .page-content {
    flex: 1;
    overflow-y: auto;
}

/* =========================
   Admin Hub
========================= */

.admin-hub-page {
    max-width: 1180px;
    margin: 34px auto;
    padding: 0 24px 48px 24px;
}

.admin-hub-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.admin-eyebrow {
    margin: 0 0 6px 0;
    color: #777777;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-hub-header h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.admin-hub-header p {
    margin: 8px 0 0 0;
    color: #666666;
    font-size: 14px;
    font-weight: 650;
    max-width: 620px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.admin-stat-card {
    border: 1px solid #eeeeee;
    border-radius: 18px;
    background: #ffffff;
    padding: 18px;
}

.admin-stat-card span {
    display: block;
    color: #777777;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-stat-card strong {
    display: block;
    margin-top: 8px;
    color: #111111;
    font-size: 30px;
    font-weight: 950;
}

.admin-stat-card p {
    margin: 6px 0 0 0;
    color: #777777;
    font-size: 12px;
    font-weight: 650;
}

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

.admin-control-card {
    min-height: 170px;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    background: #ffffff;
    padding: 20px;
    color: #111111;
    text-decoration: none !important;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-control-card:hover {
    transform: translateY(-3px);
    border-color: #d7d7d7;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.admin-control-card h2 {
    margin: 0 0 8px 0;
    font-size: 19px;
    font-weight: 950;
}

.admin-control-card p {
    margin: 0;
    color: #666666;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.admin-control-card span {
    margin-top: 18px;
    color: #111111;
    font-size: 13px;
    font-weight: 950;
}

.disabled-admin-card {
    opacity: 0.55;
    cursor: not-allowed;
}

.disabled-admin-card:hover {
    transform: none;
    box-shadow: none;
}

@media (max-width: 900px) {
    .admin-stat-grid,
    .admin-control-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-hub-header {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .admin-stat-grid,
    .admin-control-grid {
        grid-template-columns: 1fr;
    }
}

.admin-topbar-link {
    font-size: 13px;
    font-weight: 900;
    color: #111111;
    text-decoration: none !important;
}

.admin-topbar-link:hover {
    color: #555555;
}

/* =========================
   FINAL Topbar Notifications Override
========================= */

.topbar-notification-dropdown {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    z-index: 99999 !important;
}

.topbar-notification-btn {
    position: relative !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;

    border-radius: 999px !important;
    border: none !important;
    padding: 0 !important;

    background: transparent !important;
    color: #111111 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    cursor: pointer !important;
    text-decoration: none !important;

    transition: background 0.18s ease, transform 0.18s ease !important;
    z-index: 99999 !important;
}

.topbar-notification-btn:hover {
    background: #f1f1f1 !important;
    transform: translateY(-1px) !important;
}

.notification-bell {
    font-size: 20px !important;
    line-height: 1 !important;
    color: #111111 !important;
    pointer-events: none !important;
}

.topbar-notification-badge {
    position: absolute !important;
    top: 1px !important;
    right: 0 !important;

    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;

    border-radius: 999px !important;
    background: #e60023 !important;
    color: #ffffff !important;

    font-size: 10px !important;
    font-weight: 950 !important;
    line-height: 1 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 2px solid #ffffff !important;
    pointer-events: none !important;
    z-index: 100000 !important;
}

.topbar-notification-menu {
    display: none !important;

    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;

    width: 310px !important;
    max-width: 90vw !important;

    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 16px !important;

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14) !important;

    overflow: hidden !important;
    z-index: 100000 !important;
}

.topbar-notification-menu.show-notification-menu {
    display: block !important;
}

.notification-menu-header {
    padding: 14px 15px !important;
    border-bottom: 1px solid #f0f0f0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;

    background: #ffffff !important;
}

.notification-menu-header strong {
    color: #111111 !important;
    font-size: 14px !important;
    font-weight: 950 !important;
}

.notification-menu-header span {
    color: #777777 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.notification-menu-item {
    padding: 13px 15px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;

    color: #111111 !important;
    background: #ffffff !important;
    text-decoration: none !important;

    border-bottom: 1px solid #f5f5f5 !important;

    transition: background 0.18s ease !important;
}

.notification-menu-item:last-child {
    border-bottom: none !important;
}

.notification-menu-item:hover {
    background: #f7f7f7 !important;
    text-decoration: none !important;
}

.notification-menu-item div {
    display: grid !important;
    gap: 3px !important;
}

.notification-menu-item strong {
    color: #111111 !important;
    font-size: 13px !important;
    font-weight: 950 !important;
}

.notification-menu-item span {
    color: #777777 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.notification-item-badge {
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;

    border-radius: 999px !important;
    background: #e60023 !important;
    color: #ffffff !important;

    font-size: 10px !important;
    font-weight: 950 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* =========================
   Notifications Page
========================= */

.notifications-page {
    max-width: 880px;
    margin: 34px auto;
    padding: 0 24px 48px 24px;
}

.notifications-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.notifications-header h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.notifications-header p {
    margin: 7px 0 0 0;
    color: #666666;
    font-size: 14px;
    font-weight: 650;
}

.mark-all-read-btn {
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #111111;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.mark-all-read-btn:hover {
    background: #f4f4f4;
}

.notifications-list {
    display: grid;
    gap: 10px;
}

.notification-card {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;

    padding: 16px;
    border: 1px solid #eeeeee;
    border-radius: 16px;

    background: #ffffff;
    color: #111111;
    text-decoration: none !important;

    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.notification-card:hover {
    background: #f9f9f9;
    border-color: #dddddd;
    transform: translateY(-1px);
}

.unread-notification {
    border-color: #ffd6dd;
    background: #fff7f8;
}

.notification-dot-wrap {
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.notification-unread-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #e60023;
}

.notification-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.notification-title-row h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 950;
}

.notification-title-row span {
    color: #888888;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.notification-content p {
    margin: 6px 0 10px 0;
    color: #555555;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.notification-type-pill {
    display: inline-flex;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 900;
}

.empty-notifications {
    border: 1px solid #eeeeee;
    border-radius: 18px;
    background: #ffffff;
    padding: 42px;
    text-align: center;
}

.empty-notifications h2 {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 950;
}

.empty-notifications p {
    color: #666666;
    font-weight: 650;
}

.empty-notifications a {
    display: inline-flex;
    margin-top: 12px;
    background: #111111;
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    padding: 10px 16px;
    font-weight: 900;
}

/* =========================
   Sidebar Dashboard Dropdown
========================= */

.sidebar-dashboard-section {
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
}

.sidebar-notification-dropdown {
    width: 100%;
}

.sidebar-notification-summary {
    list-style: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    padding: 10px 10px;
    border-radius: 8px;

    color: #111111;
    background: #ffffff;

    font-size: 14px;
    font-weight: 900;

    transition: background 0.18s ease, transform 0.18s ease;
}

.sidebar-notification-summary::-webkit-details-marker {
    display: none;
}

.sidebar-notification-summary:hover {
    background: #f3f3f3;
    transform: translateX(3px);
}

.sidebar-notification-menu {
    display: grid;
    gap: 4px;
    padding: 8px 0 0 8px;
}

.sidebar-sub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    padding: 8px 10px;
    border-radius: 8px;

    color: #111111;
    text-decoration: none !important;

    font-size: 13px;
    font-weight: 800;

    transition: background 0.18s ease, transform 0.18s ease;
}

.sidebar-sub-link:hover {
    background: #f5f5f5;
    transform: translateX(3px);
    text-decoration: none !important;
}

.sidebar-red-badge,
.sidebar-small-red-badge {
    border-radius: 999px;
    background: #e60023;
    color: #ffffff !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    line-height: 1;
    font-weight: 950;
}

.sidebar-red-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 11px;
}

.sidebar-small-red-badge {
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    font-size: 10px;
}

/* =========================
   Notification Dashboard Cards
========================= */

.notification-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.notification-dashboard-card {
    position: relative;

    min-height: 130px;
    padding: 18px;

    border: 1px solid #eeeeee;
    border-radius: 18px;

    background: #ffffff;
    color: #111111;
    text-decoration: none !important;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;

    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.notification-dashboard-card:hover {
    background: #f9f9f9;
    border-color: #dddddd;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.passive-notification-card {
    cursor: default;
}

.notification-card-label {
    display: block;
    color: #777777;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.notification-dashboard-card strong {
    display: block;
    margin-top: 8px;
    color: #111111;
    font-size: 30px;
    font-weight: 950;
}

.notification-dashboard-card p {
    margin: 6px 0 0 0;
    color: #666666;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}

.notification-card-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;

    border-radius: 999px;
    background: #e60023;
    color: #ffffff !important;

    font-size: 11px;
    font-weight: 950;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notification-feed-section {
    margin-top: 8px;
}

.notification-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-bottom: 12px;
}

.notification-feed-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 950;
}

.notification-feed-header span {
    color: #777777;
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .notification-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .notification-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   FINAL Sidebar Dashboard / Activity Override
========================= */

.sidebar-dashboard-section {
    padding-top: 18px !important;
    border-top: 1px solid #eeeeee !important;
}

.sidebar-notification-dropdown {
    width: 100% !important;
}

.sidebar-notification-summary {
    list-style: none !important;
    cursor: pointer !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;

    padding: 10px 10px !important;
    border-radius: 8px !important;
    border: none !important;

    color: #111111 !important;
    background: #ffffff !important;

    font-size: 14px !important;
    font-weight: 900 !important;
    text-decoration: none !important;

    transition: background 0.18s ease, transform 0.18s ease !important;
}

.sidebar-notification-summary::-webkit-details-marker {
    display: none !important;
}

.sidebar-notification-summary:hover {
    background: #f3f3f3 !important;
    transform: translateX(3px) !important;
    text-decoration: none !important;
}

.sidebar-red-dot {
    width: 9px !important;
    height: 9px !important;
    min-width: 9px !important;
    min-height: 9px !important;

    border-radius: 999px !important;
    background: #e60023 !important;

    display: inline-flex !important;
    flex-shrink: 0 !important;
}

.sidebar-notification-menu {
    display: grid !important;
    gap: 4px !important;
    padding: 8px 0 0 8px !important;
}

.sidebar-sub-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;

    padding: 8px 10px !important;
    border-radius: 8px !important;
    border: none !important;

    color: #111111 !important;
    background: transparent !important;
    text-decoration: none !important;

    font-size: 13px !important;
    font-weight: 800 !important;

    transition: background 0.18s ease, transform 0.18s ease !important;
}

.sidebar-sub-link:hover {
    background: #f5f5f5 !important;
    transform: translateX(3px) !important;
    text-decoration: none !important;
}

.sidebar-small-red-badge {
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 5px !important;

    border-radius: 999px !important;
    background: #e60023 !important;
    color: #ffffff !important;

    font-size: 10px !important;
    font-weight: 950 !important;
    line-height: 1 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sidebar-neutral-badge {
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 5px !important;

    border-radius: 999px !important;
    background: #111111 !important;
    color: #ffffff !important;

    font-size: 10px !important;
    font-weight: 950 !important;
    line-height: 1 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sidebar-muted-count {
    color: #aaaaaa !important;
    font-size: 11px !important;
    font-weight: 850 !important;
}

/* =========================
   Admin Hub Expanded Sections
========================= */

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 16px;

    border: 1px solid #dddddd;
    border-radius: 8px;

    background: #ffffff;
    color: #111111;

    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;

    transition: background 0.18s ease, transform 0.18s ease;
}

.admin-secondary-btn:hover {
    background: #f4f4f4;
    transform: translateY(-1px);
}

.admin-section-block {
    margin-top: 34px;
}

.admin-section-title {
    margin-bottom: 14px;
}

.admin-section-title h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.admin-section-title p {
    margin: 6px 0 0 0;
    color: #666666;
    font-size: 14px;
    font-weight: 650;
}

.admin-control-card h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 950;
}

.admin-control-card h2 {
    margin: 0 0 8px 0;
}

/* =========================
   Admin Products Controls
========================= */

.admin-product-topbar-nav {
    gap: 10px;
}

.admin-nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;
    padding: 0 12px;

    border-radius: 999px;
    border: 1px solid #eeeeee;

    background: #ffffff;
    color: #111111 !important;

    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;

    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.admin-nav-pill:hover {
    background: #f4f4f4;
    border-color: #dddddd;
    transform: translateY(-1px);
}

.danger-nav-pill {
    color: #c1121f !important;
}

.admin-product-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin: 18px 0;

    padding: 5px;
    border: 1px solid #eeeeee;
    border-radius: 999px;

    background: #ffffff;
}

.admin-product-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 34px;
    padding: 0 13px;

    border-radius: 999px;

    color: #111111;
    text-decoration: none !important;

    font-size: 13px;
    font-weight: 900;

    transition: background 0.18s ease, color 0.18s ease;
}

.admin-product-tab span {
    color: #777777;
    font-size: 12px;
    font-weight: 850;
}

.admin-product-tab:hover {
    background: #f3f3f3;
}

.active-admin-tab {
    background: #111111;
    color: #ffffff !important;
}

.active-admin-tab span {
    color: #ffffff;
}

.admin-bulk-bar {
    margin-bottom: 14px;
    padding: 12px 14px;

    border: 1px solid #eeeeee;
    border-radius: 14px;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.admin-bulk-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-select-all-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #111111;
    font-size: 13px;
    font-weight: 900;
}

.admin-select-all-label input,
.product-row-checkbox,
#selectAllProductsHeader {
    width: 15px;
    height: 15px;
    accent-color: #111111;
    cursor: pointer;
}

.selected-products-count {
    color: #777777;
    font-size: 12px;
    font-weight: 850;
}

.admin-bulk-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bulk-action-btn {
    border: 1px solid #dddddd;
    border-radius: 999px;

    background: #ffffff;
    color: #111111;

    padding: 8px 12px;

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;

    transition: background 0.18s ease, transform 0.18s ease;
}

.bulk-action-btn:hover {
    background: #f4f4f4;
    transform: translateY(-1px);
}

.danger-bulk-btn {
    border-color: #f3c7cd;
    color: #c1121f;
}

.danger-bulk-btn:hover {
    background: #fff1f3;
}

.inactive-product-row {
    background: #fafafa;
    opacity: 0.72;
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    padding: 5px 9px;

    font-size: 11px;
    font-weight: 950;
}

.active-status-pill {
    background: #eaf7ee;
    color: #1f7a3a;
}

.inactive-status-pill {
    background: #eeeeee;
    color: #666666;
}

.inline-admin-form {
    display: inline;
    margin: 0;
}

.admin-mini-btn {
    border: none;
    background: transparent;
    color: #111111;

    padding: 0;

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;
}

.admin-mini-btn:hover {
    text-decoration: underline;
}

.danger-mini-btn {
    color: #c1121f;
}

.admin-thumb-placeholder {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    background: #f2f2f2;
    color: #777777;
    font-size: 11px;
    font-weight: 800;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-card-no-image {
    width: 100%;
    height: 240px;

    border-radius: 10px;
    background: #f2f2f2;
    color: #777777;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

/* =========================
   Admin Modal / Toast / Drafts / Reorder
========================= */

.admin-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.35);

    align-items: center;
    justify-content: center;

    z-index: 99999;
}

.admin-modal-backdrop.show-admin-modal {
    display: flex;
}

.admin-confirm-modal {
    width: 360px;
    max-width: calc(100vw - 32px);

    background: #ffffff;
    border-radius: 18px;
    padding: 22px;

    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.admin-confirm-modal h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 950;
}

.admin-confirm-modal p {
    margin: 8px 0 18px 0;
    color: #666666;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.admin-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.admin-modal-cancel,
.admin-modal-delete {
    border: none;
    border-radius: 999px;
    padding: 10px 15px;

    font-size: 13px;
    font-weight: 900;

    cursor: pointer;
}

.admin-modal-cancel {
    background: #f1f1f1;
    color: #111111;
}

.admin-modal-delete {
    background: #e60023;
    color: #ffffff;
}

.admin-toast {
    position: fixed;
    left: 50%;
    bottom: 26px;

    transform: translateX(-50%) translateY(12px);

    background: #111111;
    color: #ffffff;

    padding: 12px 16px;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 900;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.18s ease, transform 0.18s ease;

    z-index: 100000;
}

.admin-toast.show-admin-toast {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.draft-status-pill {
    background: #fff4d6;
    color: #8a5a00;
}

.draft-product-row {
    background: #fffaf0;
}

.admin-order-input {
    width: 62px;
    height: 30px;

    border: 1px solid #dddddd;
    border-radius: 8px;

    padding: 0 8px;

    font-size: 13px;
    font-weight: 800;
}

.admin-order-controls {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.admin-order-btn {
    width: 28px;
    height: 28px;

    border: 1px solid #dddddd;
    border-radius: 8px;

    background: #ffffff;
    color: #111111;

    font-size: 14px;
    font-weight: 950;

    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition: background 0.18s ease, transform 0.18s ease;
}

.admin-order-btn:hover {
    background: #f4f4f4;
    transform: translateY(-1px);
}

.admin-order-input {
    width: 52px;
    height: 28px;

    border: 1px solid #dddddd;
    border-radius: 8px;

    padding: 0 6px;

    font-size: 12px;
    font-weight: 850;
    text-align: center;
}

/* =========================
   Selectable Cart Items
========================= */

.cart-select-bar {
    margin-bottom: 14px;
    padding: 12px 14px;

    border: 1px solid #eeeeee;
    border-radius: 14px;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-select-all-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #111111;
    font-size: 13px;
    font-weight: 900;
}

.cart-select-all-label input,
.cart-item-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #111111;
    cursor: pointer;
}

.cart-selected-count {
    color: #777777;
    font-size: 12px;
    font-weight: 850;
}

.remove-selected-cart-btn {
    border: 1px solid #f3c7cd;
    border-radius: 999px;

    background: #ffffff;
    color: #c1121f;

    padding: 8px 12px;

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;

    transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.remove-selected-cart-btn:hover {
    background: #fff1f3;
    transform: translateY(-1px);
}

.remove-selected-cart-btn:disabled,
.checkout-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.selectable-cart-card {
    display: grid;
    grid-template-columns: 28px 120px 1fr;
    gap: 16px;

    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.selected-cart-card {
    border-color: #111111;
    background: #fafafa;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.cart-item-select-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
}

.cart-no-image {
    width: 100%;
    height: 100%;

    min-height: 110px;

    border-radius: 12px;
    background: #f2f2f2;
    color: #777777;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 900;
}

/* =========================
   Cart Toast
========================= */

.cart-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;

    transform: translateX(-50%) translateY(12px);

    background: #111111;
    color: #ffffff;

    padding: 12px 16px;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 900;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.18s ease, transform 0.18s ease;

    z-index: 100000;
}

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

.added-to-cart-btn {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

.added-to-cart-btn:hover {
    background: #333333 !important;
}

/* =========================
   Likes Page Actions
========================= */

.likes-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.remove-all-likes-btn {
    border: 1px solid #f3c7cd;
    border-radius: 999px;

    background: #ffffff;
    color: #c1121f;

    padding: 9px 14px;

    font-size: 13px;
    font-weight: 900;

    cursor: pointer;

    transition: background 0.18s ease, transform 0.18s ease;
}

.remove-all-likes-btn:hover {
    background: #fff1f3;
    transform: translateY(-1px);
}

/* =========================
   Likes Page Controls
========================= */

.likes-toolbar {
    display: grid;
    gap: 16px;
}

.likes-select-bar {
    margin-bottom: 18px;
    padding: 10px 12px;

    border: 1px solid #eeeeee;
    border-radius: 14px;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.likes-select-all-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #111111;
    font-size: 13px;
    font-weight: 900;
}

.likes-select-all-label input,
.liked-item-checkbox {
    width: 15px;
    height: 15px;
    accent-color: #111111;
    cursor: pointer;
}

.likes-selected-count {
    color: #777777;
    font-size: 12px;
    font-weight: 850;
}

.likes-bulk-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.remove-selected-likes-btn,
.remove-all-likes-btn {
    border: 1px solid #f3c7cd;
    border-radius: 999px;

    background: #ffffff;
    color: #c1121f;

    padding: 8px 12px;

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;

    transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.remove-selected-likes-btn:hover,
.remove-all-likes-btn:hover {
    background: #fff1f3;
    transform: translateY(-1px);
}

.remove-selected-likes-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.selectable-liked-card {
    position: relative;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.selected-liked-card {
    border-color: #111111;
    background: #fafafa;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

/* lighter selector bubble */
.liked-item-select-wrap {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 8;
}

.liked-no-image {
    width: 100%;
    min-height: 220px;

    border-radius: 12px;
    background: #f2f2f2;
    color: #777777;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 900;
}

/* =========================
   Checkout Result Pages
========================= */

.checkout-result-page {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: #ffffff;
}

.checkout-result-card {
    max-width: 460px;
    width: 100%;

    border: 1px solid #eeeeee;
    border-radius: 22px;

    padding: 34px;
    text-align: center;

    background: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.checkout-result-card h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 1000;
    letter-spacing: -0.04em;
}

.checkout-result-card p {
    margin: 12px 0 22px 0;
    color: #666666;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
}

.checkout-result-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 18px;

    border-radius: 999px;

    background: #111111;
    color: #ffffff;

    font-size: 14px;
    font-weight: 950;
    text-decoration: none !important;
}

.checkout-result-card a:hover {
    background: #333333;
}

/* =========================
   Admin Orders
========================= */

.admin-order-filter-row {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-order-filter-row a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 12px;
    border: 1px solid #eeeeee;
    border-radius: 999px;

    color: #111111;
    background: #ffffff;

    text-decoration: none !important;
    font-size: 12px;
    font-weight: 900;

    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.admin-order-filter-row a:hover {
    background: #f8f8f8;
    border-color: #dddddd;
    transform: translateY(-1px);
}

.admin-order-filter-row a span {
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;

    background: #f1f1f1;
    color: #555555;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: 950;
}

.admin-order-filter-row .active-order-filter {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.admin-order-filter-row .active-order-filter span {
    background: #ffffff;
    color: #111111;
}

.admin-order-buyer {
    display: grid;
    gap: 2px;
}

.admin-order-buyer span,
.muted-admin-text {
    color: #888888;
    font-size: 12px;
    font-weight: 700;
}

.order-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 9px;
    border-radius: 999px;

    font-size: 11px;
    font-weight: 950;
    text-transform: capitalize;
}

.payment-pill-paid,
.order-pill-paid,
.order-pill-processing,
.order-pill-shipped,
.order-pill-delivered {
    background: #ecfdf3;
    color: #087443;
}

.payment-pill-unpaid,
.order-pill-pending {
    background: #fff7e6;
    color: #9a5b00;
}

.payment-pill-failed,
.order-pill-failed,
.order-pill-cancelled,
.order-pill-refunded {
    background: #fff1f3;
    color: #c1121f;
}

/* Detail page */

.admin-order-detail-page {
    padding: 30px;
    background: #ffffff;
}

.admin-order-detail-header {
    margin-bottom: 24px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.admin-order-detail-header h1 {
    margin: 4px 0;
    font-size: 34px;
    font-weight: 1000;
    letter-spacing: -0.04em;
}

.admin-order-detail-header p {
    margin: 0;
    color: #777777;
    font-size: 14px;
    font-weight: 700;
}

.admin-order-status-stack {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-order-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.admin-order-panel {
    border: 1px solid #eeeeee;
    border-radius: 18px;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.admin-order-panel h2 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 1000;
    letter-spacing: -0.02em;
}

.admin-order-panel p {
    margin: 6px 0;
    color: #333333;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.admin-order-form {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.admin-order-form label {
    color: #777777;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-order-form input,
.admin-order-form select {
    width: 100%;
    min-height: 40px;

    border: 1px solid #dddddd;
    border-radius: 12px;

    padding: 0 12px;

    font-size: 13px;
    font-weight: 750;
    outline: none;
}

.admin-order-form button {
    min-height: 40px;
    border: none;
    border-radius: 999px;

    background: #111111;
    color: #ffffff;

    font-size: 13px;
    font-weight: 950;

    cursor: pointer;
}

.admin-order-form button:hover {
    background: #333333;
}

.tracking-form {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eeeeee;
}

.order-items-panel {
    margin-top: 16px;
}

.admin-order-items-list {
    display: grid;
    gap: 12px;
}

.admin-order-item-row {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    gap: 14px;
    align-items: center;

    padding: 12px;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
}

.admin-order-item-image {
    width: 74px;
    height: 74px;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f2f2;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777777;
    font-size: 11px;
    font-weight: 900;
}

.admin-order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-order-item-info strong {
    display: block;
    font-size: 14px;
    font-weight: 950;
}

.admin-order-item-info p {
    margin: 4px 0 0 0;
    color: #777777;
    font-size: 12px;
    font-weight: 700;
}

.admin-order-item-price {
    text-align: right;
    display: grid;
    gap: 4px;
}

.admin-order-item-price span {
    color: #777777;
    font-size: 12px;
    font-weight: 800;
}

.admin-order-item-price strong {
    font-size: 15px;
    font-weight: 1000;
}

.admin-order-total-box {
    margin-top: 16px;
    margin-left: auto;

    max-width: 320px;
    display: grid;
    gap: 8px;
}

.admin-order-total-box div {
    display: flex;
    justify-content: space-between;
    gap: 16px;

    color: #555555;
    font-size: 13px;
    font-weight: 800;
}

.admin-order-total-final {
    padding-top: 10px;
    border-top: 1px solid #eeeeee;

    color: #111111 !important;
    font-size: 16px !important;
    font-weight: 1000 !important;
}

@media (max-width: 850px) {
    .admin-order-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-order-detail-header {
        flex-direction: column;
    }

    .admin-order-item-row {
        grid-template-columns: 64px 1fr;
    }

    .admin-order-item-price {
        grid-column: 1 / -1;
        text-align: left;
    }
}

/* =========================
   Customer Orders
========================= */

.customer-orders-page,
.customer-order-detail-page {
    padding: 30px;
    background: #ffffff;
}

.customer-orders-header {
    margin-bottom: 22px;
}

.customer-orders-header h1,
.customer-order-detail-header h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 1000;
    letter-spacing: -0.04em;
}

.customer-orders-header p,
.customer-order-detail-header p {
    margin: 8px 0 0 0;
    color: #777777;
    font-size: 14px;
    font-weight: 700;
}

.customer-orders-list {
    display: grid;
    gap: 12px;
}

.customer-order-card {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 16px;

    padding: 18px;
    border: 1px solid #eeeeee;
    border-radius: 18px;

    background: #ffffff;
    color: #111111;
    text-decoration: none !important;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);

    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.customer-order-card:hover {
    transform: translateY(-2px);
    border-color: #dddddd;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.customer-order-id {
    color: #777777;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.customer-order-card h2 {
    margin: 5px 0;
    font-size: 24px;
    font-weight: 1000;
}

.customer-order-card p {
    margin: 0;
    color: #777777;
    font-size: 13px;
    font-weight: 700;
}

.customer-order-status-area {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.customer-order-view {
    font-size: 13px;
    font-weight: 950;
}

.empty-orders {
    max-width: 420px;
    padding: 30px;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    text-align: center;
}

.empty-orders h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 1000;
}

.empty-orders p {
    color: #777777;
    font-size: 14px;
    font-weight: 700;
}

.empty-orders a,
.tracking-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 16px;

    border-radius: 999px;
    background: #111111;
    color: #ffffff;

    font-size: 13px;
    font-weight: 950;
    text-decoration: none !important;
}

.customer-order-detail-header {
    margin-bottom: 22px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.customer-order-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.customer-order-panel {
    border: 1px solid #eeeeee;
    border-radius: 18px;
    background: #ffffff;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.customer-order-panel h2 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 1000;
    letter-spacing: -0.02em;
}

.customer-order-panel p {
    margin: 6px 0;
    color: #333333;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.cancel-request-panel {
    border-color: #f2d2d7;
}

.cancel-request-form {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.cancel-request-form label {
    color: #777777;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cancel-request-form textarea {
    width: 100%;
    resize: vertical;

    border: 1px solid #dddddd;
    border-radius: 14px;

    padding: 12px;

    font-size: 13px;
    font-weight: 700;
    outline: none;
}

.cancel-request-form button {
    width: fit-content;

    border: none;
    border-radius: 999px;

    background: #c1121f;
    color: #ffffff;

    padding: 10px 16px;

    font-size: 13px;
    font-weight: 950;

    cursor: pointer;
}

.cancel-request-form button:hover {
    background: #9f0e1a;
}

@media (max-width: 850px) {
    .customer-order-card {
        grid-template-columns: 1fr;
    }

    .customer-order-status-area {
        justify-content: flex-start;
    }

    .customer-order-detail-header {
        flex-direction: column;
    }

    .customer-order-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Customer Order Detail - Sharper
========================= */

.customer-order-detail-page {
    padding: 28px 34px;
    background: #fafafa;
    min-height: calc(100vh - 72px);
}

.customer-order-detail-header {
    margin-bottom: 20px;
    padding: 20px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;

    border: 1px solid #eeeeee;
    border-radius: 22px;
    background: #ffffff;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.customer-order-detail-header h1 {
    margin: 4px 0 2px 0;
    font-size: 32px;
    font-weight: 1000;
    letter-spacing: -0.045em;
}

.customer-order-detail-header p {
    margin: 0;
    color: #777777;
    font-size: 13px;
    font-weight: 750;
}

.customer-order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.customer-order-panel {
    border: 1px solid #eeeeee;
    border-radius: 20px;
    background: #ffffff;

    padding: 18px;
    margin-bottom: 14px;

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.035);
}

.customer-order-panel h2 {
    margin: 0 0 10px 0;
    font-size: 17px;
    font-weight: 1000;
    letter-spacing: -0.025em;
}

.customer-order-panel p {
    margin: 5px 0;
    color: #3f3f3f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.42;
}

.admin-order-status-stack {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

/* Smaller, sharper status pills */
.customer-order-detail-page .order-pill {
    min-height: 22px;
    padding: 4px 8px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 1000;
    line-height: 1;
    letter-spacing: 0.015em;
    text-transform: capitalize;
}

/* Item rows tighter */
.customer-order-detail-page .admin-order-items-list {
    display: grid;
    gap: 10px;
}

.customer-order-detail-page .admin-order-item-row {
    display: grid;
    grid-template-columns: 66px 1fr auto;
    gap: 12px;
    align-items: center;

    padding: 10px;
    border: 1px solid #f0f0f0;
    border-radius: 16px;

    background: #ffffff;
}

.customer-order-detail-page .admin-order-item-image {
    width: 66px;
    height: 66px;
    border-radius: 13px;
}

.customer-order-detail-page .admin-order-item-info strong {
    font-size: 13px;
    font-weight: 1000;
}

.customer-order-detail-page .admin-order-item-info p {
    margin-top: 3px;
    color: #777777;
    font-size: 12px;
    font-weight: 750;
}

.customer-order-detail-page .admin-order-item-price span {
    font-size: 11px;
    font-weight: 850;
}

.customer-order-detail-page .admin-order-item-price strong {
    font-size: 14px;
    font-weight: 1000;
}

/* Totals */
.customer-order-detail-page .admin-order-total-box {
    margin-top: 14px;
    margin-left: auto;
    max-width: 300px;
    display: grid;
    gap: 7px;
}

.customer-order-detail-page .admin-order-total-box div {
    display: flex;
    justify-content: space-between;
    gap: 14px;

    color: #555555;
    font-size: 12px;
    font-weight: 850;
}

.customer-order-detail-page .admin-order-total-final {
    padding-top: 9px;
    border-top: 1px solid #eeeeee;

    color: #111111 !important;
    font-size: 15px !important;
    font-weight: 1000 !important;
}

/* Tracking */
.tracking-link {
    margin-top: 8px;

    min-height: 34px;
    padding: 0 13px;

    border-radius: 999px;

    background: #111111;
    color: #ffffff;

    font-size: 12px;
    font-weight: 1000;
    text-decoration: none !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tracking-link:hover {
    background: #333333;
}

/* Cancellation panel */
.cancel-request-panel {
    border-color: #f1d1d6;
    background: linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
}

.cancel-request-active-panel {
    border-color: #f2d18a;
    background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
}

.customer-panel-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.customer-panel-title-row h2 {
    margin-bottom: 5px;
}

.customer-panel-title-row p {
    max-width: 620px;
    color: #666666;
}

.cancel-request-form {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.cancel-request-form label {
    color: #777777;
    font-size: 10px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.cancel-request-form textarea {
    width: 100%;
    min-height: 82px;
    resize: vertical;

    border: 1px solid #dddddd;
    border-radius: 15px;

    padding: 11px 12px;

    font-size: 13px;
    font-weight: 700;
    outline: none;

    background: #ffffff;
}

.cancel-request-form textarea:focus {
    border-color: #111111;
}

.cancel-request-form button,
.keep-order-btn {
    width: fit-content;
    min-height: 34px;

    border: none;
    border-radius: 999px;

    padding: 0 14px;

    font-size: 12px;
    font-weight: 1000;

    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cancel-request-form button {
    background: #c1121f;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(193, 18, 31, 0.16);
}

.cancel-request-form button:hover {
    background: #9f0e1a;
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(193, 18, 31, 0.22);
}

.keep-order-btn {
    background: #111111;
    color: #ffffff;
    white-space: nowrap;
}

.keep-order-btn:hover {
    background: #333333;
    transform: translateY(-1px);
}

@media (max-width: 850px) {
    .customer-order-detail-page {
        padding: 20px;
    }

    .customer-order-detail-header {
        flex-direction: column;
    }

    .admin-order-status-stack {
        justify-content: flex-start;
    }

    .customer-order-detail-grid {
        grid-template-columns: 1fr;
    }

    .customer-order-detail-page .admin-order-item-row {
        grid-template-columns: 58px 1fr;
    }

    .customer-order-detail-page .admin-order-item-price {
        grid-column: 1 / -1;
        text-align: left;
    }

    .customer-panel-title-row {
        flex-direction: column;
    }
}

/* =========================
   Product Detail Offers
========================= */

.make-offer-form {
    width: 100%;
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.offer-price-input {
    width: 100%;
    min-height: 42px;

    border: 1px solid #dddddd;
    border-radius: 12px;

    padding: 0 12px;

    font-size: 14px;
    font-weight: 800;

    outline: none;
}

.offer-price-input:focus {
    border-color: #111111;
}

/*make offer, add to cart, message seller*/
.make-offer-btn {
    padding: 13px 16px;
    border: 1px solid #111;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    background: #111;
    color: #fff;
    flex: 0 0 auto;
    width: fit-content;
}

.make-offer-btn:hover {
    background: #2a2a2a;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}


.buy-btn {
    flex: 1;
    padding: 13px 16px;
    border: 1px solid #111;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    background: #111;
    color: #fff;
    width: fit-content;
}

.buy-btn:hover {
    background: #2a2a2a;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.message-btn {
    flex: 1 !important;
    padding: 13px 16px !important;
    border: 1px solid #111 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    background: #111 !important;
    color: #fff !important;
    width: fit-content !important;
}

.message-btn:hover {
    background: #2a2a2a !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08) !important;
}

.offer-rule-text {
    margin: 0;
    color: #777777;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.35;
}

.offer-login-link {
    margin-top: 8px;
}

/* =========================
   Offer Modal
========================= */

.offer-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.42);

    align-items: center;
    justify-content: center;

    z-index: 100000;
}

.offer-modal-backdrop.show-offer-modal {
    display: flex;
}

.offer-modal {
    position: relative;

    width: 500px;
    max-width: calc(100vw - 32px);

    background: #ffffff;
    border-radius: 0;

    padding: 22px 18px 18px 18px;

    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.offer-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;

    border: none;
    background: transparent;

    color: #111111;

    font-size: 32px;
    line-height: 1;
    font-weight: 400;

    cursor: pointer;
}

.offer-modal h2 {
    margin: 0 0 18px 0;

    text-align: center;

    color: #111111;

    font-size: 23px;
    font-weight: 1000;
    letter-spacing: -0.03em;
}

.offer-modal-product-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;

    margin-bottom: 16px;
}

.offer-modal-image-wrap {
    width: 92px;
    height: 92px;

    background: #f2f2f2;
    overflow: hidden;
}

.offer-modal-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-modal-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777777;
    font-size: 11px;
    font-weight: 900;
}

.offer-modal-product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.offer-modal-product-info strong {
    color: #111111;
    font-size: 15px;
    font-weight: 1000;
}

.offer-modal-product-info span {
    color: #777777;
    font-size: 14px;
    font-weight: 750;
}

.offer-modal-product-info p {
    margin: 0;
    color: #111111;
    font-size: 15px;
    font-weight: 900;
}

.offer-input-label {
    display: block;

    margin-bottom: 6px;

    color: #777777;

    font-size: 13px;
    font-weight: 850;
}

.offer-modal-input {
    width: 100%;
    height: 48px;

    border: 1px solid #999999;
    border-radius: 0;

    padding: 0 11px;

    font-size: 16px;
    font-weight: 900;

    outline: none;
}

.offer-modal-input:focus {
    border-color: #111111;
}

.offer-suggestion-grid {
    margin-top: 16px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.offer-suggestion-card {
    min-height: 72px;

    border: 1px solid #d6d6d6;
    border-radius: 5px;

    background: #ffffff;
    color: #111111;

    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;

    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.offer-suggestion-card span {
    color: #111111;
    font-size: 13px;
    font-weight: 800;
}

.offer-suggestion-card strong {
    color: #111111;
    font-size: 17px;
    font-weight: 1000;
}

.offer-suggestion-card em {
    color: #187a27;
    font-size: 13px;
    font-style: normal;
    font-weight: 850;
}

.offer-suggestion-card:hover,
.selected-offer-suggestion {
    border-color: #111111;
    transform: translateY(-1px);
}

.recommended-offer-card {
    border-color: #95c98f;
    background: #f7fff6;
}

.offer-modal-submit {
    width: 100%;
    height: 48px;

    margin-top: 16px;

    border: none;
    border-radius: 0;

    background: #222222;
    color: #ffffff;

    font-size: 15px;
    font-weight: 1000;

    cursor: pointer;
}

.offer-modal-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.offer-modal-warning {
    display: none;

    margin: 12px 0 0 0;

    color: #c1121f;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.35;
}

.offer-modal-warning.show-offer-warning {
    display: block;
}

.offer-modal-warning.show-offer-success {
    display: block;
    color: #187a27;
}

.offer-modal-note {
    margin: 14px 0 0 0;

    color: #666666;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.4;
}

@media (max-width: 560px) {
    .offer-modal {
        width: calc(100vw - 24px);
    }

    .offer-suggestion-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   Admin Offers
========================= */

.admin-offers-page {
    min-height: calc(100vh - 72px);
    padding: 30px;
    background: #fafafa;
}

.admin-offers-header {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.admin-offers-header h1 {
    margin: 4px 0;
    font-size: 34px;
    font-weight: 1000;
    letter-spacing: -0.045em;
}

.admin-offers-header p {
    margin: 0;
    color: #777777;
    font-size: 14px;
    font-weight: 700;
}

.admin-offer-filter-row {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.admin-offer-filter-row a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 999px;

    background: #ffffff;
    color: #111111;

    font-size: 12px;
    font-weight: 950;
    text-decoration: none !important;

    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.admin-offer-filter-row a:hover {
    border-color: #111111;
    transform: translateY(-1px);
}

.admin-offer-filter-row a span {
    min-width: 18px;
    height: 18px;
    padding: 0 6px;

    border-radius: 999px;
    background: #f1f1f1;
    color: #555555;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: 1000;
}

.admin-offer-filter-row .active-offer-filter {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.admin-offer-filter-row .active-offer-filter span {
    background: #ffffff;
    color: #111111;
}

.admin-offers-list {
    display: grid;
    gap: 14px;
}

.admin-offer-card {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 16px;

    padding: 14px;
    border: 1px solid #eeeeee;
    border-radius: 20px;

    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.035);
}

.admin-offer-image-wrap {
    width: 118px;
    height: 118px;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f1f1;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777777;
    font-size: 12px;
    font-weight: 900;
}

.admin-offer-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-offer-main {
    min-width: 0;
}

.admin-offer-title-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.admin-offer-title-row h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 1000;
    letter-spacing: -0.025em;
}

.admin-offer-title-row p {
    margin: 4px 0 0 0;
    color: #777777;
    font-size: 13px;
    font-weight: 700;
}

.offer-status-pill {
    flex-shrink: 0;

    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 1000;
    text-transform: capitalize;
}

.offer-status-pending {
    background: #fff7e6;
    color: #9a5b00;
}

.offer-status-accepted {
    background: #ecfdf3;
    color: #087443;
}

.offer-status-declined,
.offer-status-cancelled,
.offer-status-expired {
    background: #fff1f3;
    color: #c1121f;
}

.offer-status-countered {
    background: #eef4ff;
    color: #174ea6;
}

.offer-status-paid {
    background: #111111;
    color: #ffffff;
}

.admin-offer-meta-grid {
    margin-top: 13px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.admin-offer-meta-grid div {
    padding: 10px;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    background: #fafafa;
}

.admin-offer-meta-grid span {
    display: block;
    margin-bottom: 4px;

    color: #777777;
    font-size: 10px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-offer-meta-grid strong {
    color: #111111;
    font-size: 14px;
    font-weight: 1000;
}

.admin-offer-note {
    margin-top: 10px;
    padding: 10px 12px;

    border-left: 3px solid #111111;
    background: #f8f8f8;

    color: #333333;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.admin-offer-time-row {
    margin-top: 10px;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    color: #888888;
    font-size: 12px;
    font-weight: 750;
}

.admin-offer-links-row {
    margin-top: 9px;
}

.admin-offer-links-row a {
    color: #111111;
    font-size: 12px;
    font-weight: 950;
    text-decoration: underline;
}

.admin-offer-actions {
    margin-top: 14px;

    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 8px;
    align-items: center;
}

.admin-offer-actions form {
    margin: 0;
}

.accept-offer-btn,
.decline-offer-btn,
.counter-offer-btn {
    min-height: 36px;
    padding: 0 14px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 1000;

    cursor: pointer;
    transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.accept-offer-btn {
    border: none;
    background: #111111;
    color: #ffffff;
}

.accept-offer-btn:hover {
    background: #2a2a2a;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.decline-offer-btn {
    border: 1px solid #f1cbd0;
    background: #ffffff;
    color: #c1121f;
}

.decline-offer-btn:hover {
    background: #fff1f3;
    transform: translateY(-1px);
}

.counter-offer-form {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 8px;
}

.counter-offer-form input {
    min-height: 36px;
    border: 1px solid #dddddd;
    border-radius: 999px;

    padding: 0 12px;

    font-size: 12px;
    font-weight: 800;
    outline: none;
}

.counter-offer-form input:focus {
    border-color: #111111;
}

.counter-offer-btn {
    border: 1px solid #111111;
    background: #ffffff;
    color: #111111;
}

.counter-offer-btn:hover {
    background: #111111;
    color: #ffffff;
    transform: translateY(-1px);
}

.admin-offer-info-box {
    margin-top: 14px;
    padding: 10px 12px;

    border-radius: 14px;
    background: #ecfdf3;
    color: #087443;

    font-size: 13px;
    font-weight: 850;
}

.muted-offer-info-box {
    background: #f6f6f6;
    color: #666666;
}

.paid-offer-info-box {
    background: #111111;
    color: #ffffff;
}

.admin-empty-offers {
    max-width: 440px;
    padding: 30px;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    background: #ffffff;
    text-align: center;
}

.admin-empty-offers h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 1000;
}

.admin-empty-offers p {
    color: #777777;
    font-size: 14px;
    font-weight: 700;
}

.admin-empty-offers a {
    margin-top: 10px;

    min-height: 40px;
    padding: 0 16px;

    border-radius: 999px;
    background: #111111;
    color: #ffffff;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none !important;
    font-size: 13px;
    font-weight: 950;
}

@media (max-width: 900px) {
    .admin-offer-card {
        grid-template-columns: 1fr;
    }

    .admin-offer-image-wrap {
        width: 100%;
        height: 220px;
    }

    .admin-offer-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-offer-actions {
        grid-template-columns: 1fr;
    }

    .counter-offer-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .admin-offers-page {
        padding: 20px;
    }

    .admin-offer-title-row {
        flex-direction: column;
    }

    .admin-offer-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Customer Offers
========================= */

.customer-offers-page {
    min-height: calc(100vh - 72px);
    padding: 30px;
    background: #fafafa;
}

.customer-offers-header {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.customer-offers-header h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 1000;
    letter-spacing: -0.045em;
}

.customer-offers-header p {
    margin: 8px 0 0 0;
    color: #777777;
    font-size: 14px;
    font-weight: 700;
}

.customer-offer-filter-row {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.customer-offer-filter-row a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 999px;

    background: #ffffff;
    color: #111111;

    font-size: 12px;
    font-weight: 950;
    text-decoration: none !important;

    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.customer-offer-filter-row a:hover {
    border-color: #111111;
    transform: translateY(-1px);
}

.customer-offer-filter-row a span {
    min-width: 18px;
    height: 18px;
    padding: 0 6px;

    border-radius: 999px;
    background: #f1f1f1;
    color: #555555;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: 1000;
}

.customer-offer-filter-row .active-customer-offer-filter {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.customer-offer-filter-row .active-customer-offer-filter span {
    background: #ffffff;
    color: #111111;
}

.customer-offers-list {
    display: grid;
    gap: 14px;
}

.customer-offer-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 15px;

    padding: 14px;
    border: 1px solid #eeeeee;
    border-radius: 20px;

    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.035);
}

.customer-offer-image-wrap {
    width: 112px;
    height: 112px;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f1f1;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #777777;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
}

.customer-offer-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-offer-main {
    min-width: 0;
}

.customer-offer-title-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.customer-offer-title-row h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 1000;
    letter-spacing: -0.025em;
}

.customer-offer-title-row p {
    margin: 4px 0 0 0;
    color: #777777;
    font-size: 13px;
    font-weight: 700;
}

.customer-offer-price-grid {
    margin-top: 13px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.customer-offer-price-grid div {
    padding: 10px;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    background: #fafafa;
}

.customer-offer-price-grid span {
    display: block;
    margin-bottom: 4px;

    color: #777777;
    font-size: 10px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.customer-offer-price-grid strong {
    color: #111111;
    font-size: 14px;
    font-weight: 1000;
}

.customer-offer-note {
    margin-top: 10px;
    padding: 10px 12px;

    border-left: 3px solid #111111;
    background: #f8f8f8;

    color: #333333;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.customer-offer-time-row {
    margin-top: 10px;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    color: #888888;
    font-size: 12px;
    font-weight: 750;
}

.customer-offer-info {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 14px;

    font-size: 13px;
    font-weight: 850;
}

.customer-offer-pending {
    background: #fff7e6;
    color: #9a5b00;
}

.customer-offer-accepted {
    background: #ecfdf3;
    color: #087443;
}

.customer-offer-countered {
    background: #eef4ff;
    color: #174ea6;
}

.customer-offer-declined {
    background: #fff1f3;
    color: #c1121f;
}

.customer-offer-paid {
    background: #111111;
    color: #ffffff;
}

.customer-offer-pay-btn {
    margin-top: 10px;

    min-height: 38px;
    padding: 0 15px;

    border: none;
    border-radius: 999px;

    background: #111111;
    color: #ffffff;

    font-size: 13px;
    font-weight: 950;
    cursor: not-allowed;
    opacity: 0.65;
}

.empty-customer-offers {
    max-width: 430px;
    padding: 30px;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    background: #ffffff;
    text-align: center;
}

.empty-customer-offers h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 1000;
}

.empty-customer-offers p {
    color: #777777;
    font-size: 14px;
    font-weight: 700;
}

.empty-customer-offers a {
    margin-top: 10px;

    min-height: 40px;
    padding: 0 16px;

    border-radius: 999px;
    background: #111111;
    color: #ffffff;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none !important;
    font-size: 13px;
    font-weight: 950;
}

@media (max-width: 720px) {
    .customer-offer-card {
        grid-template-columns: 1fr;
    }

    .customer-offer-image-wrap {
        width: 100%;
        height: 220px;
    }

    .customer-offer-price-grid {
        grid-template-columns: 1fr;
    }

    .customer-offer-title-row {
        flex-direction: column;
    }
}

.customer-offer-action-row {
    margin-top: 12px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.customer-offer-action-row form {
    margin: 0;
}

.customer-offer-pay-btn,
.customer-offer-secondary-btn,
.customer-counter-form button {
    min-height: 36px;
    padding: 0 14px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 1000;

    cursor: pointer;
}

.customer-offer-pay-btn {
    border: none;
    background: #111111;
    color: #ffffff;
}

.customer-offer-pay-btn:hover {
    background: #2a2a2a;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.customer-offer-secondary-btn {
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #111111;
}

.customer-offer-secondary-btn:hover {
    background: #f5f5f5;
}

.customer-counter-form {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 8px;
    flex: 1;
    min-width: 340px;
}

.customer-counter-form input {
    min-height: 36px;

    border: 1px solid #dddddd;
    border-radius: 999px;

    padding: 0 12px;

    font-size: 12px;
    font-weight: 800;

    outline: none;
}

.customer-counter-form input:focus {
    border-color: #111111;
}

.customer-counter-form button {
    border: 1px solid #111111;
    background: #ffffff;
    color: #111111;
}

.customer-counter-form button:hover {
    background: #111111;
    color: #ffffff;
}

@media (max-width: 720px) {
    .customer-counter-form {
        grid-template-columns: 1fr;
        min-width: 100%;
    }

    .customer-offer-action-row {
        align-items: stretch;
    }

    .customer-offer-action-row form,
    .customer-offer-pay-btn,
    .customer-offer-secondary-btn {
        width: 100%;
    }
}

/* =========================
   Signup Security UI
========================= */

.username-field-wrap,
.password-field-wrap {
    width: 100%;
    display: grid;
    gap: 7px;
}

.username-status-text {
    margin: -2px 0 0 0;
    min-height: 16px;

    font-size: 12px;
    font-weight: 850;
}

.username-status-good {
    color: #087443;
}

.username-status-bad {
    color: #c1121f;
}

.username-suggestions-wrap {
    display: grid;
    gap: 7px;
}

.username-suggestions-wrap span {
    color: #777777;
    font-size: 12px;
    font-weight: 850;
}

.username-suggestion-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.username-suggestion-btn {
    border: 1px solid #dddddd;
    border-radius: 999px;

    background: #ffffff;
    color: #111111;

    padding: 7px 10px;

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;
}

.username-suggestion-btn:hover {
    border-color: #111111;
    background: #f8f8f8;
}

.password-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: 2px;
}

.password-label-row span {
    color: #777777;
    font-size: 12px;
    font-weight: 900;
}

.password-label-row strong {
    font-size: 12px;
    font-weight: 1000;
}

.password-label-weak {
    color: #c1121f;
}

.password-label-acceptable {
    color: #9a5b00;
}

.password-label-strong {
    color: #087443;
}

.password-strength-bars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;

    margin-top: 2px;
}

.password-bar {
    height: 6px;
    border-radius: 999px;
    background: #e5e5e5;
}

.weak-password-bar {
    background: #c1121f;
}

.acceptable-password-bar {
    background: #087443;
}

.strong-password-bar {
    background: #087443;
}

.password-help-text {
    margin: 0;
    color: #777777;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
}

.generate-password-btn {
    width: fit-content;

    border: 1px solid #dddddd;
    border-radius: 999px;

    background: #ffffff;
    color: #111111;

    padding: 8px 11px;

    font-size: 12px;
    font-weight: 950;

    cursor: pointer;
}

.generate-password-btn:hover {
    border-color: #111111;
    background: #f7f7f7;
}

.username-suggestions-wrap {
    display: grid;
    gap: 7px;

    max-height: 0;
    opacity: 0;
    overflow: hidden;

    transform: translateY(-4px);

    transition:
        max-height 0.22s ease,
        opacity 0.18s ease,
        transform 0.18s ease;
}

.username-suggestions-wrap.show-username-suggestions {
    max-height: 120px;
    opacity: 1;
    transform: translateY(0);
}

.username-suggestions-wrap span {
    color: #777777;
    font-size: 12px;
    font-weight: 850;
}

.username-suggestion-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.username-suggestion-btn {
    border: 1px solid #dddddd;
    border-radius: 999px;

    background: #ffffff;
    color: #111111;

    padding: 7px 10px;

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;

    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.username-suggestion-btn:hover {
    border-color: #111111;
    background: #f8f8f8;
    transform: translateY(-1px);
}

/* =========================
   Auth Page Polish
========================= */

.auth-card {
    border-radius: 24px;
    overflow: hidden;
}

.auth-card input {
    border-radius: 14px;
}

.auth-card form button[type="submit"] {
    border-radius: 14px;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.auth-card form button[type="submit"]:hover {
    background: #2a2a2a;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}


/* =========================
   Signup Security UI
========================= */

.username-field-wrap,
.password-field-wrap {
    width: 100%;
    display: grid;
    gap: 7px;
}

.username-status-text {
    margin: -2px 0 0 0;
    min-height: 16px;

    font-size: 12px;
    font-weight: 850;

    transition: color 0.16s ease, opacity 0.16s ease;
}

.username-status-good {
    color: #087443;
}

.username-status-bad {
    color: #c1121f;
}

.username-suggestions-wrap {
    display: grid;

    max-height: 0;
    opacity: 0;
    overflow: hidden;

    transform: translateY(-6px);

    transition:
        max-height 0.24s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.username-suggestions-wrap.show-username-suggestions {
    max-height: 140px;
    opacity: 1;
    transform: translateY(0);
}

.username-suggestions-inner {
    display: grid;
    gap: 8px;

    padding: 10px;
    border: 1px solid #eeeeee;
    border-radius: 14px;

    background: #fafafa;
}

.username-suggestions-inner span {
    color: #777777;
    font-size: 12px;
    font-weight: 850;
}

.username-suggestion-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.username-suggestion-btn {
    border: 1px solid #dddddd;
    border-radius: 999px;

    background: #ffffff;
    color: #111111;

    padding: 7px 10px;

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;

    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.username-suggestion-btn:hover {
    border-color: #111111;
    background: #ffffff;
    transform: translateY(-1px);
}

.password-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: 2px;

    max-height: 30px;
    opacity: 1;
    transform: translateY(0);

    transition:
        max-height 0.2s ease,
        opacity 0.16s ease,
        transform 0.16s ease;
}

.password-label-row.password-module-hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
}

.password-label-row span {
    color: #777777;
    font-size: 12px;
    font-weight: 900;
}

.password-label-row strong {
    font-size: 12px;
    font-weight: 1000;
}

.password-label-weak {
    color: #c1121f;
}

.password-label-acceptable {
    color: #9a5b00;
}

.password-label-strong {
    color: #087443;
}

.password-security-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;

    display: grid;
    gap: 8px;

    transform: translateY(-6px);

    transition:
        max-height 0.24s ease,
        opacity 0.18s ease,
        transform 0.18s ease;
}

.password-security-panel.show-password-security-panel {
    max-height: 140px;
    opacity: 1;
    transform: translateY(0);
}

.password-strength-bars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;

    margin-top: 2px;
}

.password-bar {
    height: 6px;
    border-radius: 999px;
    background: #e5e5e5;

    transition: background 0.18s ease, transform 0.18s ease;
}

.weak-password-bar {
    background: #c1121f;
}

.acceptable-password-bar {
    background: #087443;
}

.strong-password-bar {
    background: #087443;
}

.password-help-text {
    margin: 0;
    color: #777777;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.35;
}

.generate-password-btn {
    width: fit-content;

    border: 1px solid #dddddd;
    border-radius: 999px;

    background: #ffffff;
    color: #111111;

    padding: 8px 11px;

    font-size: 12px;
    font-weight: 950;

    cursor: pointer;

    opacity: 1;
    max-height: 40px;
    transform: translateY(0);

    transition:
        opacity 0.18s ease,
        max-height 0.22s ease,
        transform 0.18s ease,
        background 0.16s ease,
        border-color 0.16s ease;
}

.generate-password-btn:hover {
    border-color: #111111;
    background: #f7f7f7;
}

.generate-password-btn.hide-generate-password-btn {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-5px);
}

.disabled-rate-back-btn {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: auto;
}

.rate-limit-card {
    text-align: center;
}

.rate-limit-countdown {
    font-weight: 900;
    color: #c1121f;
}

/*PASSWORD ICON*/

.password-input-wrap {
    width: 100%;
    position: relative;
}

.password-input-wrap input {
    width: 100%;
    padding-right: 44px !important;
}

.password-toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    width: 28px;
    height: 28px;

    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    padding: 0;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus,
.password-toggle-btn:active {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: translateY(-50%);
}

.password-toggle-icon {
    width: 17px;
    height: 17px;
    object-fit: contain;
    pointer-events: none;

    opacity: 0.55;
    transition: opacity 0.16s ease, transform 0.16s ease, filter 0.16s ease;
}

.password-toggle-btn:hover .password-toggle-icon {
    opacity: 0.95;
    transform: scale(1.08);
    filter: contrast(1.2);
}

.detail-actions {
    display: flex !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
}

.detail-action-slot {
    flex: 1 1 0 !important;
    min-width: 0 !important;

    display: flex !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
}

.detail-action-form {
    width: 100% !important;
    height: 100% !important;

    display: flex !important;
    align-items: stretch !important;

    margin: 0 !important;
    padding: 0 !important;
}

.detail-action-button {
    width: 100% !important;
    min-height: 46px !important;
    height: 46px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 16px !important;

    border: 1px solid #111 !important;
    box-sizing: border-box !important;

    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;

    text-align: center !important;
    text-decoration: none !important;
    vertical-align: top !important;

    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.detail-action-button.buy-btn,
.detail-action-button.make-offer-btn {
    background: #111 !important;
    color: #fff !important;
}

.detail-action-button.message-btn {
    background: #111 !important;
    color: #fff !important;
}

.detail-action-button.buy-btn:hover,
.detail-action-button.make-offer-btn:hover {
    background: #2a2a2a !important;
}

.detail-action-button.message-btn:hover {
    background: #2a2a2a !important;
}

.cart-interest-text {
    margin: 8px 0 0 0;

    color: #777777;
    font-size: 13px;
    font-weight: 800;
}

.cart-interest-pill {
    margin: 8px 0 0 0;

    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 4px 9px 4px 7px;

    border-radius: 999px;
    background: #f3f3f3;

    color: #333333;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;

    white-space: nowrap;
}

.cart-interest-icon {
    width: 25px;
    height: 25px;

    object-fit: contain;
    opacity: 0.85;
    filter: brightness(0) contrast(1.5);
    flex-shrink: 0;
}

.offer-interest-pill {
    margin: 8px 0 0 0;

    width: fit-content;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 5px 10px;

    border-radius: 999px;
    background: #fff3df;

    color: #5c3b00;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;

    white-space: nowrap;
}

.offer-interest-dot {
    width: 7px;
    height: 7px;

    border-radius: 999px;
    background: #d97706;

    flex-shrink: 0;
}

.admin-category-panel {
    margin-top: 22px;
    padding: 18px;

    border: 1px solid #eeeeee;
    border-radius: 18px;

    background: #ffffff;
}

.admin-category-panel h2 {
    margin: 0 0 14px 0;
    font-size: 18px;
}

.admin-category-form,
.admin-category-row {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 120px 110px 110px 130px;
    gap: 10px;
    align-items: center;
}

.admin-category-form {
    grid-template-columns: 1.4fr 1.2fr 120px 110px 130px;
}

.admin-category-form input,
.admin-category-row input {
    width: 100%;
    padding: 11px 12px;

    border: 1px solid #dddddd;
    border-radius: 12px;

    font-size: 13px;
    font-weight: 750;
}

.admin-category-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-size: 13px;
    font-weight: 850;
}

.admin-category-form button,
.admin-category-row button,
.category-toggle-btn {
    min-height: 40px;

    border: 1px solid #111111;
    border-radius: 12px;

    background: #111111;
    color: #ffffff;

    font-size: 13px;
    font-weight: 900;

    cursor: pointer;
}

.category-toggle-btn {
    background: #ffffff;
    color: #111111;
}

.admin-category-list {
    display: grid;
    gap: 10px;
}

@media (max-width: 900px) {
    .admin-category-form,
    .admin-category-row {
        grid-template-columns: 1fr;
    }
}

.category-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.category-section-header h2 {
    margin-bottom: 4px;
}

.category-section-header p {
    color: #666;
    font-size: 14px;
}

.admin-category-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.admin-category-item {
    transition: 0.2s ease;
}

.admin-category-row {
    display: grid;
    grid-template-columns: 36px 1.2fr 1fr 110px auto auto auto auto;
    gap: 10px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    background: #ffffff;
}

.category-drag-handle {
    color: #999;
    font-weight: 800;
    letter-spacing: -2px;
    cursor: grab;
    text-align: center;
    user-select: none;
}

.category-order-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.category-move-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #d4d4d4;
    border-radius: 9px;
    background: #f7f7f7;
    color: #111;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.category-move-btn:hover {
    background: #111;
    color: white;
    border-color: #111;
}

.category-move-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.category-save-btn,
.category-toggle-btn {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 9px 12px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

.category-save-btn:hover,
.category-toggle-btn:hover {
    background: #f3f3f3;
}

.admin-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: #111;
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: 0.25s ease;
    z-index: 9999;
}

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

@media (max-width: 1050px) {
    .admin-category-row {
        grid-template-columns: 1fr;
    }

    .category-drag-handle {
        text-align: left;
    }

    .category-order-actions {
        justify-content: flex-start;
    }
}

.sold-status-pill {
    background: #111;
    color: white;
}

.sold-mini-btn {
    background: #222;
    color: white;
}

.message-tabs {
    display: flex;
    gap: 10px;
    margin: 18px 0 24px;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 10px;
}

.message-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f4f4f4;
    color: #222;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: 0.2s ease;
}

.message-tab:hover {
    background: #e9e9e9;
}

.active-message-tab {
    background: #111;
    color: white;
}

.message-tab-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #e53935;
    color: white;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.conversation-card {
    display: grid;
    grid-template-columns: 64px 44px 1fr;
    gap: 14px;
    align-items: center;
}

.conversation-product-thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversation-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-conversation-thumb {
    background: #111;
    color: white;
    font-weight: 800;
}

.removed-product-thumb {
    background: #eee;
    color: #777;
    font-weight: 800;
}

.conversation-archived-note {
    margin-top: 5px;
    font-size: 12px;
    color: #777;
    font-weight: 600;
}

@media (max-width: 700px) {
    .message-tabs {
        overflow-x: auto;
        padding-bottom: 12px;
    }

    .conversation-card {
        grid-template-columns: 52px 1fr;
    }

    .conversation-product-thumb {
        width: 52px;
        height: 52px;
    }

    .conversation-avatar {
        display: none;
    }
}

.sold-out-product-banner {
    border: 1px solid #111;
    background: #111;
    color: white;
    border-radius: 14px;
    padding: 14px 16px;
    margin: 14px 0 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sold-out-product-banner strong {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sold-out-product-banner span {
    font-size: 13px;
    opacity: 0.85;
}

.sold-out-image-wrap {
    position: relative;
}

.sold-out-image-overlay {
    position: absolute;
    left: 18px;
    top: 18px;
    background: rgba(0, 0, 0, 0.82);
    color: white;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 5;
}

.unavailable-detail-button {
    background: #d6d6d6 !important;
    color: #666 !important;
    cursor: not-allowed !important;
    border-color: #d6d6d6 !important;
}

.disabled-like-btn {
    opacity: 0.45;
    cursor: not-allowed;
}

.disabled-variant-picker,
.disabled-simple-product-options {
    opacity: 0.78;
}

.disabled-variant-picker .size-option-btn,
.disabled-simple-product-options .size-option-btn {
    cursor: default;
}

.admin-detail-actions form {
    display: inline-flex;
}

.admin-detail-actions button {
    border: 1px solid #111;
    background: #111;
    color: white;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

.notification-action-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
}

.notification-main-link {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.notification-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.notification-action-btn,
.notification-secondary-link {
    border: 1px solid #111;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.notification-action-btn {
    background: #111;
    color: white;
}

.notification-secondary-link {
    background: white;
    color: #111;
}

.notification-offer-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.notification-offer-modal-backdrop.show-notification-offer-modal {
    display: flex;
}

.notification-offer-modal {
    width: min(440px, 100%);
    background: white;
    border-radius: 18px;
    padding: 22px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.notification-offer-modal-close {
    position: absolute;
    right: 14px;
    top: 12px;
    border: none;
    background: #eee;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 20px;
}

.notification-offer-modal h2 {
    margin-bottom: 8px;
}

.notification-offer-modal p {
    color: #666;
    margin-bottom: 18px;
}

.notification-offer-modal form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-offer-modal label {
    font-weight: 800;
    font-size: 13px;
}

.notification-offer-modal input {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px;
}

.notification-offer-modal button[type="submit"] {
    margin-top: 8px;
    border: none;
    background: #111;
    color: white;
    border-radius: 12px;
    padding: 12px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 750px) {
    .notification-action-card {
        grid-template-columns: 1fr;
    }

    .notification-actions {
        justify-content: flex-start;
        padding-left: 30px;
    }
}

.notification-offer-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4f4f4;
    border-radius: 12px;
    padding: 12px;
    margin: 12px 0 16px;
}

.notification-offer-price-box span {
    color: #666;
    font-size: 13px;
    font-weight: 700;
}

.notification-offer-price-box strong {
    color: #111;
    font-size: 18px;
}

.admin-discounts-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 20px 70px;
}

.admin-discounts-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.admin-discounts-header h1 {
    margin: 0;
    font-size: 34px;
}

.admin-discounts-header p {
    color: #666;
    margin-top: 6px;
}

.admin-discount-panel {
    background: white;
    border: 1px solid #ececec;
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.admin-discount-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.admin-discount-panel-header h2 {
    margin: 0;
}

.admin-discount-panel-header p {
    margin: 6px 0 0;
    color: #666;
}

.admin-discount-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
    gap: 22px;
}

.admin-discount-products-box,
.admin-discount-settings-box {
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 16px;
    background: #fafafa;
}

.admin-discount-box-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.admin-discount-box-heading h3,
.admin-discount-settings-box h3 {
    margin: 0;
}

.admin-discount-box-heading span {
    color: #777;
    font-size: 13px;
    font-weight: 700;
}

.discount-product-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.discount-product-toolbar button {
    border: 1px solid #111;
    background: white;
    color: #111;
    border-radius: 999px;
    padding: 7px 11px;
    font-weight: 800;
    cursor: pointer;
}

.discount-product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 540px;
    overflow-y: auto;
    padding-right: 4px;
}

.discount-product-row {
    display: grid;
    grid-template-columns: auto 58px 1fr;
    gap: 12px;
    align-items: center;
    background: white;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 10px;
    cursor: pointer;
}

.discount-product-row:hover {
    border-color: #111;
}

.discount-product-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.discount-product-image-wrap {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: #eee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #777;
}

.discount-product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.discount-product-info strong {
    font-size: 14px;
}

.discount-product-info span {
    color: #666;
    font-size: 13px;
}

.admin-discount-settings-box {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.admin-discount-settings-box label {
    font-size: 13px;
    font-weight: 800;
}

.admin-discount-settings-box input,
.admin-discount-settings-box select,
.admin-discount-settings-box textarea {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px;
    font: inherit;
}

.admin-discount-settings-box textarea {
    min-height: 90px;
    resize: vertical;
}

.discount-preview-box {
    background: white;
    border: 1px dashed #ccc;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.discount-preview-box strong {
    font-size: 15px;
}

.discount-preview-warning {
    color: #c62828;
    font-weight: 800;
}

.discount-notify-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: white;
    border-radius: 14px;
    padding: 12px;
    border: 1px solid #eee;
}

.discount-notify-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #333;
}

.create-discount-btn {
    border: none;
    background: #111;
    color: white;
    border-radius: 14px;
    padding: 13px 16px;
    font-weight: 900;
    cursor: pointer;
}

.discount-form-note {
    color: #777;
    font-size: 12px;
    line-height: 1.45;
}

.admin-discount-filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.admin-discount-filter-row a {
    border: 1px solid #e5e5e5;
    background: #f7f7f7;
    color: #111;
    text-decoration: none;
    border-radius: 999px;
    padding: 9px 13px;
    font-weight: 800;
    display: inline-flex;
    gap: 7px;
}

.admin-discount-filter-row a.active-discount-filter {
    background: #111;
    color: white;
    border-color: #111;
}

.admin-discount-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-discount-history-card {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto auto;
    gap: 16px;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 14px;
}

.discount-history-product {
    display: flex;
    gap: 12px;
    align-items: center;
}

.discount-history-image {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #777;
}

.discount-history-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-history-product h3 {
    margin: 0;
    font-size: 15px;
}

.discount-history-product p {
    color: #777;
    font-size: 12px;
    margin: 4px 0 0;
}

.discount-history-prices {
    display: flex;
    gap: 14px;
}

.discount-history-prices div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.discount-history-prices span {
    color: #777;
    font-size: 12px;
    font-weight: 700;
}

.discount-history-prices strong {
    font-size: 14px;
}

.discount-history-status {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.discount-status-pill {
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    text-transform: capitalize;
}

.discount-status-active {
    background: #e8f5e9;
    color: #1b5e20;
}

.discount-status-expired {
    background: #eeeeee;
    color: #555;
}

.discount-status-cancelled {
    background: #ffebee;
    color: #b71c1c;
}

.discount-history-status small {
    color: #777;
    font-size: 12px;
}

.cancel-discount-btn {
    border: none;
    background: #111;
    color: white;
    border-radius: 12px;
    padding: 10px 13px;
    font-weight: 800;
    cursor: pointer;
}

.empty-discounts,
.empty-discount-products {
    background: #fafafa;
    border: 1px dashed #ccc;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

@media (max-width: 900px) {
    .admin-discount-layout {
        grid-template-columns: 1fr;
    }

    .admin-discount-history-card {
        grid-template-columns: 1fr;
    }

    .discount-history-prices {
        flex-wrap: wrap;
    }
}

.product-sale-price-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.product-sale-price {
    color: #d32f2f;
    font-weight: 900;
}

.product-original-price {
    color: #888;
    text-decoration: line-through;
    font-size: 13px;
    font-weight: 700;
}

.product-discount-badge {
    background: #111;
    color: white;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.discount-mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.discount-mode-toggle label {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 11px;
    display: flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
}

.discount-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hidden-discount-input {
    display: none;
}

.notification-dismiss-btn {
    border: none;
    background: #eeeeee;
    color: #333;
    border-radius: 999px;
    width: 24px;
    height: 24px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notification-dismiss-btn:hover {
    background: #111;
    color: white;
}

.cancel-all-discounts-form {
    margin: 0;
}

.cancel-all-discounts-btn {
    border: none;
    background: #b71c1c;
    color: white;
    border-radius: 12px;
    padding: 10px 13px;
    font-weight: 900;
    cursor: pointer;
}

.cancel-all-discounts-btn:hover {
    background: #8f1111;
}

.detail-sale-price-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-sale-price {
    color: #d32f2f;
    font-size: 28px;
    font-weight: 900;
}

.detail-original-price {
    color: #888;
    text-decoration: line-through;
    font-size: 17px;
    font-weight: 800;
}

.detail-discount-badge {
    background: #111;
    color: white;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.offer-modal-original-price {
    margin-left: 8px;
    color: #888;
    text-decoration: line-through;
    font-size: 13px;
    font-weight: 700;
}

.similar-products-section {
    width: min(100%, 1480px);
    margin: 42px auto 80px;
    padding: 0 42px;
    box-sizing: border-box;
}


.similar-products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.similar-products-header h2 {
    margin: 0;
    font-size: 26px;
}

.similar-products-header p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

.similar-products-header a {
    color: #111;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
}

.similar-products-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(145px, 1fr));
    gap: 22px;
}

.similar-product-card {
    min-width: 0;
}

.similar-product-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.18;
    overflow: hidden;
    border-radius: 14px;
    background: #f1f1f1;
    text-decoration: none;
}

.similar-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.18s ease;
}

.similar-product-card:hover .similar-product-img {
    transform: scale(1.03);
}

.similar-product-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 12px;
}

.similar-product-title {
    display: block;
    margin-top: 9px;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.28;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.similar-product-price {
    margin: 6px 0 0;
    color: #111;
    font-size: 14px;
    font-weight: 900;
}

.similar-product-price-row {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.similar-sale-price {
    color: #d32f2f;
    font-size: 14px;
    font-weight: 900;
}

.similar-original-price {
    color: #888;
    text-decoration: line-through;
    font-size: 12px;
    font-weight: 700;
}

.similar-discount-badge {
    display: inline-flex;
    width: fit-content;
    margin-top: 5px;
    background: #111;
    color: white;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

@media (max-width: 1250px) {
    .similar-products-section {
        padding: 0 34px;
    }

    .similar-products-grid {
        grid-template-columns: repeat(5, minmax(145px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 1000px) {
    .similar-products-section {
        padding: 0 28px;
    }

    .similar-products-grid {
        grid-template-columns: repeat(4, minmax(140px, 1fr));
        gap: 18px;
    }
}

@media (max-width: 750px) {
    .similar-products-section {
        padding: 0 18px;
    }

    .similar-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .similar-products-section {
        padding: 0 14px;
    }

    .similar-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

.checkout-result-icon {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 14px;
}

.success-checkout-icon {
    background: #e8f5e9;
    color: #1b7f2a;
}

.pending-checkout-icon {
    background: #fff4df;
    color: #9a5b00;
}

.cancelled-checkout-icon {
    background: #f5f5f5;
    color: #333;
}

.checkout-result-note {
    margin-top: 10px;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

.checkout-result-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.checkout-result-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: white;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 900;
    text-decoration: none;
}

.checkout-result-actions .checkout-secondary-link {
    background: #eeeeee;
    color: #111;
}

.refund-admin-panel {
    border: 1px solid #ddd;
}

.refund-warning-text {
    background: #fff8e6;
    border-radius: 10px;
    padding: 10px;
    color: #6b4200;
    font-weight: 800;
}

.refund-danger-btn {
    background: #b71c1c !important;
    color: white !important;
}

.refund-danger-btn:hover {
    background: #8f1111 !important;
}

.order-pill-partially_refunded,
.payment-pill-partially_refunded {
    background: #fff4df;
    color: #9a5b00;
}

.order-pill-partially_refunded,
.payment-pill-partially_refunded {
    background: #fff4df;
    color: #9a5b00;
    padding: 6px 11px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.admin-users-page {
    max-width: 1250px;
}

.admin-users-tools {
    margin: 22px 0;
}

.admin-user-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.admin-user-search-form input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
}

.admin-user-search-form input:focus {
    border-color: #111;
}

.admin-user-search-form button,
.clear-admin-search {
    border: none;
    background: #111;
    color: white;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.clear-admin-search {
    background: #eeeeee;
    color: #111;
}

.admin-users-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.admin-users-summary-card {
    background: white;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.admin-users-summary-card span {
    display: block;
    color: #666;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 6px;
}

.admin-users-summary-card strong {
    font-size: 28px;
    font-weight: 950;
    color: #111;
}

.admin-user-cell {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-user-cell strong {
    color: #111;
}

.admin-user-cell span {
    color: #777;
    font-size: 12px;
}

.role-pill-admin {
    background: #111;
    color: white;
}

.role-pill-customer {
    background: #eeeeee;
    color: #111;
}

.admin-user-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-user-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 800px) {
    .admin-user-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-users-summary-grid {
        grid-template-columns: 1fr;
    }
}

.profile-alert-message {
    background: #fff4df;
    color: #7a4b00;
    border: 1px solid #efc46f;
    border-radius: 14px;
    padding: 13px 15px;
    font-size: 14px;
    font-weight: 800;
    margin: 16px 0;
    line-height: 1.45;
}

.likes-topbar-icon,
.message-topbar-icon,
.cart-topbar-icon {
    font-size: 25px;
    color: #111;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.card-heart-icon {
    font-size: 22px;
    color: #111;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/*phos icons*/

.ph-fill.ph-heart-straight,
.card-like-btn.liked .card-heart-icon {
    color: #e53935;
}

.likes-icon-wrap,
.message-icon-wrap,
.cart-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-like-btn,
.card-login-like-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/*phos icons*/

.liked-product-card {
    position: relative;
}

.liked-item-select-wrap {
    position: absolute;
    z-index: 8;
    border-radius: 999px;
    padding: 6px;
}

.liked-item-select-wrap--top-right {
    top: 12px;
    right: 12px;
    left: auto;
}
.admin-orders-header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 22px;
    background: #111;
    color: white;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.admin-orders-header-card h2 {
    margin: 4px 0 8px;
    font-size: 26px;
    font-weight: 950;
}

.admin-orders-header-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.45;
}

.admin-orders-header-card .admin-eyebrow {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-orders-header-link {
    white-space: nowrap;
    text-decoration: none;
    background: white;
    color: #111;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
}

.orders-pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none;
    background: #111;
    color: white;
    padding: 11px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.orders-pill-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.checkout-processing-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 18px;
    background:
        radial-gradient(circle at top, rgba(17, 17, 17, 0.06), transparent 34%),
        #fafafa;
}

.checkout-processing-card {
    width: 100%;
    max-width: 470px;
    background: white;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    padding: 36px 34px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.checkout-processing-card-success {
    border-color: rgba(34, 197, 94, 0.35);
    box-shadow: 0 20px 50px rgba(34, 197, 94, 0.14);
    transform: translateY(-2px);
}

.checkout-processing-card h1 {
    margin: 18px 0 10px;
    font-size: 28px;
    font-weight: 950;
    color: #111;
}

.checkout-processing-card-success h1 {
    color: #12843b;
}

.checkout-processing-card p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.checkout-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    border: 4px solid #eeeeee;
    border-top-color: #111;
    border-radius: 50%;
    animation: checkoutSpin 0.85s linear infinite;
}

.checkout-success-check {
    width: 46px;
    height: 46px;
    margin: 0 auto;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #22c55e;
    color: white;
    font-size: 26px;
    font-weight: 950;
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.28);
}

@keyframes checkoutSpin {
    to {
        transform: rotate(360deg);
    }
}

.checkout-success-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.checkout-success-btn,
.checkout-secondary-btn {
    text-decoration: none;
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 900;
}

.checkout-success-btn {
    background: #111;
    color: white;
}

.checkout-secondary-btn {
    background: #f1f1f1;
    color: #111;
}

.checkout-processing-card-cancelled {
    border-color: rgba(239, 68, 68, 0.28);
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.10);
}

.checkout-processing-card-cancelled h1 {
    color: #b42318;
}

.checkout-cancel-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ef4444;
    color: white;
    font-size: 30px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.24);
}

.checkout-cancel-note {
    margin-top: 12px !important;
    font-size: 14px;
    color: #777 !important;
}

.size-option-btn.selected-size-option {
    border-color: #111;
    background: #111;
    color: white;
}

.size-option-btn.sold-out-size-option {
    opacity: 0.45;
    cursor: not-allowed;
    text-decoration: line-through;
}

.admin-email-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 36px 24px 60px;
}

.admin-email-header {
    margin-bottom: 22px;
}

.admin-email-header h1 {
    margin: 4px 0 8px;
    font-size: 34px;
    font-weight: 950;
    color: #111;
}

.admin-email-header p {
    margin: 0;
    color: #666;
}

.admin-email-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 22px;
    align-items: start;
}

.admin-email-card {
    background: white;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.06);
}

.admin-email-card h2 {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 950;
}

.admin-email-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-email-form label,
.admin-email-search-wrap label {
    font-size: 13px;
    font-weight: 900;
    color: #222;
}

.admin-email-input,
.admin-email-textarea {
    width: 100%;
    border: 1px solid #dddddd;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.admin-email-input:focus,
.admin-email-textarea:focus {
    border-color: #111;
}

.admin-email-textarea {
    resize: vertical;
    min-height: 160px;
}

.admin-email-send-btn {
    border: none;
    border-radius: 999px;
    padding: 13px 18px;
    background: #111;
    color: white;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    margin-top: 6px;
}

.admin-email-search-wrap {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-email-search-results {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
    padding: 8px;
    z-index: 50;
}

.admin-email-user-result {
    width: 100%;
    border: none;
    background: white;
    text-align: left;
    padding: 11px 12px;
    border-radius: 12px;
    cursor: pointer;
}

.admin-email-user-result:hover {
    background: #f5f5f5;
}

.admin-email-user-result strong,
.admin-email-user-result span {
    display: block;
}

.admin-email-user-result strong {
    font-size: 14px;
    color: #111;
}

.admin-email-user-result span {
    margin-top: 3px;
    font-size: 12px;
    color: #666;
}

.admin-email-alert {
    margin-bottom: 18px;
    border-radius: 16px;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 800;
}

.admin-email-alert-success {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.admin-email-alert-error {
    background: #fff1f3;
    color: #b42318;
    border: 1px solid #fecdd6;
}

.admin-email-log-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-email-log-item {
    border: 1px solid #eeeeee;
    border-radius: 16px;
    padding: 13px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.admin-email-log-item strong {
    display: block;
    font-size: 13px;
    color: #111;
}

.admin-email-log-item p {
    margin: 4px 0;
    font-size: 12px;
    color: #666;
}

.admin-email-log-item span {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    color: #888;
}

.email-log-sent,
.email-log-failed {
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.email-log-sent {
    color: #027a48;
}

.email-log-failed {
    color: #b42318;
}

.admin-email-empty {
    color: #777;
    font-size: 14px;
}

.admin-email-card {
    position: relative;
}

.admin-email-no-results {
    padding: 11px 12px;
    font-size: 13px;
    color: #777;
}

.admin-label-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 36px 24px 70px;
}

.admin-label-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-label-header h1 {
    margin: 4px 0 8px;
    font-size: 34px;
    font-weight: 950;
    color: #111;
}

.admin-label-header p {
    margin: 0;
    color: #666;
}

.admin-label-back-link {
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 10px 15px;
    text-decoration: none;
    color: #111;
    font-weight: 900;
    background: white;
}

.admin-label-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: start;
}

.admin-label-card {
    background: white;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.06);
}

.admin-label-card h2 {
    margin: 0 0 16px;
    font-size: 21px;
    font-weight: 950;
}

.admin-label-card h3 {
    margin: 20px 0 10px;
    font-size: 15px;
    font-weight: 950;
}

.admin-label-detail-list p,
.admin-label-address-box p {
    margin: 6px 0;
    color: #333;
    font-size: 14px;
}

.admin-label-address-box {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    padding: 14px;
}

.admin-label-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-label-form label {
    font-size: 13px;
    font-weight: 900;
    color: #222;
}

.admin-label-dimensions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.admin-label-helper {
    margin: 4px 0 0;
    color: #777;
    font-size: 13px;
}

.admin-label-rates-card {
    margin-top: 22px;
}

.admin-label-rates-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-label-rate-row {
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.admin-label-rate-row strong {
    color: #111;
}

.admin-label-rate-row p {
    margin: 5px 0;
    font-size: 13px;
    color: #666;
}

.admin-label-rate-row span {
    font-size: 12px;
    color: #888;
}

.admin-label-rate-price {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-label-rate-price strong {
    font-size: 18px;
}

.admin-label-buy-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    background: #111;
    color: white;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    white-space: nowrap;
}

.admin-label-existing {
    margin-top: 18px;
    background: #f6fef9;
    border: 1px solid #abefc6;
    border-radius: 16px;
    padding: 14px;
}

.admin-label-existing-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.admin-label-existing-actions a {
    border-radius: 999px;
    padding: 9px 12px;
    background: #111;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

.admin-order-id-cell,
.admin-order-shipping-cell,
.admin-order-label-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-order-mini-tag {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 3px 7px;
    background: #eef4ff;
    color: #3538cd;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-order-shipping-cell span,
.admin-order-label-cell small {
    color: #777;
    font-size: 12px;
}

.admin-order-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-orders-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 11px;
    background: #111;
    color: white !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.secondary-admin-order-btn {
    background: #f3f3f3;
    color: #111 !important;
}

/* ================================
   ADMIN ORDERS PAGE OVERRIDE
   ================================ */

.admin-page {
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 28px 70px;
}

.admin-header {
    margin-bottom: 22px;
}

.admin-header h1 {
    margin: 4px 0 8px;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.04em;
    color: #111;
}

.admin-header p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

/* Filter pills */
.admin-order-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    margin-bottom: 18px;
    scrollbar-width: thin;
}

.admin-order-filter-row::-webkit-scrollbar {
    height: 7px;
}

.admin-order-filter-row::-webkit-scrollbar-track {
    background: #f2f2f2;
    border-radius: 999px;
}

.admin-order-filter-row::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

.admin-order-filter-row a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #222;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 13px;
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.admin-order-filter-row a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: #f3f3f3;
    border-radius: 999px;
    color: #555;
    font-size: 12px;
    font-weight: 950;
}

.admin-order-filter-row a.active-order-filter {
    background: #111;
    border-color: #111;
    color: #fff;
}

.admin-order-filter-row a.active-order-filter span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

/* Table shell */
.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.admin-table-wrap::-webkit-scrollbar {
    height: 9px;
}

.admin-table-wrap::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 999px;
}

.admin-table-wrap::-webkit-scrollbar-thumb {
    background: #c9c9c9;
    border-radius: 999px;
}

/* Order table */
.admin-orders-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.admin-orders-table th,
.admin-orders-table td {
    padding: 16px 14px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.admin-orders-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fafafa;
    color: #555;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-orders-table tr:last-child td {
    border-bottom: none;
}

.admin-orders-table tbody tr:hover {
    background: #fcfcfc;
}

/* Column sizing */
.admin-orders-table th:nth-child(1),
.admin-orders-table td:nth-child(1) {
    width: 90px;
}

.admin-orders-table th:nth-child(2),
.admin-orders-table td:nth-child(2) {
    width: 210px;
}

.admin-orders-table th:nth-child(3),
.admin-orders-table td:nth-child(3) {
    width: 95px;
}

.admin-orders-table th:nth-child(4),
.admin-orders-table td:nth-child(4) {
    width: 120px;
}

.admin-orders-table th:nth-child(5),
.admin-orders-table td:nth-child(5) {
    width: 135px;
}

.admin-orders-table th:nth-child(6),
.admin-orders-table td:nth-child(6) {
    width: 160px;
}

.admin-orders-table th:nth-child(7),
.admin-orders-table td:nth-child(7) {
    width: 170px;
}

.admin-orders-table th:nth-child(8),
.admin-orders-table td:nth-child(8) {
    width: 170px;
}

.admin-orders-table th:nth-child(9),
.admin-orders-table td:nth-child(9) {
    width: 190px;
}

/* Order cells */
.admin-order-id-cell,
.admin-order-shipping-cell,
.admin-order-label-cell,
.admin-order-buyer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.admin-order-id-cell strong {
    font-size: 15px;
    color: #111;
}

.admin-order-buyer strong {
    color: #111;
    font-size: 14px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-order-buyer span,
.admin-order-shipping-cell span,
.admin-order-label-cell small {
    color: #777;
    font-size: 12px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-order-shipping-cell strong {
    color: #222;
    font-size: 13px;
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-order-mini-tag {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 3px 8px;
    background: #eef4ff;
    color: #3538cd;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
}

/* Pills */
.order-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 130px;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
    text-transform: capitalize;
}

.payment-pill-paid,
.order-pill-paid {
    background: #ecfdf3;
    color: #027a48;
}

.payment-pill-unpaid,
.order-pill-pending {
    background: #fff7ed;
    color: #b45309;
}

.order-pill-processing {
    background: #eef4ff;
    color: #3538cd;
}

.order-pill-shipped {
    background: #eff8ff;
    color: #175cd3;
}

.order-pill-delivered {
    background: #f0fdf4;
    color: #15803d;
}

.order-pill-cancelled,
.order-pill-refunded {
    background: #fff1f3;
    color: #b42318;
}

.order-pill-cancel_requested,
.order-pill-partially_refunded {
    background: #fffaeb;
    color: #b54708;
}

/* Actions */
.admin-order-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-order-actions > a,
.admin-orders-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 999px;
    padding: 8px 12px;
    background: #111;
    color: #fff !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.admin-order-actions > a:first-child {
    background: #f4f4f4;
    color: #111 !important;
}

.secondary-admin-order-btn {
    background: #eef4ff !important;
    color: #3538cd !important;
}

.muted-admin-text {
    color: #999;
    font-size: 13px;
}

/* Mobile / small screens */
@media (max-width: 900px) {
    .admin-page {
        padding: 26px 16px 60px;
    }

    .admin-header h1 {
        font-size: 28px;
    }

    .admin-table-wrap {
        border-radius: 18px;
    }

    .admin-orders-table {
        min-width: 1120px;
    }
}

/* ================================
   ADMIN EMAIL CENTER OVERRIDE
   ================================ */

.admin-email-page {
    max-width: 1250px;
    margin: 0 auto;
    padding: 36px 24px 70px;
}

.admin-email-header {
    margin-bottom: 22px;
}

.admin-email-header h1 {
    margin: 4px 0 8px;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.04em;
    color: #111;
}

.admin-email-header p {
    margin: 0;
    color: #666;
}

.admin-email-layout {
    display: grid;
    grid-template-columns: minmax(390px, 0.95fr) minmax(520px, 1.25fr);
    gap: 24px;
    align-items: start;
}

.admin-email-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.06);
}

.admin-email-card h2 {
    margin: 0 0 16px;
    font-size: 21px;
    font-weight: 950;
}

.admin-email-log-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.admin-email-log-top p {
    margin: -8px 0 16px;
    color: #666;
    font-size: 13px;
}

.admin-email-filter-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 12px;
    margin-bottom: 12px;
}

.admin-email-filter-row::-webkit-scrollbar {
    height: 7px;
}

.admin-email-filter-row::-webkit-scrollbar-track {
    background: #f2f2f2;
    border-radius: 999px;
}

.admin-email-filter-row::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

.admin-email-filter-row a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #222;
    text-decoration: none;
    border-radius: 999px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.admin-email-filter-row a span {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f3f3f3;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 950;
}

.admin-email-filter-row a.active-email-filter {
    background: #111;
    border-color: #111;
    color: white;
}

.admin-email-filter-row a.active-email-filter span {
    background: rgba(255,255,255,0.18);
    color: white;
}

.admin-email-clear-form {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 14px;
}

.admin-email-clear-select {
    flex: 1;
    border: 1px solid #dddddd;
    border-radius: 999px;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
    background: white;
}

.admin-email-clear-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    background: #fff1f3;
    color: #b42318;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.admin-email-log-scroll {
    max-height: 545px;
    overflow-y: auto;
    padding-right: 6px;
}

.admin-email-log-scroll::-webkit-scrollbar,
.admin-email-search-results::-webkit-scrollbar {
    width: 8px;
}

.admin-email-log-scroll::-webkit-scrollbar-track,
.admin-email-search-results::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 999px;
}

.admin-email-log-scroll::-webkit-scrollbar-thumb,
.admin-email-search-results::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

.admin-email-log-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-email-log-item {
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 14px;
    background: #fff;
}

.admin-email-log-title-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.admin-email-log-title-row strong {
    font-size: 13px;
    color: #111;
    line-height: 1.35;
}

.admin-email-log-main p {
    margin: 5px 0 8px;
    font-size: 12px;
    color: #666;
    word-break: break-word;
}

.admin-email-log-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-email-log-meta span {
    border-radius: 999px;
    padding: 5px 8px;
    background: #f5f5f5;
    color: #666;
    font-size: 11px;
    font-weight: 800;
}

.email-log-sent,
.email-log-failed {
    font-style: normal;
    font-size: 11px;
    font-weight: 950;
    white-space: nowrap;
    border-radius: 999px;
    padding: 5px 8px;
}

.email-log-sent {
    background: #ecfdf3;
    color: #027a48;
}

.email-log-failed {
    background: #fff1f3;
    color: #b42318;
}

.admin-email-log-error {
    margin-top: 9px !important;
    border-radius: 12px;
    padding: 9px 10px;
    background: #fff1f3;
    color: #b42318 !important;
    font-size: 12px !important;
}

.admin-email-search-results {
    max-height: 260px;
    overflow-y: auto;
    z-index: 100;
}

.admin-email-no-results {
    padding: 11px 12px;
    font-size: 13px;
    color: #777;
}

@media (max-width: 980px) {
    .admin-email-layout {
        grid-template-columns: 1fr;
    }

    .admin-email-page {
        padding: 28px 16px 60px;
    }
}

/* Compose email user search dropdown scroll */
.admin-email-search-results {
    max-height: 260px;
    overflow-y: auto;
    z-index: 100;
}

.admin-email-search-results::-webkit-scrollbar {
    width: 8px;
}

.admin-email-search-results::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 999px;
}

.admin-email-search-results::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

.admin-email-search-results::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.admin-label-status-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.admin-label-status-actions form {
    margin: 0;
}

.admin-label-status-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.admin-label-status-actions form {
    margin: 0;
}

.secondary-admin-label-btn {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0;
}

.admin-label-delivered-note {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 10px 14px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 13px;
    font-weight: 950;
}

.verify-resend-form {
    margin-top: 16px;
    text-align: center;
}

.verify-resend-btn {
    border: none;
    background: transparent;
    color: #111;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    padding: 8px 10px;
}

.verify-resend-btn:disabled {
    color: #888;
    cursor: not-allowed;
}

.verify-resend-success {
    color: #027a48;
    font-size: 14px;
    font-weight: 800;
    margin-top: 12px;
    text-align: center;
}

.verify-mini-resend {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #777;
}

.verify-mini-resend form {
    margin: 0;
}

.verify-mini-resend-btn {
    border: none;
    background: transparent;
    color: #111;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
}

.verify-mini-resend-btn:disabled {
    color: #999;
    cursor: not-allowed;
}

.verify-resend-success {
    color: #027a48;
    font-size: 13px;
    font-weight: 800;
    margin-top: 10px;
    text-align: center;
}

.verify-mini-resend {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #777;
}

.verify-mini-resend form {
    margin: 0;
}

.verify-mini-resend-btn {
    border: none;
    background: transparent;
    color: #111;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
}

.verify-mini-resend-btn:disabled {
    color: #999;
    cursor: not-allowed;
}

.verify-resend-success {
    color: #027a48;
    font-size: 13px;
    font-weight: 800;
    margin-top: 10px;
    text-align: center;
}

/* ================================
   ADMIN TRANSACTIONS PAGE
   ================================ */

.admin-transactions-page {
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 28px 70px;
}

.admin-transactions-header {
    margin-bottom: 22px;
}

.admin-transactions-header h1 {
    margin: 4px 0 8px;
    font-size: 36px;
    font-weight: 950;
    letter-spacing: -0.04em;
    color: #111;
}

.admin-transactions-header p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.transaction-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.transaction-summary-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.05);
}

.transaction-summary-card span {
    display: block;
    color: #666;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
}

.transaction-summary-card strong {
    display: block;
    color: #111;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.transaction-summary-card p {
    margin: 8px 0 0;
    color: #777;
    font-size: 13px;
}

.transaction-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    margin-bottom: 14px;
}

.transaction-filter-row::-webkit-scrollbar {
    height: 7px;
}

.transaction-filter-row::-webkit-scrollbar-track {
    background: #f2f2f2;
    border-radius: 999px;
}

.transaction-filter-row::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

.transaction-filter-row a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #222;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 13px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.transaction-filter-row a span {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #f3f3f3;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 950;
}

.transaction-filter-row a.active-transaction-filter {
    background: #111;
    border-color: #111;
    color: #fff;
}

.transaction-filter-row a.active-transaction-filter span {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

.transactions-table-shell {
    width: 100%;
    overflow-x: auto;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.transactions-table-shell::-webkit-scrollbar {
    height: 9px;
}

.transactions-table-shell::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 999px;
}

.transactions-table-shell::-webkit-scrollbar-thumb {
    background: #c9c9c9;
    border-radius: 999px;
}

.transactions-table {
    width: 100%;
    min-width: 1250px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.transactions-table th,
.transactions-table td {
    padding: 16px 14px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.transactions-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fafafa;
    color: #555;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.transactions-table tr:last-child td {
    border-bottom: none;
}

.transactions-table tbody tr:hover {
    background: #fcfcfc;
}

.transactions-table th:nth-child(1),
.transactions-table td:nth-child(1) {
    width: 120px;
}

.transactions-table th:nth-child(2),
.transactions-table td:nth-child(2) {
    width: 145px;
}

.transactions-table th:nth-child(3),
.transactions-table td:nth-child(3) {
    width: 210px;
}

.transactions-table th:nth-child(4),
.transactions-table td:nth-child(4) {
    width: 90px;
}

.transactions-table th:nth-child(5),
.transactions-table td:nth-child(5) {
    width: 210px;
}

.transactions-table th:nth-child(6),
.transactions-table td:nth-child(6) {
    width: 210px;
}

.transactions-table th:nth-child(7),
.transactions-table td:nth-child(7) {
    width: 120px;
}

.transactions-table th:nth-child(8),
.transactions-table td:nth-child(8) {
    width: 130px;
}

.transaction-amount-cell,
.transaction-status-cell,
.transaction-buyer-cell,
.transaction-date-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.transaction-amount-cell strong {
    color: #111;
    font-size: 15px;
    font-weight: 950;
}

.transaction-amount-cell span,
.transaction-buyer-cell span,
.transaction-date-cell span,
.transaction-order-status {
    color: #777;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transaction-buyer-cell strong,
.transaction-date-cell strong {
    color: #111;
    font-size: 13px;
    max-width: 185px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transaction-pill {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.transaction-payment-paid {
    background: #ecfdf3;
    color: #027a48;
}

.transaction-payment-unpaid,
.transaction-payment-pending {
    background: #fff7ed;
    color: #b45309;
}

.transaction-payment-failed,
.transaction-payment-cancelled {
    background: #fff1f3;
    color: #b42318;
}

.transaction-payment-refunded {
    background: #eef4ff;
    color: #3538cd;
}

.transaction-order-link {
    color: #111;
    font-weight: 950;
    text-decoration: none;
}

.transaction-copy-id {
    border: 1px solid #eeeeee;
    border-radius: 999px;
    background: #fafafa;
    color: #333;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transaction-copy-id:hover {
    background: #f0f0f0;
}

.transaction-muted {
    color: #aaa;
    font-size: 13px;
}

.transaction-actions {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.transaction-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border-radius: 999px;
    padding: 7px 10px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 950;
}

.transaction-actions a:first-child {
    background: #f4f4f4;
    color: #111;
}

.transaction-empty {
    color: #777;
    text-align: center !important;
    padding: 34px !important;
}

@media (max-width: 900px) {
    .admin-transactions-page {
        padding: 28px 16px 60px;
    }

    .transaction-summary-grid {
        grid-template-columns: 1fr;
    }

    .transactions-table {
        min-width: 1180px;
    }
}

/* ================================
   PRODUCT DETAIL ADMIN ANALYTICS
   ================================ */

.admin-product-analytics-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 14px;
    flex-wrap: wrap;
}

.admin-product-analytics-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #eeeeee;
    background: #ffffff;
    border-radius: 18px;
    padding: 11px 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.admin-product-analytics-pill i {
    font-size: 20px;
    color: #111;
}

.admin-product-analytics-pill div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-product-analytics-pill strong {
    font-size: 16px;
    font-weight: 950;
    color: #111;
    line-height: 1;
}

.admin-product-analytics-pill span {
    color: #777;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.variant-label-row-with-admin-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-mini-analytics-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-mini-analytics-inline span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #333;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 950;
}

.admin-mini-analytics-inline i {
    font-size: 13px;
}

/* ================================
   PRODUCT DETAIL ADMIN CONTROLS
   ================================ */

.enhanced-admin-detail-actions,
.admin-detail-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding: 14px;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    background: #fafafa;
}

.enhanced-admin-detail-actions a,
.admin-detail-actions a,
.enhanced-admin-detail-actions button,
.admin-detail-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: none;
    border-radius: 999px;
    padding: 10px 15px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.enhanced-admin-detail-actions a:nth-child(2),
.admin-detail-actions a:nth-child(2) {
    background: #eef4ff;
    color: #3538cd;
}

.enhanced-admin-detail-actions form,
.admin-detail-actions form {
    margin: 0;
}

.enhanced-admin-detail-actions button,
.admin-detail-actions button {
    background: #ecfdf3;
    color: #027a48;
}

@media (max-width: 700px) {
    .variant-label-row-with-admin-stats {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-product-analytics-pill {
        flex: 1 1 120px;
    }
}

/* ================================
   ADMIN ANALYTICS PAGE
   ================================ */

.admin-analytics-page {
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 28px 70px;
}

.admin-analytics-header {
    margin-bottom: 22px;
}

.admin-analytics-header h1 {
    margin: 4px 0 8px;
    font-size: 36px;
    font-weight: 950;
    letter-spacing: -0.04em;
    color: #111;
}

.admin-analytics-header p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.analytics-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    margin-bottom: 16px;
}

.analytics-filter-row a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #222;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.analytics-filter-row a.active-analytics-filter {
    background: #111;
    border-color: #111;
    color: #fff;
}

.analytics-period-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background: #111;
    color: white;
    border-radius: 24px;
    padding: 22px;
    margin-bottom: 18px;
}

.analytics-period-card span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.analytics-period-card strong {
    display: block;
    font-size: 24px;
    font-weight: 950;
    margin-top: 4px;
}

.analytics-period-card p {
    margin: 0;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.5;
}

.analytics-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.analytics-metric-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.05);
}

.analytics-metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: #f5f5f5;
    flex: 0 0 auto;
}

.analytics-metric-icon i {
    font-size: 22px;
    color: #111;
}

.analytics-metric-card span {
    display: block;
    color: #666;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.analytics-metric-card strong {
    display: block;
    margin-top: 5px;
    color: #111;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.analytics-metric-card p {
    margin: 7px 0 0;
    color: #777;
    font-size: 13px;
    line-height: 1.4;
}

.analytics-revenue-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.05);
}

.analytics-revenue-card h2 {
    margin: 4px 0 5px;
    color: #111;
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.analytics-revenue-card span {
    color: #666;
    font-size: 14px;
}

.analytics-revenue-card > p {
    margin: 0;
    color: #777;
    max-width: 420px;
    line-height: 1.5;
    font-size: 13px;
}

.analytics-table-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.analytics-table-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.05);
}

.analytics-table-header h2 {
    margin: 0 0 5px;
    color: #111;
    font-size: 21px;
    font-weight: 950;
}

.analytics-table-header p {
    margin: 0 0 16px;
    color: #777;
    font-size: 13px;
}

.analytics-product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.analytics-product-row {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 12px;
    align-items: center;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, transform 0.15s ease;
}

.analytics-product-row:hover {
    background: #fafafa;
    transform: translateY(-1px);
}

.analytics-product-image-wrap {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.analytics-product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.analytics-product-image-wrap span {
    font-size: 10px;
    color: #999;
    font-weight: 800;
}

.analytics-product-info {
    min-width: 0;
}

.analytics-product-info strong {
    display: block;
    color: #111;
    font-size: 13px;
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analytics-product-info span {
    display: block;
    color: #777;
    font-size: 12px;
    margin-top: 4px;
}

.analytics-product-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: #f5f5f5;
    padding: 7px 10px;
    color: #111;
    font-size: 12px;
    font-weight: 950;
}

.analytics-product-stat i {
    font-size: 14px;
}

.analytics-empty {
    margin: 0;
    color: #777;
    font-size: 14px;
    background: #fafafa;
    border-radius: 18px;
    padding: 18px;
}

@media (max-width: 1000px) {
    .analytics-metric-grid,
    .analytics-table-grid {
        grid-template-columns: 1fr;
    }

    .analytics-period-card,
    .analytics-revenue-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .admin-analytics-page {
        padding: 28px 16px 60px;
    }

    .admin-analytics-header h1 {
        font-size: 30px;
    }
}

/* ================================
   ADMIN ANALYTICS SCROLL OVERRIDE
   ================================ */

.analytics-product-scroll {
    max-height: 430px;
    overflow-y: auto;
    padding-right: 6px;
}

.analytics-product-scroll::-webkit-scrollbar {
    width: 8px;
}

.analytics-product-scroll::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 999px;
}

.analytics-product-scroll::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

.analytics-product-scroll::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* ================================
   ADMIN TOP CONTROLS / NAV OVERRIDE
   ================================ */

.admin-page .topbar,
.regular-page .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #eeeeee;
}

.admin-page .topbar-nav {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.admin-page .topbar-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border-radius: 999px;
    padding: 8px 13px;
    background: #f5f5f5;
    color: #111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.admin-page .topbar-nav a:hover {
    background: #111;
    color: #fff;
    transform: translateY(-1px);
}

.admin-page .topbar-nav a[href="/logout"],
.admin-page .topbar-nav a[href$="logout"] {
    background: #fff1f3;
    color: #b42318;
}

.admin-page .topbar-nav a[href="/logout"]:hover,
.admin-page .topbar-nav a[href$="logout"]:hover {
    background: #b42318;
    color: #fff;
}

.admin-page .brand {
    gap: 10px;
}

.admin-page .brand-logo {
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.admin-page .brand-name {
    font-weight: 950;
    letter-spacing: -0.04em;
}

.admin-page .brand-sub {
    color: #777;
    font-size: 12px;
    font-weight: 850;
    text-transform: lowercase;
}

/* Optional: active-looking admin links by page area */
body.admin-page .topbar-nav a[href*="admin"] {
    border: 1px solid #e8e8e8;
}

/* Mobile cleanup */
@media (max-width: 760px) {
    .admin-page .topbar {
        align-items: flex-start;
        gap: 12px;
        padding: 14px 16px;
    }

    .admin-page .topbar-nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .admin-page .topbar-nav a {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* ================================
   REVIEWS PAGE
   ================================ */

.reviews-page,
.leave-review-page {
    max-width: 1050px;
    margin: 0 auto;
    padding: 42px 22px 80px;
}

.reviews-hero {
    background: #111;
    color: #fff;
    border-radius: 28px;
    padding: 34px;
    margin-bottom: 20px;
}

.reviews-hero h1 {
    margin: 6px 0 18px;
    font-size: 40px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.reviews-rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.reviews-rating-summary strong {
    font-size: 42px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.reviews-stars,
.review-stars {
    color: #f5b301;
    font-size: 20px;
    letter-spacing: 1px;
}

.reviews-rating-summary p {
    color: rgba(255,255,255,0.72);
    margin: 0;
    font-size: 14px;
}

.top-compliments-card,
.review-card,
.leave-review-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 38px rgba(0,0,0,0.05);
}

.top-compliments-card {
    margin-bottom: 18px;
}

.top-compliments-card h2 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 950;
}

.top-compliments-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.top-compliment-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    border-radius: 999px;
    padding: 9px 12px;
}

.top-compliment-pill strong {
    font-size: 13px;
    color: #111;
}

.top-compliment-pill span {
    background: #111;
    color: #fff;
    border-radius: 999px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 950;
}

.reviews-controls {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 16px;
}

.reviews-controls a {
    flex: 0 0 auto;
    text-decoration: none;
    color: #111;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 900;
}

.reviews-controls a.active-review-sort {
    background: #111;
    color: #fff;
    border-color: #111;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-user-row {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
    align-items: center;
}

.review-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #111;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}

.review-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-user-row strong {
    color: #111;
    font-size: 15px;
}

.review-date {
    color: #888;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.review-comment {
    margin: 16px 0 0;
    color: #333;
    font-size: 15px;
    line-height: 1.55;
}

.review-compliments {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.review-compliments span {
    background: #f5f5f5;
    color: #333;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 850;
}

.reviews-empty {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #eeeeee;
    padding: 32px;
    text-align: center;
}

.reviews-empty h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 950;
}

.reviews-empty p {
    margin: 0;
    color: #777;
}

/* ================================
   LEAVE REVIEW PAGE
   ================================ */

.leave-review-card {
    max-width: 720px;
    margin: 0 auto;
}

.leave-review-card h1 {
    margin: 6px 0 8px;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.review-order-note {
    margin: 0 0 18px;
    color: #777;
    font-weight: 800;
}

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

.leave-review-form > label {
    color: #111;
    font-size: 13px;
    font-weight: 950;
}

.review-rating-select {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.review-rating-select label input,
.review-compliment-grid label input {
    display: none;
}

.review-rating-select label span {
    display: inline-flex;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 10px 13px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    background: #fff;
}

.review-rating-select label input:checked + span {
    background: #111;
    color: #fff;
    border-color: #111;
}

.review-compliment-grid {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.review-compliment-grid label span {
    display: inline-flex;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    background: #fff;
}

.review-compliment-grid label input:checked + span {
    background: #eef4ff;
    color: #3538cd;
    border-color: #c7d7fe;
}

.review-comment-input {
    border: 1px solid #dddddd;
    border-radius: 18px;
    padding: 14px;
    resize: vertical;
    font-family: inherit;
    outline: none;
}

.review-comment-input:focus {
    border-color: #111;
}

.leave-review-submit {
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    min-height: 46px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.review-back-link {
    margin-top: 14px;
}

@media (max-width: 700px) {
    .reviews-hero {
        padding: 26px;
    }

    .reviews-hero h1 {
        font-size: 32px;
    }

    .review-user-row {
        grid-template-columns: 44px 1fr;
    }

    .review-date {
        grid-column: 2;
    }
}

/* ================================
   LEAVE REVIEW PAGE
   ================================ */

.leave-review-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 44px 22px 84px;
}

.leave-review-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.leave-review-header {
    margin-bottom: 22px;
}

.leave-review-header h1 {
    margin: 6px 0 8px;
    color: #111;
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -0.05em;
}


.review-order-note {
    margin: 0;
    color: #777;
    font-size: 14px;
    font-weight: 850;
}

.review-form-message {
    margin-bottom: 18px;
}

.leave-review-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.review-form-section {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.review-main-label {
    color: #111;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.review-field-help {
    margin: 0;
    color: #777;
    font-size: 12px;
    line-height: 1.45;
}

.review-rating-select {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.review-rating-select label input,
.review-compliment-grid label input {
    display: none;
}

.review-rating-select label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 10px 15px;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.review-rating-select label span:hover {
    transform: translateY(-1px);
    border-color: #111;
}

.review-rating-select label input:checked + span {
    background: #111;
    color: #fff;
    border-color: #111;
}

.review-compliment-grid {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.review-compliment-grid label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 9px 13px;
    background: #fff;
    color: #222;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.review-compliment-grid label span:hover {
    transform: translateY(-1px);
    border-color: #c7d7fe;
    background: #f8faff;
}

.review-compliment-grid label input:checked + span {
    background: #eef4ff;
    color: #3538cd;
    border-color: #c7d7fe;
}

.review-comment-input {
    width: 100%;
    min-height: 140px;
    border: 1px solid #dddddd;
    border-radius: 20px;
    padding: 15px;
    background: #fff;
    color: #111;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
}

.review-comment-input:focus {
    border-color: #111;
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.06);
}

.leave-review-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.leave-review-submit:hover {
    background: #333;
    transform: translateY(-1px);
}

.leave-review-privacy-note {
    margin: -4px 0 0;
    color: #888;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.review-unavailable-box {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    padding: 24px;
    text-align: center;
}

.review-unavailable-box h2 {
    margin: 0 0 8px;
    color: #111;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.review-unavailable-box p {
    margin: 0 auto 18px;
    max-width: 520px;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

.review-back-link {
    width: fit-content;
    margin: 0 auto;
}

@media (max-width: 700px) {
    .leave-review-page {
        padding: 32px 16px 70px;
    }

    .leave-review-card {
        padding: 24px;
        border-radius: 24px;
    }

    .leave-review-header h1 {
        font-size: 32px;
    }

    .review-rating-select,
    .review-compliment-grid {
        gap: 8px;
    }

    .review-rating-select label span,
    .review-compliment-grid label span {
        font-size: 12px;
        padding: 9px 11px;
    }

    .leave-review-submit {
        width: 100%;
    }
}

/* ================================
   REVIEWABLE ORDERS CARD
   ================================ */

.reviewable-orders-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 16px 38px rgba(0,0,0,0.05);
}

.reviewable-orders-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.reviewable-orders-header h2 {
    margin: 4px 0 6px;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.04em;
    color: #111;
}

.reviewable-orders-header p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.reviewable-orders-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reviewable-order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 14px;
    background: #fafafa;
}

.reviewable-order-row div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviewable-order-row strong {
    color: #111;
    font-size: 14px;
    font-weight: 950;
}

.reviewable-order-row span,
.reviewable-order-row small {
    color: #777;
    font-size: 12px;
    font-weight: 800;
}

.reviewable-order-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    padding: 9px 14px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
}

.reviewable-order-row a:hover {
    background: #333;
}

.reviewable-orders-empty {
    margin: 0;
    background: #fafafa;
    border-radius: 18px;
    padding: 16px;
    color: #777;
    font-size: 14px;
}

@media (max-width: 650px) {
    .reviewable-order-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .reviewable-order-row a {
        width: 100%;
    }
}

/* ================================
   PUBLIC TOPBAR AUTH LINKS
   ================================ */

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-nav a {
    text-decoration: none;
}

/* Default topbar links like Reviews */
.topbar-nav a[href*="reviews"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    padding: 9px 14px;
    background: #f5f5f5;
    color: #111;
    font-size: 13px;
    font-weight: 950;
    border: 1px solid #eeeeee;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.topbar-nav a[href*="reviews"]:hover {
    background: #111;
    color: #fff;
    border-color: #111;
    transform: translateY(-1px);
}

/* Login button */
.topbar-nav a[href="/login"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    padding: 9px 15px;
    background: #ffffff;
    color: #111;
    font-size: 13px;
    font-weight: 950;
    border: 1px solid #dedede;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.topbar-nav a[href="/login"]:hover {
    background: #f3f3f3;
    border-color: #cfcfcf;
    transform: translateY(-1px);
}

/* Signup button */
.topbar-nav a[href="/account"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    padding: 9px 16px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    border: 1px solid #111;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.topbar-nav a[href="/account"]:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

/* Mobile cleanup */
@media (max-width: 760px) {
    .topbar-nav {
        gap: 7px;
        flex-wrap: wrap;
    }

    .topbar-nav a[href*="reviews"],
    .topbar-nav a[href="/login"],
    .topbar-nav a[href="/account"] {
        min-height: 34px;
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* ================================
   TOPBAR LAYOUT FIX
   Logo | Search | Nav
   ================================ */

.topbar {
    display: grid !important;
    grid-template-columns: auto minmax(360px, 1fr) auto;
    align-items: center;
    gap: 22px;
    width: 100%;
    box-sizing: border-box;
    padding-left: 34px;
    padding-right: 34px;
    overflow: visible;
}

.brand {
    flex: none;
    min-width: max-content;
}

.searchbar {
    width: 100%;
    max-width: 720px;
    min-width: 320px;
    justify-self: center;
    flex: none !important;
}

.searchbar-inner {
    width: 100%;
}

.topbar-nav {
    justify-self: end;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: max-content;
    margin-left: 0 !important;
    padding-right: 0 !important;
    white-space: nowrap;
    overflow: visible;
}

/* ================================
   CUSTOMER ORDERS PAGE V3
   ================================ */

.customer-orders-page-v3 {
    max-width: 1060px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 22px 76px;
}

.customer-orders-soft-header {
    margin-bottom: 18px;
}

.customer-orders-soft-header h1 {
    margin: 4px 0 6px;
    color: #111;
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.customer-orders-soft-header p {
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

.customer-orders-filter-row-v3 {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 16px;
}

.customer-orders-filter-row-v3::-webkit-scrollbar {
    height: 7px;
}

.customer-orders-filter-row-v3::-webkit-scrollbar-track {
    background: #f2f2f2;
    border-radius: 999px;
}

.customer-orders-filter-row-v3::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

.customer-orders-filter-row-v3 a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    border-radius: 999px;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.customer-orders-filter-row-v3 a:hover {
    transform: translateY(-1px);
    border-color: #111;
}

.customer-orders-filter-row-v3 a span {
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #f3f3f3;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    font-size: 12px;
    font-weight: 950;
}

.customer-orders-filter-row-v3 a.active-customer-order-filter-v3 {
    background: #111;
    border-color: #111;
    color: #fff;
}

.customer-orders-filter-row-v3 a.active-customer-order-filter-v3 span {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

.customer-orders-panel-v3 {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.customer-orders-panel-header-v3 {
    margin-bottom: 16px;
}

.customer-orders-panel-header-v3 h2 {
    margin: 0 0 5px;
    color: #111;
    font-size: 23px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.customer-orders-panel-header-v3 p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.customer-orders-scroll-v3 {
    max-height: 680px;
    overflow-y: auto;
    padding-right: 7px;
}

.customer-orders-scroll-v3::-webkit-scrollbar {
    width: 8px;
}

.customer-orders-scroll-v3::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 999px;
}

.customer-orders-scroll-v3::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

.customer-orders-scroll-v3::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.customer-orders-list-v3 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.customer-order-card-v3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    background: #fafafa;
    padding: 16px;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.customer-order-card-v3:hover {
    background: #fff;
    border-color: #dedede;
    transform: translateY(-1px);
}

.customer-order-main-v3 {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.customer-order-icon-v3 {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.customer-order-icon-v3 i {
    font-size: 24px;
}

.customer-order-info-v3 {
    min-width: 0;
}

.customer-order-title-row-v3 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.customer-order-id-v3 {
    color: #111;
    font-size: 13px;
    font-weight: 950;
}

.customer-order-date-v3 {
    color: #888;
    font-size: 12px;
    font-weight: 800;
}

.customer-order-info-v3 h2 {
    margin: 0;
    color: #111;
    font-size: 25px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.customer-order-info-v3 p {
    margin: 4px 0 10px;
    color: #777;
    font-size: 13px;
}

.customer-order-status-area-v3 {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.customer-order-tracking-text-v3 {
    margin-top: 9px !important;
    font-size: 12px !important;
    font-weight: 850;
    color: #666 !important;
}

.customer-order-actions-v3 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.customer-order-primary-btn-v3,
.customer-order-secondary-btn-v3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    padding: 9px 14px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
}

.customer-order-primary-btn-v3 {
    background: #111;
    color: #fff;
}

.customer-order-secondary-btn-v3 {
    background: #f3f3f3;
    color: #111;
}

.customer-order-primary-btn-v3:hover {
    background: #333;
}

.customer-order-secondary-btn-v3:hover {
    background: #e8e8e8;
}

.empty-orders-v3 {
    text-align: center;
    background: #fafafa;
    border-radius: 22px;
    padding: 36px 22px;
}

.empty-orders-v3 h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 950;
    color: #111;
}

.empty-orders-v3 p {
    margin: 0 0 18px;
    color: #777;
    font-size: 14px;
}

.empty-orders-v3 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    padding: 10px 16px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
}

@media (max-width: 820px) {
    .customer-order-card-v3 {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-order-actions-v3 {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 650px) {
    .customer-orders-page-v3 {
        padding: 28px 16px 70px;
    }

    .customer-orders-soft-header h1 {
        font-size: 30px;
    }

    .customer-orders-panel-v3 {
        padding: 18px;
    }

    .customer-order-main-v3 {
        width: 100%;
    }

    .customer-order-actions-v3 a {
        width: 100%;
    }
}

/* ================================
   REVIEWS NAV BADGE
   ================================ */

.reviews-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.reviews-nav-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #e11d48;
    color: #fff;
    font-size: 11px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ================================
   REVIEWABLE ORDER ACTIONS
   ================================ */

.reviewable-order-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.reviewable-order-actions a,
.reviewable-order-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    padding: 9px 14px;
    border: none;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    white-space: nowrap;
}

.reviewable-order-actions a {
    background: #111;
    color: #fff;
}

.reviewable-order-actions button {
    background: #f3f3f3;
    color: #555;
}

.reviewable-order-actions button:hover {
    background: #e8e8e8;
}

.reviewable-order-actions form {
    margin: 0;
}

@media (max-width: 650px) {
    .reviewable-order-actions {
        width: 100%;
    }

    .reviewable-order-actions a,
    .reviewable-order-actions form,
    .reviewable-order-actions button {
        width: 100%;
    }
}

/* ================================
   REVIEWABLE ORDER IMAGE PREVIEW
   ================================ */

.reviewable-order-row-with-image {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    align-items: center;
    gap: 14px;
}

.reviewable-order-image-box {
    position: relative;
    width: 74px;
    height: 74px;
    border-radius: 18px;
    overflow: hidden;
    background: #f2f2f2;
    border: 1px solid #eeeeee;
    flex: 0 0 auto;
}

.reviewable-order-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.92);
}

.reviewable-order-image-placeholder {
    width: 100%;
    height: 100%;
    color: #999;
    font-size: 10px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px;
}

.reviewable-order-image-badge {
    position: absolute;
    left: 7px;
    bottom: 7px;
    border-radius: 999px;
    padding: 4px 7px;
    background: rgba(17, 17, 17, 0.82);
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
}

.reviewable-order-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.reviewable-order-info strong {
    color: #111;
    font-size: 14px;
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reviewable-order-info span,
.reviewable-order-info small {
    color: #777;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 700px) {
    .reviewable-order-row-with-image {
        grid-template-columns: 68px 1fr;
        align-items: start;
    }

    .reviewable-order-image-box {
        width: 68px;
        height: 68px;
        border-radius: 16px;
    }

    .reviewable-order-actions {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* ================================
   DISCOUNT COUNTDOWN TIMER
   ================================ */

.discount-countdown-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 18px;
    padding: 9px 13px;
    border-radius: 999px;
    background: #fff5f5;
    border: 1px solid #fecaca;
    color: #b42318;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(180, 35, 24, 0.08);
}

.discount-countdown-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.13);
    flex: 0 0 auto;
}

.discount-countdown-label {
    color: #991b1b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.discount-countdown-pill strong {
    color: #dc2626;
    font-size: 13px;
    font-weight: 950;
}

/* More urgent when JS adds this class under 3 hours */
.discount-countdown-pill.discount-ending-soon {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
    animation: discountPulse 1.4s ease-in-out infinite;
}

.discount-countdown-pill.discount-ending-soon .discount-countdown-dot {
    background: #dc2626;
    box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.18);
}

.discount-countdown-pill.discount-ending-soon strong {
    color: #991b1b;
}

/* Expired state */
.discount-countdown-pill.discount-expired {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #6b7280;
    box-shadow: none;
    animation: none;
}

.discount-countdown-pill.discount-expired .discount-countdown-dot {
    background: #9ca3af;
    box-shadow: none;
}

.discount-countdown-pill.discount-expired .discount-countdown-label,
.discount-countdown-pill.discount-expired strong {
    color: #6b7280;
}

@keyframes discountPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 24px rgba(180, 35, 24, 0.08);
    }

    50% {
        transform: scale(1.015);
        box-shadow: 0 14px 30px rgba(180, 35, 24, 0.14);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 24px rgba(180, 35, 24, 0.08);
    }
}

/* Similar products smaller version */
.similar-discount-countdown-pill {
    margin: 6px 0 5px;
    padding: 6px 9px;
    gap: 6px;
    font-size: 11px;
    box-shadow: none;
}

.similar-discount-countdown-pill .discount-countdown-dot {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.similar-discount-countdown-pill .discount-countdown-label {
    font-size: 10px;
}

.similar-discount-countdown-pill strong {
    font-size: 11px;
}

/* Mobile */
@media (max-width: 700px) {
    .discount-countdown-pill {
        max-width: 100%;
        flex-wrap: wrap;
        border-radius: 16px;
        padding: 9px 11px;
    }

    .discount-countdown-label {
        font-size: 11px;
    }

    .discount-countdown-pill strong {
        font-size: 12px;
    }
}

/* ================================
   ADMIN OFFERS PAGE V2
   ================================ */

.admin-offers-page-v2 {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 22px 80px;
}

.admin-offers-soft-header {
    margin-bottom: 16px;
}

.admin-offers-soft-header h1 {
    margin: 4px 0 6px;
    color: #111;
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.admin-offers-soft-header p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.admin-offer-filter-row-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 16px;
}

.admin-offer-filter-row-v2 a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    border-radius: 999px;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.admin-offer-filter-row-v2 a:hover {
    transform: translateY(-1px);
    border-color: #111;
}

.admin-offer-filter-row-v2 a span {
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #f3f3f3;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    font-size: 12px;
    font-weight: 950;
}

.admin-offer-filter-row-v2 a.active-offer-filter-v2 {
    background: #111;
    color: #fff;
    border-color: #111;
}

.admin-offer-filter-row-v2 a.active-offer-filter-v2 span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.admin-offers-scroll-panel {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.admin-offers-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 760px;
    overflow-y: auto;
    padding-right: 8px;
}

.admin-offers-list-v2::-webkit-scrollbar {
    width: 8px;
}

.admin-offers-list-v2::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 999px;
}

.admin-offers-list-v2::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

.admin-offers-list-v2::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.admin-offer-card-v2 {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    border: 1px solid #eeeeee;
    background: #fafafa;
    border-radius: 24px;
    padding: 16px;
}

.admin-offer-left-v2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-offer-image-wrap-v2 {
    width: 132px;
    height: 132px;
    border-radius: 20px;
    background: #f1f1f1;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

.admin-offer-image-wrap-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-offer-image-wrap-v2 span {
    width: 100%;
    height: 100%;
    color: #999;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-offer-product-mini a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    width: 100%;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 950;
}

.admin-offer-main-v2 {
    min-width: 0;
}

.admin-offer-top-row-v2 {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 13px;
}

.admin-offer-title-line {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.admin-offer-heading-v2 h2 {
    margin: 0;
    color: #111;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.admin-offer-heading-v2 p {
    margin: 6px 0 0;
    color: #777;
    font-size: 13px;
}

.admin-offer-heading-v2 p strong {
    color: #111;
}

.offer-status-pill-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 5px 9px;
    background: #f3f3f3;
    color: #555;
    font-size: 11px;
    font-weight: 950;
    text-transform: capitalize;
}

.admin-offer-action-badge-wrap {
    flex: 0 0 auto;
}

.admin-offer-action-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.admin-offer-action-badge i {
    font-size: 15px;
}

.auto-counter-badge {
    background: #fff1f1;
    color: #b42318;
    border: 1px solid #fecaca;
}

.auto-accepted-badge {
    background: #ecfdf3;
    color: #047857;
    border: 1px solid #bbf7d0;
}

.manual-review-badge {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.neutral-offer-badge {
    background: #f3f4f6;
    color: #555;
    border: 1px solid #e5e7eb;
}

.admin-offer-price-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.admin-offer-price-box {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 13px;
}

.admin-offer-price-box span {
    display: block;
    color: #777;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.admin-offer-price-box strong {
    color: #111;
    font-size: 18px;
    font-weight: 950;
}

.highlight-offer-price-box {
    background: #fff7ed;
    border-color: #fed7aa;
}

.highlight-offer-price-box span {
    color: #9a3412;
}

.highlight-offer-price-box strong {
    color: #c2410c;
}

.admin-offer-detail-strip-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.admin-offer-detail-strip-v2 div {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #eeeeee;
    padding: 7px 10px;
}

.admin-offer-detail-strip-v2 span {
    color: #888;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-offer-detail-strip-v2 strong {
    color: #333;
    font-size: 12px;
    font-weight: 900;
}

.admin-auto-offer-status-box {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 13px;
    margin-bottom: 12px;
}

.admin-auto-offer-status-box div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-auto-offer-status-box span {
    color: #64748b;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-auto-offer-status-box strong {
    color: #111;
    font-size: 13px;
    font-weight: 950;
}

.admin-auto-offer-status-box small {
    color: #777;
    font-size: 12px;
    line-height: 1.4;
    max-width: 360px;
}

.admin-offer-note-v2 {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 13px;
    margin-bottom: 12px;
}

.admin-offer-note-v2 span {
    display: block;
    color: #777;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.admin-offer-note-v2 p {
    margin: 0;
    color: #555;
    font-size: 13px;
    line-height: 1.5;
}

.admin-offer-actions-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-offer-actions-v2 form {
    margin: 0;
}

.accept-offer-btn-v2,
.decline-offer-btn-v2,
.counter-offer-btn-v2,
.dismiss-offer-btn-v2 {
    min-height: 38px;
    border-radius: 999px;
    padding: 9px 14px;
    border: none;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.accept-offer-btn-v2 {
    background: #111;
    color: #fff;
}

.decline-offer-btn-v2,
.dismiss-offer-btn-v2 {
    background: #f3f3f3;
    color: #555;
}

.counter-offer-btn-v2 {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.counter-offer-form-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.counter-offer-form-v2 input {
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid #dedede;
    padding: 9px 12px;
    font-size: 13px;
    outline: none;
}

.counter-offer-form-v2 input[name="counter_price"] {
    width: 140px;
}

.counter-offer-form-v2 input[name="note"] {
    width: 190px;
}

.admin-offer-info-box-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 18px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 850;
    margin-bottom: 12px;
}

.accepted-offer-info-box {
    background: #ecfdf3;
    color: #047857;
    border: 1px solid #bbf7d0;
}

.muted-offer-info-box {
    background: #f3f4f6;
    color: #666;
    border: 1px solid #e5e7eb;
}

.paid-offer-info-box {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.admin-empty-offers-v2 {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 26px;
    padding: 38px 24px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.admin-empty-offers-v2 h2 {
    margin: 0 0 8px;
    color: #111;
    font-size: 24px;
    font-weight: 950;
}

.admin-empty-offers-v2 p {
    margin: 0 0 18px;
    color: #777;
    font-size: 14px;
}

.admin-empty-offers-v2 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 999px;
    padding: 10px 15px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
}

@media (max-width: 900px) {
    .admin-offer-card-v2 {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .admin-offer-image-wrap-v2 {
        width: 96px;
        height: 96px;
        border-radius: 18px;
    }

    .admin-offer-price-grid-v2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-offer-top-row-v2,
    .admin-auto-offer-status-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 650px) {
    .admin-offers-page-v2 {
        padding: 28px 16px 70px;
    }

    .admin-offer-card-v2 {
        grid-template-columns: 1fr;
    }

    .admin-offer-left-v2 {
        flex-direction: row;
        align-items: center;
    }

    .admin-offer-image-wrap-v2 {
        width: 88px;
        height: 88px;
    }

    .admin-offer-product-mini a {
        width: auto;
        padding: 0 14px;
    }

    .admin-offer-price-grid-v2 {
        grid-template-columns: 1fr;
    }

    .counter-offer-form-v2,
    .counter-offer-form-v2 input,
    .counter-offer-form-v2 button,
    .admin-offer-actions-v2 form,
    .admin-offer-actions-v2 button {
        width: 100%;
    }

    .counter-offer-form-v2 input[name="counter_price"],
    .counter-offer-form-v2 input[name="note"] {
        width: 100%;
    }
}

/* ================================
   ADMIN AUTO OFFERS DASHBOARD
   ================================ */

.admin-auto-offers-dashboard {
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 22px 80px;
}

.admin-auto-offers-header {
    margin-bottom: 18px;
}

.admin-auto-offers-header h1 {
    margin: 4px 0 6px;
    color: #111;
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.admin-auto-offers-header p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.auto-offers-control-panel,
.auto-offers-section-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 26px;
    padding: 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
    margin-bottom: 18px;
}

.auto-offers-control-panel h2,
.auto-offers-section-header h2 {
    margin: 0 0 6px;
    color: #111;
    font-size: 23px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.auto-offers-control-panel p,
.auto-offers-section-header p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.auto-offers-control-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr;
    gap: 14px;
    margin-top: 16px;
}

.auto-offers-control-card {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    padding: 15px;
}

.auto-offers-control-card label {
    display: block;
    margin-bottom: 8px;
    color: #111;
    font-size: 13px;
    font-weight: 950;
}

.auto-offers-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    border: 1px solid #dedede;
    border-radius: 999px;
    background: #fff;
    padding: 0 13px;
}

.auto-offers-input-wrap input {
    border: none;
    outline: none;
    min-height: 42px;
    width: 100%;
    font-size: 15px;
    font-weight: 900;
    color: #111;
}

.auto-offers-input-wrap span {
    color: #777;
    font-weight: 950;
}

.auto-offers-control-card p {
    min-height: 42px;
    margin: 10px 0 14px;
    color: #777;
    font-size: 12px;
    line-height: 1.45;
}

.auto-offers-primary-btn,
.auto-offers-secondary-btn,
.auto-offers-danger-btn {
    width: 100%;
    min-height: 40px;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.auto-offers-primary-btn {
    background: #111;
    color: #fff;
}

.auto-offers-secondary-btn {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.auto-offers-danger-btn {
    background: #fff1f1;
    color: #b42318;
    border: 1px solid #fecaca;
}

.auto-offers-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.auto-offers-select-btn {
    flex: 0 0 auto;
    min-height: 36px;
    border-radius: 999px;
    border: 1px solid #dedede;
    background: #fff;
    color: #111;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.auto-offers-product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 8px;
}

.auto-offers-product-list::-webkit-scrollbar {
    width: 8px;
}

.auto-offers-product-list::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 999px;
}

.auto-offers-product-list::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

.auto-offers-product-row {
    display: grid;
    grid-template-columns: auto 68px minmax(0, 1fr) 160px auto;
    align-items: center;
    gap: 13px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    padding: 12px;
    cursor: pointer;
}

.auto-offers-product-row:hover {
    background: #fff;
    border-color: #dedede;
}

.auto-offers-product-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #111;
}

.auto-offers-product-image {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: #f1f1f1;
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

.auto-offers-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.auto-offers-product-image span {
    width: 100%;
    height: 100%;
    color: #999;
    font-size: 10px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auto-offers-product-info {
    min-width: 0;
}

.auto-offers-product-info strong {
    display: block;
    color: #111;
    font-size: 14px;
    font-weight: 950;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.auto-offers-product-info span,
.auto-offers-product-info small {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 12px;
    font-weight: 800;
}

.auto-offers-product-info b {
    color: #111;
}

.auto-offers-product-rule {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #047857;
    border-radius: 16px;
    padding: 10px;
}

.auto-offers-product-rule span {
    display: block;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.auto-offers-product-rule strong {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    font-weight: 950;
}

.auto-offers-product-rule.off-rule {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #666;
}

.auto-offers-view-link {
    min-height: 34px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auto-offers-empty {
    background: #fafafa;
    border: 1px dashed #dedede;
    border-radius: 18px;
    padding: 18px;
}

.auto-offers-empty p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

@media (max-width: 900px) {
    .auto-offers-control-grid {
        grid-template-columns: 1fr;
    }

    .auto-offers-product-row {
        grid-template-columns: auto 58px minmax(0, 1fr);
    }

    .auto-offers-product-rule,
    .auto-offers-view-link {
        grid-column: 3 / -1;
    }

    .auto-offers-product-image {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 600px) {
    .admin-auto-offers-dashboard {
        padding: 28px 16px 70px;
    }

    .auto-offers-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .auto-offers-select-btn {
        width: 100%;
    }
}

/* ================================
   CUSTOMER OFFERS PAGE V2
   ================================ */

.customer-offers-page-v2 {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 22px 80px;
}

.customer-offers-soft-header {
    margin-bottom: 16px;
}

.customer-offers-soft-header h1 {
    margin: 4px 0 6px;
    color: #111;
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.customer-offers-soft-header p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.customer-offer-filter-row-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 16px;
}

.customer-offer-filter-row-v2 a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    border-radius: 999px;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
}

.customer-offer-filter-row-v2 a span {
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #f3f3f3;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    font-size: 12px;
    font-weight: 950;
}

.customer-offer-filter-row-v2 a.active-customer-offer-filter-v2 {
    background: #111;
    color: #fff;
    border-color: #111;
}

.customer-offer-filter-row-v2 a.active-customer-offer-filter-v2 span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.customer-offers-scroll-panel-v2 {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.customer-offers-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 13px;
    max-height: 760px;
    overflow-y: auto;
    padding-right: 8px;
}

.customer-offers-list-v2::-webkit-scrollbar {
    width: 8px;
}

.customer-offers-list-v2::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 999px;
}

.customer-offers-list-v2::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

.customer-offers-list-v2::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.customer-offer-card-v2 {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 16px;
    border: 1px solid #eeeeee;
    background: #fafafa;
    border-radius: 24px;
    padding: 15px;
}

.checkout-ready-offer-card {
    border-color: #86efac;
    background: #f7fef9;
}

.customer-offer-image-wrap-v2 {
    width: 118px;
    height: 118px;
    border-radius: 20px;
    background: #f1f1f1;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    text-decoration: none;
}

.customer-offer-image-wrap-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.customer-offer-image-wrap-v2 span {
    width: 100%;
    height: 100%;
    color: #999;
    font-size: 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-offer-main-v2 {
    min-width: 0;
}

.customer-offer-top-row-v2 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.customer-offer-title-line-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.customer-offer-title-line-v2 h2 {
    margin: 0;
    color: #111;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.customer-offer-top-row-v2 p {
    margin: 5px 0 0;
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.customer-offer-context-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.seller-counter-context {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.accepted-context {
    background: #ecfdf3;
    color: #047857;
    border: 1px solid #bbf7d0;
}

.pending-context {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.customer-offer-price-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.customer-offer-price-grid-v2 div {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 13px;
}

.customer-offer-price-grid-v2 span {
    display: block;
    color: #777;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.customer-offer-price-grid-v2 strong {
    color: #111;
    font-size: 18px;
    font-weight: 950;
}

.customer-offer-price-grid-v2 .accepted-price-box-v2 {
    background: #ecfdf3;
    border-color: #86efac;
}

.customer-offer-price-grid-v2 .accepted-price-box-v2 span {
    color: #047857;
}

.customer-offer-price-grid-v2 .accepted-price-box-v2 strong {
    color: #047857;
    font-size: 21px;
}

.customer-offer-note-v2 {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    padding: 12px;
    color: #555;
    font-size: 13px;
    margin-bottom: 12px;
}

.customer-offer-time-row-v2 {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.customer-offer-time-row-v2 span {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 999px;
    padding: 7px 10px;
    color: #777;
    font-size: 12px;
    font-weight: 850;
}

.customer-offer-info-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 18px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 850;
    margin-bottom: 12px;
}

.customer-offer-info-v2 strong {
    font-weight: 950;
}

.accepted-offer-info-v2 {
    background: #ecfdf3;
    color: #047857;
    border: 1px solid #86efac;
}

.pending-offer-info-v2 {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.countered-offer-info-v2 {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.declined-offer-info-v2 {
    background: #f3f4f6;
    color: #666;
    border: 1px solid #e5e7eb;
}

.paid-offer-info-v2 {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.customer-offer-action-row-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.customer-offer-action-row-v2 form {
    margin: 0;
}

.customer-offer-pay-btn-v2,
.customer-offer-secondary-btn-v2,
.customer-counter-form-v2 button {
    min-height: 40px;
    border-radius: 999px;
    padding: 9px 14px;
    border: none;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.customer-offer-pay-btn-v2 {
    background: #047857;
    color: #fff;
    box-shadow: 0 12px 24px rgba(4, 120, 87, 0.18);
}

.customer-offer-pay-btn-v2:hover {
    background: #065f46;
}

.customer-offer-secondary-btn-v2 {
    background: #f3f3f3;
    color: #555;
}

.customer-counter-form-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.customer-counter-form-v2 input {
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid #dedede;
    padding: 9px 12px;
    font-size: 13px;
    outline: none;
}

.customer-counter-form-v2 input[name="counter_price"] {
    width: 135px;
}

.customer-counter-form-v2 input[name="note"] {
    width: 180px;
}

.customer-counter-form-v2 button {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.empty-customer-offers-v2 {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 26px;
    padding: 38px 24px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.empty-customer-offers-v2 h2 {
    margin: 0 0 8px;
    color: #111;
    font-size: 24px;
    font-weight: 950;
}

.empty-customer-offers-v2 p {
    margin: 0 0 18px;
    color: #777;
    font-size: 14px;
}

.empty-customer-offers-v2 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 999px;
    padding: 10px 15px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
}

@media (max-width: 820px) {
    .customer-offer-card-v2 {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .customer-offer-image-wrap-v2 {
        width: 92px;
        height: 92px;
    }

    .customer-offer-price-grid-v2 {
        grid-template-columns: 1fr;
    }

    .customer-offer-top-row-v2 {
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .customer-offers-page-v2 {
        padding: 28px 16px 70px;
    }

    .customer-offer-card-v2 {
        grid-template-columns: 1fr;
    }

    .customer-offer-image-wrap-v2 {
        width: 100%;
        height: 220px;
    }

    .customer-offer-action-row-v2,
    .customer-offer-action-row-v2 form,
    .customer-offer-action-row-v2 button,
    .customer-counter-form-v2,
    .customer-counter-form-v2 input,
    .customer-counter-form-v2 button {
        width: 100%;
    }

    .customer-counter-form-v2 input[name="counter_price"],
    .customer-counter-form-v2 input[name="note"] {
        width: 100%;
    }
}

.cart-interest-icon {
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: none;
    rotate: 0deg;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ================================
   STAFF SIGN IN
   ================================ */

.staff-signin-page {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 18px 80px;
}

.staff-signin-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.08);
}

.staff-signin-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.staff-signin-icon i {
    font-size: 26px;
}

.staff-signin-card h1 {
    margin: 4px 0 8px;
    color: #111;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.staff-signin-subtitle {
    margin: 0 0 18px;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

.staff-signin-message {
    border-radius: 16px;
    padding: 12px 13px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 900;
}

.staff-signin-success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #047857;
}

.staff-signin-error {
    background: #fff1f1;
    border: 1px solid #fecaca;
    color: #b42318;
}

.staff-signin-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 12px;
}

.staff-request-code-form {
    margin-bottom: 16px;
}

.staff-signin-form label {
    color: #333;
    font-size: 13px;
    font-weight: 950;
}

.staff-signin-form input {
    width: 100%;
    min-height: 46px;
    border-radius: 16px;
    border: 1px solid #dedede;
    padding: 10px 13px;
    color: #111;
    font-size: 14px;
    font-weight: 850;
    outline: none;
}

.staff-signin-form input:focus {
    border-color: #111;
}

.staff-signin-form button {
    width: 100%;
    min-height: 46px;
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
}

.staff-signin-form button:hover {
    background: #333;
}

.staff-secondary-link {
    display: inline-flex;
    margin-top: 14px;
    color: #555;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.staff-secondary-link:hover {
    color: #111;
    text-decoration: underline;
}

.staff-signin-note {
    margin: 18px 0 0;
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}

/* ================================
   PROFILE PAGE CLEANUP
   Keeps original profile/photo mostly intact
   ================================ */

.profile-page {
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 18px 80px;
}

/* Keep cards simple */
.profile-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.045);
}

.profile-header h1 {
    margin: 0 0 6px;
    color: #111;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.profile-muted {
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.45;
}

/* Original rows, just slightly cleaner */
.profile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #f1f1f1;
}

.profile-row:last-of-type {
    border-bottom: none;
}

.profile-row span {
    color: #777;
    font-size: 13px;
    font-weight: 850;
}

.profile-row strong {
    color: #111;
    font-size: 14px;
    font-weight: 950;
    text-align: right;
    word-break: break-word;
}

/* Keep profile photo section close to your original */
.profile-photo-card {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
}

.profile-photo-card h2 {
    margin: 0 0 12px;
    color: #111;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

/* Removed black background behind uploaded PFP */
.profile-photo-preview {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #eeeeee;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
    display: block;
}


/* Only fallback gets dark background now */
.profile-photo-fallback {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 950;
}

.profile-photo-card form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-photo-card input[type="file"] {
    flex: 1;
    min-width: 220px;
    color: #555;
    font-size: 13px;
    font-weight: 750;
}

.profile-photo-card button {
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.profile-photo-card button:hover {
    background: #333;
}

/* Profile action cards */
.profile-action-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.profile-action-card h2,
.danger-zone h2,
.staff-profile-card h2 {
    margin: 0 0 6px;
    color: #111;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.orders-pill-link,
.profile-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 999px;
    padding: 9px 14px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 950;
}

.orders-pill-link:hover,
.profile-btn:hover {
    background: #333;
}

/* Subtle Staff Sign In card */
.staff-profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #fff;
    border: 1px solid #eeeeee;
    box-shadow: none;
    opacity: 0.72;
    padding-top: 18px;
    padding-bottom: 18px;
}

.staff-profile-card:hover {
    opacity: 1;
    border-color: #d8d8d8;
}

.staff-mini-label {
    display: inline-flex;
    margin-bottom: 6px;
    color: #aaa;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.staff-profile-card h2 {
    color: #666;
    font-size: 17px;
    margin-bottom: 4px;
}

.staff-profile-card .profile-muted {
    font-size: 12px;
    color: #999;
}

.staff-profile-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 999px;
    padding: 7px 11px;
    background: #f5f5f5;
    color: #777;
    text-decoration: none;
    font-size: 12px;
    font-weight: 950;
}

.staff-profile-link:hover {
    background: #111;
    color: #fff;
}

/* Delete section */
.danger-zone {
    border-color: #fee2e2;
    background: #fffafa;
}

.delete-account-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.confirm-input {
    flex: 1;
    min-width: 180px;
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid #dedede;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 850;
    outline: none;
}

.confirm-input:focus {
    border-color: #111;
}

.danger-btn {
    min-height: 42px;
    border-radius: 999px;
    border: 1px solid #fecaca;
    background: #fff1f1;
    color: #b42318;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.danger-btn:hover {
    background: #fee2e2;
}

/* Mobile */
@media (max-width: 650px) {
    .profile-action-card,
    .staff-profile-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .orders-pill-link,
    .profile-btn,
    .staff-profile-link,
    .delete-account-form,
    .confirm-input,
    .danger-btn,
    .profile-photo-card button {
        width: 100%;
    }

    .profile-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .profile-row strong {
        text-align: left;
    }
}


/* ================================
   SHIPPING ADDRESS PAGE
   ================================ */

.shipping-address-page {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 18px 90px;
}

.shipping-address-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
}

.shipping-address-card h1 {
    margin: 4px 0 8px;
    color: #111;
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.shipping-address-muted {
    margin: 0 0 18px;
    color: #777;
    font-size: 14px;
    line-height: 1.5;
}

.shipping-address-message {
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 900;
}

.shipping-address-success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #047857;
}

.shipping-address-error {
    background: #fff1f1;
    border: 1px solid #fecaca;
    color: #b42318;
}

.shipping-address-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.shipping-address-form label {
    margin-top: 8px;
    color: #333;
    font-size: 13px;
    font-weight: 950;
}

.shipping-address-form input {
    width: 100%;
    min-height: 46px;
    border-radius: 16px;
    border: 1px solid #dedede;
    padding: 10px 13px;
    color: #111;
    font-size: 14px;
    font-weight: 850;
    outline: none;
}

.shipping-address-form input:focus {
    border-color: #111;
}

.shipping-address-form input[readonly] {
    background: #f6f6f6;
    color: #777;
}

.shipping-address-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr 1fr;
    gap: 10px;
}

.shipping-address-save-btn {
    margin-top: 14px;
    width: 100%;
    min-height: 46px;
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
}

.shipping-address-save-btn:hover {
    background: #333;
}

.shipping-address-delete-form {
    margin-top: 12px;
}

.shipping-address-delete-form button {
    width: 100%;
    min-height: 42px;
    border-radius: 999px;
    border: 1px solid #fecaca;
    background: #fff1f1;
    color: #b42318;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.shipping-address-delete-form button:hover {
    background: #fee2e2;
}

@media (max-width: 620px) {
    .shipping-address-grid {
        grid-template-columns: 1fr;
    }

    .shipping-address-card {
        padding: 22px;
        border-radius: 22px;
    }
}

.shipping-address-back-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    margin: 0 0 16px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #555;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 950;
}

.shipping-address-back-link:hover {
    background: #111;
    color: #fff;
}

.address-suggestion-card {
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    padding: 16px;
    margin: 0 0 18px;
}

.address-suggestion-card h2 {
    margin: 4px 0 12px;
    color: #111;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.address-suggestion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.address-suggestion-grid div {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    padding: 13px;
}

.address-suggestion-grid span {
    display: block;
    color: #777;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 7px;
}

.address-suggestion-grid p {
    margin: 0;
    color: #111;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
}

.address-suggestion-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.address-suggestion-actions button {
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.address-suggestion-actions a {
    border-radius: 999px;
    background: #fff;
    color: #555;
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
}

.address-suggestion-actions button:hover {
    background: #333;
}

.address-suggestion-actions a:hover {
    background: #f3f4f6;
}

@media (max-width: 650px) {
    .address-suggestion-grid {
        grid-template-columns: 1fr;
    }

    .address-suggestion-actions button,
    .address-suggestion-actions a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ================================
   ADMIN PRODUCT FORM CLEANUP
   ================================ */

.admin-product-top-actions {
    gap: 10px;
}

.admin-product-top-actions a {
    border-radius: 999px;
    padding: 8px 12px;
    background: #f5f5f5;
    color: #333;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.admin-product-top-actions a:hover {
    background: #111;
    color: #fff;
}

.admin-product-top-actions .logout-btn {
    background: #111;
    color: #fff;
}

.admin-product-editor-card {
    max-width: 1180px;
}

.admin-product-editor-header {
    margin-bottom: 18px;
}

.admin-product-editor-header h1 {
    margin: 4px 0 6px;
    color: #111;
    font-size: 32px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.admin-product-editor-header p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.admin-product-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 360px;
    gap: 22px;
    align-items: start;
}

.admin-product-main-column,
.admin-product-side-column {
    min-width: 0;
}

.admin-product-side-column {
    position: sticky;
    top: 18px;
}

.product-inline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ================================
   PRODUCT SHIPPING FORM
   ================================ */

.product-shipping-section {
    padding: 18px;
    border-radius: 22px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.045);
}

.product-shipping-header {
    margin-bottom: 14px;
}

.product-shipping-header h2 {
    margin: 4px 0 5px;
    color: #111;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.product-shipping-header p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.45;
}

.shipping-help-text {
    display: block;
    margin: 6px 0 10px;
    color: #777;
    font-size: 12px;
    font-weight: 800;
}

.shipping-quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 2px 0 12px;
}

.shipping-quick-buttons button {
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #333;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.shipping-quick-buttons button:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.shipping-dimensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: end;
}

.shipping-dimensions-grid label {
    margin-top: 0;
}

.shipping-note-box {
    margin-top: 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eeeeee;
    padding: 12px;
}

.shipping-note-box strong {
    display: block;
    color: #111;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 4px;
}

.shipping-note-box span {
    display: block;
    color: #777;
    font-size: 12px;
    line-height: 1.45;
}

.admin-product-save-sticky {
    width: 100%;
    margin-top: 14px;
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
}

.admin-product-save-sticky:hover {
    background: #333;
}

@media (max-width: 920px) {
    .admin-product-editor-layout {
        grid-template-columns: 1fr;
    }

    .admin-product-side-column {
        position: static;
    }
}

@media (max-width: 650px) {
    .product-inline-grid,
    .shipping-dimensions-grid {
        grid-template-columns: 1fr;
    }

    .admin-product-top-actions {
        flex-wrap: wrap;
    }

    .admin-product-top-actions a {
        width: 100%;
        text-align: center;
    }
}

/* ================================
   PRODUCT IMAGE UPLOAD AREA
   ================================ */

.hidden-file-input {
    display: none;
}

.image-drop-zone {
    width: 100%;
    min-height: 150px;
    border: 2px dashed #d6d6d6;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #fafafa);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
    margin-bottom: 14px;
}

.image-drop-zone:hover {
    border-color: #111;
    background: #fff;
    transform: translateY(-1px);
}

.drop-zone-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.drop-zone-content strong {
    color: #111;
    font-size: 16px;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.drop-zone-content span {
    color: #555;
    font-size: 13px;
    font-weight: 850;
}

.drop-zone-content small {
    color: #888;
    font-size: 12px;
    font-weight: 750;
}

/* Preview grid */
.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 12px;
    margin: 12px 0 22px;
}

/* New uploaded image cards + saved image cards */
.image-preview-card,
.saved-image-card,
.upload-box {
    position: relative;
    min-height: 136px;
    border-radius: 18px;
    overflow: hidden;
    background: #f6f6f6;
    border: 1px solid #eeeeee;
}

.image-preview-card img,
.saved-image-card img {
    width: 100%;
    height: 136px;
    display: block;
    object-fit: cover;
}

/* Add-photo box */
.upload-box.empty-upload-box {
    min-height: 136px;
    border: 1.5px dashed #d8d8d8;
    background: #fbfbfb;
    color: #555;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.upload-box.empty-upload-box:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.upload-box.empty-upload-box span {
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.upload-box.empty-upload-box small {
    font-size: 12px;
    font-weight: 900;
}

/* Cover / extra label */
.preview-label {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 2;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.86);
    color: #fff;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 950;
}

/* Delete checkbox on saved photos */
.delete-checkbox-label {
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 9px;
    z-index: 2;
    min-height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #b42318;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.delete-checkbox-label input {
    width: auto;
    min-height: auto;
    margin: 0;
    accent-color: #b42318;
}

/* Saved/current images section */
.current-images-section {
    margin-bottom: 20px;
    border-radius: 22px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    padding: 16px;
}

.current-images-section h2 {
    margin: 0 0 5px;
    color: #111;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.saved-images-grid {
    margin-bottom: 0;
}

/* Dragging feel */
.saved-image-card {
    cursor: grab;
}

.saved-image-card:active {
    cursor: grabbing;
}

.saved-image-card.dragging {
    opacity: 0.55;
    transform: scale(0.98);
}

/* Mobile */
@media (max-width: 650px) {
    .image-drop-zone {
        min-height: 130px;
        padding: 18px;
        border-radius: 20px;
    }

    .image-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .image-preview-card img,
    .saved-image-card img,
    .upload-box.empty-upload-box {
        height: 126px;
        min-height: 126px;
    }
}

/* ================================
   PRODUCT SIZE QUICK SCROLLER
   ================================ */

.size-picker-scroll {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    max-width: 100%;
    padding: 8px 2px 10px;
    margin-top: 7px;
    margin-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #cfcfcf #f3f3f3;
}

.size-picker-scroll::-webkit-scrollbar {
    height: 7px;
}

.size-picker-scroll::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 999px;
}

.size-picker-scroll::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 999px;
}

.size-option-btn {
    flex: 0 0 auto;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #333;
    border-radius: 999px;
    min-width: 42px;
    min-height: 34px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.size-option-btn:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.size-option-btn.active-size-option {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* ================================
   SIZE SELECT SCROLLER
   ================================ */

.size-select-wrap {
    position: relative;
    width: 100%;
}

.size-select-wrap select {
    width: 100%;
    min-height: 46px;
    border-radius: 16px;
    border: 1px solid #dedede;
    background: #fff;
    color: #111;
    padding: 10px 13px;
    font-size: 14px;
    font-weight: 850;
    outline: none;
    cursor: pointer;
}

.size-select-wrap select:focus {
    border-color: #111;
}

.size-select-wrap select option,
.size-select-wrap select optgroup {
    font-size: 14px;
    font-weight: 800;
}

.custom-size-input {
    margin-top: 9px;
    display: none;
}

.custom-size-input.show-custom-size {
    display: block;
}

/* ================================
   CHECKOUT REVIEW PAGE
   ================================ */

.checkout-review-page {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 18px 90px;
}

.checkout-review-top-actions {
    gap: 10px;
}

.checkout-review-top-actions a {
    border-radius: 999px;
    padding: 8px 12px;
    background: #f5f5f5;
    color: #333;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.checkout-review-top-actions a:hover {
    background: #111;
    color: #fff;
}

.checkout-review-top-actions .logout-btn {
    background: #111;
    color: #fff;
}

.checkout-review-hero {
    margin-bottom: 18px;
}

.checkout-review-hero h1 {
    margin: 4px 0 7px;
    color: #111;
    font-size: 36px;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.checkout-review-hero p {
    max-width: 620px;
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.45;
}

.checkout-review-message {
    margin-bottom: 16px;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 900;
}

.checkout-review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 22px;
    align-items: start;
}

.checkout-review-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.checkout-review-card,
.checkout-review-summary-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.055);
}

.checkout-review-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.checkout-review-section-header h2,
.checkout-review-summary-card h2 {
    margin: 4px 0 0;
    color: #111;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.checkout-review-count {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #f3f4f6;
    color: #555;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 950;
}

.checkout-review-edit-link {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #f3f4f6;
    color: #555;
    padding: 8px 11px;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
}

.checkout-review-edit-link:hover {
    background: #111;
    color: #fff;
}

.checkout-review-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-review-item {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 11px;
    background: #fcfcfc;
}

.checkout-review-item-image {
    width: 78px;
    height: 88px;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
}

.checkout-review-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.checkout-review-image-fallback {
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 950;
}

.checkout-review-item-info {
    min-width: 0;
}

.checkout-review-item-info h3 {
    margin: 0 0 4px;
    color: #111;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.checkout-review-item-info p {
    margin: 0 0 6px;
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.checkout-review-item-info span {
    color: #555;
    font-size: 12px;
    font-weight: 900;
}

.checkout-review-item > strong {
    color: #111;
    font-size: 14px;
    font-weight: 950;
    white-space: nowrap;
}

.checkout-review-address-box {
    border-radius: 20px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    padding: 15px;
}

.checkout-review-address-box strong {
    display: block;
    color: #111;
    font-size: 14px;
    font-weight: 950;
    margin-bottom: 6px;
}

.checkout-review-address-box p {
    margin: 0;
    color: #555;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
}

.checkout-review-address-box span {
    display: block;
    margin-top: 8px;
    color: #777;
    font-size: 12px;
    font-weight: 850;
}

.checkout-review-shipping-rate {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: 18px;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    padding: 13px 14px;
}

.checkout-review-shipping-rate span {
    display: block;
    color: #047857;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
}

.checkout-review-shipping-rate strong {
    display: block;
    color: #064e3b;
    font-size: 13px;
    font-weight: 950;
}

.checkout-review-shipping-rate p {
    margin: 0;
    color: #064e3b;
    font-size: 16px;
    font-weight: 950;
}

.checkout-review-note {
    display: block;
    margin-top: 10px;
    color: #777;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.checkout-review-summary {
    position: sticky;
    top: 18px;
    min-width: 0;
}

.checkout-review-summary-card h2 {
    margin-bottom: 14px;
}

.checkout-review-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.checkout-review-total-row span {
    color: #666;
    font-size: 13px;
    font-weight: 850;
}

.checkout-review-total-row strong {
    color: #111;
    font-size: 14px;
    font-weight: 950;
}

.checkout-review-total-row.muted strong {
    color: #777;
    font-size: 12px;
}

.checkout-review-total-row.grand-total {
    border-bottom: none;
    padding-top: 15px;
}

.checkout-review-total-row.grand-total span,
.checkout-review-total-row.grand-total strong {
    color: #111;
    font-size: 18px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.checkout-review-pay-form {
    margin-top: 14px;
}

.checkout-review-pay-btn {
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
}

.checkout-review-pay-btn:hover {
    background: #333;
}

.checkout-review-cancel-link {
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
}

.checkout-review-cancel-link:hover {
    background: #e5e7eb;
    color: #111;
}

.checkout-review-secure-note {
    margin-top: 14px;
    border-radius: 18px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    padding: 13px;
}

.checkout-review-secure-note strong {
    display: block;
    color: #111;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 4px;
}

.checkout-review-secure-note span {
    display: block;
    color: #777;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .checkout-review-layout {
        grid-template-columns: 1fr;
    }

    .checkout-review-summary {
        position: static;
    }
}

@media (max-width: 600px) {
    .checkout-review-page {
        padding: 26px 14px 80px;
    }

    .checkout-review-hero h1 {
        font-size: 30px;
    }

    .checkout-review-card,
    .checkout-review-summary-card {
        border-radius: 22px;
        padding: 18px;
    }

    .checkout-review-item {
        grid-template-columns: 66px minmax(0, 1fr);
    }

    .checkout-review-item > strong {
        grid-column: 2;
    }

    .checkout-review-item-image {
        width: 66px;
        height: 76px;
    }

    .checkout-review-shipping-rate {
        align-items: flex-start;
        flex-direction: column;
    }

    .checkout-review-top-actions {
        flex-wrap: wrap;
    }

    .checkout-review-top-actions a {
        width: 100%;
        text-align: center;
    }
}

.edit-entered-address-btn {
    border-radius: 999px;
    background: #fff;
    color: #555;
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.edit-entered-address-btn:hover {
    background: #f3f4f6;
    color: #111;
}

/* ================================
   ADMIN ORDER LABEL - BUYER PAID RATE
   ================================ */

.admin-label-top-actions {
    gap: 10px;
}

.admin-label-saved-rate-card {
    background: #ecfdf3;
    border-color: #bbf7d0;
}

.admin-label-saved-rate-card h2 {
    margin: 4px 0 14px;
    color: #064e3b;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.saved-label-status-banner {
    border-radius: 16px;
    padding: 11px 13px;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 14px;
}

.saved-label-status-ready {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.saved-label-status-purchased {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.saved-rate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-bottom: 12px;
}

.saved-rate-grid div {
    background: #fff;
    border: 1px solid #d1fae5;
    border-radius: 16px;
    padding: 12px;
}

.saved-rate-grid span,
.saved-rate-id-box span,
.buyer-paid-comparison-box span {
    display: block;
    color: #047857;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.saved-rate-grid strong,
.buyer-paid-comparison-box strong {
    display: block;
    color: #064e3b;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.35;
}

.saved-rate-id-box {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #d1fae5;
    border-radius: 16px;
    padding: 11px 12px;
    margin-bottom: 10px;
}

.saved-rate-id-box p {
    margin: 0;
    color: #064e3b;
    font-size: 12px;
    font-weight: 850;
    word-break: break-word;
    line-height: 1.45;
}

.buy-saved-label-btn,
.saved-label-link {
    width: 100%;
    min-height: 46px;
    border: none;
    border-radius: 999px;
    background: #064e3b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
    margin-top: 4px;
}

.buy-saved-label-btn:hover,
.saved-label-link:hover {
    background: #022c22;
}

.saved-label-helper {
    margin: 12px 0 0;
    color: #047857;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.45;
}

.saved-rate-warning {
    margin: 0;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 13px;
}

.saved-rate-warning strong {
    display: block;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 4px;
}

.saved-rate-warning span {
    display: block;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.45;
}

.buyer-paid-comparison-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 12px;
    margin: 12px 0;
}

.buyer-paid-comparison-box span {
    color: #64748b;
}

.buyer-paid-comparison-box strong {
    color: #111827;
    font-size: 18px;
}

.rate-difference-good,
.rate-difference-bad {
    display: inline-flex;
    margin-top: 8px;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 950;
}

.rate-difference-good {
    background: #ecfdf3;
    color: #047857;
    border: 1px solid #bbf7d0;
}

.rate-difference-bad {
    background: #fef2f2;
    color: #b42318;
    border: 1px solid #fecaca;
}

@media (max-width: 650px) {
    .saved-rate-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   ADMIN ORDER LABEL - FULL PAGE POLISH
   Matches saved buyer-paid card style
   ================================ */

.admin-label-page {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 18px 90px;
}

.admin-label-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.admin-label-header h1 {
    margin: 5px 0 7px;
    color: #111;
    font-size: 36px;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.admin-label-header p {
    margin: 0;
    max-width: 660px;
    color: #777;
    font-size: 14px;
    line-height: 1.45;
}

.admin-label-back-link {
    flex: 0 0 auto;
    min-height: 40px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-label-back-link:hover {
    background: #333;
}

/* Layout */
.admin-label-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 18px;
    align-items: start;
}

/* General card glow */
.admin-label-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.055);
}

.admin-label-card h2 {
    margin: 0 0 15px;
    color: #111;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.admin-label-card h3 {
    margin: 20px 0 10px;
    color: #111;
    font-size: 16px;
    font-weight: 950;
    letter-spacing: -0.03em;
}

/* Alert */
.admin-email-alert {
    margin-bottom: 16px;
    border-radius: 18px;
    padding: 13px 15px;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
}

.admin-email-alert-success {
    background: #ecfdf3;
    color: #047857;
    border: 1px solid #bbf7d0;
}

.admin-email-alert-error {
    background: #fef2f2;
    color: #b42318;
    border: 1px solid #fecaca;
}

/* Order detail rows */
.admin-label-detail-list {
    display: grid;
    gap: 9px;
}

.admin-label-detail-list p {
    margin: 0;
    border-radius: 16px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    padding: 11px 12px;
    color: #555;
    font-size: 13px;
    font-weight: 850;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.admin-label-detail-list p strong {
    color: #111;
    font-weight: 950;
}

/* Shipping address */
.admin-label-address-box {
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 15px;
}

.admin-label-address-box p {
    margin: 0 0 5px;
    color: #475569;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.45;
}

.admin-label-address-box p:first-child {
    color: #111;
    font-size: 14px;
    font-weight: 950;
}

.admin-label-address-box p:last-child {
    margin-bottom: 0;
}

/* Existing label */
.admin-label-existing {
    margin-top: 18px;
    border-radius: 22px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 16px;
}

.admin-label-existing h3 {
    margin-top: 0;
    color: #1d4ed8;
}

.admin-label-existing p {
    margin: 0 0 7px;
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 850;
}

.admin-label-existing p strong {
    font-weight: 950;
}

.admin-label-existing-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 13px;
}

.admin-label-existing-actions a {
    flex: 1;
    min-height: 40px;
    border-radius: 999px;
    background: #1d4ed8;
    color: #fff;
    padding: 10px 13px;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-label-existing-actions a:hover {
    background: #1e40af;
}

/* Status actions */
.admin-label-status-actions {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.admin-label-delivered-note {
    min-height: 40px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #047857;
    border: 1px solid #bbf7d0;
    font-size: 13px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Package backup form */
.admin-label-form label {
    display: block;
    margin: 12px 0 7px;
    color: #111;
    font-size: 13px;
    font-weight: 950;
}

.admin-label-weight-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.admin-label-weight-row > div {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 16px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    padding: 8px;
}

.admin-label-weight-row span {
    color: #555;
    font-size: 13px;
    font-weight: 950;
}

.admin-label-dimensions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 4px;
}

.admin-email-input {
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid #dedede;
    background: #fff;
    color: #111;
    padding: 9px 11px;
    font-size: 13px;
    font-weight: 850;
    outline: none;
}

.admin-email-input:focus {
    border-color: #111;
}

.admin-label-helper {
    margin: 12px 0;
    color: #777;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.45;
}

.admin-email-send-btn {
    width: 100%;
    min-height: 44px;
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.admin-email-send-btn:hover {
    background: #333;
}

/* Backup rates section */
.admin-label-rates-card {
    margin-top: 18px;
}

.admin-label-rates-card h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-label-rates-list {
    display: grid;
    gap: 12px;
}

.admin-label-rate-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: center;
    gap: 16px;
    border-radius: 22px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    padding: 15px;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.admin-label-rate-row:hover {
    transform: translateY(-1px);
    border-color: #d9d9d9;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.055);
}

.admin-label-rate-row strong {
    color: #111;
    font-size: 14px;
    font-weight: 950;
}

.admin-label-rate-row p {
    margin: 5px 0 0;
    color: #777;
    font-size: 13px;
    font-weight: 850;
}

.admin-label-rate-row span {
    display: inline-block;
    margin-top: 6px;
    color: #555;
    font-size: 12px;
    font-weight: 850;
}

.admin-label-rate-price {
    display: grid;
    gap: 9px;
    justify-items: stretch;
}

.admin-label-rate-price > strong {
    text-align: right;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.admin-label-buy-btn {
    min-height: 40px;
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 10px 13px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.admin-label-buy-btn:hover {
    background: #333;
}

.secondary-admin-label-btn {
    background: #f3f4f6;
    color: #111;
}

.secondary-admin-label-btn:hover {
    background: #e5e7eb;
}

/* Empty */
.admin-email-empty {
    margin: 0;
    border-radius: 18px;
    background: #fafafa;
    border: 1px dashed #d8d8d8;
    color: #777;
    padding: 16px;
    font-size: 13px;
    font-weight: 850;
    text-align: center;
}

/* Better mobile */
@media (max-width: 980px) {
    .admin-label-grid {
        grid-template-columns: 1fr;
    }

    .admin-label-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-label-back-link {
        width: 100%;
    }
}

@media (max-width: 650px) {
    .admin-label-page {
        padding: 26px 14px 80px;
    }

    .admin-label-header h1 {
        font-size: 30px;
    }

    .admin-label-card {
        border-radius: 22px;
        padding: 18px;
    }

    .admin-label-detail-list p {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .admin-label-weight-row,
    .admin-label-dimensions,
    .admin-label-rate-row {
        grid-template-columns: 1fr;
    }

    .admin-label-rate-price > strong {
        text-align: left;
    }

    .admin-label-existing-actions a {
        width: 100%;
        flex: none;
    }
}

/* ================================
   ADMIN ORDER DETAIL PAGE POLISH
   ================================ */

.admin-order-detail-page {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 18px 90px;
}

.admin-order-detail-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    margin-bottom: 20px;
}

.admin-order-detail-header h1 {
    margin: 5px 0 7px;
    color: #111;
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.admin-order-detail-header p {
    margin: 0;
    color: #777;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

.admin-order-status-stack {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
}

/* Main panel grid */
.admin-order-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.admin-order-panel {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.055);
}

.admin-order-panel h2 {
    margin: 0 0 14px;
    color: #111;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.admin-order-panel p {
    margin: 0 0 8px;
    color: #555;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.45;
}

.admin-order-panel p strong {
    color: #111;
    font-weight: 950;
}

.muted-admin-text {
    color: #777 !important;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.45;
}

/* Cancel request alert */
.cancel-request-admin-alert {
    grid-column: 1 / -1;
    background: #fff7ed;
    border-color: #fed7aa;
    box-shadow: 0 14px 38px rgba(194, 65, 12, 0.08);
}

.cancel-request-admin-alert h2 {
    color: #c2410c;
}

.cancel-request-admin-alert p {
    color: #9a3412;
}

.admin-cancel-note-box {
    margin: 12px 0;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #fed7aa;
    color: #9a3412;
    padding: 13px;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.5;
    white-space: pre-wrap;
}

/* Shipping address panel */
.admin-order-panel:nth-child(2) {
    background: #f8fafc;
}

.admin-order-panel:nth-child(2) h2 {
    color: #0f172a;
}

/* Payment panel */
.admin-order-panel:nth-child(3) {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.admin-order-panel:nth-child(3) h2,
.admin-order-panel:nth-child(3) p strong {
    color: #1d4ed8;
}

.admin-order-panel:nth-child(3) p {
    color: #1e3a8a;
    word-break: break-word;
}

/* Refund panel */
.refund-admin-panel {
    background: #fff7ed;
    border-color: #fed7aa;
}

.refund-admin-panel h2 {
    color: #c2410c;
}

.refund-warning-text {
    color: #b42318 !important;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 14px;
    padding: 10px 12px;
    font-weight: 950 !important;
}

/* Fulfillment panel */
.admin-order-panel:last-child {
    background: #ecfdf3;
    border-color: #bbf7d0;
}

.admin-order-panel:last-child h2 {
    color: #064e3b;
}

/* Forms */
.admin-order-form {
    display: grid;
    gap: 9px;
    margin-top: 10px;
}

.admin-order-form + .admin-order-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.admin-order-form label {
    color: #111;
    font-size: 13px;
    font-weight: 950;
    margin-top: 4px;
}

.admin-order-form input,
.admin-order-form select,
.admin-order-form textarea {
    width: 100%;
    min-height: 42px;
    border-radius: 15px;
    border: 1px solid #dedede;
    background: #fff;
    color: #111;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 850;
    outline: none;
}

.admin-order-form textarea {
    min-height: 92px;
    resize: vertical;
}

.admin-order-form input:focus,
.admin-order-form select:focus,
.admin-order-form textarea:focus {
    border-color: #111;
}

.admin-order-form button {
    min-height: 44px;
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
    margin-top: 4px;
}

.admin-order-form button:hover {
    background: #333;
}

.refund-danger-btn {
    background: #b42318 !important;
}

.refund-danger-btn:hover {
    background: #8f1c13 !important;
}

/* Items section */
.order-items-panel {
    margin-top: 18px;
}

.admin-order-items-list {
    display: grid;
    gap: 12px;
}

.admin-order-item-row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    padding: 12px;
}

.admin-order-item-image {
    width: 84px;
    height: 94px;
    border-radius: 18px;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-order-item-image span {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.admin-order-item-info {
    min-width: 0;
}

.admin-order-item-info strong {
    display: block;
    color: #111;
    font-size: 15px;
    font-weight: 950;
    margin-bottom: 5px;
}

.admin-order-item-info p {
    margin: 0 0 4px;
    color: #777;
    font-size: 12px;
    font-weight: 850;
}

.admin-order-item-price {
    display: grid;
    gap: 5px;
    text-align: right;
}

.admin-order-item-price span {
    color: #777;
    font-size: 12px;
    font-weight: 900;
}

.admin-order-item-price strong {
    color: #111;
    font-size: 16px;
    font-weight: 950;
}

/* Total box */
.admin-order-total-box {
    margin-top: 18px;
    margin-left: auto;
    max-width: 360px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 16px;
}

.admin-order-total-box div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.admin-order-total-box div:last-child {
    border-bottom: none;
}

.admin-order-total-box span {
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
}

.admin-order-total-box strong {
    color: #111;
    font-size: 14px;
    font-weight: 950;
}

.admin-order-total-final {
    margin-top: 4px;
    padding-top: 14px !important;
}

.admin-order-total-final span,
.admin-order-total-final strong {
    color: #064e3b;
    font-size: 18px;
    font-weight: 950;
}

/* Existing pills, if not already styled */
.order-pill {
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: 1px solid transparent;
}

.payment-pill-paid {
    background: #ecfdf3;
    color: #047857;
    border-color: #bbf7d0;
}

.payment-pill-refunded {
    background: #fef2f2;
    color: #b42318;
    border-color: #fecaca;
}

.payment-pill-partially_refunded {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

.order-pill-paid {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.order-pill-processing {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

.order-pill-shipped {
    background: #ecfdf3;
    color: #047857;
    border-color: #bbf7d0;
}

.order-pill-delivered {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

.order-pill-cancelled {
    background: #f3f4f6;
    color: #555;
    border-color: #e5e7eb;
}

.order-pill-refunded {
    background: #fef2f2;
    color: #b42318;
    border-color: #fecaca;
}

.order-pill-partially_refunded {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

/* Topbar polish for this page */
.regular-page .topbar-nav a {
    border-radius: 999px;
    padding: 8px 12px;
    background: #f5f5f5;
    color: #333;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.regular-page .topbar-nav a:hover {
    background: #111;
    color: #fff;
}

/* Mobile */
@media (max-width: 1050px) {
    .admin-order-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-order-detail-header {
        grid-template-columns: 1fr;
    }

    .admin-order-status-stack {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 700px) {
    .admin-order-detail-page {
        padding: 26px 14px 80px;
    }

    .admin-order-detail-header h1 {
        font-size: 30px;
    }

    .admin-order-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-order-panel {
        border-radius: 22px;
        padding: 18px;
    }

    .admin-order-item-row {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .admin-order-item-image {
        width: 72px;
        height: 82px;
    }

    .admin-order-item-price {
        grid-column: 2;
        text-align: left;
    }

    .admin-order-total-box {
        max-width: none;
    }
}

/* ================================
   COMPACT ORDER ITEMS INSIDE GRID
   ================================ */

.compact-order-items-panel {
    margin-top: 0;
    background: #fff;
}

.compact-order-items-panel .admin-order-items-list {
    gap: 10px;
}

.compact-order-items-panel .admin-order-item-row {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
    border-radius: 18px;
}

.compact-order-items-panel .admin-order-item-image {
    width: 62px;
    height: 72px;
    border-radius: 15px;
}

.compact-order-items-panel .admin-order-item-info strong {
    font-size: 13px;
    margin-bottom: 4px;
}

.compact-order-items-panel .admin-order-item-info p {
    font-size: 11px;
    line-height: 1.35;
}

.compact-order-items-panel .admin-order-item-price {
    grid-column: 2;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.compact-order-items-panel .admin-order-item-price span {
    font-size: 11px;
}

.compact-order-items-panel .admin-order-item-price strong {
    font-size: 14px;
}

.compact-order-total-box {
    max-width: none;
    margin-left: 0;
    margin-top: 14px;
    border-radius: 18px;
    padding: 13px;
}

.compact-order-total-box div {
    padding: 8px 0;
}

.compact-order-total-box span,
.compact-order-total-box strong {
    font-size: 13px;
}

.compact-order-total-box .admin-order-total-final span,
.compact-order-total-box .admin-order-total-final strong {
    font-size: 16px;
}

/* Remove old full-width spacing */
.order-items-panel {
    margin-top: 0;
}

/* ================================
   PRODUCT DETAIL CLEAN TOPBAR NAV
   Fresh class names to avoid old icon CSS
   ================================ */

.product-clean-nav {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.product-clean-nav a,
.product-clean-nav button,
.product-clean-nav span,
.product-clean-nav img,
.product-clean-nav i {
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.product-clean-nav a:hover,
.product-clean-nav button:hover {
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Text links: Offers / Reviews */
.product-nav-text-link {
    min-height: 38px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #eeeeee;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.product-nav-text-link:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Circle icon buttons: heart, bag, message, profile */
.product-like-clean-link,
.product-bag-clean-link,
.product-message-clean-link,
.product-profile-clean-link {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    max-width: 38px;
    max-height: 38px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #111;
    border: 1px solid #eeeeee;
    padding: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* Heart */
.product-like-clean-link {
    font-size: 21px;
    font-weight: 900;
    padding-bottom: 2px;
}

/* Bag */
.product-bag-clean-wrap,
.product-message-clean-wrap {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-bag-clean-icon {
    font-size: 19px;
    line-height: 1;
}

/* Message icon */
.product-message-clean-icon {
    width: 19px;
    height: 19px;
    object-fit: contain;
    display: block;
}

/* Profile */
.product-profile-clean-img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
}

.product-profile-clean-fallback {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 950;
}

/* Simple hover */
.product-like-clean-link:hover,
.product-bag-clean-link:hover,
.product-message-clean-link:hover,
.product-profile-clean-link:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.product-message-clean-link:hover .product-message-clean-icon {
    filter: invert(1);
}

/* Badges */
.product-nav-count-badge {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.product-nav-text-link:hover .product-nav-count-badge {
    background: #fff;
    color: #111;
}

.product-bag-count-badge,
.product-message-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    border: 2px solid #fff;
    background: #b42318;
    color: #fff;
}

.product-bag-clean-link:hover .product-bag-count-badge,
.product-message-clean-link:hover .product-message-count-badge {
    border-color: #111;
}

/* Admin sell/sign-up button */
.product-sell-clean-btn {
    min-height: 38px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    border: 1px solid #111;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.product-sell-clean-btn:hover {
    background: #333;
    border-color: #333;
}

/* Mobile */
@media (max-width: 700px) {
    .product-clean-nav {
        gap: 7px;
    }

    .product-nav-text-link,
    .product-sell-clean-btn {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .product-like-clean-link,
    .product-bag-clean-link,
    .product-message-clean-link,
    .product-profile-clean-link {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .product-profile-clean-img,
    .product-profile-clean-fallback {
        width: 30px;
        height: 30px;
    }
}

.product-like-clean-link {
    font-size: 18px !important;
    font-weight: 900;
    padding: 0 !important;
    line-height: 1 !important;
}

.product-like-clean-link::before {
    content: "";
}

.product-like-clean-link {
    transform: none !important;
}

.product-message-clean-i {
    font-size: 18px !important;
    line-height: 1 !important;
    color: inherit !important;
    animation: none !important;
    transform: none !important;
}

.product-message-clean-link:hover .product-message-clean-i {
    color: #fff !important;
}

/* ================================
   CLEAN TOPBAR ICON NAV
   Heart / Message / Profile
   ================================ */

.product-clean-nav {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.product-clean-nav a,
.product-clean-nav button,
.product-clean-nav span,
.product-clean-nav img,
.product-clean-nav i {
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.product-clean-nav a:hover,
.product-clean-nav button:hover {
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Text links */
.product-nav-text-link {
    min-height: 38px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #eeeeee;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.product-nav-text-link:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Circle icon buttons */
.product-like-clean-link,
.product-message-clean-link,
.product-profile-clean-link {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    max-width: 38px;
    max-height: 38px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #111;
    border: 1px solid #eeeeee;
    padding: 0 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* Heart same size as message/profile */
.product-like-clean-link {
    font-size: 18px !important;
    font-weight: 900;
    line-height: 1 !important;
}

/* Message */
.product-message-clean-wrap {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-message-clean-i {
    font-size: 18px !important;
    line-height: 1 !important;
    color: inherit !important;
    animation: none !important;
    transform: none !important;
}

.product-message-clean-icon {
    width: 19px;
    height: 19px;
    object-fit: contain;
    display: block;
}

/* Profile */
.product-profile-clean-img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
}

.product-profile-clean-fallback {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 950;
}

/* Hover */
.product-like-clean-link:hover,
.product-message-clean-link:hover,
.product-profile-clean-link:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.product-message-clean-link:hover .product-message-clean-icon {
    filter: invert(1);
}

.product-message-clean-link:hover .product-message-clean-i {
    color: #fff !important;
}

/* Message badge */
.product-nav-count-badge {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.product-message-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    border: 2px solid #fff;
    background: #b42318;
    color: #fff;
}

.product-message-clean-link:hover .product-message-count-badge {
    border-color: #111;
}

/* Mobile */
@media (max-width: 700px) {
    .product-clean-nav {
        gap: 7px;
    }

    .product-nav-text-link {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .product-like-clean-link,
    .product-message-clean-link,
    .product-profile-clean-link {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .product-profile-clean-img,
    .product-profile-clean-fallback {
        width: 30px;
        height: 30px;
    }
}

/* ================================
   POLICY / LEGAL PAGES
   ================================ */

.policy-page {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 34px 18px 90px;
}

.policy-hero {
    background: #111;
    color: #fff;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 22px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.policy-hero .admin-eyebrow {
    color: #d1d5db;
}

.policy-hero h1 {
    margin: 6px 0 8px;
    font-size: 42px;
    font-weight: 950;
    letter-spacing: -0.07em;
}

.policy-hero p {
    max-width: 760px;
    margin: 0;
    color: #d1d5db;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
}

.policy-hero span {
    display: inline-flex;
    margin-top: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    padding: 8px 11px;
    font-size: 12px;
    font-weight: 950;
}

.policy-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.policy-sidebar {
    position: sticky;
    top: 18px;
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    border-radius: 26px;
    padding: 20px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.055);
}

.policy-sidebar h2 {
    margin: 4px 0 14px;
    color: #064e3b;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.policy-sidebar-links {
    display: grid;
    gap: 9px;
}

.policy-sidebar-links a {
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d1fae5;
    color: #064e3b;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
    line-height: 1.2;
}

.policy-sidebar-links a:hover {
    background: #064e3b;
    color: #fff;
}

.policy-content-card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.055);
}

.policy-content-card section {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #eeeeee;
}

.policy-content-card section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-content-card h2 {
    margin: 0 0 10px;
    color: #111;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.policy-content-card p {
    margin: 0 0 12px;
    color: #555;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
}

.policy-content-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .policy-layout {
        grid-template-columns: 1fr;
    }

    .policy-sidebar {
        position: static;
    }
}

@media (max-width: 650px) {
    .policy-page {
        padding: 26px 14px 80px;
    }

    .policy-hero {
        border-radius: 24px;
        padding: 24px;
    }

    .policy-hero h1 {
        font-size: 32px;
    }

    .policy-content-card {
        border-radius: 22px;
        padding: 20px;
    }
}

/* ================================
   SIDEBAR POLICIES DROPDOWN
   ================================ */

.sidebar-policies-section {
    margin-top: 18px;
}

.sidebar-policies-dropdown .sidebar-notification-summary {
    cursor: pointer;
}

.sidebar-policies-dropdown .sidebar-notification-summary::after {
    content: "⌄";
    margin-left: auto;
    font-size: 13px;
    font-weight: 950;
    transition: transform 0.15s ease;
}

.sidebar-policies-dropdown[open] .sidebar-notification-summary::after {
    transform: rotate(180deg);
}

.sidebar-policies-dropdown .sidebar-notification-menu {
    margin-top: 8px;
}

.sidebar-policies-dropdown .sidebar-sub-link {
    font-size: 12px;
}

/* ================================
   SIMPLE LEGAL ARTICLE PAGES
   For Terms, Privacy, Returns, Shipping, etc.
   ================================ */

.legal-article-page {
    max-width: 940px;
    width: 100%;
    margin: 0 auto;
    padding: 52px 18px 90px;
}

.legal-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 42px;
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.legal-breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.legal-breadcrumbs a:hover {
    color: #111;
    text-decoration: underline;
}

.legal-article-header {
    margin-bottom: 42px;
}

.legal-article-header h1 {
    margin: 0 0 24px;
    color: #111;
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.legal-effective-date {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-style: italic;
    font-weight: 950;
}

.legal-article-content {
    color: #1f2937;
}

.legal-article-content section {
    margin-bottom: 48px;
}

.legal-article-content h2 {
    margin: 0 0 20px;
    color: #1f2937;
    font-size: 25px;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.legal-article-content h3 {
    margin: 24px 0 12px;
    color: #1f2937;
    font-size: 18px;
    font-weight: 950;
}

.legal-article-content p {
    margin: 0 0 16px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.65;
}

.legal-article-content ol,
.legal-article-content ul {
    margin: 0 0 18px 22px;
    padding: 0;
}

.legal-article-content li {
    margin-bottom: 10px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.6;
}

.legal-article-content strong {
    font-weight: 950;
}

.legal-important-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 18px;
    padding: 18px;
    margin: 22px 0;
}

.legal-important-box h3 {
    margin: 0 0 8px;
    color: #b42318;
    font-size: 17px;
    font-weight: 950;
}

.legal-important-box p,
.legal-important-box li {
    color: #7f1d1d;
}

.legal-note-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    margin: 22px 0;
}

.legal-note-box h3 {
    margin: 0 0 8px;
    color: #111;
    font-size: 17px;
    font-weight: 950;
}

.legal-related {
    border-top: 1px solid #e5e7eb;
    padding-top: 28px;
    margin-top: 58px;
}

.legal-related h2 {
    margin: 0 0 14px;
    color: #111;
    font-size: 20px;
    font-weight: 950;
}

.legal-related-links {
    display: grid;
    gap: 10px;
}

.legal-related-links a {
    color: #111;
    font-size: 15px;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-help-box {
    margin-top: 38px;
    background: #111;
    color: #fff;
    border-radius: 20px;
    padding: 22px;
}

.legal-help-box h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
}

.legal-help-box p {
    margin: 0;
    color: #d1d5db;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.55;
}

@media (max-width: 650px) {
    .legal-article-page {
        padding: 38px 16px 80px;
    }

    .legal-article-header h1 {
        font-size: 32px;
    }

    .legal-effective-date {
        font-size: 16px;
    }

    .legal-article-content h2 {
        font-size: 22px;
    }

    .legal-article-content p,
    .legal-article-content li {
        font-size: 15px;
    }
}

/* ================================
   SIMPLE LEGAL ARTICLE PAGES
   For Terms, Privacy, Returns, Shipping, etc.
   ================================ */

.legal-article-page {
    max-width: 940px;
    width: 100%;
    margin: 0 auto;
    padding: 52px 18px 90px;
}

.legal-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 42px;
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.legal-breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.legal-breadcrumbs a:hover {
    color: #111;
    text-decoration: underline;
}

.legal-article-header {
    margin-bottom: 42px;
}

.legal-article-header h1 {
    margin: 0 0 24px;
    color: #111;
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.legal-effective-date {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-style: italic;
    font-weight: 950;
}

.legal-article-content {
    color: #1f2937;
}

.legal-article-content section {
    margin-bottom: 48px;
}

.legal-article-content h2 {
    margin: 0 0 20px;
    color: #1f2937;
    font-size: 25px;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.legal-article-content h3 {
    margin: 24px 0 12px;
    color: #1f2937;
    font-size: 18px;
    font-weight: 950;
}

.legal-article-content p {
    margin: 0 0 16px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.65;
}

.legal-article-content ol,
.legal-article-content ul {
    margin: 0 0 18px 22px;
    padding: 0;
}

.legal-article-content li {
    margin-bottom: 10px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.6;
}

.legal-article-content strong {
    font-weight: 950;
}

.legal-important-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 18px;
    padding: 18px;
    margin: 22px 0;
}

.legal-important-box h3 {
    margin: 0 0 8px;
    color: #b42318;
    font-size: 17px;
    font-weight: 950;
}

.legal-important-box p,
.legal-important-box li {
    color: #7f1d1d;
}

.legal-note-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    margin: 22px 0;
}

.legal-note-box h3 {
    margin: 0 0 8px;
    color: #111;
    font-size: 17px;
    font-weight: 950;
}

.legal-related {
    border-top: 1px solid #e5e7eb;
    padding-top: 28px;
    margin-top: 58px;
}

.legal-related h2 {
    margin: 0 0 14px;
    color: #111;
    font-size: 20px;
    font-weight: 950;
}

.legal-related-links {
    display: grid;
    gap: 10px;
}

.legal-related-links a {
    color: #111;
    font-size: 15px;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-help-box {
    margin-top: 38px;
    background: #111;
    color: #fff;
    border-radius: 20px;
    padding: 22px;
}

.legal-help-box h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
}

.legal-help-box p {
    margin: 0;
    color: #d1d5db;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.55;
}

@media (max-width: 650px) {
    .legal-article-page {
        padding: 38px 16px 80px;
    }

    .legal-article-header h1 {
        font-size: 32px;
    }

    .legal-effective-date {
        font-size: 16px;
    }

    .legal-article-content h2 {
        font-size: 22px;
    }

    .legal-article-content p,
    .legal-article-content li {
        font-size: 15px;
    }
}

/* Returns page small emphasis */
.legal-important-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 18px;
    padding: 18px;
    margin: 22px 0;
}

.legal-important-box h3 {
    margin: 0 0 8px;
    color: #b42318;
    font-size: 17px;
    font-weight: 950;
}

.legal-important-box p,
.legal-important-box li {
    color: #7f1d1d;
}

.legal-note-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    margin: 22px 0;
}

.legal-note-box h3 {
    margin: 0 0 8px;
    color: #111;
    font-size: 17px;
    font-weight: 950;
}

/* ================================
   SIMPLE LEGAL ARTICLE PAGES
   Terms / Shipping / Returns / Privacy
   ================================ */

.legal-article-page {
    max-width: 940px;
    width: 100%;
    margin: 0 auto;
    padding: 52px 18px 90px;
}

.legal-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 42px;
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.legal-breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.legal-breadcrumbs a:hover {
    color: #111;
    text-decoration: underline;
}

.legal-article-header {
    margin-bottom: 42px;
}

.legal-article-header h1 {
    margin: 0 0 24px;
    color: #111;
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.legal-effective-date {
    margin: 0;
    color: #1f2937;
    font-size: 18px;
    font-style: italic;
    font-weight: 950;
}

.legal-article-content {
    color: #1f2937;
}

.legal-article-content section {
    margin-bottom: 48px;
}

.legal-article-content h2 {
    margin: 0 0 20px;
    color: #1f2937;
    font-size: 25px;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.legal-article-content h3 {
    margin: 24px 0 12px;
    color: #1f2937;
    font-size: 18px;
    font-weight: 950;
}

.legal-article-content p {
    margin: 0 0 16px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.65;
}

.legal-article-content ol,
.legal-article-content ul {
    margin: 0 0 18px 22px;
    padding: 0;
}

.legal-article-content li {
    margin-bottom: 10px;
    color: #1f2937;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.6;
}

.legal-article-content strong {
    font-weight: 950;
}

/* Red attention box */
.legal-important-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 18px;
    padding: 18px;
    margin: 22px 0;
}

.legal-important-box h3 {
    margin: 0 0 8px;
    color: #b42318;
    font-size: 17px;
    font-weight: 950;
}

.legal-important-box p,
.legal-important-box li {
    color: #7f1d1d;
}

/* Neutral note box */
.legal-note-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    margin: 22px 0;
}

.legal-note-box h3 {
    margin: 0 0 8px;
    color: #111;
    font-size: 17px;
    font-weight: 950;
}

.legal-note-box p {
    color: #374151;
}

/* Related policies */
.legal-related {
    border-top: 1px solid #e5e7eb;
    padding-top: 28px;
    margin-top: 58px;
}

.legal-related h2 {
    margin: 0 0 14px;
    color: #111;
    font-size: 20px;
    font-weight: 950;
}

.legal-related-links {
    display: grid;
    gap: 10px;
}

.legal-related-links a {
    color: #111;
    font-size: 15px;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-related-links a:hover {
    color: #555;
}

/* Help box */
.legal-help-box {
    margin-top: 38px;
    background: #111;
    color: #fff;
    border-radius: 20px;
    padding: 22px;
}

.legal-help-box h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
}

.legal-help-box p {
    margin: 0;
    color: #d1d5db;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.55;
}

/* Mobile */
@media (max-width: 650px) {
    .legal-article-page {
        padding: 38px 16px 80px;
    }

    .legal-breadcrumbs {
        margin-bottom: 30px;
        font-size: 12px;
    }

    .legal-article-header {
        margin-bottom: 34px;
    }

    .legal-article-header h1 {
        font-size: 32px;
    }

    .legal-effective-date {
        font-size: 16px;
    }

    .legal-article-content section {
        margin-bottom: 38px;
    }

    .legal-article-content h2 {
        font-size: 22px;
    }

    .legal-article-content p,
    .legal-article-content li {
        font-size: 15px;
    }

    .legal-important-box,
    .legal-note-box,
    .legal-help-box {
        border-radius: 16px;
    }
}

/* ================================
   POLICY OVERVIEW PAGE - SIMPLE STYLE
   Uses same legal article look
   ================================ */

.policy-overview-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.policy-overview-sidebar {
    position: sticky;
    top: 22px;
    border-left: 3px solid #111;
    padding-left: 16px;
}

.policy-overview-sidebar-label {
    margin: 0 0 12px;
    color: #777;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.policy-overview-sidebar nav {
    display: grid;
    gap: 10px;
}

.policy-overview-sidebar nav a {
    color: #1f2937;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    line-height: 1.35;
}

.policy-overview-sidebar nav a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy-overview-content section:first-child {
    margin-top: 0;
}

.policy-overview-content a {
    color: #111;
    font-weight: 950;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy-overview-content a:hover {
    color: #555;
}

@media (max-width: 850px) {
    .policy-overview-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .policy-overview-sidebar {
        position: static;
        border-left: none;
        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        padding: 16px 0;
    }

    .policy-overview-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .policy-overview-sidebar nav {
        grid-template-columns: 1fr;
    }
}

/* ================================
   SHOP FOOTER - SMALL CONNECTED STYLE
   ================================ */

.page-shell {
    min-height: calc(100vh - 90px);
    align-items: stretch;
}

.shop-body {
    min-height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
}

.shop-body .product-grid,
.shop-body .search-results-header {
    flex: 0 0 auto;
}

/* Pushes footer down when few products, keeps it after products when many */
.shop-footer {
    margin-top: auto;
    padding-top: 34px;
}

/* Smaller footer, no boxed look */
.site-footer {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border-top: 1px solid #e5e7eb;
    padding: 16px 0 18px;
}

/* Makes the top line feel connected with sidebar/content layout */
.page-shell .site-footer {
    border-top-color: #e5e7eb;
}

/* Remove extra big spacing from old footer CSS */
.shop-body .site-footer {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Compact footer content */
.site-footer-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    padding: 0;
}

.site-footer-main {
    min-width: 0;
}

.site-footer-brand {
    display: inline-flex;
    color: #111;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: -0.04em;
    text-decoration: none;
    line-height: 1.1;
}

.site-footer-brand:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer p {
    max-width: 620px;
    margin: 5px 0 0;
    color: #666;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.45;
}

.site-footer-disclaimer {
    color: #777 !important;
    font-size: 10.8px !important;
    font-weight: 650 !important;
}

/* Only a few clean policy links */
.site-footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 2px;
}

.site-footer-links a {
    color: #333;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer-links a:hover {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Sidebar legal dropdown polish */
.sidebar-policies-section {
    margin-top: 18px;
}

.sidebar-policies-dropdown .sidebar-notification-summary {
    cursor: pointer;
}

.sidebar-policies-dropdown .sidebar-notification-summary::after {
    content: "⌄";
    margin-left: auto;
    font-size: 13px;
    font-weight: 950;
    transition: transform 0.15s ease;
}

.sidebar-policies-dropdown[open] .sidebar-notification-summary::after {
    transform: rotate(180deg);
}

.sidebar-policies-dropdown .sidebar-notification-menu {
    margin-top: 8px;
}

.sidebar-policies-dropdown .sidebar-sub-link {
    font-size: 12px;
}

/* Mobile */
@media (max-width: 850px) {
    .page-shell {
        min-height: auto;
    }

    .shop-body {
        min-height: calc(100vh - 100px);
    }

    .shop-footer {
        padding-top: 30px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .site-footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .site-footer {
        padding-bottom: 16px;
    }

    .site-footer p {
        font-size: 11px;
    }

    .site-footer-links a {
        font-size: 11.5px;
    }
}

/* ================================
   SMALL CONNECTED SHOP FOOTER FIX
   ================================ */

/* Adjust these if your sidebar/gap are different */
.page-shell {
    --footer-sidebar-width: 240px;
    --footer-sidebar-gap: 24px;
    overflow: visible;
}

.shop-body {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 110px);
    overflow: visible;
    padding-bottom: 0 !important;
}

.shop-body .product-grid,
.shop-body .search-results-header {
    flex: 0 0 auto;
}

/* Push footer to bottom when there are few products */
.shop-footer {
    margin-top: auto !important;
    padding-top: 18px !important;
    padding-bottom: 0 !important;
    position: relative;
}

/* Remove the normal footer border because we are drawing a full connected line */
.shop-body .site-footer,
.site-footer {
    border-top: none !important;
    background: transparent !important;
    padding: 12px 0 6px !important;
    margin-bottom: 0 !important;
}

/* This is the line that reaches left into the sidebar area */
.shop-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(-1 * (var(--footer-sidebar-width) + var(--footer-sidebar-gap)));
    right: 0;
    height: 1px;
    background: #e5e7eb;
    pointer-events: none;
}

/* Smaller footer content */
.site-footer-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.site-footer-main {
    min-width: 0;
}

.site-footer-brand {
    display: inline-flex;
    color: #111;
    font-size: 13px !important;
    font-weight: 950;
    letter-spacing: -0.035em;
    text-decoration: none;
    line-height: 1.1;
}

.site-footer-brand:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Hide the big description if it still exists */
.site-footer-main p:not(.site-footer-disclaimer) {
    display: none !important;
}

/* Keep disclaimer small */
.site-footer-disclaimer {
    max-width: 560px;
    margin: 4px 0 0 !important;
    color: #777 !important;
    font-size: 10.5px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
}

/* Small right-side links */
.site-footer-links {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 !important;
}

.site-footer-links a {
    color: #333;
    font-size: 11.5px !important;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer-links a:hover {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Remove extra bottom gap from page */
.shop-page,
.shop-page body,
body.shop-page {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


/* Mobile: don't extend line left because sidebar stacks */
@media (max-width: 850px) {
    .page-shell {
        --footer-sidebar-width: 0px;
        --footer-sidebar-gap: 0px;
    }

    .shop-body {
        min-height: calc(100vh - 100px);
    }

    .site-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .site-footer-links {
        justify-content: flex-start;
    }

    .site-footer-disclaimer {
        max-width: 100%;
    }
}

/* ================================
   PRODUCT DETAIL FOOTER - FULL WIDTH LINE
   ================================ */

body {
    overflow-x: hidden;
}

.product-detail-footer {
    position: relative;
    max-width: 1180px;
    width: calc(100% - 36px);
    margin: 52px auto 0;
    padding: 16px 0 22px !important;
    border-top: none !important;
    background: transparent !important;
}

/* This makes the line go across the whole page */
.product-detail-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 1px;
    background: #e5e7eb;
    transform: translateX(-50%);
    pointer-events: none;
}

.product-detail-footer-inner {
    max-width: 100%;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.product-detail-footer .site-footer-main {
    min-width: 0;
}

.product-detail-footer .site-footer-brand {
    color: #111;
    font-size: 13px !important;
    font-weight: 950;
    letter-spacing: -0.035em;
    text-decoration: none;
    line-height: 1.1;
}

.product-detail-footer .site-footer-disclaimer {
    max-width: 620px;
    margin: 4px 0 0 !important;
    color: #777 !important;
    font-size: 10.5px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
}

.product-detail-footer .site-footer-links {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 !important;
}

.product-detail-footer .site-footer-links a {
    color: #333;
    font-size: 11.5px !important;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.product-detail-footer .site-footer-links a:hover {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 760px) {
    .product-detail-footer {
        width: calc(100% - 32px);
        margin-top: 42px;
    }

    .product-detail-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .product-detail-footer .site-footer-links {
        justify-content: flex-start;
    }
}

/* ================================
   ADMIN CRASH LOGS
   ================================ */

.admin-error-log-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 18px 90px;
}

.admin-error-log-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: 28px;
}

.admin-error-log-header h1 {
    margin: 0;
    color: #111;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.admin-error-log-header p {
    margin: 8px 0 0;
    color: #666;
    font-size: 14px;
    font-weight: 750;
}

.admin-error-log-filter-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-error-log-filter-row a {
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.admin-error-log-filter-row a.active,
.admin-error-log-filter-row a:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.admin-error-log-list {
    display: grid;
    gap: 18px;
}

.admin-error-log-card {
    background: #fff;
    border: 1px solid #fecaca;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 14px 35px rgba(127, 29, 29, 0.08);
}

.admin-error-log-card.resolved {
    border-color: #e5e7eb;
    box-shadow: none;
}

.admin-error-log-card-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.admin-error-log-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-error-log-title-row h2 {
    margin: 0;
    color: #111;
    font-size: 20px;
    font-weight: 950;
}

.admin-error-id {
    color: #777;
    font-size: 13px;
    font-weight: 950;
}

.error-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 950;
}

.error-status-pill.open {
    background: #fef2f2;
    color: #b42318;
}

.error-status-pill.resolved {
    background: #ecfdf3;
    color: #067647;
}

.admin-error-message {
    margin: 8px 0 0;
    color: #7f1d1d;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

.admin-error-log-meta-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.admin-error-log-meta-grid div {
    background: #f9fafb;
    border: 1px solid #eeeeee;
    border-radius: 14px;
    padding: 10px;
    min-width: 0;
}

.admin-error-log-meta-grid span {
    display: block;
    margin-bottom: 4px;
    color: #777;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-error-log-meta-grid strong {
    display: block;
    color: #111;
    font-size: 12px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.admin-error-small {
    margin: 12px 0 0;
    color: #555;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.admin-error-traceback {
    margin-top: 16px;
    border-radius: 16px;
    background: #111;
    color: #fff;
    overflow: hidden;
}

.admin-error-traceback summary {
    cursor: pointer;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 950;
}

.admin-error-traceback pre {
    margin: 0;
    max-height: 360px;
    overflow: auto;
    padding: 14px;
    background: #050505;
    color: #f9fafb;
    font-size: 12px;
    line-height: 1.45;
    white-space: pre-wrap;
}

.admin-error-action-form {
    margin-top: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}

.admin-error-action-form textarea {
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    resize: vertical;
    font-size: 13px;
    font-weight: 750;
}

.admin-error-action-form button {
    min-height: 44px;
    border: none;
    border-radius: 14px;
    background: #111;
    color: #fff;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.admin-error-action-form button:hover {
    background: #333;
}

.admin-crash-sidebar-link {
    color: #b42318 !important;
    font-weight: 950 !important;
}

.public-error-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 18px;
}

.public-error-card {
    max-width: 520px;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.public-error-card h1 {
    margin: 0 0 10px;
    color: #111;
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.public-error-card p {
    margin: 0;
    color: #555;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.55;
}

.public-error-id {
    margin-top: 12px !important;
    color: #b42318 !important;
    font-weight: 950 !important;
}

.public-error-actions {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.public-error-actions a {
    min-height: 38px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.public-error-actions a:hover {
    background: #333;
}

@media (max-width: 800px) {
    .admin-error-log-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-error-log-meta-grid {
        grid-template-columns: 1fr;
    }

    .admin-error-action-form {
        grid-template-columns: 1fr;
    }
}

/* ================================
   ADMIN CRASH LOG LINK / BADGE
   ================================ */

.admin-crash-sidebar-link {
    color: #b42318 !important;
    font-weight: 950 !important;
}

.admin-crash-sidebar-link:hover {
    background: #fef2f2 !important;
    color: #991b1b !important;
}

.admin-crash-sidebar-link .sidebar-small-red-badge {
    background: #dc2626;
    color: #fff;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
}

/* Admin dashboard crash card */
.admin-dashboard-card.admin-crash-card {
    border-color: #fecaca;
    background: #fff;
}

.admin-dashboard-card.admin-crash-card:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}

.admin-dashboard-card.admin-crash-card span {
    color: #991b1b;
}

.admin-dashboard-card.admin-crash-card strong {
    background: #dc2626;
    color: #fff;
    border-radius: 999px;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 950;
}

.admin-error-view-link {
    background: #b42318 !important;
}

.admin-error-view-link:hover {
    background: #991b1b !important;
}

.public-error-admin-note {
    margin-top: 12px !important;
    color: #b42318 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

.account-limited-page {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 18px 90px;
}

.account-limited-card {
    max-width: 620px;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    padding: 34px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.07);
}

.account-limited-eyebrow {
    margin: 0 0 12px;
    color: #b42318;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-limited-card h1 {
    margin: 0 0 16px;
    color: #111;
    font-size: 34px;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.account-limited-card p {
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

.account-limited-box {
    margin: 24px 0;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 18px;
    padding: 18px;
}

.account-limited-box h2 {
    margin: 0 0 8px;
    color: #991b1b;
    font-size: 18px;
    font-weight: 950;
}

.account-limited-box p {
    margin: 0;
    color: #7f1d1d;
}

.account-limited-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.account-limited-actions a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 16px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
}

.account-limited-actions a:nth-child(2) {
    background: #f3f4f6;
    color: #111;
}

.account-limited-actions a:nth-child(3) {
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 560px) {
    .account-limited-card {
        padding: 24px;
        border-radius: 22px;
    }

    .account-limited-card h1 {
        font-size: 29px;
    }
}

.admin-safety-page {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 18px 90px;
}

.admin-safety-header {
    margin-bottom: 28px;
}

.admin-safety-header h1 {
    margin: 0 0 12px;
    color: #111;
    font-size: 38px;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.admin-safety-header p {
    max-width: 760px;
    margin: 0;
    color: #555;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
}

.admin-safety-flashes {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.admin-safety-flash {
    margin: 0;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 900;
}

.admin-safety-flash.success {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

.admin-safety-flash.error {
    background: #fef2f2;
    color: #b42318;
    border: 1px solid #fecaca;
}

.admin-safety-toolbar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.045);
}

.admin-safety-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-safety-search-form input,
.admin-safety-search-form select {
    min-height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 0 12px;
    color: #111;
    font-size: 13px;
    font-weight: 800;
    outline: none;
}

.admin-safety-search-form input {
    min-width: 240px;
    flex: 1;
}

.admin-safety-search-form button,
.admin-safety-search-form a {
    min-height: 42px;
    border: none;
    border-radius: 14px;
    padding: 0 16px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.admin-safety-search-form a {
    background: #f3f4f6;
    color: #111;
}

.admin-safety-status-guide {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.admin-safety-status-guide div {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px;
}

.admin-safety-status-guide strong {
    display: block;
    margin-bottom: 6px;
    color: #111;
    font-size: 13px;
    font-weight: 950;
}

.admin-safety-status-guide span {
    color: #667085;
    font-size: 11.5px;
    font-weight: 750;
    line-height: 1.4;
}

.admin-safety-user-list {
    display: grid;
    gap: 18px;
}

.admin-safety-user-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.045);
}

.admin-safety-user-card.status-limited {
    border-color: #fedf89;
}

.admin-safety-user-card.status-suspended,
.admin-safety-user-card.status-banned {
    border-color: #fecaca;
}

.admin-safety-user-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.admin-safety-user-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}

.admin-safety-user-title-row h2 {
    margin: 0;
    color: #111;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.admin-safety-user-top p {
    margin: 3px 0;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.admin-safety-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 950;
    text-transform: capitalize;
}

.admin-safety-status-pill.active {
    background: #ecfdf3;
    color: #027a48;
}

.admin-safety-status-pill.watchlist {
    background: #eff8ff;
    color: #175cd3;
}

.admin-safety-status-pill.limited {
    background: #fffaeb;
    color: #b54708;
}

.admin-safety-status-pill.suspended,
.admin-safety-status-pill.banned {
    background: #fef2f2;
    color: #b42318;
}

.admin-safety-user-quick span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 999px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 950;
}

.admin-safety-user-quick .safe {
    background: #ecfdf3;
    color: #027a48;
}

.admin-safety-user-quick .watch {
    background: #eff8ff;
    color: #175cd3;
}

.admin-safety-user-quick .limited {
    background: #fffaeb;
    color: #b54708;
}

.admin-safety-user-quick .danger {
    background: #fef2f2;
    color: #b42318;
}

.admin-safety-existing-note {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 10px;
}

.admin-safety-existing-note strong {
    display: block;
    margin-bottom: 5px;
    color: #111;
    font-size: 12px;
    font-weight: 950;
}

.admin-safety-existing-note p {
    margin: 0;
    color: #4b5563;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
}

.admin-safety-small {
    margin: 0 0 14px;
    color: #777;
    font-size: 11.5px;
    font-weight: 800;
}

.admin-safety-action-form {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.admin-safety-action-form label {
    display: grid;
    gap: 6px;
    color: #111;
    font-size: 12px;
    font-weight: 950;
}

.admin-safety-action-form select,
.admin-safety-action-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 11px 12px;
    color: #111;
    font-size: 13px;
    font-weight: 750;
    outline: none;
}

.admin-safety-action-form textarea {
    min-height: 76px;
    resize: vertical;
}

.admin-safety-action-row {
    display: flex;
    justify-content: flex-end;
}

.admin-safety-action-row button {
    min-height: 42px;
    border: none;
    border-radius: 999px;
    padding: 0 18px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.admin-safety-action-row button:hover {
    background: #333;
}

@media (max-width: 900px) {
    .admin-safety-status-guide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-safety-user-top {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .admin-safety-page {
        padding: 36px 16px 80px;
    }

    .admin-safety-header h1 {
        font-size: 31px;
    }

    .admin-safety-status-guide {
        grid-template-columns: 1fr;
    }

    .admin-safety-search-form input,
    .admin-safety-search-form select,
    .admin-safety-search-form button,
    .admin-safety-search-form a {
        width: 100%;
    }
}

.admin-safety-search-box {
    position: relative;
    flex: 1;
    min-width: 240px;
}

.admin-safety-search-box input {
    width: 100%;
}

.admin-safety-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 100;
    display: none;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.admin-safety-suggestions.show {
    display: block;
}

.admin-safety-suggestion-item {
    width: 100%;
    min-height: 48px;
    border: none;
    border-bottom: 1px solid #eeeeee;
    border-radius: 0;
    background: #ffffff;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    text-align: left;
}

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

.admin-safety-suggestion-item:hover {
    background: #f3f4f6;
}

.admin-safety-suggestion-name {
    color: #111111;
    font-size: 14px;
    font-weight: 950;
}

.admin-safety-suggestion-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 950;
    text-transform: capitalize;
    white-space: nowrap;
}

.admin-safety-suggestion-status.active {
    background: #ecfdf3;
    color: #027a48;
}

.admin-safety-suggestion-status.watchlist {
    background: #eff8ff;
    color: #175cd3;
}

.admin-safety-suggestion-status.limited {
    background: #fffaeb;
    color: #b54708;
}

.admin-safety-suggestion-status.suspended,
.admin-safety-suggestion-status.banned {
    background: #fef2f2;
    color: #b42318;
}

@media (max-width: 560px) {
    .admin-safety-search-box {
        width: 100%;
        min-width: 0;
    }

    .admin-safety-suggestion-item {
        min-height: 52px;
    }
}

.admin-safety-search-box {
    position: relative;
    flex: 1;
    min-width: 240px;
}

.admin-safety-search-box input {
    width: 100%;
}

.admin-safety-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
    background: #ffffff;
    border: 1px solid #cfd4dc;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.admin-safety-suggestions.show {
    display: block;
}

.admin-safety-suggestion-item {
    width: 100%;
    min-height: 48px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    background: #ffffff;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    text-align: left;
}

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

.admin-safety-suggestion-item:hover {
    background: #111111;
}

.admin-safety-suggestion-item:hover .admin-safety-suggestion-name,
.admin-safety-suggestion-item:hover .admin-safety-suggestion-email {
    color: #ffffff;
}

.admin-safety-suggestion-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.admin-safety-suggestion-name {
    color: #111111;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.2;
}

.admin-safety-suggestion-email {
    color: #667085;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
}

.admin-safety-suggestion-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 950;
    text-transform: capitalize;
    white-space: nowrap;
}

.admin-safety-suggestion-status.active {
    background: #ecfdf3;
    color: #027a48;
}

.admin-safety-suggestion-status.watchlist {
    background: #eff8ff;
    color: #175cd3;
}

.admin-safety-suggestion-status.limited {
    background: #fffaeb;
    color: #b54708;
}

.admin-safety-suggestion-status.suspended,
.admin-safety-suggestion-status.banned {
    background: #fef2f2;
    color: #b42318;
}

.admin-safety-user-list {
    display: grid;
    gap: 12px;
}

.admin-safety-user-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.admin-safety-user-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.admin-safety-user-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.admin-safety-user-title-row h2 {
    margin: 0;
    color: #111;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.admin-safety-user-top p {
    margin: 2px 0;
    color: #667085;
    font-size: 11px;
    font-weight: 800;
}

.admin-safety-status-pill {
    min-height: 21px;
    padding: 0 8px;
    font-size: 10px;
}

.admin-safety-user-quick span {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
}

.admin-safety-existing-note {
    border-radius: 12px;
    padding: 9px;
    margin-bottom: 8px;
}

.admin-safety-existing-note strong {
    font-size: 11px;
}

.admin-safety-existing-note p {
    font-size: 11px;
}

.admin-safety-small {
    margin: 0 0 10px;
    font-size: 10.5px;
}

.admin-safety-action-form {
    gap: 8px;
    margin-top: 10px;
}

.admin-safety-action-form label {
    gap: 5px;
    font-size: 11px;
}

.admin-safety-action-form select,
.admin-safety-action-form textarea {
    border-radius: 12px;
    padding: 9px 10px;
    font-size: 12px;
}

.admin-safety-action-form textarea {
    min-height: 52px;
}

.admin-safety-action-row button {
    min-height: 36px;
    padding: 0 14px;
    font-size: 12px;
}

/* Clean Admin Safety user search dropdown */
.admin-safety-search-box {
    position: relative;
    flex: 1;
    min-width: 240px;
}

.admin-safety-search-box input {
    width: 100%;
}

.admin-safety-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 9999;

    display: none;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12) !important;

    max-height: 280px;
    overflow-y: auto;
    padding: 4px 0 !important;
}

.admin-safety-suggestions.show {
    display: block;
}

.admin-safety-suggestion-item {
    width: 100%;
    min-height: 44px;

    border: none !important;
    border-bottom: 1px solid #f1f1f1 !important;
    border-radius: 0 !important;

    background: #ffffff !important;
    color: #111 !important;

    padding: 9px 14px !important;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    cursor: pointer;
    text-align: left;
}

.admin-safety-suggestion-item:last-child {
    border-bottom: none !important;
}

.admin-safety-suggestion-item:hover {
    background: #f3f4f6 !important;
}

.admin-safety-suggestion-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.admin-safety-suggestion-name {
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1.2;
}

.admin-safety-suggestion-email {
    color: #667085 !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    line-height: 1.2;
}

.admin-safety-suggestion-item:hover .admin-safety-suggestion-name {
    color: #111 !important;
}

.admin-safety-suggestion-item:hover .admin-safety-suggestion-email {
    color: #667085 !important;
}

.admin-safety-suggestion-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 22px;
    border-radius: 999px;
    padding: 0 9px;

    font-size: 10.5px !important;
    font-weight: 950 !important;
    text-transform: capitalize;
    white-space: nowrap;
}

.admin-safety-suggestion-status.active {
    background: #ecfdf3 !important;
    color: #027a48 !important;
}

.admin-safety-suggestion-status.watchlist {
    background: #eff8ff !important;
    color: #175cd3 !important;
}

.admin-safety-suggestion-status.limited {
    background: #fffaeb !important;
    color: #b54708 !important;
}

.admin-safety-suggestion-status.suspended,
.admin-safety-suggestion-status.banned {
    background: #fef2f2 !important;
    color: #b42318 !important;
}

.offer-page-notice {
    margin: 14px 0 18px;
    background: #fffaeb;
    border: 1px solid #fedf89;
    color: #92400e;
    border-radius: 16px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 900;
}

.product-notification-clean-link {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.product-notification-clean-link i {
    font-size: 20px;
    line-height: 1;
}

.product-notification-clean-link:hover {
    background: #111;
    color: #fff;
}

.topbar-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.legal-help-box a {
    color: #fff;
    font-weight: 950;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-help-box strong {
    color: #fff;
    font-weight: 950;
}

.admin-review-page {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 46px 18px 90px;
}

.admin-review-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.admin-review-header h1 {
    margin: 0 0 10px;
    color: #111;
    font-size: 36px;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.admin-review-header p {
    max-width: 700px;
    margin: 0;
    color: #555;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.5;
}

.admin-review-filter-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-review-filter-row a {
    min-height: 38px;
    border-radius: 999px;
    padding: 0 14px;
    background: #f3f4f6;
    color: #111;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.admin-review-filter-row a.active,
.admin-review-filter-row a:hover {
    background: #111;
    color: #fff;
}

.admin-review-notice {
    margin-bottom: 18px;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    color: #027a48;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 900;
}

.admin-review-list {
    display: grid;
    gap: 14px;
}

.admin-review-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.045);
}

.admin-review-card.hidden-review-card {
    border-color: #fecaca;
    background: #fffafa;
}

.admin-review-card-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.admin-review-title-row {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.admin-review-title-row h2 {
    margin: 0;
    color: #111;
    font-size: 19px;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.admin-review-status {
    min-height: 22px;
    border-radius: 999px;
    padding: 0 9px;
    font-size: 10.5px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
}

.admin-review-status.visible {
    background: #ecfdf3;
    color: #027a48;
}

.admin-review-status.hidden {
    background: #fef2f2;
    color: #b42318;
}

.admin-review-meta {
    margin: 0;
    color: #667085;
    font-size: 11.5px;
    font-weight: 800;
}

.admin-review-rating {
    min-width: 48px;
    height: 36px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-review-body {
    background: #f9fafb;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 13px;
    margin-bottom: 12px;
}

.admin-review-body p {
    margin: 0;
    color: #1f2937;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.55;
}

.muted-review-text {
    color: #777 !important;
    font-style: italic;
}

.admin-review-compliments {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    color: #374151;
    font-size: 12px;
    font-weight: 800;
}

.admin-review-compliments strong {
    font-weight: 950;
}

.admin-review-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.admin-review-info-grid div {
    background: #f9fafb;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 9px;
}

.admin-review-info-grid span {
    display: block;
    margin-bottom: 4px;
    color: #777;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
}

.admin-review-info-grid strong {
    color: #111;
    font-size: 11.5px;
    font-weight: 850;
    word-break: break-word;
}

.admin-review-hidden-reason {
    margin-bottom: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 14px;
    padding: 12px;
}

.admin-review-hidden-reason strong {
    display: block;
    margin-bottom: 5px;
    color: #991b1b;
    font-size: 12px;
    font-weight: 950;
}

.admin-review-hidden-reason p {
    margin: 0;
    color: #7f1d1d;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
}

.admin-review-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-review-secondary-link,
.admin-review-restore-btn,
.admin-review-hide-btn {
    min-height: 38px;
    border: none;
    border-radius: 999px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-review-secondary-link {
    background: #f3f4f6;
    color: #111;
}

.admin-review-restore-btn {
    background: #ecfdf3;
    color: #027a48;
}

.admin-review-hide-btn {
    background: #dc2626;
    color: #fff;
}

.admin-review-hide-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
}

.admin-review-hide-form input {
    min-height: 38px;
    max-width: 340px;
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 0 13px;
    font-size: 12px;
    font-weight: 750;
    outline: none;
}

.image-skeleton-wrap {
    position: relative;
    overflow: hidden;
    background: #f1f1f1;
    border-radius: inherit;
    isolation: isolate;
}

.image-skeleton {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(238, 238, 238, 1) 0%,
            rgba(248, 248, 248, 1) 45%,
            rgba(238, 238, 238, 1) 100%
        );
    background-size: 220% 100%;
    animation: skeleton-loading 1.25s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.image-skeleton.hidden {
    opacity: 0;
    pointer-events: none;
}

.skeleton-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.skeleton-img.loaded {
    opacity: 1;
}

@keyframes skeleton-loading {
    0% {
        background-position: 220% 0;
    }

    100% {
        background-position: -220% 0;
    }
}
/* FINAL MOBILE ONLY: no sidebar, clean topbar, 2-column shop */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.shop-page {
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    /* Topbar mobile proportions */
    body.shop-page .topbar {
        height: auto !important;
        min-height: 54px !important;
        display: grid !important;
        grid-template-columns: 104px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 7px 8px !important;
    }

    body.shop-page .brand {
        width: 104px !important;
        min-width: 104px !important;
        max-width: 104px !important;
        gap: 4px !important;
        overflow: visible !important;
    }

    body.shop-page .brand-logo {
        width: 22px !important;
        height: 22px !important;
        flex: 0 0 22px !important;
    }

    body.shop-page .brand-name-full {
        display: none !important;
    }

    body.shop-page .brand-name,
    body.shop-page .brand-name-short {
        max-width: 76px !important;
        font-size: 12px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    body.shop-page .brand-sub {
        display: none !important;
    }

    /* Search bar stays inside its lane */
    body.shop-page .searchbar,
    body.shop-page .searchbar-inner,
    body.shop-page .searchbar input {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    body.shop-page .searchbar-inner,
    body.shop-page .searchbar input,
    body.shop-page .searchbar button {
        height: 32px !important;
    }

    body.shop-page .searchbar input {
        font-size: 12px !important;
        padding: 6px 8px !important;
    }

    body.shop-page .searchbar button {
        width: 32px !important;
        flex: 0 0 32px !important;
        padding: 0 !important;
        font-size: 0 !important;
    }

    body.shop-page .searchbar button::before {
        content: "⌕";
        font-size: 16px;
        font-weight: 800;
    }

    /* Hide less important topbar links on mobile */
    body.shop-page .reviews-nav-link,
    body.shop-page .message-icon-link,
    body.shop-page .likes-icon-link,
    body.shop-page .list-item-btn {
        display: none !important;
    }

    body.shop-page .topbar-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 7px !important;
        flex-shrink: 0 !important;
        width: auto !important;
    }

    body.shop-page .product-notification-clean-link,
    body.shop-page .cart-icon-link,
    body.shop-page .profile-nav-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 22px !important;
        height: 22px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.shop-page .topbar-nav i {
        font-size: 19px !important;
    }

    body.shop-page .topbar-profile-img,
    body.shop-page .topbar-profile-fallback {
        width: 23px !important;
        height: 23px !important;
        min-width: 23px !important;
        font-size: 10px !important;
    }

    /* Full-width product area */
    body.shop-page .page-shell,
    body.shop-page .shop-body {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    body.shop-page .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 0 10px 28px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    body.shop-page .product-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    body.shop-page .product-card-image-wrap,
    body.shop-page .image-skeleton-wrap,
    body.shop-page .product-card-img,
    body.shop-page .skeleton-img {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.shop-page .product-title {
        font-size: 12px !important;
        line-height: 1.25 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    body.shop-page .product-price {
        font-size: 13px !important;
    }
}

@media (max-width: 768px) {
    body.shop-page .topbar {
        height: auto !important;
        min-height: 54px !important;
        grid-template-columns: 104px minmax(0, 1fr) auto !important;
        gap: 6px !important;
        padding: 7px 8px !important;
    }

    body.shop-page .brand {
        width: 104px !important;
        min-width: 104px !important;
        max-width: 104px !important;
        gap: 4px !important;
        overflow: visible !important;
        flex-shrink: 0 !important;
    }

    body.shop-page .brand-logo {
        width: 22px !important;
        height: 22px !important;
        flex: 0 0 22px !important;
    }

    body.shop-page .brand-name-full {
        display: none !important;
    }

    body.shop-page .brand-name-short {
        display: inline-block !important;
        max-width: 76px !important;
        font-size: 12px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    body.shop-page .brand-sub {
        display: none !important;
    }

    body.shop-page .searchbar,
    body.shop-page .searchbar-inner,
    body.shop-page .searchbar input {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    body.shop-page .searchbar-inner,
    body.shop-page .searchbar input,
    body.shop-page .searchbar button {
        height: 32px !important;
    }

    body.shop-page .searchbar input {
        font-size: 12px !important;
        padding: 6px 8px !important;
    }

    body.shop-page .searchbar button {
        width: 32px !important;
        flex: 0 0 32px !important;
        padding: 0 !important;
        font-size: 0 !important;
    }

    body.shop-page .searchbar button::before {
        content: "⌕";
        font-size: 16px;
        font-weight: 800;
    }

    body.shop-page .topbar-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 7px !important;
        flex-shrink: 0 !important;
        width: auto !important;
    }
}

.brand-name-short {
    display: none;
}

@media (max-width: 768px) {
    body.shop-page .brand-name-full {
        display: none !important;
    }

    body.shop-page .brand-name-short {
        display: inline-block !important;
    }
}

@media (max-width: 768px) {
    body.shop-page .topbar {
        grid-template-columns: 104px minmax(0, 1fr) 78px !important;
        gap: 6px !important;
    }

    body.shop-page .searchbar {
        width: calc(100% - 8px) !important;
        max-width: calc(100% - 8px) !important;
        justify-self: start !important;
        margin-right: 8px !important;
    }

    body.shop-page .topbar-nav {
        width: 78px !important;
        min-width: 78px !important;
        max-width: 78px !important;
        justify-content: flex-end !important;
        gap: 7px !important;
    }
}

/* MOBILE TOPBAR: brand/icons on row 1, search on row 2 */
@media (max-width: 768px) {
    body.shop-page .topbar {
        height: auto !important;
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        grid-template-rows: auto auto !important;
        align-items: center !important;
        row-gap: 8px !important;
        column-gap: 8px !important;
        padding: 8px 10px 10px !important;
    }

    body.shop-page .brand {
        grid-column: 1 / 2 !important;
        grid-row: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        gap: 5px !important;
        overflow: visible !important;
    }

    body.shop-page .brand-logo {
        width: 24px !important;
        height: 24px !important;
        flex: 0 0 24px !important;
    }

    body.shop-page .brand-name-full {
        display: none !important;
    }

    body.shop-page .brand-name-short {
        display: inline-block !important;
        font-size: 13px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    body.shop-page .brand-sub {
        display: none !important;
    }

    body.shop-page .topbar-nav {
        grid-column: 3 / 4 !important;
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 9px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        flex-shrink: 0 !important;
    }

    /* Keep only important icons on mobile */
    body.shop-page .reviews-nav-link,
    body.shop-page .message-icon-link,
    body.shop-page .likes-icon-link,
    body.shop-page .list-item-btn {
        display: none !important;
    }

    body.shop-page .product-notification-clean-link,
    body.shop-page .cart-icon-link,
    body.shop-page .profile-nav-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.shop-page .topbar-nav i {
        font-size: 20px !important;
    }

    body.shop-page .topbar-profile-img,
    body.shop-page .topbar-profile-fallback {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        font-size: 10px !important;
    }

    body.shop-page .searchbar {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body.shop-page .searchbar-inner {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 36px !important;
        display: flex !important;
        align-items: center !important;
    }

    body.shop-page .searchbar input {
        width: 100% !important;
        min-width: 0 !important;
        height: 36px !important;
        font-size: 13px !important;
        padding: 7px 10px !important;
    }

    body.shop-page .searchbar button {
        width: 38px !important;
        height: 36px !important;
        flex: 0 0 38px !important;
        padding: 0 !important;
        font-size: 0 !important;
    }

    body.shop-page .searchbar button::before {
        content: "⌕";
        font-size: 17px;
        font-weight: 800;
    }
}

/* MOBILE ONLY: closeable sidebar drawer */
@media (max-width: 768px) {
    body.shop-page {
        overflow-x: hidden !important;
    }

    body.shop-page .page-shell {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.shop-page .shop-body {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.shop-page .shop-sidebar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 82vw !important;
        max-width: 320px !important;
        height: 100dvh !important;
        background: #fff !important;
        z-index: 7000 !important;
        overflow-y: auto !important;
        padding: 22px 18px !important;
        transform: translateX(-105%) !important;
        transition: transform 0.25s ease !important;
        box-shadow: 8px 0 28px rgba(0, 0, 0, 0.2) !important;
    }

    body.shop-page.mobile-sidebar-open .shop-sidebar {
        transform: translateX(0) !important;
    }

    .mobile-category-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin: 8px 10px 10px;
        padding: 9px 14px;
        border-radius: 999px;
        border: 1px solid #ddd;
        background: #fff;
        color: #111;
        font-weight: 700;
        font-size: 13px;
        cursor: pointer;
    }

    .mobile-sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 6500;
    }

    body.shop-page.mobile-sidebar-open .mobile-sidebar-overlay {
        display: block;
    }
}

/* MOBILE ONLY: sidebar drawer button + drawer */
@media (max-width: 768px) {
    body.shop-page .page-shell {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.shop-page .shop-body {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.shop-page .shop-sidebar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 82vw !important;
        max-width: 320px !important;
        height: 100dvh !important;
        background: #fff !important;
        z-index: 7000 !important;
        overflow-y: auto !important;
        padding: 22px 18px !important;
        transform: translateX(-105%) !important;
        transition: transform 0.25s ease !important;
        box-shadow: 8px 0 28px rgba(0, 0, 0, 0.2) !important;
    }

    body.shop-page.mobile-sidebar-open .shop-sidebar {
        transform: translateX(0) !important;
    }

    .mobile-category-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin: 8px 10px 10px;
        padding: 9px 14px;
        border-radius: 999px;
        border: 1px solid #ddd;
        background: #fff;
        color: #111;
        font-weight: 700;
        font-size: 13px;
        cursor: pointer;
    }

    .mobile-category-btn i {
        font-size: 17px;
    }

    .mobile-sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 6500;
    }

    body.shop-page.mobile-sidebar-open .mobile-sidebar-overlay {
        display: block;
    }
}

/* Mobile Mercari-style menu */
.mobile-menu-btn,
.mobile-menu-panel {
    display: none;
}

@media (max-width: 768px) {
    body.shop-page .shop-sidebar,
    body.shop-page .sidebar {
        display: none !important;
    }

    body.shop-page .topbar {
        height: auto !important;
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: 36px auto minmax(0, 1fr) auto !important;
        grid-template-rows: auto auto !important;
        align-items: center !important;
        column-gap: 8px !important;
        row-gap: 8px !important;
        padding: 8px 10px 10px !important;
    }

    body.shop-page .mobile-menu-btn {
        grid-column: 1;
        grid-row: 1;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border: 1px solid #dddddd;
        border-radius: 999px;
        background: #ffffff;
        color: #111111;
        padding: 0;
        cursor: pointer;
    }

    body.shop-page .mobile-menu-btn i {
        font-size: 20px;
    }

    body.shop-page .brand {
        grid-column: 2;
        grid-row: 1;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        gap: 5px !important;
    }

    body.shop-page .brand-logo {
        width: 24px !important;
        height: 24px !important;
        flex: 0 0 24px !important;
    }

    body.shop-page .brand-name-full {
        display: none !important;
    }

    body.shop-page .brand-name-short {
        display: inline-block !important;
        font-size: 13px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    body.shop-page .brand-sub {
        display: none !important;
    }

    body.shop-page .topbar-nav {
        grid-column: 4;
        grid-row: 1;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 9px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        flex-shrink: 0 !important;
    }

    body.shop-page .reviews-nav-link,
    body.shop-page .message-icon-link,
    body.shop-page .likes-icon-link,
    body.shop-page .list-item-btn {
        display: none !important;
    }

    body.shop-page .product-notification-clean-link,
    body.shop-page .cart-icon-link,
    body.shop-page .profile-nav-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.shop-page .topbar-nav i {
        font-size: 20px !important;
    }

    body.shop-page .topbar-profile-img,
    body.shop-page .topbar-profile-fallback {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        font-size: 10px !important;
    }

    body.shop-page .searchbar {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body.shop-page .searchbar-inner {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 36px !important;
        display: flex !important;
        align-items: center !important;
    }

    body.shop-page .searchbar input {
        width: 100% !important;
        min-width: 0 !important;
        height: 36px !important;
        font-size: 13px !important;
        padding: 7px 10px !important;
    }

    body.shop-page .searchbar button {
        width: 38px !important;
        height: 36px !important;
        flex: 0 0 38px !important;
        padding: 0 !important;
        font-size: 0 !important;
    }

    body.shop-page .searchbar button::before {
        content: "⌕";
        font-size: 17px;
        font-weight: 800;
    }

    body.shop-page .mobile-menu-panel {
        display: none;
        background: #ffffff;
        border-bottom: 1px solid #eeeeee;
        padding: 0 10px 12px;
    }

    body.shop-page.mobile-menu-open .mobile-menu-panel {
        display: block;
    }

    body.shop-page .mobile-menu-inner {
        border: 1px solid #eeeeee;
        border-radius: 18px;
        padding: 12px;
        background: #ffffff;
        max-height: 62vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
    }

    body.shop-page .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
        font-weight: 800;
        margin-bottom: 10px;
    }

    body.shop-page .mobile-menu-close {
        width: 30px;
        height: 30px;
        border-radius: 999px;
        border: 1px solid #dddddd;
        background: #ffffff;
        color: #111111;
        cursor: pointer;
        font-weight: 800;
    }

    body.shop-page .mobile-menu-section {
        padding: 10px 0;
        border-top: 1px solid #f0f0f0;
    }

    body.shop-page .mobile-menu-section:first-of-type {
        border-top: none;
        padding-top: 0;
    }

    body.shop-page .mobile-menu-heading {
        margin: 0 0 8px;
        font-size: 11px;
        font-weight: 800;
        color: #777777;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    body.shop-page .mobile-menu-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 4px;
        text-decoration: none;
        color: #111111;
        font-size: 14px;
        font-weight: 650;
        border-radius: 10px;
    }

    body.shop-page .mobile-menu-link:hover {
        background: #f7f7f7;
    }

    body.shop-page .mobile-menu-badge {
        min-width: 18px;
        height: 18px;
        padding: 0 6px;
        border-radius: 999px;
        background: #e53935;
        color: #ffffff;
        font-size: 10px;
        font-weight: 800;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body.shop-page .page-shell,
    body.shop-page .shop-body {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.shop-page .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 0 10px 28px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* MOBILE TOPBAR: logo row + menu/search row */
@media (max-width: 768px) {
    body.shop-page .topbar {
        height: auto !important;
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: 38px minmax(0, 1fr) auto !important;
        grid-template-rows: auto auto !important;
        align-items: center !important;
        column-gap: 8px !important;
        row-gap: 8px !important;
        padding: 8px 10px 10px !important;
    }

    /* Row 1: brand/logo */
    body.shop-page .brand {
        grid-column: 1 / 3 !important;
        grid-row: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        gap: 5px !important;
        overflow: visible !important;
    }

    body.shop-page .brand-logo {
        width: 24px !important;
        height: 24px !important;
        flex: 0 0 24px !important;
    }

    body.shop-page .brand-name-full {
        display: none !important;
    }

    body.shop-page .brand-name-short {
        display: inline-block !important;
        font-size: 13px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    body.shop-page .brand-sub {
        display: none !important;
    }

    /* Row 1: right-side icons */
    body.shop-page .topbar-nav {
        grid-column: 3 / 4 !important;
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 9px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    body.shop-page .reviews-nav-link,
    body.shop-page .message-icon-link,
    body.shop-page .likes-icon-link,
    body.shop-page .list-item-btn {
        display: none !important;
    }

    body.shop-page .product-notification-clean-link,
    body.shop-page .cart-icon-link,
    body.shop-page .profile-nav-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.shop-page .topbar-nav i {
        font-size: 20px !important;
    }

    body.shop-page .topbar-profile-img,
    body.shop-page .topbar-profile-fallback {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        font-size: 10px !important;
    }

    /* Row 2: menu/sidebar button */
    body.shop-page .mobile-menu-btn {
        grid-column: 1 / 2 !important;
        grid-row: 2 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        border: 1px solid #dddddd !important;
        border-radius: 999px !important;
        background: #ffffff !important;
        color: #111111 !important;
        padding: 0 !important;
        cursor: pointer !important;
    }

    body.shop-page .mobile-menu-btn i {
        font-size: 20px !important;
    }

    /* Row 2: search bar */
    body.shop-page .searchbar {
        grid-column: 2 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body.shop-page .searchbar-inner {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: 36px !important;
        display: flex !important;
        align-items: center !important;
    }

    body.shop-page .searchbar input {
        width: 100% !important;
        min-width: 0 !important;
        height: 36px !important;
        font-size: 13px !important;
        padding: 7px 10px !important;
    }

    body.shop-page .searchbar button {
        width: 38px !important;
        height: 36px !important;
        flex: 0 0 38px !important;
        padding: 0 !important;
        font-size: 0 !important;
    }

    body.shop-page .searchbar button::before {
        content: "⌕";
        font-size: 17px;
        font-weight: 800;
    }
}

/* Mobile: bigger brand now that search is on row 2 */
@media (max-width: 768px) {
    body.shop-page .brand {
        grid-column: 1 / 3 !important;
        grid-row: 1 !important;
        gap: 7px !important;
        align-items: center !important;
        width: auto !important;
        max-width: none !important;
        overflow: visible !important;
    }

    body.shop-page .brand-logo {
        width: 30px !important;
        height: 30px !important;
        flex: 0 0 30px !important;
    }

    body.shop-page .brand-name-full {
        display: inline-block !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        max-width: none !important;
    }

    body.shop-page .brand-name-short {
        display: none !important;
    }

    body.shop-page .brand-sub {
        display: none !important;
    }
}

/* Mobile: push ZeroMaxShop logo/name further left */
@media (max-width: 768px) {
    body.shop-page .topbar {
        padding-left: 6px !important;
    }

    body.shop-page .brand {
        margin-left: -2px !important;
        justify-self: start !important;
    }
}

/* Mobile category dropdown inside mobile menu */
@media (max-width: 768px) {
    body.shop-page .mobile-category-dropdown {
        border: 1px solid #eeeeee;
        border-radius: 14px;
        background: #ffffff;
        overflow: hidden;
    }

    body.shop-page .mobile-category-summary {
        min-height: 34px;
        padding: 8px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        cursor: pointer;
        list-style: none;
        font-size: 14px;
        font-weight: 800;
        color: #111111;
    }

    body.shop-page .mobile-category-summary::-webkit-details-marker {
        display: none;
    }

    body.shop-page .mobile-category-summary-right {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        color: #666666;
        font-weight: 800;
    }

    body.shop-page .mobile-category-summary-right i {
        font-size: 13px;
        transition: transform 0.2s ease;
    }

    body.shop-page .mobile-category-dropdown[open] .mobile-category-summary-right i {
        transform: rotate(180deg);
    }

    body.shop-page .mobile-category-list {
        border-top: 1px solid #eeeeee;
        padding: 5px 0;
    }

    body.shop-page .mobile-category-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 7px 10px;
        text-decoration: none;
        color: #111111;
        font-size: 12px;
        font-weight: 650;
        border-radius: 8px;
    }

    body.shop-page .mobile-category-link:hover {
        background: #f7f7f7;
    }

    body.shop-page .mobile-category-link span:last-child {
        color: #777777;
        font-size: 11px;
        font-weight: 800;
    }
}

/* Fix notification/message/cart badges position + color */
.product-notification-clean-link,
.message-icon-link,
.cart-icon-link,
.likes-icon-link,
.profile-nav-link {
    position: relative;
}

.notification-icon-wrap,
.message-icon-wrap,
.cart-icon-wrap,
.likes-icon-wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Topbar alert badges */
.notification-icon-badge,
.topbar-badge,
.message-icon-badge,
.cart-count-badge,
.reviews-nav-badge {
    position: absolute !important;
    top: -7px !important;
    right: -7px !important;
    min-width: 15px !important;
    height: 15px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    background: #e53935 !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 15px !important;
    text-align: center !important;
    z-index: 5 !important;
}

/* Mobile badge sizing */
@media (max-width: 768px) {
    .notification-icon-badge,
    .topbar-badge,
    .message-icon-badge,
    .cart-count-badge,
    .reviews-nav-badge {
        top: -6px !important;
        right: -6px !important;
        min-width: 12px !important;
        height: 12px !important;
        padding: 0 3px !important;
        font-size: 8px !important;
        line-height: 12px !important;
        background: #e53935 !important;
        color: #ffffff !important;
    }
}

/* Mobile menu badges */
.mobile-menu-badge {
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: #e53935 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* FINAL FIX: make all topbar icons + badges behave like notifications */
body.shop-page .topbar-nav .topbar-icon-link,
body.shop-page .topbar-nav .product-notification-clean-link,
body.shop-page .topbar-nav .message-icon-link,
body.shop-page .topbar-nav .cart-icon-link,
body.shop-page .topbar-nav .likes-icon-link,
body.shop-page .topbar-nav .reviews-nav-link {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #111111 !important;
    line-height: 1 !important;
}

/* Every icon wrapper gets the same box */
body.shop-page .topbar-nav .topbar-icon-wrap,
body.shop-page .topbar-nav .notification-icon-wrap,
body.shop-page .topbar-nav .message-icon-wrap,
body.shop-page .topbar-nav .cart-icon-wrap,
body.shop-page .topbar-nav .likes-icon-wrap,
body.shop-page .topbar-nav .reviews-icon-wrap {
    position: relative !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Every icon gets the same size/color */
body.shop-page .topbar-nav .topbar-icon-wrap i,
body.shop-page .topbar-nav .notification-icon-wrap i,
body.shop-page .topbar-nav .message-icon-wrap i,
body.shop-page .topbar-nav .cart-icon-wrap i,
body.shop-page .topbar-nav .likes-icon-wrap i,
body.shop-page .topbar-nav .reviews-icon-wrap i,
body.shop-page .topbar-nav .notification-topbar-icon,
body.shop-page .topbar-nav .message-topbar-icon,
body.shop-page .topbar-nav .cart-topbar-icon,
body.shop-page .topbar-nav .likes-topbar-icon,
body.shop-page .topbar-nav .reviews-topbar-icon {
    font-size: 22px !important;
    color: #111111 !important;
    line-height: 1 !important;
}

/* Every badge sits top-right and stays red */
body.shop-page .topbar-nav .topbar-icon-badge,
body.shop-page .topbar-nav .notification-icon-badge,
body.shop-page .topbar-nav .topbar-badge,
body.shop-page .topbar-nav .message-icon-badge,
body.shop-page .topbar-nav .cart-count-badge,
body.shop-page .topbar-nav .reviews-nav-badge {
    position: absolute !important;
    top: -7px !important;
    right: -7px !important;
    min-width: 15px !important;
    height: 15px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    background: #e53935 !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 15px !important;
    text-align: center !important;
    z-index: 20 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Mobile version */
@media (max-width: 768px) {
    body.shop-page .topbar-nav .topbar-icon-wrap,
    body.shop-page .topbar-nav .notification-icon-wrap,
    body.shop-page .topbar-nav .message-icon-wrap,
    body.shop-page .topbar-nav .cart-icon-wrap,
    body.shop-page .topbar-nav .likes-icon-wrap,
    body.shop-page .topbar-nav .reviews-icon-wrap {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
    }

    body.shop-page .topbar-nav .topbar-icon-wrap i,
    body.shop-page .topbar-nav .notification-icon-wrap i,
    body.shop-page .topbar-nav .message-icon-wrap i,
    body.shop-page .topbar-nav .cart-icon-wrap i,
    body.shop-page .topbar-nav .likes-icon-wrap i,
    body.shop-page .topbar-nav .reviews-icon-wrap i {
        font-size: 20px !important;
    }

    body.shop-page .topbar-nav .topbar-icon-badge,
    body.shop-page .topbar-nav .notification-icon-badge,
    body.shop-page .topbar-nav .topbar-badge,
    body.shop-page .topbar-nav .message-icon-badge,
    body.shop-page .topbar-nav .cart-count-badge,
    body.shop-page .topbar-nav .reviews-nav-badge {
        top: -6px !important;
        right: -6px !important;
        min-width: 12px !important;
        height: 12px !important;
        padding: 0 3px !important;
        font-size: 8px !important;
        line-height: 12px !important;
    }
}
/* Fix dark hover on reviews + notification topbar icons */
body.shop-page .topbar-nav .reviews-nav-link,
body.shop-page .topbar-nav .product-notification-clean-link,
body.shop-page .topbar-nav .topbar-icon-link {
    background: transparent !important;
    color: #111111 !important;
    border-radius: 999px !important;
}

body.shop-page .topbar-nav .reviews-nav-link:hover,
body.shop-page .topbar-nav .product-notification-clean-link:hover,
body.shop-page .topbar-nav .topbar-icon-link:hover {
    background: #f5f5f5 !important;
    color: #111111 !important;
}

/* Make the icon itself stay normal on hover */
body.shop-page .topbar-nav .reviews-nav-link:hover i,
body.shop-page .topbar-nav .product-notification-clean-link:hover i,
body.shop-page .topbar-nav .topbar-icon-link:hover i {
    color: #111111 !important;
}

/* Keep badge red even when hovering */
body.shop-page .topbar-nav .reviews-nav-link:hover .topbar-icon-badge,
body.shop-page .topbar-nav .reviews-nav-link:hover .reviews-nav-badge,
body.shop-page .topbar-nav .product-notification-clean-link:hover .topbar-icon-badge,
body.shop-page .topbar-nav .product-notification-clean-link:hover .notification-icon-badge {
    background: #e53935 !important;
    color: #ffffff !important;
}

/* FINAL MOBILE TOPBAR CLEANUP:
   Keep only notifications + profile on mobile.
   Move reviews, likes, cart, messages, admin/list into the mobile menu. */
@media (max-width: 768px) {
    body.shop-page .topbar-nav .reviews-nav-link,
    body.shop-page .topbar-nav .message-icon-link,
    body.shop-page .topbar-nav .list-item-btn {
        display: none !important;
    }

    body.shop-page .topbar-nav .product-notification-clean-link,
    body.shop-page .topbar-nav .profile-nav-link {
        display: inline-flex !important;
    }
}

/* Reviews = text link only, not icon */
body.shop-page .topbar-nav .reviews-nav-link {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #111111 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

body.shop-page .topbar-nav .reviews-nav-link:hover {
    background: #f5f5f5 !important;
    color: #111111 !important;
}

body.shop-page .topbar-nav .reviews-nav-link .reviews-nav-badge {
    position: absolute !important;
    top: -7px !important;
    right: -7px !important;
    min-width: 15px !important;
    height: 15px !important;
    padding: 0 4px !important;
    border-radius: 999px !important;
    background: #e53935 !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 15px !important;
    text-align: center !important;
}

/* Mobile: reviews stays inside menu, not topbar */
@media (max-width: 768px) {
    body.shop-page .topbar-nav .reviews-nav-link {
        display: none !important;
    }
}

/* =========================================================
   Product detail mobile calm patch
   ========================================================= */

.mobile-product-carousel-section,
.mobile-interest-row {
    display: none;
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: auto !important;
    }

    body.regular-page {
        background: #ffffff !important;
        overflow-x: hidden !important;
    }

    body.regular-page .product-detail-page {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Hide desktop image gallery on mobile */
    body.regular-page .product-gallery {
        display: none !important;
    }

    /* Mobile horizontal image carousel */
    body.regular-page .mobile-product-carousel-section {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        background: #f5f5f5 !important;
        overflow: hidden !important;
    }

    body.regular-page .mobile-product-carousel {
        display: flex !important;
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
    }

    body.regular-page .mobile-product-carousel::-webkit-scrollbar {
        display: none !important;
    }

    body.regular-page .mobile-product-slide {
        flex: 0 0 100% !important;
        width: 100% !important;
        scroll-snap-align: center !important;
        background: #f5f5f5 !important;
    }

    body.regular-page .mobile-product-slide-img {
        width: 100% !important;
        height: min(68vh, 520px) !important;
        min-height: 410px !important;
        object-fit: cover !important;
        object-position: center top !important;
        display: block !important;
    }

    body.regular-page .mobile-carousel-dots {
        position: absolute !important;
        left: 50% !important;
        bottom: 12px !important;
        transform: translateX(-50%) !important;
        z-index: 20 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 5px 8px !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.48) !important;
        backdrop-filter: blur(8px) !important;
    }

    body.regular-page .mobile-carousel-dot {
        width: 7px !important;
        height: 7px !important;
        border: 0 !important;
        border-radius: 999px !important;
        padding: 0 !important;
        background: rgba(17, 17, 17, 0.25) !important;
        cursor: pointer !important;
    }

    body.regular-page .mobile-carousel-dot.active-mobile-dot {
        width: 8px !important;
        height: 8px !important;
        background: #ffffff !important;
        box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18) !important;
    }

    body.regular-page .mobile-image-discount-badge {
        display: inline-flex !important;
        position: absolute !important;
        top: 12px !important;
        left: 12px !important;
        z-index: 25 !important;
        min-height: 26px !important;
        padding: 0 9px !important;
        border-radius: 999px !important;
        background: rgba(17, 17, 17, 0.92) !important;
        color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.regular-page .mobile-image-sale-timer {
        display: inline-flex !important;
        position: absolute !important;
        left: 12px !important;
        bottom: 12px !important;
        z-index: 25 !important;
        min-height: 26px !important;
        max-width: calc(100% - 120px) !important;
        padding: 0 9px !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.94) !important;
        color: #111111 !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        align-items: center !important;
        gap: 5px !important;
        font-size: 11px !important;
        font-weight: 850 !important;
        backdrop-filter: blur(8px) !important;
    }

    body.regular-page .mobile-image-like-wrap {
        display: flex !important;
        position: absolute !important;
        right: 12px !important;
        bottom: 12px !important;
        z-index: 30 !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 5px !important;
    }

    body.regular-page .ajax-detail-like-form {
        margin: 0 !important;
    }

    body.regular-page .mobile-image-like-btn {
        width: 50px !important;
        height: 50px !important;
        border-radius: 999px !important;
        border: 1px solid rgba(0, 0, 0, 0.13) !important;
        background: rgba(255, 255, 255, 0.94) !important;
        color: #111111 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        backdrop-filter: blur(8px) !important;
    }

    body.regular-page .mobile-image-like-btn i {
        font-size: 26px !important;
        line-height: 1 !important;
    }

    body.regular-page .mobile-image-like-btn.liked {
        color: #e53935 !important;
    }

    body.regular-page .mobile-image-like-count {
        min-width: 42px !important;
        padding: 3px 8px !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.94) !important;
        color: #111111 !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        text-align: center !important;
        backdrop-filter: blur(8px) !important;
    }

    /* Tighten product info */
    body.regular-page .product-detail-info {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 14px 90px !important;
        margin: 0 !important;
    }

    body.regular-page .back-link {
        display: none !important;
    }

    body.regular-page .product-title-row {
        display: block !important;
        margin: 0 0 8px !important;
    }

    body.regular-page .product-title-row h1 {
        font-size: 18px !important;
        line-height: 1.2 !important;
        margin: 0 0 5px !important;
        font-weight: 900 !important;
        letter-spacing: -0.02em !important;
    }

    body.regular-page .product-like-stack {
        display: none !important;
    }

    body.regular-page .mobile-interest-row {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
        margin: 6px 0 8px !important;
    }

    body.regular-page .mobile-interest-pill {
        min-height: 30px !important;
        padding: 0 10px !important;
        border: 1px solid #dddddd !important;
        border-radius: 999px !important;
        background: #f7f7f7 !important;
        color: #222222 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
    }

    body.regular-page .detail-price {
        margin: 8px 0 7px !important;
        font-size: 20px !important;
        line-height: 1.1 !important;
        font-weight: 900 !important;
    }

    body.regular-page .detail-sale-price {
        font-size: 20px !important;
    }

    body.regular-page .detail-original-price {
        font-size: 12px !important;
    }

    body.regular-page .detail-discount-badge {
        display: none !important;
    }

    body.regular-page .product-detail-info > .discount-countdown-pill {
        display: none !important;
    }

    body.regular-page .variant-picker,
    body.regular-page .simple-product-options {
        margin: 8px 0 !important;
        padding: 9px 10px !important;
        border: 1px solid #eeeeee !important;
        border-radius: 12px !important;
        background: #ffffff !important;
    }

    body.regular-page .variant-group {
        margin-bottom: 8px !important;
    }

    body.regular-page .variant-group:last-child {
        margin-bottom: 0 !important;
    }

    body.regular-page .variant-label {
        font-size: 11px !important;
        margin: 0 0 5px !important;
        color: #555555 !important;
        font-weight: 850 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.03em !important;
    }

    body.regular-page .color-swatch-row,
    body.regular-page .size-button-row {
        gap: 5px !important;
    }

    body.regular-page .color-swatch-btn {
        width: 28px !important;
        height: 28px !important;
    }

    body.regular-page .color-swatch-circle {
        width: 18px !important;
        height: 18px !important;
    }

    body.regular-page .size-option-btn {
        min-height: 30px !important;
        padding: 0 10px !important;
        font-size: 11px !important;
        border-radius: 999px !important;
    }

    body.regular-page .selected-option-text {
        font-size: 11px !important;
        margin: 4px 0 0 !important;
    }

    body.regular-page .detail-meta.clean-detail-meta {
        margin: 8px 0 !important;
        padding: 4px 0 !important;
        border-top: 1px solid #eeeeee !important;
        border-bottom: 1px solid #eeeeee !important;
    }

    body.regular-page .detail-chip-row {
        padding: 5px 0 !important;
        font-size: 12px !important;
    }

    body.regular-page .detail-chip-label {
        color: #777777 !important;
        font-weight: 750 !important;
    }

    body.regular-page .detail-chip-value {
        font-weight: 850 !important;
    }

    body.regular-page .detail-description {
        margin: 8px 0 12px !important;
        padding: 0 !important;
    }

    body.regular-page .detail-description h2 {
        font-size: 14px !important;
        margin: 0 0 4px !important;
    }

    body.regular-page .detail-description p {
        font-size: 13px !important;
        line-height: 1.38 !important;
        margin: 0 !important;
    }

    /* Keep same actions, just smaller and fitted */
    body.regular-page .detail-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        margin-top: 10px !important;
    }

    body.regular-page .detail-action-slot,
    body.regular-page .detail-action-form {
        margin: 0 !important;
    }

    body.regular-page .detail-action-button {
        width: 100% !important;
        height: 38px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        font-weight: 850 !important;
        padding: 0 8px !important;
        white-space: nowrap !important;
    }

    body.regular-page .admin-product-analytics-row,
    body.regular-page .admin-detail-actions {
        margin: 8px 0 !important;
    }

    body.regular-page .similar-products-section {
        margin: 12px 0 24px !important;
        padding: 0 12px !important;
        max-width: 100% !important;
    }

    body.regular-page .similar-products-header {
        margin-bottom: 9px !important;
    }

    body.regular-page .similar-products-header h2 {
        font-size: 15px !important;
    }

    body.regular-page .similar-products-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    body.regular-page .similar-product-image-link {
        border-radius: 9px !important;
        aspect-ratio: 1 / 1.18 !important;
    }

    body.regular-page .similar-product-title {
        font-size: 10.5px !important;
        line-height: 1.25 !important;
        margin-top: 5px !important;
        -webkit-line-clamp: 2 !important;
    }

    body.regular-page .similar-product-price,
    body.regular-page .similar-sale-price {
        font-size: 11.5px !important;
    }

    body.regular-page .similar-original-price,
    body.regular-page .similar-discount-badge,
    body.regular-page .similar-discount-countdown-pill {
        display: none !important;
    }

    body.regular-page .product-detail-footer {
        display: none !important;
    }
}


/* HARD DESKTOP HIDE: mobile product-detail UI must never show on desktop */
body.regular-page .mobile-product-carousel-section,
body.regular-page .mobile-image-discount-badge,
body.regular-page .mobile-image-sale-timer,
body.regular-page .mobile-image-like-wrap,
body.regular-page .mobile-gallery-dots,
body.regular-page .mobile-carousel-dots,
body.regular-page .mobile-interest-row,
body.regular-page .mobile-sticky-buy-bar {
    display: none !important;
}

/* Show mobile-only product UI only on phones */
@media (max-width: 768px) {
    body.regular-page .mobile-product-carousel-section {
        display: block !important;
    }

    body.regular-page .mobile-image-discount-badge {
        display: inline-flex !important;
    }

    body.regular-page .mobile-image-sale-timer {
        display: inline-flex !important;
    }

    body.regular-page .mobile-image-like-wrap {
        display: flex !important;
    }

    body.regular-page .mobile-carousel-dots,
    body.regular-page .mobile-gallery-dots {
        display: flex !important;
    }

    body.regular-page .mobile-interest-row {
        display: flex !important;
    }
}

/* Mobile color swatch alignment fix */
@media (max-width: 768px) {
    body.regular-page .color-swatch-row {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    body.regular-page .color-swatch-btn {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
    }

    body.regular-page .color-swatch-circle {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        border-radius: 999px !important;
        display: block !important;
        margin: 0 !important;
        transform: none !important;
    }
}

/* Product detail mobile topbar: logo + search + cart + heart only */
@media (max-width: 768px) {
    body.regular-page .topbar {
        height: auto !important;
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: 32px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 7px 10px !important;
        border-bottom: 1px solid #eeeeee !important;
        background: #ffffff !important;
    }

    body.regular-page .topbar .brand {
        grid-column: 1 / 2 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        min-width: 32px !important;
        overflow: hidden !important;
        text-decoration: none !important;
    }

    body.regular-page .topbar .brand-logo {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        object-fit: contain !important;
    }

    body.regular-page .topbar .brand-name,
    body.regular-page .topbar .brand-sub,
    body.regular-page .topbar .brand > div {
        display: none !important;
    }

    body.regular-page .topbar .searchbar {
        grid-column: 2 / 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body.regular-page .topbar .searchbar-inner {
        width: 100% !important;
        height: 34px !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    body.regular-page .topbar .searchbar input {
        width: 100% !important;
        min-width: 0 !important;
        height: 34px !important;
        font-size: 12px !important;
        padding: 7px 9px !important;
    }

    body.regular-page .topbar .searchbar button {
        width: 34px !important;
        height: 34px !important;
        flex: 0 0 34px !important;
        padding: 0 !important;
        font-size: 0 !important;
    }

    body.regular-page .topbar .searchbar button::before {
        content: "⌕";
        font-size: 16px;
        font-weight: 900;
    }

    body.regular-page .topbar .product-clean-nav {
        grid-column: 3 / 4 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        width: auto !important;
        min-width: max-content !important;
    }

    /* Hide everything except cart and heart on mobile product detail */
    body.regular-page .topbar .product-nav-text-link,
    body.regular-page .topbar .product-reviews-link,
    body.regular-page .topbar .product-message-clean-link,
    body.regular-page .topbar .product-profile-clean-link,
    body.regular-page .topbar .product-sell-clean-btn {
        display: none !important;
    }

    body.regular-page .topbar .product-like-clean-link,
    body.regular-page .topbar .product-bag-clean-link {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        color: #111111 !important;
        text-decoration: none !important;
        background: transparent !important;
        border-radius: 999px !important;
        line-height: 1 !important;
    }

    body.regular-page .topbar .product-like-clean-link {
        font-size: 27px !important;
    }

    body.regular-page .topbar .product-bag-clean-icon,
    body.regular-page .topbar .product-bag-clean-link i {
        font-size: 24px !important;
        line-height: 1 !important;
    }
}

/* Prevent iPhone Safari from zooming into forms */
@media (max-width: 768px) {
    input,
    textarea,
    select,
    button {
        font-size: 16px !important;
    }

    input[type="search"],
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    textarea {
        font-size: 16px !important;
        max-width: 100% !important;
    }
}

/* Stop mobile pages from shifting wider than the screen */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

@media (max-width: 768px) {
    body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden !important;
    }

    img,
    video,
    canvas,
    iframe {
        max-width: 100%;
    }

    form,
    input,
    textarea,
    select {
        max-width: 100%;
    }
}

/* Checkout review page: hide topbar action links on mobile only */
@media (max-width: 768px) {
    .checkout-review-top-actions {
        display: none !important;
    }
}

/* Mobile messages: compact product preview */
@media (max-width: 768px) {
    .message-product-card,
    .chat-product-card,
    .conversation-product-card,
    .message-thread-product {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 8px 10px !important;
        margin: 6px 8px 8px !important;
        border: 1px solid #eeeeee !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        min-height: 70px !important;
        max-height: 86px !important;
        overflow: hidden !important;
    }

    .message-product-card img,
    .chat-product-card img,
    .conversation-product-card img,
    .message-thread-product img,
    .message-product-image,
    .chat-product-image,
    .conversation-product-image {
        width: 54px !important;
        height: 64px !important;
        min-width: 54px !important;
        max-width: 54px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        display: block !important;
    }

    .message-product-card h2,
    .message-product-card h3,
    .message-product-card p,
    .chat-product-card h2,
    .chat-product-card h3,
    .chat-product-card p,
    .conversation-product-card h2,
    .conversation-product-card h3,
    .conversation-product-card p {
        margin: 0 !important;
    }

    .message-product-card h2,
    .message-product-card h3,
    .chat-product-card h2,
    .chat-product-card h3,
    .conversation-product-card h2,
    .conversation-product-card h3 {
        font-size: 13px !important;
        line-height: 1.2 !important;
        font-weight: 850 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .message-product-card p,
    .chat-product-card p,
    .conversation-product-card p {
        margin-top: 3px !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        color: #666666 !important;
    }

    .message-product-price,
    .chat-product-price,
    .conversation-product-price {
        font-size: 13px !important;
        font-weight: 900 !important;
        color: #111111 !important;
        margin-top: 3px !important;
    }
}


.detail-description-text,
.detail-description p {
    line-height: 1.5;
    font-size: 14px;
    color: #444;
}

.detail-description-text strong,
.detail-description p strong {
    font-weight: 900;
    color: #111;
}

.password-input-wrap {
    position: relative;
    width: 100%;
}

.password-input-wrap input {
    width: 100%;
    padding-right: 48px;
}

.password-toggle-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.password-toggle-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

@media (max-width: 768px) {
    .password-input-wrap input {
        padding-right: 52px;
    }

    .password-toggle-btn {
        right: 12px;
        width: 38px;
        height: 38px;
        display: flex;
        visibility: visible;
        opacity: 1;
    }
}

.mobile-menu-like-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-like-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-like-icon {
    font-size: 18px;
    line-height: 1;
}

.product-card-image-wrap {
    position: relative;
}

.card-like-btn,
.card-login-like-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 36px;
    padding: 6px 4px;
    border: none;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    -webkit-appearance: none;
    user-select: none;
}

.card-like-btn:active,
.card-like-btn:focus,
.card-like-btn:hover {
    background: transparent;
    outline: none;
    box-shadow: none;
}

.card-like-count {
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

/* Default — show outline, hide fill */
.card-like-btn .card-heart-fill {
    display: none;
}

.card-like-btn .card-heart-outline {
    display: block;
    color: #ffffff;
}

/* Liked — show fill red, hide outline */
.card-like-btn.liked .card-heart-outline {
    display: none;
}

.card-like-btn.liked .card-heart-fill {
    display: block;
    color: #ff2d55;
}

.mobile-image-like-btn .mobile-heart-fill {
    display: none;
    color: #ff2d55;
}

.mobile-image-like-btn .mobile-heart-outline {
    display: block;
    color: black;
}

.mobile-image-like-btn.liked .mobile-heart-outline {
    display: none;
}

.mobile-image-like-btn.liked .mobile-heart-fill {
    display: block;
    color: #ff2d55;
}

.mobile-image-like-btn:hover,
.mobile-image-like-btn:active,
.mobile-image-like-btn:focus {
    background: transparent;
    outline: none;
    box-shadow: none;
    opacity: 1;
}

.mobile-image-like-btn {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    -webkit-appearance: none;
    user-select: none;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Desktop — hide count by default, show on hover */
.card-like-count {
    display: none;
}

.product-card-image-wrap:hover .card-like-count,
.card-like-btn:hover .card-like-count {
    display: block;
}

/* Mobile — always show count */
@media (max-width: 768px) {
    .card-like-count {
        display: block !important;
    }
}

/* Desktop — heart hidden until hover */
.card-like-btn,
.card-login-like-btn {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.product-card-image-wrap:hover .card-like-btn,
.product-card-image-wrap:hover .card-login-like-btn {
    opacity: 1;
}

/* Mobile — always visible */
@media (max-width: 768px) {
    .card-like-btn,
    .card-login-like-btn {
        opacity: 1 !important;
        transition: none !important;
    }
}

/* Desktop — heart and count hidden until hover */
.card-like-btn,
.card-login-like-btn {
    opacity: 0;
    transition: opacity 0.15s ease;
}

.product-card-image-wrap:hover .card-like-btn,
.product-card-image-wrap:hover .card-login-like-btn {
    opacity: 1;
}

.card-like-count {
    display: none;
}

.product-card-image-wrap:hover .card-like-count {
    display: block;
}

/* Mobile — always visible, no hover */
@media (max-width: 768px) {
    .card-like-btn,
    .card-login-like-btn {
        opacity: 1 !important;
        transition: none !important;
    }

    .card-like-count {
        display: block !important;
    }
}

card-login-like-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1;
}

.card-login-like-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1;
}


.card-login-like-btn .card-like-count {
    display: block;
    text-align: center;
}

.like-btn .detail-heart-outline {
    display: block;
    color: #111111;
}

.like-btn .detail-heart-fill {
    display: none;
    color: #ff2d55;
}

.like-btn.liked .detail-heart-outline {
    display: none;
}

.like-btn.liked .detail-heart-fill {
    display: block;
    color: #ff2d55;
}

.card-login-like-btn:hover,
.card-login-like-btn:active,
.card-login-like-btn:focus {
    background: transparent;
    outline: none;
    box-shadow: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

/* =========================
   Product Detail Heart
========================= */

.like-btn,
.admin-like-view {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #111111;
    font-size: 25px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.like-btn .detail-heart-outline {
    display: block;
    color: #111111 !important;
}

.like-btn .detail-heart-fill {
    display: none;
    color: #ff2d55 !important;
}

.like-btn.liked .detail-heart-outline {
    display: none;
}

.like-btn.liked .detail-heart-fill {
    display: block;
    color: #ff2d55 !important;
}

.like-btn.disabled-like-btn {
    opacity: 0.4;
    cursor: not-allowed;
}

.product-like-stack .like-btn,
.product-like-stack .like-btn .detail-heart-outline {
    color: #111111 !important;
}
/* ================================
   ZeroMaxShop Mobile Shop Refresh
   Clean final version
   Topbar + guest collage hero + left slide menu
================================ */

.mobile-commerce-header,
.mobile-menu-backdrop {
    display: none;
}

@media (max-width: 768px) {
    body.shop-page {
        background: #ffffff;
    }

    /* -------------------------------
       Topbar
    -------------------------------- */

    .shop-page .topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        padding: 14px 14px 8px;
        background: #ffffff;
        border-bottom: 0;
    }

    .shop-page .topbar-left {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .shop-page .desktop-searchbar,
    .shop-page .topbar > .searchbar {
        display: none !important;
    }

    .shop-page .mobile-menu-btn {
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: #111111;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        box-shadow: none;
        flex: 0 0 auto;
    }

    .shop-page .mobile-menu-btn i {
        font-size: 31px;
        line-height: 1;
    }

    .shop-page .brand {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        gap: 8px;
        color: #111111;
        text-decoration: none;
    }

    .shop-page .brand-logo {
        width: 22px;
        height: 22px;
        object-fit: contain;
        flex: 0 0 auto;
    }

    .shop-page .brand-text {
        min-width: 0;
    }

    .shop-page .brand-name-full {
        display: inline;
        font-size: 21px;
        line-height: 1;
        font-weight: 950;
        letter-spacing: -0.045em;
        white-space: nowrap;
    }

    .shop-page .brand-name-short,
    .shop-page .brand-sub {
        display: none;
    }

    .shop-page .topbar-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
        min-width: 0;
        margin-left: 0;
    }

    .shop-page .topbar-nav > a {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        border-radius: 999px;
        border: 0;
        background: transparent;
        color: #111111;
        text-decoration: none;
        font-size: 13px;
        font-weight: 950;
        line-height: 1;
        white-space: nowrap;
        box-shadow: none;
    }

    .shop-page .logged-out-cart-link {
        width: 38px;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .shop-page .logged-out-cart-link i {
        font-size: 28px;
        color: #111111;
    }

    .shop-page .topbar-nav > a.mobile-signup-link,
    .shop-page .topbar-nav > a[href="/account"] {
        background: #111111;
        color: #ffffff;
        border-color: #111111;
        padding-left: 16px;
        padding-right: 16px;
        min-height: 40px;
        border-radius: 7px;
    }

    .shop-page .admin-topbar-btn {
        min-height: 36px !important;
        padding: 0 12px !important;
        border-radius: 8px !important;
        background: #111111 !important;
        color: #ffffff !important;
        font-size: 12px !important;
        font-weight: 950 !important;
    }

    .shop-page .admin-list-topbar-btn {
        background: #f26b38 !important;
        color: #ffffff !important;
    }

    /* Logged-in icon cleanup */
    .shop-page .topbar-nav > a.product-notification-clean-link,
    .shop-page .topbar-nav > a.likes-icon-link,
    .shop-page .topbar-nav > a.topbar-icon-link,
    .shop-page .topbar-nav > a.profile-nav-link {
        width: 39px;
        padding: 0;
        border-radius: 999px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .shop-page .topbar-nav > a.product-notification-clean-link:hover,
    .shop-page .topbar-nav > a.likes-icon-link:hover,
    .shop-page .topbar-nav > a.topbar-icon-link:hover,
    .shop-page .topbar-nav > a.profile-nav-link:hover {
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    /* -------------------------------
       Mobile search area
    -------------------------------- */

    .mobile-commerce-header {
        display: block;
        background: #ffffff;
        padding: 0 14px 12px;
    }

    .mobile-commerce-search {
        margin: 0 0 12px;
    }

    .mobile-commerce-search-inner {
        position: relative;
        height: 44px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0 14px;
        border-radius: 8px;
        background: #ffffff;
        border: 2px solid #111111;
    }

    .mobile-commerce-search-inner > i {
        font-size: 21px;
        color: #111111;
        flex: 0 0 auto;
    }

    .mobile-commerce-search-inner input {
        flex: 1;
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #111111;
        font-size: 16px;
        font-weight: 600;
    }

    .mobile-commerce-search-inner input::placeholder {
        color: #666666;
        font-weight: 600;
    }

    /* -------------------------------
   Guest-only Depop-style collage
   Balanced + shiny version
    -------------------------------- */

    .mobile-guest-attraction {
        display: block;
    }

    .mobile-collage-hero {
        position: relative;
        display: block;
        height: 245px;
        margin: 4px -14px 12px;
        overflow: hidden;
        text-decoration: none;
        background: linear-gradient(180deg, #eef1fb 0%, #ffffff 100%);
        isolation: isolate;
    }

    .mobile-collage-card {
        position: absolute;
        top: 42px;
        height: 168px;
        width: 43%;
        border-radius: 24px;
        overflow: hidden;
        background: #dddddd;
        box-shadow:
            0 16px 34px rgba(0, 0, 0, 0.16),
            inset 0 1px 0 rgba(255, 255, 255, 0.45);
    }

    .mobile-collage-card::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
        background:
            linear-gradient(
                120deg,
                rgba(255, 255, 255, 0.34) 0%,
                rgba(255, 255, 255, 0.10) 24%,
                rgba(255, 255, 255, 0.00) 48%
            ),
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.12) 0%,
                rgba(0, 0, 0, 0.08) 100%
            );
    }

    .mobile-collage-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Left image */
    .mobile-collage-card-left {
        left: 3%;
        top: 48px;
        width: 42%;
        height: 162px;
        transform: rotate(-7deg);
        border-radius: 24px;
        z-index: 2;
    }


    /* Main image now closer in size to the others */
    .mobile-collage-card-main {
        left: 28%;
        top: 30px;
        width: 44%;
        height: 178px;
        transform: rotate(1.5deg);
        border-radius: 26px;
        z-index: 3;
        box-shadow:
            0 20px 42px rgba(0, 0, 0, 0.20),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    /* Right image */
    .mobile-collage-card-right {
        right: 3%;
        top: 48px;
        width: 42%;
        height: 162px;
        transform: rotate(7deg);
        border-radius: 24px;
        z-index: 2;
    }

    .mobile-collage-shop-btn {
        position: absolute;
        left: 50%;
        bottom: 19px;
        z-index: 5;
        transform: translateX(-50%);
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 21px;
        border-radius: 9px;
        background: #ffffff;
        color: #111111;
        font-size: 16px;
        font-weight: 950;
        letter-spacing: -0.03em;
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22);
        white-space: nowrap;
    }
    /* -------------------------------
       Guest trust cards
    -------------------------------- */

    .mobile-trust-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin: 0 0 12px;
    }

    .mobile-trust-card {
        min-height: 82px;
        border-radius: 14px;
        background: #f7f7f7;
        border: 1px solid rgba(0, 0, 0, 0.07);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        text-align: center;
        padding: 9px 7px;
        color: #111111;
        transition: transform 0.15s ease, background 0.15s ease;
    }

    .mobile-trust-card i {
        font-size: 27px;
        line-height: 1;
    }

    .mobile-trust-card span {
        font-size: 11.5px;
        line-height: 1.15;
        font-weight: 850;
        max-width: 90px;
    }

    .mobile-trust-card:active {
        transform: scale(0.98);
        background: #eeeeee;
    }

    /* -------------------------------
       Search suggestions
    -------------------------------- */

    .searchbar-inner,
    .mobile-commerce-search-inner {
        position: relative;
    }

    .search-suggestions-box {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 9999;
        display: none;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.10);
        border-radius: 16px;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
        overflow: hidden;
    }

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

    .search-suggestion-item {
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 14px 16px;
        color: #111111;
        text-decoration: none;
        font-size: 15px;
        font-weight: 800;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        background: #ffffff;
    }

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

    .search-suggestion-item i {
        font-size: 18px;
        color: #666666;
    }

    .search-suggestion-item:hover,
    .search-suggestion-item.active-search-suggestion {
        background: #f5f5f5;
    }

    /* -------------------------------
       Keep product section normal
    -------------------------------- */

    .shop-page .page-shell {
        margin-top: 0;
    }

    .shop-page .product-grid {
        padding-top: 2px;
    }

    /* -------------------------------
       Left slide mobile menu
    -------------------------------- */

    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: block;
        background: rgba(0, 0, 0, 0.32);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    body.mobile-menu-open .mobile-menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        bottom: 0;
        width: min(86vw, 360px);
        height: 100dvh;
        z-index: 10000;
        background: #ffffff;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 22px 0 55px rgba(0, 0, 0, 0.18);
    }

    body.mobile-menu-open .mobile-menu-panel {
        transform: translateX(0);
    }

    .mobile-menu-inner {
        min-height: 100%;
        padding-bottom: 42px;
    }

    .mobile-admin-priority-section {
        padding-top: 4px;
    }

    .mobile-admin-primary-link {
        background: #111111 !important;
        color: #ffffff !important;
        border-radius: 14px;
        font-weight: 900;
    }
}

@media (max-width: 390px) {
    .shop-page .brand-name-full {
        font-size: 19px;
    }

    .shop-page .topbar {
        gap: 6px;
        padding-left: 11px;
        padding-right: 11px;
    }

    .shop-page .topbar-left {
        gap: 6px;
    }

    .shop-page .topbar-nav {
        gap: 5px;
    }

    .shop-page .topbar-nav > a.mobile-signup-link,
    .shop-page .topbar-nav > a[href="/account"] {
        padding-left: 13px;
        padding-right: 13px;
        font-size: 12px;
    }

    .mobile-commerce-header {
        padding-left: 12px;
        padding-right: 12px;
    }

    .mobile-collage-hero {
        height: 230px;
    }

    .mobile-collage-card-left {
        left: 2%;
        top: 48px;
        width: 42%;
        height: 150px;
    }

    .mobile-collage-card-main {
        left: 28%;
        top: 32px;
        width: 44%;
        height: 165px;
    }

    .mobile-collage-card-right {
        right: 2%;
        top: 48px;
        width: 42%;
        height: 150px;
    }

    .mobile-collage-shop-btn {
        min-height: 37px;
        padding: 0 19px;
        font-size: 15px;
    }

    .mobile-trust-card {
        min-height: 78px;
    }

    .mobile-trust-card span {
        font-size: 10.5px;
    }
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.conversation-admin-delete-form,
.message-admin-delete-form {
    margin: 0;
}

.conversation-admin-delete-btn {
    border: 0;
    border-radius: 10px;
    background: #dc2626;
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    padding: 10px 14px;
    cursor: pointer;
}

.conversation-admin-delete-btn:hover {
    background: #b91c1c;
}

.message-admin-delete-btn {
    border: 0;
    background: transparent;
    color: #dc2626;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 0;
    cursor: pointer;
}

.message-admin-delete-btn:hover {
    color: #991b1b;
    text-decoration: underline;
}

.chat-warning-box,
.chat-disabled-box {
    margin: 12px 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8f8f8;
    color: #555555;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.conversation-product-missing-card {
    pointer-events: none;
    opacity: 0.75;
}

/* ================================
   Admin AI Listing Assistant
================================ */

.admin-ai-listing-box {
    display: block;
    padding: 18px;
    margin: 0 0 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 55%, #f8fafc 100%);
    border: 1px solid rgba(242, 107, 56, 0.22);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.admin-ai-listing-box h2 {
    margin: 4px 0 6px;
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #111111;
}

.admin-ai-listing-box .profile-muted {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #666666;
}

.admin-ai-listing-box > div:first-child {
    margin-bottom: 14px;
}

.admin-ai-generate-btn {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: #111111;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease, background 0.15s ease;
}

.admin-ai-generate-btn:hover {
    background: #f26b38;
}

.admin-ai-generate-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.ai-listing-status {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8f8f8;
    font-size: 14px;
    font-weight: 750;
}

.ai-confidence-notes {
    margin-top: 12px;
    padding: 13px 14px;
    border-radius: 14px;
    background: #fffaf0;
    border: 1px solid rgba(245, 158, 11, 0.22);
    color: #553b00;
    font-size: 13px;
    line-height: 1.4;
}

.ai-confidence-notes strong {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 900;
}

.ai-confidence-notes ul {
    margin: 0;
    padding-left: 18px;
}

.ai-confidence-notes li {
    margin: 4px 0;
}

@media (min-width: 800px) {
    .admin-ai-listing-box {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px 18px;
    }

    .admin-ai-listing-box > div:first-child {
        margin-bottom: 0;
    }

    .admin-ai-generate-btn {
        width: auto;
        min-width: 185px;
        padding: 0 22px;
    }

    .ai-listing-status,
    .ai-confidence-notes {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* ================================
   AI Field Highlight Effects
================================ */

.ai-target-field {
    position: relative;
    outline: 2px solid rgba(242, 107, 56, 0.55) !important;
    box-shadow:
        0 0 0 4px rgba(242, 107, 56, 0.12),
        0 0 18px rgba(242, 107, 56, 0.18) !important;
    transition: outline 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ai-target-field.ai-thinking {
    animation: aiFieldPulse 1.05s ease-in-out infinite;
}

.ai-target-field.ai-filled {
    outline: 2px solid rgba(22, 163, 74, 0.65) !important;
    box-shadow:
        0 0 0 4px rgba(22, 163, 74, 0.12),
        0 0 18px rgba(22, 163, 74, 0.16) !important;
    background: rgba(240, 253, 244, 0.55) !important;
}

@keyframes aiFieldPulse {
    0% {
        outline-color: rgba(242, 107, 56, 0.35);
        box-shadow:
            0 0 0 3px rgba(242, 107, 56, 0.08),
            0 0 10px rgba(242, 107, 56, 0.12);
    }

    50% {
        outline-color: rgba(242, 107, 56, 0.9);
        box-shadow:
            0 0 0 6px rgba(242, 107, 56, 0.16),
            0 0 24px rgba(242, 107, 56, 0.25);
    }

    100% {
        outline-color: rgba(242, 107, 56, 0.35);
        box-shadow:
            0 0 0 3px rgba(242, 107, 56, 0.08),
            0 0 10px rgba(242, 107, 56, 0.12);
    }
}

/* Make selects/inputs look cleaner when highlighted */
select.ai-target-field,
input.ai-target-field,
textarea.ai-target-field {
    border-color: transparent !important;
}

/* Optional: slight shimmer on the AI box while generating */
.admin-ai-listing-box.ai-box-thinking {
    border-color: rgba(242, 107, 56, 0.45);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.06),
        0 0 0 4px rgba(242, 107, 56, 0.08);
}

/* ================================
   AI Model Tester
================================ */

.ai-model-tester-card {
    max-width: 1180px;
}

.ai-error-message {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid rgba(225, 29, 72, 0.18);
}

.ai-model-upload-zone {
    margin-top: 8px;
}

.ai-model-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin: 14px 0 18px;
}

.ai-model-preview-card {
    overflow: hidden;
    border-radius: 14px;
    background: #f5f5f5;
    border: 1px solid #eeeeee;
}

.ai-model-preview-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.ai-model-preview-card span {
    display: block;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 750;
    color: #555555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-model-test-btn {
    margin-top: 8px;
}

.ai-model-result-section {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #eeeeee;
}

.ai-model-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.ai-model-result-header h2 {
    margin: 4px 0 0;
    font-size: 22px;
    letter-spacing: -0.03em;
}

.ai-model-timing-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.ai-model-result-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ai-model-result-box {
    min-width: 0;
    border-radius: 16px;
    background: #0f172a;
    color: #e5e7eb;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-model-result-box h3 {
    margin: 0;
    padding: 13px 15px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.ai-model-result-box pre {
    margin: 0;
    padding: 15px;
    min-height: 220px;
    max-height: 520px;
    overflow: auto;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (min-width: 900px) {
    .ai-model-result-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================================
   Admin Web Analytics Dashboard
================================ */

.admin-web-analytics-page {
    width: min(1180px, calc(100% - 32px));
    margin: 38px auto 70px;
}

.admin-web-analytics-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
    margin-bottom: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #111111 0%, #222222 55%, #f26b38 140%);
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.admin-web-analytics-hero .admin-eyebrow {
    color: rgba(255, 255, 255, 0.68);
}

.admin-web-analytics-hero h1 {
    margin: 5px 0 8px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.admin-web-analytics-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    line-height: 1.5;
}

.analytics-range-form {
    min-width: 180px;
}

.analytics-range-form label {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.analytics-range-form select {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    font-weight: 850;
    outline: none;
}

.analytics-range-form select option {
    color: #111111;
}

.analytics-metric-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.analytics-metric-card {
    min-height: 116px;
    padding: 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.055);
}

.analytics-metric-card span {
    display: block;
    margin-bottom: 12px;
    color: #777777;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}

.analytics-metric-card strong {
    display: block;
    color: #111111;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.analytics-panel {
    padding: 22px;
    margin-bottom: 22px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.055);
}

.analytics-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.analytics-panel-header h2 {
    margin: 4px 0 0;
    color: #111111;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.analytics-two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.analytics-two-column-grid .analytics-panel {
    min-width: 0;
}

.analytics-empty {
    margin: 0;
    padding: 22px;
    border-radius: 16px;
    background: #f8f8f8;
    color: #777777;
    font-size: 14px;
    font-weight: 750;
    text-align: center;
}

/* Daily visitor mini chart */

.analytics-daily-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    min-height: 240px;
    padding: 18px 8px 4px;
    overflow-x: auto;
}

.analytics-day-bar-wrap {
    min-width: 48px;
    height: 210px;
    display: grid;
    grid-template-rows: 24px 1fr 24px;
    align-items: end;
    justify-items: center;
}

.analytics-day-count {
    color: #555555;
    font-size: 12px;
    font-weight: 900;
}

.analytics-day-bar-track {
    position: relative;
    width: 28px;
    height: 150px;
    border-radius: 999px;
    background: #f1f1f1;
    overflow: hidden;
}

.analytics-day-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 4px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, #f26b38 0%, #111111 100%);
}

.analytics-day-label {
    color: #777777;
    font-size: 11px;
    font-weight: 850;
}

/* Tables */

.analytics-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid #eeeeee;
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 540px;
    background: #ffffff;
}

.analytics-table th {
    padding: 13px 14px;
    background: #f8f8f8;
    color: #666666;
    font-size: 12px;
    font-weight: 950;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    border-bottom: 1px solid #eeeeee;
    white-space: nowrap;
}

.analytics-table td {
    padding: 13px 14px;
    color: #222222;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.analytics-table tr:last-child td {
    border-bottom: 0;
}

.analytics-table a {
    color: #111111;
    text-decoration: none;
    font-weight: 900;
}

.analytics-table a:hover {
    color: #f26b38;
    text-decoration: underline;
}

.analytics-long-cell {
    max-width: 320px;
    word-break: break-word;
    color: #555555;
}

.analytics-recent-table {
    min-width: 860px;
}

.analytics-recent-table td {
    font-size: 12px;
}

/* Mobile */

@media (max-width: 1050px) {
    .analytics-metric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .admin-web-analytics-page {
        width: min(100% - 20px, 1180px);
        margin: 22px auto 54px;
    }

    .admin-web-analytics-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        border-radius: 20px;
    }

    .analytics-range-form {
        min-width: 0;
        width: 100%;
    }

    .analytics-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .analytics-metric-card {
        min-height: 104px;
        padding: 15px;
        border-radius: 17px;
    }

    .analytics-metric-card strong {
        font-size: 29px;
    }

    .analytics-two-column-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .analytics-panel {
        padding: 16px;
        border-radius: 18px;
    }

    .analytics-daily-chart {
        gap: 10px;
    }

    .analytics-day-bar-wrap {
        min-width: 42px;
    }
}

@media (max-width: 460px) {
    .analytics-metric-grid {
        grid-template-columns: 1fr;
    }

    .analytics-metric-card {
        min-height: 92px;
    }

    .analytics-table {
        min-width: 500px;
    }
}

/* ================================
   Admin Shop Banners Page
================================ */

.admin-shop-banners-page {
    background: #f6f6f4;
    color: #151515;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-shop-banners-shell {
    width: min(1150px, calc(100% - 28px));
    margin: 0 auto;
    padding: 28px 0 60px;
}

.admin-shop-banners-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.admin-shop-banners-back {
    display: inline-block;
    margin-bottom: 10px;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.admin-shop-banners-header h1 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.admin-shop-banners-muted {
    color: #666;
    margin: 6px 0 0;
}

.admin-shop-banners-preview {
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 11px 16px;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

.admin-shop-banners-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.admin-shop-banners-card h2 {
    margin: 0 0 16px;
    font-size: 20px;
}

.admin-shop-banners-form {
    margin: 0;
}

.admin-shop-banners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-shop-banners-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-shop-banners-form label {
    display: grid;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    color: #333;
    margin-bottom: 14px;
}

.admin-shop-banners-form input,
.admin-shop-banners-form select,
.admin-shop-banners-form textarea {
    width: 100%;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    padding: 11px 12px;
    font: inherit;
    background: #fff;
    color: #111;
}

.admin-shop-banners-form textarea {
    resize: vertical;
}

.admin-shop-banners-checkbox {
    display: flex !important;
    align-items: center;
    gap: 9px !important;
    margin: 2px 0 16px !important;
}

.admin-shop-banners-checkbox input {
    width: auto;
}

.admin-shop-banners-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-shop-banners-btn,
.admin-shop-banners-edit-link,
.admin-shop-banners-cancel-link {
    border: none;
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.admin-shop-banners-btn {
    background: #111;
    color: #fff;
}

.admin-shop-banners-edit-link,
.admin-shop-banners-cancel-link {
    background: #f0f0f0;
    color: #111;
}

.admin-shop-banners-danger {
    background: #d92d20;
    color: #fff;
}

.admin-shop-banners-list {
    display: grid;
    gap: 12px;
}

.admin-shop-banners-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid #e7e7e7;
    border-radius: 15px;
    padding: 16px;
    background: #fafafa;
}

.admin-shop-banners-row.inactive {
    opacity: 0.55;
}

.admin-shop-banners-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.admin-shop-banners-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 900;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eee;
}

.admin-shop-banners-badge.active {
    background: #dcfce7;
    color: #166534;
}

.admin-shop-banners-badge.inactive {
    background: #fee2e2;
    color: #991b1b;
}

.admin-shop-banners-row h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.admin-shop-banners-row p {
    margin: 0 0 10px;
    color: #555;
}

.admin-shop-banners-meta {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #666;
}

.admin-shop-banners-meta span {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 5px 8px;
    border-radius: 999px;
}

.admin-shop-banners-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.admin-shop-banners-row-actions form {
    margin: 0;
}

.admin-shop-banners-empty {
    color: #666;
    margin: 0;
}

@media (max-width: 850px) {
    .admin-shop-banners-shell {
        width: min(100% - 22px, 1150px);
        padding-top: 18px;
    }

    .admin-shop-banners-header,
    .admin-shop-banners-row {
        flex-direction: column;
    }

    .admin-shop-banners-grid,
    .admin-shop-banners-grid-two {
        grid-template-columns: 1fr;
    }

    .admin-shop-banners-preview {
        width: fit-content;
    }

    .admin-shop-banners-row-actions {
        align-items: stretch;
    }
}