@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700;750;800&display=swap');
:root {
    --ink: #142a40;
    --blue: #267bff;
    --muted: #788596;
    --line: #e9edf3;
    --navy: #10283d;
    --shadow: 0 12px 36px #233c6310;
}
.d-none {
    display: none !important;
}
.d-block {
    display: block !important;
}
.d-flex {
    display: flex !important;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 135px;
}
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}
a {
    color: inherit;
    text-decoration: none;
}
button, input, select {
    font: inherit;
}
button, a, input, select {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
button:disabled {
    opacity: .5;
    cursor: wait;
}
a, button {
    touch-action: manipulation;
}
img {
    max-width: 100%;
    display: block;
}
h1, h2, h3, p {
    margin: 0;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid #8ebaff;
    outline-offset: 4px;
}
.shop-container {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.skip-link {
    position: fixed;
    top: -100px;
    left: 15px;
    z-index: 100;
    background: #fff;
    padding: 12px;
}
.skip-link:focus {
    top: 10px;
}
.announcement {
    background: var(--navy);
    color: #dce7f3;
    font-size: 13px;
}
.announcement > .shop-container {
    min-height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.announcement-promo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.announcement-signup-btn {
    color: #ffd166 !important;
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
    margin-left: 2px;
}
.announcement-signup-btn:hover {
    color: #ffffff !important;
    text-decoration-color: #ffffff !important;
}
.announcement .shop-container > div {
    display: flex;
    align-items: center;
    gap: 16px;
}
.announcement a + a {
    border-left: 1px solid #ffffff30;
    padding-left: 14px;
}
.language-picker {
    display: flex;
    align-items: center;
    gap: 6px;
}
.language-picker img {
    height: 14px;
    object-fit: cover;
}
.language-picker select {
    max-width: 85px;
    border: 0;
    background: var(--navy);
    color: white;
    font-size: 13px;
}
.shop-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #ffffffed;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.shop-header.scrolled {
    box-shadow: var(--shadow);
}
.masthead {
    height: 88px;
    display: flex;
    align-items: center;
    gap: 56px;
}
.shop-logo {
    font-size: 30px;
    font-weight: 750;
    letter-spacing: -1.3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.logo-orbit {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a5a4ed, #278ce7);
    position: relative;
    display: inline-block;
    transform: rotate(-35deg);
}
.logo-orbit:after {
    content: "";
    position: absolute;
    inset: 4px 10px;
    border-radius: 50%;
    background: #fff;
    transform: rotate(6deg);
}
/* ==========================================================================
   Modern Homepage Search Bar & Advanced Category Dropdown
   ========================================================================== */
.shop-search {
    position: relative;
    display: flex;
    align-items: stretch;
    border: 1.5px solid #dce4ee;
    border-radius: 10px;
    flex: 1;
    box-shadow: 0 3px 12px rgba(16, 40, 61, 0.05);
    height: 48px;
    background: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.shop-search:focus-within {
    border-color: var(--blue, #267bff);
    box-shadow: 0 4px 20px rgba(38, 123, 255, 0.16);
}

.search-field-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}
.search-input-icon {
    position: absolute;
    left: 16px;
    color: #94a0af;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s;
}
.shop-search:focus-within .search-input-icon {
    color: var(--blue, #267bff);
}
.shop-search #search-keyword {
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0 34px 0 42px;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #10283d;
    font-weight: 500;
}
.shop-search #search-keyword::placeholder {
    color: #94a0af;
    font-size: 14px;
    font-weight: 400;
}
.search-clear-btn {
    position: absolute;
    right: 8px;
    width: 22px;
    height: 22px;
    border: 0;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.search-clear-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.1);
}

/* Category Selection (Right Side of Bar) */
.search-category-select-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    border-left: 1.5px solid #edf2f7;
}
.search-category-trigger {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    height: 100%;
    border: 0;
    background: #f8fafc;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
    user-select: none;
}
.search-category-trigger:hover {
    background: #f1f5f9;
    color: var(--blue, #267bff);
}
.search-category-trigger.is-active {
    background: #eff6ff;
    color: var(--blue, #267bff);
}
.category-trigger-icon {
    color: #64748b;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}
.search-category-trigger:hover .category-trigger-icon,
.search-category-trigger.is-active .category-trigger-icon {
    color: var(--blue, #267bff);
}
.category-trigger-label {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.1px;
}
.category-trigger-chevron {
    font-size: 10px;
    color: #94a3b8;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
    margin-left: 2px;
}
.search-category-trigger.is-active .category-trigger-chevron {
    transform: rotate(180deg);
    color: var(--blue, #267bff);
}

/* Category Popover Dropdown */
.search-category-popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 285px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04);
    z-index: 100;
    overflow: hidden;
    animation: searchPopoverIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes searchPopoverIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.category-popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}
.category-popover-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.category-popover-badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}
.category-popover-search {
    position: relative;
    padding: 8px 12px;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}
.category-popover-search i {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11.5px;
    color: #94a3b8;
    pointer-events: none;
}
.category-popover-search input {
    width: 100%;
    height: 32px;
    padding: 0 10px 0 28px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 12px;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.category-popover-search input:focus {
    border-color: var(--blue, #267bff);
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(38, 123, 255, 0.12);
}
.category-popover-options {
    max-height: 250px;
    overflow-y: auto;
    padding: 6px;
}
.custom-category-scrollbar::-webkit-scrollbar {
    width: 5px;
}
.custom-category-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-category-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.custom-category-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.category-popover-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
}
.category-popover-item:hover {
    background: #f1f5f9;
    color: var(--blue, #267bff);
}
.category-popover-item.is-selected {
    background: #eff6ff;
    color: var(--blue, #267bff);
    font-weight: 600;
}
.category-item-thumb {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.category-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}
.category-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #eff6ff;
    color: var(--blue, #267bff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}
.category-item-icon.all-cat-icon {
    background: #ecfdf5;
    color: #059669;
}
.category-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.category-item-text {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}
.category-item-hint {
    font-size: 10.5px;
    color: #94a3b8;
}
.category-item-check {
    font-size: 11px;
    color: var(--blue, #267bff);
    opacity: 0;
    transition: opacity 0.15s ease;
    margin-left: auto;
    flex-shrink: 0;
}
.category-popover-item.is-selected .category-item-check {
    opacity: 1;
}

/* Submit Search Button */
.search-submit-btn {
    width: 54px;
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #267bff 0%, #1565e6 100%);
    border-radius: 0 8px 8px 0;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.search-submit-btn:hover {
    background: linear-gradient(135deg, #1e70f0 0%, #0d58d1 100%);
    color: #ffffff;
}
.search-submit-btn:active {
    transform: scale(0.97);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}
.header-action-item,
.header-actions > a {
    display: flex;
    position: relative;
    align-items: center;
    flex-direction: column;
    font-size: 13px;
    font-weight: 500;
    gap: 4px;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.15s ease;
}
.header-action-item:hover,
.header-actions > a:hover {
    color: var(--blue, #267bff);
}
.header-actions i {
    font-size: 20px;
}
.header-actions b {
    position: absolute;
    right: -8px;
    top: -8px;
    background: #ff425a;
    border-radius: 20px;
    min-width: 17px;
    height: 17px;
    line-height: 17px;
    padding: 0 4px;
    text-align: center;
    color: white;
    font-size: 10px;
    font-weight: 700;
}

/* Logged-In Account Wrapper & Popover */
.header-account-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-account-btn {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 3px;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
}

.hdr-avatar-wrap {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hdr-avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2563eb;
}

.hdr-avatar-initial {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.hdr-status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 9px;
    height: 9px;
    background: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2);
}

.hdr-account-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 4px;
    max-width: 105px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.hdr-caret {
    font-size: 9px;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.15s ease;
}

.header-account-wrap:hover .hdr-account-name,
.header-account-wrap:hover .hdr-caret {
    color: #2563eb;
}

.header-account-wrap:hover .hdr-caret {
    transform: rotate(180deg);
}

/* Account Dropdown Popover */
.hdr-account-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: -20px;
    min-width: 250px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04);
    z-index: 1000;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Hover bridge to prevent flickering when mouse moves between icon and popover */
.hdr-account-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.header-account-wrap:hover .hdr-account-dropdown-menu,
.header-account-wrap:focus-within .hdr-account-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hdr-account-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.hdr-dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hdr-dropdown-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2563eb;
}

.hdr-dropdown-avatar span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hdr-dropdown-user-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hdr-dropdown-user-meta strong {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hdr-dropdown-user-meta small {
    font-size: 11.5px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.hdr-dropdown-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #059669;
    margin-top: 3px;
}

.hdr-dropdown-links {
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hdr-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.hdr-dropdown-link i {
    width: 18px;
    font-size: 14px;
    text-align: center;
    color: #94a3b8;
    transition: color 0.15s ease;
}

.hdr-dropdown-link:hover {
    background: #f8fafc;
    color: #2563eb;
}

.hdr-dropdown-link:hover i {
    color: #2563eb;
}

.hdr-dropdown-link.text-danger {
    color: #ef4444;
}

.hdr-dropdown-link.text-danger i {
    color: #ef4444;
}

.hdr-dropdown-link.text-danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

.hdr-dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 4px 6px;
}

/* Guest Dropdown */
.hdr-guest-header {
    padding: 16px;
    text-align: center;
}

.hdr-guest-header h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.hdr-guest-header p {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 14px 0;
}

.hdr-guest-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-hdr-login {
    display: block;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s ease;
}

.btn-hdr-login:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.btn-hdr-register {
    display: block;
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s ease;
}

.btn-hdr-register:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.shop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 50px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    overflow-x: auto;
    scrollbar-width: none;
}
.shop-nav > a {
    padding-block: 10px;
    transition: color .2s;
}
.shop-nav > a:hover {
    color: var(--blue);
}
.shop-nav .all-categories {
    background: #f6f8fb;
    border-radius: 6px;
    padding: 9px 16px;
    display: flex;
    gap: 12px;
}
.shop-nav .nav-deals-link {
    color: #ea580c;
    font-weight: 650;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.shop-nav .nav-deals-link:hover {
    color: #c2410c;
}
.shop-nav .nav-deals-link i {
    color: #f97316;
    font-size: 13px;
}
.shop-nav .nav-new-link {
    color: var(--ink);
    font-weight: 650;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.shop-nav .nav-new-link:hover {
    color: var(--blue);
}
.shop-nav .deals-link,
.shop-nav .sale-link {
    margin-left: auto;
    background: linear-gradient(135deg, #ff3854 0%, #ff5238 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(255, 56, 84, 0.25);
    transition: all 0.2s ease;
}
.shop-nav .deals-link:hover,
.shop-nav .sale-link:hover {
    background: linear-gradient(135deg, #e02440 0%, #e63e26 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 56, 84, 0.35);
}
.shop-nav .deals-link i,
.shop-nav .sale-link i {
    color: #ffe600;
    font-size: 12px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.promo-panel {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    isolation: isolate;
}
.promo-panel:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, transparent 25%, #ffffff45 45%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 1s;
    pointer-events: none;
}
.promo-panel:hover:after {
    transform: translateX(120%);
}
.hero-main {
    min-height: 400px;
    background: radial-gradient(ellipse at 75% 70%, #ffffff85, transparent 43%), linear-gradient(115deg, #bcecf4, #b0d6ff 70%, #95b4ff);
    transition: background .8s;
}
.hero-main[data-tone="1"] {
    background: linear-gradient(115deg, #e2dfff, #aeccff);
}
.hero-main[data-tone="2"] {
    background: linear-gradient(115deg, #c5f6e1, #97dfe7);
}
.hero-copy {
    position: relative;
    z-index: 2;
    padding: 56px 0 32px 42px;
    width: 55%;
    pointer-events: none;
}
.hero-copy a {
    pointer-events: auto;
}
.eyebrow {
    font-size: 18px;
    font-weight: 600;
}
.hero-copy h1 {
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin: 14px 0;
    font-weight: 800;
    color: #081d2c;
}
.hero-copy p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.dark-button, .light-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--navy);
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 10px #10283d13;
    transition: transform .2s, box-shadow .2s;
}
.dark-button:hover, .light-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px #10283d25;
}
.light-button {
    background: white;
    color: var(--navy);
}
.hero-perks {
    display: flex;
    gap: 22px;
    margin-top: 30px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
.hero-perks i {
    margin-right: 6px;
}
.hero-shoe {
    position: absolute;
    right: -2%;
    top: 10%;
    height: 82%;
    width: 60%;
    object-fit: contain;
    filter: drop-shadow(0 25px 12px #244b5e35);
    z-index: 1;
    transform: rotate(-15deg);
}
.floating-art {
    animation: float 6s ease-in-out infinite;
}
.hero-dots {
    position: absolute;
    bottom: 22px;
    left: 70%;
    display: flex;
    gap: 8px;
    z-index: 3;
}
.hero-dots button {
    padding: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: #557c9b60;
    transition: transform .2s;
}
.hero-dots button.active {
    background: #0c314c;
    transform: scale(1.3);
}
.hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
}
.hero-side .promo-panel {
    min-height: 186px;
}
.hero-side .promo-panel > div {
    position: relative;
    z-index: 2;
    padding: 24px 28px;
}
.hero-side img {
    position: absolute;
    right: -2%;
    bottom: -9%;
    width: 52%;
    height: 105%;
    object-fit: contain;
    transition: transform .6s;
}
.hero-side a:hover img {
    transform: scale(1.08) rotate(3deg);
}
.fashion-promo {
    background: linear-gradient(105deg, #ff7993, #ffb3a5);
    color: white;
}
.fashion-promo h2 {
    font-size: 46px;
    line-height: .95;
    letter-spacing: -1px;
}
.fashion-promo > div > span:first-child {
    font-size: 22px;
}
.hero-side p {
    font-size: 13px;
    margin: 8px 0 12px;
}
.fashion-promo p {
    background: white;
    color: #f04c65;
    display: table;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
}
.electronics-promo {
    background: linear-gradient(120deg, #d8ceff, #a8b9ff 70%, #5989ff);
}
.electronics-promo h2 {
    font-size: 28px;
    line-height: 1.1;
}
.electronics-promo > div > span:first-child {
    font-size: 20px;
}
.round-categories {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding: 28px 0 30px;
    overflow-x: auto;
}
.round-categories > a {
    min-width: 82px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    flex: 1;
}
.round-categories span {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef0f5;
    background: linear-gradient(135deg, #fafafa, #f3f7fa);
    width: 78px;
    height: 78px;
    border-radius: 50%;
    margin: 0 auto 10px;
    transition: transform .3s, box-shadow .3s;
}
.round-categories img {
    object-fit: contain;
    width: 80%;
    height: 80%;
    transition: transform .3s;
}
.round-categories a:hover span {
    transform: translateY(-5px);
    box-shadow: 0 9px 20px #267bff15;
}
.round-categories a:hover img {
    transform: scale(1.12);
}
.more-icon {
    font-size: 32px;
    color: #657b95;
}
.service-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 32px;
}
.service-strip > a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 3px 10px #142a4005;
}
.service-strip i {
    font-size: 24px;
    padding: 13px;
    border-radius: 50%;
    background: #edf5ff;
    color: #3187ff;
}
.service-strip > a:nth-child(2) i {
    background: #e1f9e6;
    color: #28b451;
}
.service-strip > a:nth-child(3) i {
    background: #f1eaff;
    color: #9b66ef;
}
.service-strip > a:nth-child(4) i {
    background: #f6eaff;
    color: #ab61ee;
}
.service-strip strong {
    display: block;
    font-size: 14px;
    font-weight: 650;
}
.service-strip small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
}
.section-heading {
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: space-between;
    margin: 32px 0 20px;
}
.section-heading h2 {
    font-size: 26px;
    letter-spacing: -.7px;
    font-weight: 750;
}
.section-heading > a {
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.section-heading > span {
    font-size: 14px;
    color: var(--muted);
}
.product-tabs {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-left: auto;
    overflow: auto;
    scrollbar-width: none;
}
.product-tabs button {
    background: none;
    border: 0;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.product-tabs button.active {
    color: var(--ink);
    font-weight: 650;
    border-bottom-color: var(--ink);
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}
.shop-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px;
    min-width: 0;
    background: linear-gradient(#fff, #fff 70%, #fcfdff);
    box-shadow: 0 3px 10px #142a4004;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    animation: card-in .4s both;
}
.shop-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 17px 35px #30639916;
    border-color: #b8d4ff;
}
.wish-button {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 2;
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 14px;
    color: #84909e;
    background: #ffffffdf;
    display: grid;
    place-items: center;
}
.wish-button.is-saved {
    color: #fa4265;
    background: #fff0f4;
}
.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4660;
    color: white;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 1;
}
.card-picture {
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0 16px;
}
.card-picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s;
}
.shop-card:hover .card-picture img {
    transform: scale(1.09) rotate(-2deg);
}
.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    height: 42px;
    line-height: 21px;
}
.card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 4px;
}
.card-rating span {
    color: #ffb300;
    letter-spacing: 1px;
    font-size: 13px;
}
.card-rating small {
    font-size: 11px;
    color: #8994a1;
}
.card-price {
    font-size: 18px;
    font-weight: 750;
    margin-bottom: 14px;
}
.card-price del {
    font-size: 13px;
    color: #9199a4;
    font-weight: 400;
    margin-left: 6px;
}
.cart-button {
    width: 100%;
    padding: 10px 8px;
    border: 1px solid #8bbcff;
    border-radius: 6px;
    background: white;
    color: var(--blue);
    font-size: 13px;
    font-weight: 650;
    transition: background .2s, color .2s;
}
.cart-button:hover {
    background: var(--blue);
    color: white;
}
.cart-button i {
    margin-right: 6px;
}
.double-promos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 38px 0 30px;
}
.double-promos > a {
    height: 235px;
    display: flex;
    align-items: center;
}
.double-promos a > div {
    position: relative;
    z-index: 2;
    padding-left: 36px;
}
.double-promos h2 {
    font-size: 26px;
    line-height: 1.15;
    margin: 4px 0 10px;
    letter-spacing: -.7px;
}
.double-promos a > div > span:first-child {
    font-size: 13px;
    font-weight: 600;
}
.double-promos p {
    font-size: 14px;
    margin-bottom: 16px;
}
.double-promos img {
    position: absolute;
    right: 12px;
    bottom: 0;
    object-fit: contain;
    width: 43%;
    height: 96%;
    transition: transform .5s;
}
.double-promos a:hover img {
    transform: scale(1.07);
}
.beauty-promo {
    background: linear-gradient(120deg, #ffc3d7, #ffe0e8);
    color: #ea4266;
}
.beauty-promo h2 {
    color: #351c2b;
}
.home-promo {
    background: linear-gradient(120deg, #b6ebff, #8cd8fa);
}
.home-promo > div > span:first-child {
    color: #0088d2;
}
.square-categories {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 18px;
}
.square-categories a {
    text-align: center;
    min-width: 0;
}
.square-categories span {
    height: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #e9f5ff;
    overflow: hidden;
}
.square-categories a:nth-child(3n+2) span {
    background: #fce7ee;
}
.square-categories a:nth-child(3n) span {
    background: #f1f3f4;
}
.square-categories img {
    width: 100%;
    height: 95%;
    object-fit: contain;
    transition: transform .5s;
}
.square-categories a:hover img {
    transform: scale(1.1);
}
.square-categories strong {
    font-size: 13px;
    font-weight: 500;
    display: block;
    margin-top: 10px;
}
.tech-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px;
    background: linear-gradient(105deg, #588bff, #9b7ff9 65%, #caa3ff);
    color: white;
    min-height: 215px;
    margin-top: 30px;
}
.tech-promo > div:first-child {
    z-index: 2;
}
.tech-promo .eyebrow {
    color: #ebff89;
    font-size: 18px;
}
.tech-promo h2 {
    font-size: 32px;
    letter-spacing: -.8px;
    line-height: 1.15;
}
.tech-promo p {
    font-size: 15px;
    margin: 6px 0 16px;
    color: #eff1ff;
}
.tech-art {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 46%;
    height: 175px;
}
.tech-art img {
    object-fit: contain;
    max-width: 42%;
    height: 100%;
    filter: drop-shadow(0 12px 10px #39205d22);
    transition: transform .5s;
}
.tech-art img:nth-child(2) {
    max-width: 60%;
    margin-left: -20px;
}
.tech-art img:last-child {
    max-width: 24%;
    margin-left: 10px;
}
.tech-promo:hover img {
    transform: translateY(-8px);
}
.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}
.brand-grid a {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 17px;
    height: 88px;
    display: grid;
    place-items: center;
    background: linear-gradient(#fff, #fafbfd);
}
.brand-grid img {
    width: 100%;
    height: 52px;
    object-fit: contain;
    transition: transform .3s;
}
.brand-grid a:hover img {
    transform: scale(1.12);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.journal-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fcfdff;
    transition: transform .3s, box-shadow .3s;
}
.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.journal-card > img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    background: #f4f5f6;
    transition: filter .3s;
}
.journal-card > div {
    padding: 0 18px 22px;
}
.journal-tag {
    display: table;
    position: relative;
    margin-top: -14px;
    z-index: 1;
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    border: 1px solid #87b4ff;
    padding: 3px 10px;
    border-radius: 12px;
    background: #eaf3ff;
}
.journal-card h3 {
    font-size: 16px;
    line-height: 1.45;
    margin: 14px 0;
    min-height: 44px;
}
.journal-card small {
    font-size: 12px;
    color: var(--muted);
}
.newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: linear-gradient(110deg, #2b89fc, #8874fa);
    color: white;
    border-radius: 10px;
    padding: 32px 38px;
    margin: 40px 0 24px;
    position: relative;
    overflow: hidden;
}
.newsletter h2 {
    font-size: 26px;
    font-weight: 650;
}
.newsletter p {
    font-size: 14px;
    color: #e1e9ff;
    margin-top: 4px;
}
.newsletter form {
    display: flex;
    position: relative;
    gap: 8px;
    width: 45%;
}
.newsletter input {
    min-width: 0;
    flex: 1;
    background: #fff;
    border: 0;
    border-radius: 6px;
    padding: 13px 18px;
    font-size: 14px;
}
.newsletter button {
    border: 0;
    border-radius: 6px;
    background: var(--navy);
    color: white;
    padding: 13px 26px;
    font-size: 14px;
    font-weight: 600;
}
.form-error {
    position: absolute;
    top: 100%;
    left: 0;
    color: white;
    font-size: 12px;
}
.shop-footer {
    background: radial-gradient(ellipse at 80% 50%, #16364d, var(--navy));
    color: #d2dce8;
    padding-top: 40px;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1fr 0.9fr 1.35fr;
    gap: 40px;
    padding-bottom: 34px;
}
.shop-footer .shop-logo {
    color: #fff;
}
.shop-footer p {
    font-size: 14px;
    line-height: 1.75;
    margin: 16px 0 12px;
    max-width: 300px;
}
.footer-grid h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 16px;
}
.footer-grid > div > a:not(.shop-logo) {
    display: block;
    font-size: 14px;
    margin: 8px 0;
}
.footer-grid a:hover {
    color: #fff;
}

/* App Download and Follow Us Section */
.footer-apps-col {
    display: flex;
    flex-direction: column;
}

.shop-footer .app-download {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}

.shop-footer .app-download p {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: 0.2px;
}

.shop-footer .app-download .list-inline-item {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
    vertical-align: middle;
}

.shop-footer .app-download .list-inline-item:last-child {
    margin-right: 0;
}

.shop-footer .app-download a.d-block {
    display: inline-block !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    border-radius: 8px;
    background: #000;
    overflow: hidden;
    line-height: 0;
}

.shop-footer .app-download a.d-block:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.shop-footer .app-download img {
    height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
}

.shop-footer .followus {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.shop-footer .followus .list-inline-item {
    display: inline-flex;
    margin: 0;
}

.shop-footer .followus a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    padding: 6px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.shop-footer .followus a:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.shop-footer .followus img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    gap: 24px;
}
.footer-legal-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-policy-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
}
.footer-policy-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}
.footer-policy-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.footer-policy-links .policy-sep {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 10px;
    font-size: 12px;
}
.footer-copyright-text {
    color: #94a3b8;
    font-size: 13px;
}
.footer-payments-wrap img {
    object-fit: contain;
    height: 32px;
    display: block;
}
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 22px;
    border: 0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    background: var(--blue);
    color: #fff;
    box-shadow: 0 5px 20px #267bff44;
    z-index: 20;
    font-size: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}
#shop-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 30px);
    background: var(--navy);
    color: white;
    padding: 14px 26px;
    font-size: 14px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: calc(100% - 40px);
    width: max-content;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    transition: opacity .25s, transform .25s;
}
#shop-toast.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Animated Cart Bump Badge */
@keyframes cartBadgeBump {
    0% { transform: scale(1); }
    30% { transform: scale(1.35); filter: drop-shadow(0 2px 8px rgba(239, 68, 68, 0.5)); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}
.cart-bump {
    animation: cartBadgeBump 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

/* Modern SweetAlert2 Toast Styling */
.swal2-container.swal2-top-end {
    z-index: 1000000 !important;
}
.swal2-popup.swal2-toast {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    border-radius: 14px !important;
    padding: 12px 18px !important;
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
}
.swal2-popup.swal2-toast .swal2-title {
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}
.swal2-popup.swal2-toast .swal2-icon {
    width: 26px !important;
    height: 26px !important;
    margin: 0 12px 0 0 !important;
}
.swal2-popup.swal2-toast .swal2-timer-progress-bar {
    background: linear-gradient(90deg, #3b82f6, #6366f1) !important;
    height: 3px !important;
}

/* Enhanced Search Results Popover */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 440px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 18px 42px -6px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
    z-index: 99;
    animation: searchPopoverIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.15s ease;
}
.search-result-item:hover,
.search-result-item.is-active {
    background: #f8fafc;
}
.search-result-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}
.search-result-info {
    flex: 1;
    min-width: 0;
}
.search-result-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.search-result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    font-size: 12px;
    flex-wrap: wrap;
}
.search-result-cat {
    background: #eff6ff;
    color: var(--blue, #267bff);
    font-size: 11px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 4px;
}
.search-result-price {
    font-weight: 700;
    color: #0f172a;
    font-size: 13px;
}
.search-result-orig {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 11.5px;
}
.search-result-sale-badge {
    background: #fef2f2;
    color: #ef4444;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
}
.search-result-arrow {
    font-size: 11px;
    color: #cbd5e1;
    margin-left: auto;
    transition: transform 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}
.search-result-item:hover .search-result-arrow {
    transform: translateX(3px);
    color: var(--blue, #267bff);
}
.search-results-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--blue, #267bff);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease;
}
.search-results-footer:hover {
    background: #eff6ff;
}
.search-results-empty {
    padding: 24px 16px;
    text-align: center;
    color: #64748b;
    font-size: 13.5px;
}
.search-results-empty i {
    font-size: 26px;
    color: #cbd5e1;
    margin-bottom: 8px;
    display: block;
}
.search-results-loading {
    padding: 20px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.reveal {
    transition: opacity .7s, transform .7s;
}
.motion-ready .reveal:not(.revealed) {
    opacity: 0;
    transform: translateY(24px);
}
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-15deg);
    }
    50% {
        transform: translateY(-15px) rotate(-12deg);
    }
}
@keyframes card-in {
    from {
        opacity: .2;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (min-width: 1450px) {
    .shop-container {
        width: min(1320px, calc(100% - 100px));
    }
    .hero-main {
        min-height: 430px;
    }
    .hero-copy {
        padding-top: 65px;
    }
    .card-picture {
        height: 190px;
    }
}
@media (max-width: 1100px) {
    .masthead {
        gap: 25px;
    }
    .shop-nav {
        gap: 20px;
    }
    .hero-copy {
        padding: 34px 0 28px 28px;
    }
    .hero-main {
        min-height: 340px;
    }
    .hero-copy h1 {
        font-size: 44px;
    }
    .hero-perks {
        gap: 12px;
        font-size: 12px;
    }
    .hero-side .promo-panel {
        min-height: 155px;
    }
    .hero-side .promo-panel > div {
        padding: 20px;
    }
    .hero-side p {
        max-width: 55%;
    }
    .service-strip {
        gap: 16px;
    }
    .service-strip > a {
        padding: 14px;
        gap: 10px;
    }
    .service-strip i {
        font-size: 19px;
        padding: 10px;
    }
    .cards-grid {
        gap: 14px;
    }
    .shop-card {
        padding: 14px;
    }
    .card-picture {
        height: 150px;
    }
    .product-tabs {
        gap: 16px;
    }
    .section-heading h2 {
        font-size: 23px;
    }
    .double-promos h2 {
        font-size: 23px;
    }
    .double-promos > a {
        height: 195px;
    }
    .square-categories {
        gap: 14px;
    }
    .square-categories span {
        height: 110px;
    }
    .newsletter h2 {
        font-size: 22px;
    }
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
        gap: 30px;
    }
    .footer-apps-col {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}
@media (max-width: 800px) {
    .shop-container {
        width: calc(100% - 32px);
    }
    .announcement {
        font-size: 12px;
    }
    .announcement .shop-container > div {
        gap: 10px;
    }
    .announcement a:first-child {
        display: none;
    }
    .announcement a + a {
        border: 0;
        padding: 0;
    }
    .masthead {
        height: auto;
        min-height: 80px;
        flex-wrap: wrap;
        gap: 15px;
        padding: 18px 0 12px;
    }
    .shop-logo {
        font-size: 26px;
    }
    .header-actions {
        margin-left: auto;
        gap: 24px;
    }
    .header-actions > a {
        font-size: 12px;
    }
    .shop-search {
        order: 3;
        flex-basis: 100%;
        height: 44px;
    }
    .search-category-trigger {
        padding: 0 10px;
        font-size: 12.5px;
    }
    .category-trigger-label {
        max-width: 90px;
    }
    .search-category-popover {
        width: 270px;
        right: -54px;
    }
    .shop-nav {
        font-size: 13px;
        min-height: 45px;
    }
    .hero-grid {
        gap: 14px;
        grid-template-columns: 1.65fr 1fr;
    }
    .hero-main {
        min-height: 300px;
    }
    .hero-copy {
        padding: 34px 0 25px 22px;
        width: 60%;
    }
    .hero-copy h1 {
        font-size: 36px;
        letter-spacing: -1.5px;
    }
    .hero-copy p {
        font-size: 13px;
    }
    .hero-copy .eyebrow {
        font-size: 14px;
    }
    .hero-perks {
        display: none;
    }
    .hero-shoe {
        top: 25%;
        height: 65%;
        right: -8%;
        width: 65%;
    }
    .hero-side {
        gap: 12px;
    }
    .hero-side .promo-panel {
        min-height: 135px;
    }
    .hero-side .promo-panel > div {
        padding: 16px;
    }
    .fashion-promo h2 {
        font-size: 32px;
    }
    .fashion-promo > div > span:first-child {
        font-size: 16px;
    }
    .hero-side p {
        font-size: 12px;
        max-width: 60%;
        margin: 4px 0 8px;
    }
    .hero-side .dark-button {
        font-size: 12px;
        padding: 7px 12px;
    }
    .electronics-promo h2 {
        font-size: 22px;
    }
    .electronics-promo > div > span:first-child {
        font-size: 15px;
    }
    .round-categories {
        gap: 14px;
        padding: 22px 0;
    }
    .round-categories > a {
        min-width: 68px;
        font-size: 12px;
    }
    .round-categories span {
        width: 68px;
        height: 68px;
    }
    .service-strip {
        gap: 12px;
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 22px;
    }
    .service-strip strong {
        font-size: 13px;
    }
    .service-strip small {
        font-size: 11px;
    }
    .section-heading {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 26px;
    }
    .section-heading h2 {
        font-size: 22px;
    }
    .product-tabs {
        order: 3;
        flex-basis: 100%;
        justify-content: flex-start;
        gap: 20px;
    }
    .product-tabs button {
        font-size: 13px;
    }
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
    .cards-grid .shop-card:nth-child(n+4) {
        display: none;
    }
    .card-picture {
        height: 160px;
    }
    .double-promos {
        gap: 14px;
        margin-top: 28px;
    }
    .double-promos > a {
        height: 175px;
    }
    .double-promos a > div {
        padding-left: 18px;
    }
    .double-promos h2 {
        font-size: 19px;
        max-width: 200px;
    }
    .double-promos a > div > span:first-child {
        font-size: 13px;
    }
    .double-promos p {
        font-size: 12px;
    }
    .double-promos img {
        right: -5px;
        width: 45%;
    }
    .square-categories {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    .square-categories span {
        height: 130px;
    }
    .square-categories strong {
        font-size: 12px;
    }
    .tech-promo {
        padding: 26px 22px;
        min-height: 185px;
    }
    .tech-promo h2 {
        font-size: 26px;
    }
    .tech-promo p {
        max-width: 230px;
        font-size: 13px;
    }
    .tech-art {
        width: 40%;
        height: 145px;
    }
    .brand-grid {
        gap: 12px;
    }
    .brand-grid a {
        padding: 12px;
        height: 68px;
    }
    .brand-grid img {
        height: 42px;
    }
    .journal-card > img {
        height: 140px;
    }
    .journal-card > div {
        padding: 0 14px 16px;
    }
    .journal-card h3 {
        font-size: 14px;
    }
    .journal-card small {
        font-size: 11px;
    }
    .blog-grid {
        gap: 14px;
    }
    .newsletter {
        flex-direction: column;
        align-items: flex-start;
        padding: 26px;
    }
    .newsletter form {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
    .footer-apps-col {
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-bottom img {
        width: 180px;
    }
}
@media (max-width: 480px) {
    .announcement .shop-container > span {
        max-width: 55%;
        font-size: 11px;
    }
    .announcement a {
        display: none;
    }
    .shop-header {
        position: relative;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-main {
        min-height: 310px;
    }
    .hero-copy {
        padding: 32px 0 25px 22px;
    }
    .hero-copy h1 {
        font-size: 40px;
    }
    .hero-copy p {
        max-width: 180px;
        font-size: 13px;
    }
    .hero-shoe {
        top: 14%;
        right: -3%;
        width: 63%;
        height: 85%;
    }
    .hero-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }
    .hero-side .promo-panel {
        min-height: 160px;
    }
    .hero-side .promo-panel > div {
        padding: 14px;
    }
    .hero-side img {
        width: 56%;
        bottom: -9%;
        height: 80%;
        right: -8%;
    }
    .hero-side p {
        font-size: 11px;
        max-width: 65%;
    }
    .hero-side .dark-button {
        font-size: 11px;
        padding: 6px 10px;
    }
    .electronics-promo h2 {
        font-size: 18px;
    }
    .round-categories {
        margin-inline: -16px;
        padding-inline: 16px;
    }
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cards-grid .shop-card:nth-child(n+4) {
        display: block;
    }
    .cards-grid .shop-card:last-child:nth-child(odd) {
        grid-column: auto;
    }
    .card-picture {
        height: 155px;
    }
    .card-price {
        font-size: 16px;
    }
    .card-rating small {
        font-size: 10px;
    }
    .section-heading h2 {
        font-size: 20px;
    }
    .section-heading > a {
        font-size: 12px;
    }
    .double-promos {
        grid-template-columns: 1fr;
    }
    .double-promos > a {
        height: 185px;
    }
    .double-promos h2 {
        font-size: 24px;
        max-width: 220px;
    }
    .double-promos a > div {
        padding-left: 22px;
    }
    .double-promos img {
        right: 8px;
    }
    .square-categories span {
        height: 95px;
        border-radius: 14px;
    }
    .square-categories {
        gap: 12px;
    }
    .square-categories strong {
        font-size: 11px;
    }
    .tech-promo {
        min-height: 220px;
        align-items: flex-start;
        padding: 24px;
    }
    .tech-promo h2 {
        font-size: 26px;
        max-width: 220px;
    }
    .tech-promo .eyebrow {
        font-size: 14px;
    }
    .tech-art {
        position: absolute;
        bottom: 5px;
        right: -5px;
        width: 50%;
        height: 130px;
        opacity: .9;
    }
    .tech-promo p {
        max-width: 190px;
        font-size: 13px;
    }
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .journal-card > img {
        height: 190px;
    }
    .journal-card h3 {
        font-size: 16px;
        min-height: auto;
    }
    .journal-card small {
        font-size: 12px;
    }
    .newsletter h2 {
        font-size: 21px;
    }
    .newsletter p {
        font-size: 13px;
    }
    .newsletter input {
        width: 60%;
        padding: 12px;
        font-size: 13px;
    }
    .newsletter button {
        padding: 12px 16px;
        font-size: 13px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-grid > div:first-child {
        grid-column: 1/-1;
    }
    .footer-grid p {
        max-width: 100%;
    }
    .footer-bottom {
        align-items: flex-start;
        gap: 14px;
        flex-direction: column;
    }
    .footer-bottom img {
        width: 200px;
    }
    .back-to-top {
        right: 15px;
        bottom: 15px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *:before, *:after {
        animation: none !important;
        transition: none !important;
    }
    .motion-ready .reveal:not(.revealed) {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Location Picker Modal & Header Pill
   ========================================================================== */
.location-header-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #e2eaf4;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.location-header-pill:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.location-header-pill i.fa-map-marker-alt {
    color: #60a5fa;
    font-size: 13px;
}
.location-header-pill .pill-caret {
    font-size: 9px;
    opacity: 0.75;
}

.location-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(16, 40, 61, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .3s cubic-bezier(0.16, 1, 0.3, 1), visibility .3s;
}
.location-modal-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}
.location-modal-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(16, 40, 61, 0.25), 0 4px 16px rgba(16, 40, 61, 0.08);
    width: 100%;
    max-width: 680px;
    overflow: hidden;
    transform: scale(0.92) translateY(16px);
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}
.location-modal-backdrop.is-active .location-modal-card {
    transform: scale(1) translateY(0);
}
.location-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px 18px;
    border-bottom: 1px solid var(--line);
}
.location-modal-title {
    font-size: 22px;
    font-weight: 750;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
    margin: 0;
}
.location-title-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e0efff, #c7e0ff);
    color: var(--blue);
    display: inline-grid;
    place-items: center;
    font-size: 15px;
}
.location-close-btn {
    border: 0;
    background: #f1f4f8;
    color: var(--muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 18px;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
}
.location-close-btn:hover {
    background: #e2e8f0;
    color: var(--ink);
    transform: rotate(90deg);
}
.location-modal-body {
    padding: 26px 28px 28px;
}
.location-type-toggle {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 20px;
}
.location-type-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    user-select: none;
}
.location-type-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #94a3b8;
    border-radius: 50%;
    margin: 0;
    outline: none;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
    transition: border-color .2s;
}
.location-type-option input[type="radio"]:checked {
    border-color: var(--navy);
}
.location-type-option input[type="radio"]:checked::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--navy);
}
.location-prompt-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 16px;
}
.location-input-group {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.location-detect-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(16, 40, 61, 0.12);
    transition: background .2s, transform .2s, box-shadow .2s;
}
.location-detect-btn:hover {
    background: #173855;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(16, 40, 61, 0.2);
}
.location-detect-btn i {
    font-size: 15px;
    color: #60a5fa;
}
.location-search-box {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}
.location-search-box i {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}
.location-search-box input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px 12px 38px;
    font-size: 14px;
    color: var(--ink);
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(20, 42, 64, 0.04) inset;
    transition: border-color .2s, box-shadow .2s;
}
.location-search-box input:focus {
    border-color: #8ebaff;
    box-shadow: 0 0 0 3px rgba(38, 123, 255, 0.18);
    outline: none;
}
.location-confirm-btn {
    background: #4f6479;
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(16, 40, 61, 0.1);
    transition: background .2s, transform .2s, box-shadow .2s;
}
.location-confirm-btn:hover {
    background: var(--navy);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(16, 40, 61, 0.2);
}
.location-suggestions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.location-suggest-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.location-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
    cursor: pointer;
    line-height: 1.4;
    transition: all .2s ease;
    text-align: left;
}
.location-chip-btn:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
    transform: translateY(-1px);
}
.location-divider {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 24px 0 20px;
}
.location-skip-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}
.location-skip-btn {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    padding: 11px 32px;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
    transition: transform .2s, box-shadow .2s, filter .2s;
}
.location-skip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.38);
    filter: brightness(1.05);
}
.location-note {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}
.location-note em {
    font-style: italic;
}

@media (max-width: 640px) {
    .location-modal-card {
        border-radius: 14px;
    }
    .location-modal-header {
        padding: 16px 20px 14px;
    }
    .location-modal-title {
        font-size: 19px;
    }
    .location-modal-body {
        padding: 18px 20px 22px;
    }
    .location-type-toggle {
        gap: 22px;
        margin-bottom: 16px;
    }
    .location-type-option {
        font-size: 16px;
    }
    .location-input-group {
        flex-direction: column;
        gap: 10px;
    }
    .location-detect-btn {
        width: 100%;
        justify-content: center;
    }
    .location-confirm-btn {
        width: 100%;
        justify-content: center;
    }
    .location-skip-btn {
        width: 100%;
    }
    .location-note {
        font-size: 12px;
    }
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1500;
    max-width: 480px;
    width: calc(100% - 48px);
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: 0 16px 45px rgba(16, 40, 61, 0.18), 0 2px 10px rgba(16, 40, 61, 0.06);
    padding: 20px 22px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .4s cubic-bezier(0.16, 1, 0.3, 1), transform .4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.cookie-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.cookie-icon-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff3dc, #ffe2a8);
    color: #b45309;
    display: inline-grid;
    place-items: center;
    font-size: 22px;
}
.cookie-text {
    flex: 1;
}
.cookie-text h4 {
    font-size: 16px;
    font-weight: 750;
    color: var(--navy);
    margin: 0 0 6px;
}
.cookie-text p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
    margin: 0 0 14px;
}
.cookie-text a {
    color: var(--blue);
    text-decoration: underline;
    font-weight: 500;
}
.cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cookie-accept-btn {
    background: var(--navy);
    color: #ffffff;
    border: 0;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(16, 40, 61, 0.15);
    transition: background .2s, transform .2s, box-shadow .2s;
}
.cookie-accept-btn:hover {
    background: var(--blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(38, 123, 255, 0.25);
}
.cookie-close-btn {
    background: #f1f4f8;
    color: var(--muted);
    border: 0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 14px;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.cookie-close-btn:hover {
    background: #e2e8f0;
    color: var(--ink);
}

@media (max-width: 640px) {
    .cookie-banner {
        bottom: 16px;
        left: 16px;
        width: calc(100% - 32px);
        padding: 16px;
    }
    .cookie-banner-content {
        flex-direction: column;
        gap: 12px;
    }
    .cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
    .cookie-accept-btn {
        flex: 1;
        text-align: center;
    }
}

/* ==========================================================================
   Page Preloader with Animated Shopping Cart
   ========================================================================== */
.page-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}
.page-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
}
.cart-anim-wrap {
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 24px rgba(38, 123, 255, 0.16));
}
.cart-chassis {
    animation: cart-chassis-bounce 0.75s ease-in-out infinite;
    transform-origin: 75px 76px;
}
.cart-items {
    animation: cart-items-bounce 0.75s ease-in-out infinite;
    transform-origin: 75px 50px;
}
.cart-wheel {
    animation: wheel-spin 0.8s linear infinite;
}
.wheel-left {
    transform-origin: 50px 94px;
}
.wheel-right {
    transform-origin: 104px 94px;
}
.cart-track-dash {
    stroke-dasharray: 18 12;
    animation: track-glide 0.55s linear infinite;
}
.cart-box.box-1 {
    animation: box-tilt-1 0.75s ease-in-out infinite;
    transform-origin: 66px 55px;
}
.cart-box.box-2 {
    animation: box-tilt-2 0.75s ease-in-out infinite;
    transform-origin: 84px 48px;
}
.cart-box.box-3 {
    animation: box-tilt-3 0.75s ease-in-out infinite;
    transform-origin: 71px 33px;
}

@keyframes cart-chassis-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px) rotate(-1deg); }
}
@keyframes cart-items-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes wheel-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes track-glide {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -30; }
}
@keyframes box-tilt-1 {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-5deg) translateY(-2px); }
}
@keyframes box-tilt-2 {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(4deg) translateY(-3px); }
}
@keyframes box-tilt-3 {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-3deg) translateY(-4px); }
}

.preloader-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.8px;
    margin-bottom: 14px;
}
.preloader-orbit {
    width: 24px;
    height: 24px;
}
.preloader-progress-bar {
    width: 170px;
    height: 4px;
    background: #eef2f6;
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}
.preloader-progress-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: linear-gradient(90deg, #267bff, #7c3aed, #267bff);
    border-radius: 99px;
    animation: preloader-bar-slide 1.4s ease-in-out infinite;
}
@keyframes preloader-bar-slide {
    0% { left: -50%; width: 30%; }
    50% { left: 30%; width: 60%; }
    100% { left: 100%; width: 40%; }
}
.preloader-caption {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin: 0;
    letter-spacing: 0.1px;
}

/* ==========================================================================
   Deals Of The Day & Live Countdown Timer
   ========================================================================== */
.deals-section {
    margin: 36px 0 44px;
    padding: 28px 24px 30px;
    background: linear-gradient(135deg, #f8faff 0%, #f3f7ff 50%, #fff6f3 100%);
    border: 1px solid #e1e9f5;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 40, 61, 0.04);
    position: relative;
    overflow: hidden;
}
.deals-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.12) 0%, rgba(255, 107, 107, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}
.deals-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e6edf7;
}
.deals-header-main {
    max-width: 520px;
}
.deals-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.6px;
    color: #dc2626;
    background: #fee2e2;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.deals-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dc2626;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
    animation: dealsPulse 1.8s infinite;
}
@keyframes dealsPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(220, 38, 38, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
.deals-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
    margin: 0;
}
.deals-bolt-icon {
    color: #f59e0b;
    filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.4));
    animation: dealsBolt 2.5s ease-in-out infinite;
}
@keyframes dealsBolt {
    0%, 100% { transform: scale(1) rotate(0deg); }
    15% { transform: scale(1.15) rotate(-6deg); }
    30% { transform: scale(1.15) rotate(6deg); }
    45% { transform: scale(1) rotate(0deg); }
}
.deals-subtitle {
    font-size: 14px;
    color: var(--muted);
    margin-top: 6px;
    font-weight: 450;
    line-height: 1.4;
}
.deals-header-action {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.deal-countdown-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    padding: 8px 14px;
    box-shadow: 0 4px 14px rgba(16, 40, 61, 0.05);
}
.deal-countdown-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
}
.deal-countdown-label i {
    color: #ef4444;
    font-size: 15px;
    animation: clockSpin 6s linear infinite;
}
@keyframes clockSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.deal-countdown-timer {
    display: flex;
    align-items: center;
    gap: 5px;
}
.timer-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 4px 6px;
    background: #0f172a;
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 2px 6px rgba(15, 23, 42, 0.2);
}
.timer-digit {
    font-family: 'Inter', monospace, sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
    color: #38bdf8;
    letter-spacing: 0.5px;
}
.timer-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.4px;
    margin-top: 2px;
}
.timer-colon {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin-top: -8px;
    animation: colonBlink 1s infinite;
}
@keyframes colonBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.deals-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    background: #267bff;
    color: #ffffff;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(38, 123, 255, 0.25);
    white-space: nowrap;
}
.deals-all-link:hover {
    background: #1967e3;
    transform: translateX(2px);
    box-shadow: 0 6px 20px rgba(38, 123, 255, 0.35);
    color: #ffffff;
}
.deals-all-link i {
    font-size: 12px;
    transition: transform 0.2s;
}
.deals-all-link:hover i {
    transform: translateX(3px);
}

/* Deals Grid & Card */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}
.deal-card {
    position: relative;
    border: 1px solid #dfe6f1;
    border-radius: 12px;
    padding: 16px;
    min-width: 0;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 40, 61, 0.04);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.deal-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 36px rgba(38, 123, 255, 0.14);
    border-color: #90c2ff;
}
.deal-badges-group {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}
.deal-badge-save {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: fit-content;
}
.deal-badge-hot {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
    font-size: 10px;
    font-weight: 750;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    width: fit-content;
}
.deal-picture {
    height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 14px;
}
.deal-picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.deal-card:hover .deal-picture img {
    transform: scale(1.08) rotate(-1.5deg);
}
.deal-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    height: 42px;
    line-height: 21px;
    color: var(--navy);
    transition: color 0.2s;
}
.deal-title:hover {
    color: var(--blue);
}
.deal-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 6px 0 10px;
}
.deal-current-price {
    font-size: 20px;
    font-weight: 850;
    color: #dc2626;
    letter-spacing: -0.3px;
}
.deal-old-price {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
}
.deal-urgency-box {
    margin-bottom: 14px;
    background: #fff8f6;
    border: 1px solid #ffe5dd;
    border-radius: 8px;
    padding: 8px 10px;
}
.deal-stock-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    margin-bottom: 6px;
}
.deal-sold-label {
    font-weight: 750;
    color: #ea580c;
    display: flex;
    align-items: center;
    gap: 4px;
}
.deal-sold-label i {
    font-size: 12px;
}
.deal-hurry-label {
    font-weight: 600;
    color: #64748b;
    font-size: 10.5px;
}
.deal-progress-track {
    height: 6px;
    width: 100%;
    background: #fed7aa;
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}
.deal-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f97316, #ef4444);
    border-radius: 99px;
    transition: width 0.8s ease-in-out;
}
.deal-cart-btn {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, #267bff, #1b68e0);
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(38, 123, 255, 0.2);
}
.deal-cart-btn:hover {
    background: linear-gradient(135deg, #1967e3, #1153be);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(38, 123, 255, 0.32);
    color: #ffffff;
}

/* Responsive Deals Adjustments */
@media (max-width: 1100px) {
    .deals-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .deals-section {
        padding: 20px 16px;
    }
    .deals-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .deals-header-action {
        width: 100%;
        justify-content: space-between;
    }
    .deals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}
@media (max-width: 520px) {
    .deals-header-action {
        flex-direction: column;
        align-items: stretch;
    }
    .deal-countdown-card {
        justify-content: space-between;
    }
    .deals-all-link {
        justify-content: center;
    }
    .deals-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Modern Storefront Authentication Pages (Login & Registration)
   ========================================================================== */
.auth-page {
    background: #f8fafc;
    padding: 32px 0 72px;
    min-height: calc(100vh - 280px);
}

.auth-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 24px;
    font-weight: 500;
}
.auth-breadcrumb a {
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s ease;
}
.auth-breadcrumb a:hover {
    color: var(--blue, #267bff);
}
.auth-breadcrumb-separator {
    font-size: 9px;
    color: #cbd5e1;
}
.auth-breadcrumb-current {
    color: #0f172a;
    font-weight: 650;
}

/* Auth Split Card Container */
.auth-card {
    display: grid;
    grid-template-columns: 1fr 1.18fr;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 50px -10px rgba(16, 40, 61, 0.09), 0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef2f6;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Left Showcase Panel */
.auth-showcase-panel {
    position: relative;
    background: linear-gradient(155deg, #10283d 0%, #173854 55%, #19466c 100%);
    color: #ffffff;
    padding: 52px 46px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.auth-showcase-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(38, 123, 255, 0.28) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.auth-showcase-panel::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 56, 84, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.auth-showcase-content {
    position: relative;
    z-index: 2;
}
.auth-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 24px;
}
.auth-brand-pill .logo-orbit {
    width: 18px;
    height: 18px;
}
.auth-showcase-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
    color: #ffffff;
}
.auth-showcase-title .text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.auth-showcase-desc {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Feature Perks List */
.auth-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.auth-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.auth-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(38, 123, 255, 0.15);
    border: 1px solid rgba(38, 123, 255, 0.3);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.auth-feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.auth-feature-text strong {
    color: #f8fafc;
    font-weight: 650;
    font-size: 13.5px;
}
.auth-feature-text span {
    color: #94a3b8;
    font-size: 12.5px;
    line-height: 1.4;
}

/* Review Snippet */
.auth-review-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}
.auth-review-stars {
    color: #facc15;
    font-size: 11.5px;
    margin-bottom: 8px;
    display: flex;
    gap: 3px;
}
.auth-review-text {
    font-size: 13px;
    font-style: italic;
    color: #e2e8f0;
    line-height: 1.5;
    margin-bottom: 12px;
}
.auth-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #267bff, #1565e6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}
.auth-author-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #f8fafc;
    display: block;
}
.auth-author-badge {
    font-size: 11px;
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.auth-trust-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}
.auth-trust-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Right Form Panel */
.auth-form-panel {
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}
.auth-form-header {
    margin-bottom: 26px;
}
.auth-form-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.6px;
    margin-bottom: 6px;
}
.auth-form-subtitle {
    color: #64748b;
    font-size: 14px;
}

/* Modern Alerts */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 22px;
    position: relative;
    animation: searchPopoverIn 0.25s ease;
}
.auth-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.auth-alert-danger .auth-alert-icon {
    color: #ef4444;
    font-size: 16px;
    margin-top: 2px;
}
.auth-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}
.auth-alert-success .auth-alert-icon {
    color: #22c55e;
    font-size: 16px;
    margin-top: 2px;
}
.auth-alert-message {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.auth-alert-message strong {
    font-weight: 700;
}
.auth-alert-close {
    border: 0;
    background: transparent;
    color: inherit;
    opacity: 0.6;
    cursor: pointer;
    font-size: 14px;
    padding: 0 4px;
    transition: opacity 0.15s ease;
}
.auth-alert-close:hover {
    opacity: 1;
}

/* Form Groups & Inputs */
.auth-input-group {
    margin-bottom: 20px;
}
.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 650;
    color: #334155;
    margin-bottom: 7px;
}
.required-star {
    color: #ef4444;
}
.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}
.auth-forgot-link {
    font-size: 12.5px;
    color: var(--blue, #267bff);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}
.auth-forgot-link:hover {
    text-decoration: underline;
    color: #1565e6;
}
.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1.5px solid #dce4ee;
    border-radius: 10px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-input-wrap:focus-within {
    border-color: var(--blue, #267bff);
    box-shadow: 0 0 0 3px rgba(38, 123, 255, 0.12);
}
.auth-input-group.has-error .auth-input-wrap {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.auth-field-icon {
    position: absolute;
    left: 15px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s ease;
}
.auth-input-wrap:focus-within .auth-field-icon {
    color: var(--blue, #267bff);
}
.auth-input {
    width: 100%;
    height: 48px;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 42px 0 42px;
    font-size: 14px;
    color: #0f172a;
    font-weight: 500;
    font-family: inherit;
}
.auth-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}
.password-toggle-btn {
    position: absolute;
    right: 8px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: color 0.2s ease, background 0.2s ease;
}
.password-toggle-btn:hover {
    color: #334155;
    background: #f1f5f9;
}
.auth-field-error {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
    font-weight: 500;
}

/* Two-column Form Row for Registration */
.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 640px) {
    .auth-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Phone Input with intl-tel-input */
.auth-phone-wrap {
    padding: 0;
}
.auth-phone-wrap .iti {
    width: 100%;
    display: block;
}
.auth-phone-wrap .iti input.auth-phone-input {
    width: 100%;
    height: 48px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #0f172a;
    font-weight: 500;
    font-family: inherit;
    padding-left: 96px !important;
    padding-right: 16px;
}
.auth-phone-wrap .iti__flag-container {
    padding-left: 12px;
}
.auth-phone-wrap .iti__selected-flag {
    padding: 0 8px 0 6px;
    background: transparent;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.auth-phone-wrap .iti__selected-dial-code {
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
}
.auth-phone-wrap .iti__country-list {
    border-radius: 12px;
    box-shadow: 0 15px 35px -5px rgba(16, 40, 61, 0.18);
    border: 1px solid #e2e8f0;
    z-index: 100;
    font-family: inherit;
    max-height: 220px;
}
.auth-phone-wrap .iti__country {
    padding: 8px 12px;
    font-size: 13px;
}
.auth-phone-wrap .iti__country:hover,
.auth-phone-wrap .iti__country.iti__highlight {
    background-color: #f1f5f9;
}

/* Terms link */
.auth-terms-link {
    color: var(--blue, #267bff);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}
.auth-terms-link:hover {
    text-decoration: underline;
    color: #1257c7;
}

/* Checkbox */
.auth-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.auth-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    user-select: none;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}
.auth-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.auth-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.auth-checkbox:checked + .auth-checkbox-custom {
    background: var(--blue, #267bff);
    border-color: var(--blue, #267bff);
}
.auth-checkbox:checked + .auth-checkbox-custom::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* Submit Action Button */
.auth-submit-btn {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #267bff 0%, #1565e6 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 4px 14px rgba(38, 123, 255, 0.28);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(38, 123, 255, 0.38);
    background: linear-gradient(135deg, #1e72f0 0%, #0d5ad4 100%);
}
.auth-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(38, 123, 255, 0.25);
}

/* Social Login */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 26px 0 20px;
}
.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}
.auth-divider span {
    position: relative;
    background: #ffffff;
    padding: 0 14px;
    font-size: 12.5px;
    color: #94a3b8;
    font-weight: 500;
    text-transform: lowercase;
}
.social-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.social-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.social-auth-btn svg {
    flex-shrink: 0;
}
.social-auth-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}
.social-auth-btn.facebook-btn i {
    color: #1877f2;
    font-size: 16px;
}

/* Footer Switcher */
.auth-switch-footer {
    margin-top: 28px;
    text-align: center;
    font-size: 13.5px;
    color: #64748b;
}
.auth-switch-link {
    color: var(--blue, #267bff);
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.15s ease;
}
.auth-switch-link:hover {
    text-decoration: underline;
    color: #1257c7;
}

/* Responsive Styles for Auth */
@media (max-width: 960px) {
    .auth-card {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }
    .auth-showcase-panel {
        padding: 36px 30px;
    }
    .auth-showcase-title {
        font-size: 26px;
    }
    .auth-features-list {
        display: none;
    }
    .auth-review-card {
        display: none;
    }
    .auth-form-panel {
        padding: 40px 30px;
    }
}
@media (max-width: 540px) {
    .auth-page {
        padding: 20px 0 48px;
    }
    .auth-form-panel {
        padding: 30px 20px;
    }
    .auth-showcase-panel {
        padding: 28px 20px;
    }
    .auth-form-title {
        font-size: 24px;
    }
    .social-auth-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MODERN SHOPPING CART STYLES
   ========================================================================== */

.cart-page-wrap {
    background: #f8fafc;
    padding: 24px 0 72px;
    min-height: 75vh;
}

/* Cart Page Header */
.cart-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}
.cart-header-left {
    display: flex;
    flex-direction: column;
}
.cart-page-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.cart-count-pill {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue, #267bff);
    background: rgba(38, 123, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0;
}
.cart-page-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-top: 5px;
}
.cart-continue-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--blue, #267bff);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}
.cart-continue-link:hover {
    background: #f1f5f9;
    color: #1257c7;
    border-color: #cbd5e1;
    transform: translateX(-2px);
}

/* 2-Column Grid Layout */
.cart-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: start;
}

/* Left Column: Items Card */
.cart-items-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px -5px rgba(16, 40, 61, 0.04), 0 1px 3px rgba(0,0,0,0.02);
    overflow: hidden;
}

/* Table Header */
.cart-table-head {
    display: grid;
    grid-template-columns: 86px 1fr 110px 140px 100px 48px;
    align-items: center;
    padding: 15px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.head-col-price, .head-col-total {
    text-align: right;
}
.head-col-qty {
    text-align: center;
}

/* Item Rows */
.cart-items-body {
    display: flex;
    flex-direction: column;
}
.cart-item-row {
    display: grid;
    grid-template-columns: 86px 1fr 110px 140px 100px 48px;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease, opacity 0.25s ease;
}
.cart-item-row:hover {
    background-color: #fafcfd;
}
.cart-item-row:last-child {
    border-bottom: 0;
}

/* Item Thumbnail */
.cart-item-thumb {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4px;
    transition: border-color 0.2s ease;
}
.cart-item-thumb:hover {
    border-color: var(--blue, #267bff);
}
.cart-item-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}
.cart-item-thumb:hover img {
    transform: scale(1.06);
}

/* Item Info */
.cart-item-info-col {
    padding-right: 18px;
}
.cart-item-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}
.cart-item-title:hover {
    color: var(--blue, #267bff);
}
.cart-item-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.cart-meta-pill {
    font-size: 11.5px;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 6px;
    padding: 2px 7px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cart-opt-pill {
    background: rgba(38, 123, 255, 0.08);
    color: #1e40af;
}
.cart-item-mobile-pricing {
    display: none;
}

/* Unit Price */
.cart-item-price-col {
    text-align: right;
}
.cart-unit-amount {
    font-size: 14.5px;
    font-weight: 600;
    color: #334155;
}

/* Quantity Stepper */
.cart-item-qty-col {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.cart-stepper-wrap {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #dce4ee;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cart-stepper-wrap:focus-within {
    border-color: var(--blue, #267bff);
    box-shadow: 0 0 0 3px rgba(38, 123, 255, 0.1);
}
.cart-stepper-btn {
    width: 32px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.cart-stepper-btn:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}
.cart-stepper-btn:active {
    background-color: #e2e8f0;
}
.cart-stepper-input {
    width: 44px;
    height: 34px;
    border: 0;
    border-left: 1px solid #eef2f6;
    border-right: 1px solid #eef2f6;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    background: transparent;
    outline: none;
    -moz-appearance: textfield;
}
.cart-stepper-input::-webkit-outer-spin-button,
.cart-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.cart-qty-spinner {
    position: absolute;
    right: -16px;
    color: var(--blue, #267bff);
    font-size: 11px;
}

/* Line Total */
.cart-item-total-col {
    text-align: right;
}
.cart-line-amount {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

/* Remove Action */
.cart-item-action-col {
    text-align: right;
}
.cart-remove-btn {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}
.cart-remove-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: scale(1.08);
}

/* Card Bottom Footer */
.cart-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #fafcfd;
    border-top: 1px solid #edf2f7;
}
.cart-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.15s ease;
}
.cart-back-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}
.cart-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #ef4444;
    background: transparent;
    border: 0;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.15s ease;
}
.cart-clear-btn:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Reassurance Guarantee Banner */
.cart-trust-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.trust-banner-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 16px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 14px rgba(16, 40, 61, 0.03);
    display: flex;
    align-items: center;
    gap: 12px;
}
.trust-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(38, 123, 255, 0.1);
    color: var(--blue, #267bff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
.trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.trust-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}
.trust-text span {
    font-size: 12px;
    color: #64748b;
    line-height: 1.35;
}

/* ==========================================================================
   STICKY ORDER SUMMARY CARD
   ========================================================================== */

.cart-summary-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 30px -5px rgba(16, 40, 61, 0.06), 0 1px 3px rgba(0,0,0,0.02);
    padding: 24px 22px;
    position: sticky;
    top: 92px;
}

/* Free Shipping Meter */
.shipping-progress-card {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 22px;
}
.shipping-progress-text {
    font-size: 12.5px;
    color: #0369a1;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
}
.shipping-progress-text .text-blue {
    color: var(--blue, #267bff);
}
.shipping-meter-track {
    width: 100%;
    height: 7px;
    background: rgba(2, 132, 199, 0.15);
    border-radius: 10px;
    overflow: hidden;
}
.shipping-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #267bff 0%, #06b6d4 100%);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-summary-title {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
    margin-bottom: 18px;
}

/* Coupon Box */
.cart-coupon-card {
    margin-bottom: 22px;
}
.coupon-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 650;
    color: #334155;
    margin-bottom: 7px;
}
.coupon-input-wrap {
    display: flex;
    gap: 8px;
}
.coupon-field {
    flex: 1;
    height: 42px;
    border: 1.5px solid #dce4ee;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.coupon-field:focus {
    border-color: var(--blue, #267bff);
    box-shadow: 0 0 0 3px rgba(38, 123, 255, 0.12);
}
.coupon-field::placeholder {
    text-transform: none;
    font-weight: 400;
    color: #94a3b8;
}
.coupon-apply-btn {
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #10283d;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
.coupon-apply-btn:hover {
    background-color: var(--blue, #267bff);
}
.coupon-apply-btn:active {
    transform: scale(0.98);
}
.applied-coupon-pill {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 11px;
    border-radius: 8px;
    animation: searchPopoverIn 0.25s ease;
}

/* Cost Breakdown */
.cart-breakdown-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.breakdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}
.breakdown-label {
    color: #64748b;
    font-weight: 500;
}
.breakdown-val {
    color: #0f172a;
    font-weight: 650;
}
.text-success {
    color: #16a34a !important;
}
.breakdown-divider {
    height: 1px;
    background: #eef2f6;
    margin: 4px 0;
}
.breakdown-item.total-item {
    padding-top: 4px;
}
.breakdown-item.total-item .breakdown-label {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}
.grand-val {
    font-size: 24px;
    font-weight: 850;
    color: #0f172a;
    letter-spacing: -0.6px;
}

/* Checkout Button */
.cart-checkout-btn {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #267bff 0%, #1565e6 100%);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(38, 123, 255, 0.28);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.cart-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(38, 123, 255, 0.38);
    background: linear-gradient(135deg, #1e72f0 0%, #0d5ad4 100%);
    color: #ffffff !important;
}
.cart-checkout-btn:active {
    transform: translateY(0);
}

/* Security & Trust Guarantee Footer */
.cart-summary-trust {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.trust-badge-line {
    font-size: 12px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
}
.payment-methods-icons img {
    max-width: 210px;
    height: auto;
    opacity: 0.85;
    margin: 0 auto;
}

/* ==========================================================================
   EMPTY CART STATE
   ========================================================================== */

.cart-empty-state {
    padding: 60px 16px 80px;
    text-align: center;
}
.cart-empty-card {
    max-width: 520px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 52px 36px;
    border: 1px solid #eef2f6;
    box-shadow: 0 20px 45px -10px rgba(16, 40, 61, 0.07);
}
.cart-empty-orbit {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(38, 123, 255, 0.12) 0%, rgba(38, 123, 255, 0.03) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 1px solid rgba(38, 123, 255, 0.2);
}
.cart-empty-icon {
    font-size: 40px;
    color: var(--blue, #267bff);
}
.cart-empty-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}
.cart-empty-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 28px;
}
.cart-empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.cart-empty-btn-primary {
    background: var(--blue, #267bff);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(38, 123, 255, 0.28);
    transition: all 0.2s ease;
}
.cart-empty-btn-primary:hover {
    background: #1565e6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(38, 123, 255, 0.36);
    color: #ffffff;
}
.cart-empty-btn-secondary {
    background: #f1f5f9;
    color: #334155;
    font-size: 14px;
    font-weight: 650;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.cart-empty-btn-secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* ==========================================================================
   CART RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1080px) {
    .cart-layout-grid {
        grid-template-columns: 1fr 340px;
        gap: 20px;
    }
    .cart-table-head,
    .cart-item-row {
        grid-template-columns: 76px 1fr 90px 130px 90px 40px;
        padding: 16px 18px;
    }
}

@media (max-width: 960px) {
    .cart-layout-grid {
        grid-template-columns: 1fr;
    }
    .cart-summary-card {
        position: static;
        margin-top: 24px;
    }
    .cart-trust-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .cart-table-head {
        display: none;
    }
    .cart-item-row {
        grid-template-columns: 74px 1fr auto;
        grid-template-areas: 
            "thumb info action"
            "thumb stepper total";
        gap: 12px 14px;
        padding: 16px;
    }
    .cart-item-thumb-col {
        grid-area: thumb;
        align-self: start;
    }
    .cart-item-info-col {
        grid-area: info;
        padding-right: 0;
    }
    .cart-item-action-col {
        grid-area: action;
        align-self: start;
        justify-self: end;
    }
    .cart-item-price-col {
        display: none;
    }
    .cart-item-mobile-pricing {
        display: block;
        margin-top: 4px;
        font-size: 13px;
        color: #64748b;
    }
    .mobile-unit-price strong {
        color: #334155;
    }
    .cart-item-qty-col {
        grid-area: stepper;
        justify-content: flex-start;
    }
    .cart-item-total-col {
        grid-area: total;
        text-align: right;
        justify-self: end;
        align-self: center;
    }
    .cart-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .cart-card-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* ==========================================================================
   CATEGORY PRODUCTS PAGE MODERN REDESIGN
   ========================================================================== */
.category-page-wrap {
    background: #f8fafc;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* 1. HERO SECTION & BREADCRUMBS */
.category-hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 65%, #0f172a 100%);
    color: #ffffff;
    padding: 36px 0 44px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
}

.category-hero-section::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(38, 123, 255, 0.28) 0%, rgba(38, 123, 255, 0) 70%);
    pointer-events: none;
}

.category-hero-section::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.category-breadcrumb-nav {
    margin-bottom: 22px;
}

.category-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.category-breadcrumbs .breadcrumb-item a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: color 0.18s ease;
}

.category-breadcrumbs .breadcrumb-item a:hover {
    color: #60a5fa;
}

.category-breadcrumbs .breadcrumb-separator {
    color: #475569;
    font-size: 10px;
    display: flex;
    align-items: center;
}

.category-breadcrumbs .breadcrumb-item.active {
    color: #f1f5f9;
    font-weight: 600;
}

.category-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.category-hero-text {
    max-width: 680px;
}

.category-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(38, 123, 255, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #93c5fd;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.category-hero-title {
    font-size: clamp(28px, 3.8vw, 42px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 12px;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.5px;
}

.category-hero-description {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
}

.category-hero-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: #e2e8f0;
}

.hero-badge i {
    color: #38bdf8;
}

.category-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-image-backdrop {
    position: absolute;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(38, 123, 255, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(16px);
}

.category-hero-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}

/* 2. TOOLBAR SECTION */
.category-toolbar-section {
    padding: 20px 0;
}

.category-toolbar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.toolbar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.mobile-filter-trigger-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease;
}

.mobile-filter-trigger-btn:hover {
    background: #1e293b;
}

.filter-count-badge {
    background: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.results-count-text {
    font-size: 14px;
    color: #64748b;
}

.results-count-text strong {
    color: #0f172a;
    font-weight: 700;
}

.active-filter-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.filter-chip button {
    background: none;
    border: none;
    color: #1d4ed8;
    padding: 0;
    font-size: 11px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.filter-chip button:hover {
    opacity: 1;
}

.clear-all-filters-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px;
    transition: color 0.15s;
}

.clear-all-filters-btn:hover {
    color: #b91c1c;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.category-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-sort-dropdown {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    outline: none;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.category-sort-dropdown:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.category-view-toggle {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.view-toggle-btn {
    background: transparent;
    border: none;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.view-toggle-btn:hover {
    color: #0f172a;
}

.view-toggle-btn.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.08);
}

/* 3. MAIN SECTION 2-COLUMN LAYOUT */
.category-main-section {
    padding-bottom: 40px;
}

.category-layout-grid {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 28px;
    align-items: start;
}

/* 4. SIDEBAR STYLING */
.category-sidebar-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 992px) {
    .category-sidebar-aside {
        position: sticky;
        top: 100px;
        align-self: start;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 transparent;
        padding-right: 4px;
    }

    .category-sidebar-aside::-webkit-scrollbar {
        width: 5px;
    }

    .category-sidebar-aside::-webkit-scrollbar-track {
        background: transparent;
    }

    .category-sidebar-aside::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }
}

.sidebar-drawer-header,
.sidebar-drawer-footer {
    display: none;
}

.sidebar-drawer-backdrop {
    display: none;
}

.filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.filter-card-header {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.filter-card-title i {
    color: #2563eb;
    font-size: 13px;
}

.filter-count-label {
    font-size: 11px;
    font-weight: 700;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 8px;
    border-radius: 999px;
}

.filter-card-body {
    padding: 16px 18px;
}

/* Categories Tree Navigation */
.category-tree-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-tree-item {
    display: flex;
    flex-direction: column;
}

.category-tree-link-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.category-tree-link-wrap:hover {
    background: #f8fafc;
}

.category-tree-link-wrap.is-active-cat {
    background: #eff6ff;
}

.category-tree-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #334155;
    font-size: 13.5px;
    font-weight: 500;
    flex: 1;
    min-width: 0;
}

.category-tree-link-wrap.is-active-cat .category-tree-link {
    color: #2563eb;
    font-weight: 700;
}

.cat-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.category-tree-link-wrap.is-active-cat .cat-bullet,
.category-tree-link-wrap:hover .cat-bullet {
    background: #2563eb;
    transform: scale(1.3);
}

.cat-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-toggle-children-btn {
    background: none;
    border: none;
    color: #94a3b8;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: transform 0.2s ease, color 0.15s ease;
}

.cat-toggle-children-btn:hover {
    color: #0f172a;
}

.category-tree-item.expanded .cat-toggle-children-btn i {
    transform: rotate(180deg);
}

.category-sub-tree {
    list-style: none;
    padding: 4px 0 4px 18px;
    margin: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
}

.category-tree-item.expanded .category-sub-tree {
    display: flex;
}

.category-sub-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 6px;
    color: #64748b;
    font-size: 12.5px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.sub-chevron {
    font-size: 9px;
    color: #cbd5e1;
}

.category-sub-link:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.category-sub-item.is-active-cat .category-sub-link {
    color: #2563eb;
    font-weight: 700;
    background: #eff6ff;
}

.category-sub-item.is-active-cat .sub-chevron {
    color: #2563eb;
}

/* Price Range Filter */
.price-input-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.price-input-group {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 6px;
    flex: 1;
    min-width: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.price-input-group:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.price-currency {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-right: 2px;
    user-select: none;
}

.price-number-input {
    width: 100%;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 7px 0;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    outline: none;
}

.price-sep {
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 600;
    flex-shrink: 0;
    user-select: none;
}

.price-apply-btn {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.18s ease, transform 0.1s ease;
}

.price-apply-btn:hover {
    background: #1d4ed8;
}

.price-apply-btn:active {
    transform: scale(0.96);
}

.price-preset-chips,
.quick-price-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.preset-chip,
.price-preset-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
}

.preset-chip:hover,
.price-preset-chip:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
}

.preset-chip.active,
.preset-chip.is-selected,
.price-preset-chip.active,
.price-preset-chip.is-selected {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    font-weight: 700;
}

/* Brand Filter */
.brand-search-filter-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 7px 10px;
    margin-bottom: 12px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.brand-search-filter-wrap:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
    background: #ffffff;
}

.brand-search-filter-wrap i {
    font-size: 12px;
    color: #94a3b8;
}

.brand-search-filter-wrap input {
    border: none;
    background: transparent;
    font-size: 12.5px;
    color: #1e293b;
    outline: none;
    width: 100%;
}

.brand-checkbox-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 230px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 4px;
}

.brand-checkbox-list::-webkit-scrollbar {
    width: 4px;
}

.brand-checkbox-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.brand-check-label {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
    user-select: none;
}

.brand-check-label:hover {
    background: #f8fafc;
}

.brand-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-checkmark {
    width: 17px;
    height: 17px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
    background: #ffffff;
}

.custom-checkmark i {
    font-size: 10px;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.15s ease;
}

.brand-checkbox:checked ~ .custom-checkmark {
    background: #2563eb;
    border-color: #2563eb;
}

.brand-checkbox:checked ~ .custom-checkmark i {
    opacity: 1;
    transform: scale(1);
}

.brand-name-text {
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}

.brand-checkbox:checked ~ .brand-name-text {
    color: #2563eb;
    font-weight: 700;
}

/* Sidebar Promo Banner / Card */
.sidebar-promo-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 22px 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.promo-card-glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(38, 123, 255, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.promo-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.25;
}

.promo-text {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 14px;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2563eb;
    color: #ffffff;
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.18s ease;
}

.promo-btn:hover {
    background: #1d4ed8;
}

.sidebar-promo-banner img {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sidebar-actions-wrap {
    padding-top: 4px;
}

.sidebar-reset-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.sidebar-reset-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
}

/* 5. PRODUCTS GRID STYLING */
.category-products-content {
    min-width: 0;
}

.category-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.category-products-grid.compact-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}

/* Product Card */
.cat-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    position: relative;
}

.cat-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.card-media-wrapper {
    position: relative;
    background: #f8fafc;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 210px;
    overflow: hidden;
}

.compact-grid .card-media-wrapper {
    height: 175px;
    padding: 12px;
}

.card-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-card-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cat-product-card:hover .product-card-img {
    transform: scale(1.06);
}

.card-badge-stack {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.product-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.badge-discount {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.badge-new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.badge-trending {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.badge-out-stock {
    background: #64748b;
    color: #ffffff;
}

.cat-wish-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.18s ease;
}

.cat-wish-btn:hover {
    background: #ffffff;
    color: #ef4444;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.cat-wish-btn.is-saved {
    color: #ef4444;
    background: #ffffff;
}

/* Card Content */
.card-content-wrapper {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.compact-grid .card-content-wrapper {
    padding: 12px;
}

.card-category-tag {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.card-product-title {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
    min-height: 38px;
}

.compact-grid .card-product-title {
    font-size: 13.5px;
    min-height: 34px;
}

.card-product-title a {
    color: #0f172a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.card-product-title a:hover {
    color: #2563eb;
}

.card-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.star-rating-icons {
    display: inline-flex;
    gap: 2px;
    font-size: 12px;
}

.star-rating-icons i.filled {
    color: #f59e0b;
}

.star-rating-icons i.empty {
    color: #cbd5e1;
}

.rating-text {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.card-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 14px;
}

.price-current {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.compact-grid .price-current {
    font-size: 15px;
}

.price-original {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
}

.card-actions-row {
    margin-top: auto;
}

.card-add-cart-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.compact-grid .card-add-cart-btn {
    padding: 8px 10px;
    font-size: 12px;
}

.card-add-cart-btn:hover:not(:disabled) {
    background: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.card-add-cart-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

/* 6. PAGINATION STYLING */
.category-pagination-wrapper {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

.category-pagination-wrapper nav {
    display: inline-flex;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.category-pagination-wrapper .pagination {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
}

.category-pagination-wrapper .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: none;
    background: transparent;
    transition: all 0.15s ease;
}

.category-pagination-wrapper .page-item .page-link:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.category-pagination-wrapper .page-item.active .page-link {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.category-pagination-wrapper .page-item.disabled .page-link {
    color: #cbd5e1;
    pointer-events: none;
}

/* 7. EMPTY STATE */
.category-empty-state {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 60px 24px;
    text-align: center;
    max-width: 560px;
    margin: 20px auto;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.empty-state-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.empty-state-desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.empty-state-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.18s ease;
}

.empty-btn.btn-primary {
    background: #0f172a;
    color: #ffffff;
}

.empty-btn.btn-primary:hover {
    background: #2563eb;
}

.empty-btn.btn-secondary {
    background: #f1f5f9;
    color: #334155;
}

.empty-btn.btn-secondary:hover {
    background: #e2e8f0;
}

/* 8. RESPONSIVE BREAKPOINTS */
@media (max-width: 991px) {
    .category-layout-grid {
        grid-template-columns: 1fr;
    }

    .mobile-filter-trigger-btn {
        display: inline-flex;
    }

    /* Off-canvas Filter Drawer */
    .category-sidebar-aside {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 320px;
        max-width: 85vw;
        background: #ffffff;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        gap: 0;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    }

    .category-sidebar-aside.is-open {
        transform: translateX(0);
    }

    .sidebar-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        border-bottom: 1px solid #e2e8f0;
        background: #fafbfc;
    }

    .drawer-title-wrap {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #0f172a;
    }

    .drawer-title-wrap h3 {
        font-size: 16px;
        font-weight: 700;
    }

    .close-drawer-btn {
        background: none;
        border: none;
        color: #64748b;
        font-size: 18px;
        cursor: pointer;
        padding: 4px;
        transition: color 0.15s;
    }

    .close-drawer-btn:hover {
        color: #0f172a;
    }

    .sidebar-scrollable-content {
        flex: 1;
        overflow-y: auto;
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .sidebar-drawer-footer {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
        border-top: 1px solid #e2e8f0;
        background: #ffffff;
    }

    .drawer-clear-btn {
        flex: 1;
        background: #f1f5f9;
        border: none;
        color: #475569;
        padding: 12px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 13.5px;
        cursor: pointer;
    }

    .drawer-apply-btn {
        flex: 2;
        background: #2563eb;
        border: none;
        color: #ffffff;
        padding: 12px;
        border-radius: 10px;
        font-weight: 700;
        font-size: 13.5px;
        cursor: pointer;
    }

    .sidebar-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1040;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    .sidebar-drawer-backdrop.is-active {
        opacity: 1;
        pointer-events: auto;
    }

    body.drawer-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .category-hero-section {
        padding: 26px 0 32px;
    }

    .category-hero-content {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 20px;
    }

    .category-hero-visual {
        align-self: center;
    }

    .category-hero-img {
        width: 110px;
        height: 110px;
    }

    .category-toolbar-card {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        gap: 12px;
    }

    .toolbar-left,
    .toolbar-right {
        justify-content: space-between;
        width: 100%;
    }

    .category-sort-dropdown {
        flex: 1;
    }

    .category-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .card-media-wrapper {
        height: 160px;
        padding: 10px;
    }

    .card-content-wrapper {
        padding: 12px;
    }

    .card-product-title {
        font-size: 13px;
        min-height: 32px;
    }

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

    .card-add-cart-btn {
        padding: 8px 10px;
        font-size: 12px;
    }
}

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

    .category-hero-title {
        font-size: 24px;
    }

    .category-hero-badges {
        gap: 8px;
    }

    .hero-badge {
        padding: 4px 10px;
        font-size: 11.5px;
    }

    .toolbar-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .mobile-filter-trigger-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   MODERN CHECKOUT PAGE SYSTEM
   ========================================================================== */
.checkout-page-wrap {
    background: #f8fafc;
    min-height: 100vh;
    padding-bottom: 70px;
}

/* 1. Checkout Hero & Progress Stepper */
.checkout-hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 65%, #0f172a 100%);
    color: #ffffff;
    padding: 32px 0 38px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}

.checkout-hero-section::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(38, 123, 255, 0.25) 0%, rgba(38, 123, 255, 0) 70%);
    pointer-events: none;
}

.checkout-breadcrumb-nav {
    margin-bottom: 20px;
}

.checkout-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.checkout-breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.18s;
}

.checkout-breadcrumbs a:hover {
    color: #60a5fa;
}

.checkout-breadcrumbs .breadcrumb-separator {
    color: #475569;
    font-size: 10px;
}

.checkout-breadcrumbs .active {
    color: #f1f5f9;
    font-weight: 600;
}

.checkout-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.checkout-hero-title-wrap h1 {
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 800;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    color: #ffffff;
}

.checkout-security-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
}

/* Stepper */
.checkout-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 18px;
    border-radius: 999px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
}

.step-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.step-item.is-done {
    color: #38bdf8;
}

.step-item.is-done .step-circle {
    background: #0284c7;
    color: #ffffff;
}

.step-item.is-active {
    color: #ffffff;
}

.step-item.is-active .step-circle {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

.step-divider {
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

/* 2. Main 2-Column Section */
.checkout-main-section {
    padding: 36px 0;
}

.checkout-layout-grid {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 32px;
    align-items: start;
}

/* 3. Section Cards */
.checkout-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    margin-bottom: 24px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.checkout-card:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.checkout-card-header {
    padding: 18px 24px;
    background: #fafbfc;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.card-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-step-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.header-title-wrap h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    line-height: 1.25;
}

.header-title-wrap p {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 2px;
}

.btn-add-address-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    padding: 7px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.btn-add-address-pill:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.checkout-card-body {
    padding: 24px;
}

/* 4. Address Cards Grid */
.checkout-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.checkout-address-card {
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.checkout-address-card:hover {
    border-color: #93c5fd;
    background: #fafcff;
}

.checkout-address-card.is-selected {
    border-color: #2563eb;
    background: #f8fbff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.address-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
}

.address-recipient-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-recipient-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}

.address-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.address-edit-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.address-edit-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.address-card-body-text {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 14px;
    flex: 1;
}

.address-card-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.address-card-radio-label input[type="radio"] {
    accent-color: #2563eb;
    width: 17px;
    height: 17px;
}

.checkout-address-empty {
    text-align: center;
    padding: 36px 20px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    margin-bottom: 20px;
}

.empty-address-icon {
    font-size: 32px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.checkout-address-empty h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.checkout-address-empty p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

/* Same as billing toggle card */
.same-as-billing-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    gap: 12px;
}

.same-as-billing-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.same-as-billing-label input[type="checkbox"] {
    accent-color: #2563eb;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* 5. Shipping Methods Grid */
.checkout-shipping-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(298px, 1fr));
    gap: 16px;
}

.checkout-shipping-card {
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.checkout-shipping-card:hover {
    border-color: #93c5fd;
    background: #fafcff;
}

.checkout-shipping-card.is-selected {
    border-color: #2563eb;
    background: #f8fbff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.shipping-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.shipping-carrier-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shipping-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.shipping-name-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}

.shipping-charge-pill {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 8px;
}

.checkout-shipping-card.is-selected .shipping-charge-pill {
    background: #dbeafe;
    color: #1d4ed8;
}

.shipping-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.shipping-select-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
}

.shipping-select-label input[type="radio"] {
    accent-color: #2563eb;
    width: 17px;
    height: 17px;
}

/* 6. Payment Methods Grid */
.checkout-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.payment-method-card {
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 14px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    position: relative;
}

.payment-method-card:hover {
    border-color: #93c5fd;
    background: #fafcff;
}

.payment-method-card.is-selected {
    border-color: #2563eb;
    background: #f8fbff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.payment-logo-container {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.payment-logo-container img {
    max-height: 32px;
    max-width: 110px;
    object-fit: contain;
}

.payment-logo-fallback {
    font-size: 24px;
    color: #2563eb;
}

.payment-title-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.25;
}

.payment-selected-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.payment-method-card.is-selected .payment-selected-indicator {
    display: flex;
}

/* Order comments */
.order-comment-wrapper {
    margin-top: 14px;
}

.order-comment-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.modern-textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1e293b;
    background: #fafbfc;
    resize: vertical;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.modern-textarea:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* 7. Right Column Sticky Order Summary */
.checkout-summary-card {
    position: sticky;
    top: 110px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.summary-card-header {
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.summary-card-header h3 {
    font-size: 16.5px;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.summary-items-badge {
    font-size: 12px;
    font-weight: 700;
    background: #e2e8f0;
    color: #475569;
    padding: 3px 9px;
    border-radius: 999px;
}

.summary-card-body {
    padding: 22px;
}

/* Scrollable items preview */
.summary-products-list {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.summary-products-list::-webkit-scrollbar {
    width: 4px;
}

.summary-products-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.summary-product-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #f1f5f9;
}

.summary-product-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.summary-product-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.summary-product-details {
    flex: 1;
    min-width: 0;
}

.summary-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.summary-product-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}

.summary-qty-pill {
    font-size: 11.5px;
    color: #64748b;
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 4px;
}

.summary-product-price {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    flex-shrink: 0;
}

/* Totals Breakdown */
.summary-totals-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.summary-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #64748b;
}

.summary-total-row .val {
    font-weight: 600;
    color: #1e293b;
    font-family: 'Outfit', sans-serif;
}

.summary-total-row.discount-row {
    color: #059669;
}

.summary-total-row.discount-row .val {
    color: #059669;
}

.summary-grand-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-top: 2px solid #e2e8f0;
    padding-top: 14px;
    margin-top: 4px;
}

.summary-grand-total-row .label {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
}

.summary-grand-total-row .val {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* Terms Checkbox */
.checkout-terms-wrapper {
    margin-bottom: 18px;
}

.terms-check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    color: #475569;
    cursor: pointer;
    line-height: 1.45;
}

.terms-check-label input[type="checkbox"] {
    accent-color: #2563eb;
    width: 17px;
    height: 17px;
    margin-top: 2px;
    flex-shrink: 0;
}

.terms-check-label a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 600;
}

.terms-check-label a:hover {
    color: #1d4ed8;
}

/* Primary CTA Button */
.checkout-place-order-btn {
    width: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
    transition: all 0.2s ease;
}

.checkout-place-order-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.checkout-place-order-btn:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

/* Trust Badges */
.checkout-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
}

.trust-badge-item i {
    color: #2563eb;
    font-size: 13px;
}

/* 8. Modern Stripe Elements Modal */
.modern-stripe-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modern-stripe-modal-backdrop.show {
    display: flex;
    opacity: 1;
}

.modern-stripe-modal-card {
    background: #ffffff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.modern-stripe-modal-backdrop.show .modern-stripe-modal-card {
    transform: scale(1);
}

.modal-stripe-header {
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-stripe-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-stripe-header button {
    background: none;
    border: none;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
}

.modal-stripe-body {
    padding: 24px;
}

.stripe-element-container {
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 14px 16px;
    background: #fafbfc;
    margin-bottom: 20px;
}

.stripe-pay-btn {
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.18s;
}

.stripe-pay-btn:hover {
    background: #1d4ed8;
}

/* 9. Responsive Adjustments */
@media (max-width: 991px) {
    .checkout-layout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary-card {
        position: static;
    }

    .checkout-stepper {
        display: none;
    }
}

@media (max-width: 600px) {
    .checkout-hero-section {
        padding: 24px 0 28px;
    }

    .checkout-address-grid,
    .checkout-shipping-grid,
    .checkout-payment-grid {
        grid-template-columns: 1fr;
    }

    .checkout-card-header {
        padding: 14px 18px;
    }

    .checkout-card-body {
        padding: 18px;
    }

    .checkout-trust-badges {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MINIMAL STOREFRONT THEME ADDRESS POPUP
   ========================================================================== */
.swal2-container.swal2-backdrop-show {
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.swal2-popup.modern-address-swal {
    width: 580px !important;
    max-width: 94vw !important;
    padding: 24px 28px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    text-align: left !important;
}

.swal2-popup.modern-address-swal .swal2-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    padding: 0 0 14px 0 !important;
    margin: 0 0 16px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: left !important;
    display: block !important;
}

.swal2-popup.modern-address-swal .swal2-html-container {
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    overflow: visible !important;
}

.swal-theme-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.swal-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.swal-form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 5px;
}

.swal-form-group label {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 4px;
}

.swal-form-group label .text-danger {
    color: #ef4444;
}

.swal-form-control {
    width: 100% !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 9px 12px !important;
    font-size: 13.5px !important;
    color: #0f172a !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
    margin: 0 !important;
}

.swal-form-control:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

.swal-form-control::placeholder {
    color: #94a3b8 !important;
    font-size: 13px !important;
}

select.swal-form-control {
    cursor: pointer;
}

textarea.swal-form-control {
    resize: vertical;
    min-height: 48px;
}

.swal2-popup.modern-address-swal .swal2-close {
    font-size: 24px !important;
    color: #94a3b8 !important;
    top: 16px !important;
    right: 18px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: color 0.15s ease !important;
}

.swal2-popup.modern-address-swal .swal2-close:hover {
    color: #0f172a !important;
}

.swal2-popup.modern-address-swal .swal2-actions {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    padding: 16px 0 0 0 !important;
    margin: 16px 0 0 0 !important;
    border-top: 1px solid #f1f5f9 !important;
    width: 100% !important;
}

.swal2-popup.modern-address-swal .swal2-confirm {
    background: #2563eb !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    padding: 9px 20px !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

.swal2-popup.modern-address-swal .swal2-confirm:hover {
    background: #1d4ed8 !important;
}

.swal2-popup.modern-address-swal .swal2-cancel {
    background: #f8fafc !important;
    color: #475569 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    padding: 9px 18px !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

.swal2-popup.modern-address-swal .swal2-cancel:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.swal2-popup.modern-address-swal .swal2-validation-message {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    margin: 12px 0 0 0 !important;
    text-align: left !important;
}

@media (max-width: 540px) {
    .swal2-popup.modern-address-swal {
        padding: 18px !important;
    }
    .swal-form-row {
        grid-template-columns: 1fr;
    }
    .swal2-popup.modern-address-swal .swal2-actions {
        flex-direction: column-reverse;
    }
    .swal2-popup.modern-address-swal .swal2-confirm,
    .swal2-popup.modern-address-swal .swal2-cancel {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ==========================================================================
   USER DASHBOARD & CUSTOMER PORTAL
   ========================================================================== */
.user-dashboard-modern-page {
    background-color: #f8fafc !important;
}

/* Dashboard Hero Banner */
.dashboard-hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 38px 0 42px 0;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.dashboard-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.dashboard-breadcrumbs a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease;
}

.dashboard-breadcrumbs a:hover {
    color: #ffffff;
}

.dashboard-breadcrumbs .separator {
    font-size: 10px;
    opacity: 0.6;
}

.dashboard-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-hero-subtitle {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
    max-width: 600px;
}

.dashboard-hero-badge-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.dashboard-status-badge i {
    color: #60a5fa;
}

/* Dashboard Container Layout */
.dashboard-content-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px 64px 24px;
}

/* KPI Stat Cards Grid */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.dashboard-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.dashboard-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-icon-blue {
    background: #eff6ff;
    color: #2563eb;
}

.stat-icon-rose {
    background: #fff1f2;
    color: #e11d48;
}

.stat-icon-amber {
    background: #fffbeb;
    color: #d97706;
}

.stat-icon-emerald {
    background: #ecfdf5;
    color: #059669;
}

.dashboard-stat-info {
    display: flex;
    flex-direction: column;
}

.dashboard-stat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 3px;
}

.dashboard-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

/* Two Column Layout: Sidebar + Main Content */
.dashboard-main-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    align-items: start;
}

/* Sidebar Card */
.dashboard-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.05);
    position: sticky;
    top: 90px;
}

.dashboard-user-profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.dashboard-avatar-container {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 14px;
}

.dashboard-avatar-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.dashboard-avatar-fallback {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.dashboard-user-name {
    font-family: 'Outfit', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.dashboard-user-email {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 10px 0;
    word-break: break-all;
}

.dashboard-customer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    background: #eff6ff;
    color: #2563eb;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #dbeafe;
}

/* Sidebar Navigation Links */
.dashboard-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dashboard-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: 12px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.18s ease;
    border: 1px solid transparent;
}

.dashboard-nav-item a i {
    width: 20px;
    font-size: 15px;
    text-align: center;
    color: #94a3b8;
    transition: color 0.18s ease;
}

.dashboard-nav-item a:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #e2e8f0;
}

.dashboard-nav-item a:hover i {
    color: #2563eb;
}

.dashboard-nav-item a.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 600;
    border-color: #bfdbfe;
}

.dashboard-nav-item a.active i {
    color: #2563eb;
}

.dashboard-nav-item.logout-item a {
    color: #ef4444;
}

.dashboard-nav-item.logout-item a i {
    color: #ef4444;
}

.dashboard-nav-item.logout-item a:hover {
    background: #fef2f2;
    border-color: #fecaca;
}

/* Main Content Cards */
.dashboard-main-area {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.dashboard-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.dashboard-card-header {
    padding: 22px 28px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.dashboard-card-title-group h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card-title-group p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.dashboard-card-body {
    padding: 28px;
}

/* Profile Form Elements */
.profile-avatar-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.avatar-preview-wrap {
    position: relative;
    width: 84px;
    height: 84px;
}

.avatar-preview-img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.avatar-preview-fallback {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-upload-meta h4 {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.avatar-upload-meta p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0 0 12px 0;
}

.custom-file-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    color: #334155;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.custom-file-upload-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.custom-file-upload-btn input[type="file"] {
    display: none;
}

.selected-filename {
    font-size: 12px;
    color: #2563eb;
    margin-left: 10px;
    font-weight: 500;
}

.dashboard-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.dashboard-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dashboard-field-group label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.dashboard-field-group label .req-star {
    color: #ef4444;
}

.dashboard-form-input {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9px;
    padding: 10px 14px;
    font-size: 14px;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dashboard-form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.dashboard-form-input:disabled,
.dashboard-form-input[readonly] {
    background: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
}

.dashboard-submit-row {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.btn-dashboard-save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 11px 24px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-dashboard-save:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-dashboard-save:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Recent Orders Table */
.dashboard-table-wrap {
    overflow-x: auto;
}

.dashboard-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}

.dashboard-orders-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 12px 18px;
    border-bottom: 1px solid #e2e8f0;
}

.dashboard-orders-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.dashboard-orders-table tr:hover td {
    background: #f8fafc;
}

.order-id-badge {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
}

.order-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-completed, .status-delivered {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.status-processing, .status-shipped {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.status-pending {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.status-cancelled, .status-failed {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.dashboard-table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-table-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
}

.btn-table-action:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.btn-table-action.primary {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.btn-table-action.primary:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Empty State */
.dashboard-empty-state {
    padding: 48px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
}

.dashboard-empty-state h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.dashboard-empty-state p {
    font-size: 13.5px;
    color: #64748b;
    max-width: 400px;
    margin: 0 0 18px 0;
}

.btn-empty-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease;
}

.btn-empty-action:hover {
    background: #1d4ed8;
    color: #ffffff;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dashboard-main-grid {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 860px) {
    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-sidebar-card {
        position: static;
    }
    .dashboard-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-hero-title {
        font-size: 22px;
    }
    .dashboard-card-body {
        padding: 20px 16px;
    }
    .dashboard-card-header {
        padding: 16px;
    }
    .profile-avatar-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   Modern Orders List Page Styling
   ========================================================================== */
.orders-main-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Filter & Search Toolbar */
.orders-toolbar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.04);
}

.orders-filter-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.order-filter-tab {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.order-filter-tab:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.order-filter-tab.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.order-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
}

.order-filter-tab.active .order-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.orders-search-wrapper {
    position: relative;
    min-width: 240px;
    flex: 1;
    max-width: 320px;
}

.orders-search-input {
    width: 100%;
    padding: 8px 34px 8px 36px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    font-size: 13.5px;
    color: #0f172a;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.orders-search-input:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.orders-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #94a3b8;
    pointer-events: none;
}

.orders-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 13px;
    padding: 4px;
    display: none;
}

.orders-search-clear:hover {
    color: #0f172a;
}

/* Orders Cards Container */
.orders-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Modern Order Card */
.modern-order-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.modern-order-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 26px -4px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

/* Order Card Header */
.order-card-header {
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.order-meta-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.order-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #bfdbfe;
}

.order-date-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.order-total-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

/* Status variants */
.status-badge-delivered, .status-badge-completed {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.status-badge-processing, .status-badge-shipped {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.status-badge-pending {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.status-badge-cancelled, .status-badge-denied, .status-badge-refunded {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Order Products List */
.order-card-items {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f8fafc;
}

.order-product-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.order-product-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.order-product-thumb {
    width: 54px;
    height: 54px;
    border-radius: 9px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    object-fit: cover;
    flex-shrink: 0;
}

.order-product-thumb-fallback {
    width: 54px;
    height: 54px;
    border-radius: 9px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 20px;
    flex-shrink: 0;
}

.order-product-details {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.order-product-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.order-product-title:hover {
    color: #2563eb;
}

.order-product-qty-badge {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.order-product-price {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
    white-space: nowrap;
}

/* Order Card Footer */
.order-card-footer {
    padding: 12px 20px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.order-footer-meta {
    font-size: 12.5px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-order-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-order-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.btn-order-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2563eb;
    border: 1px solid #2563eb;
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
    transition: all 0.15s ease;
}

.btn-order-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* No Search Results */
.orders-no-results {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 44px 20px;
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
}

.orders-no-results.visible {
    display: flex;
}

.orders-no-results-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}

.orders-no-results h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.orders-no-results p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px 0;
}

.btn-reset-filters {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-reset-filters:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .orders-toolbar-card {
        flex-direction: column;
        align-items: stretch;
    }
    .orders-search-wrapper {
        max-width: 100%;
    }
    .order-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .order-card-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .order-footer-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .btn-order-outline, .btn-order-primary {
        justify-content: center;
    }
}

/* ==========================================================================
   Modern Wishlist Page Styling
   ========================================================================== */
.wishlist-main-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wishlist-toolbar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.04);
}

.wishlist-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wishlist-toolbar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.wishlist-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    background: #eff6ff;
    color: #2563eb;
    padding: 3px 10px;
    border-radius: 14px;
    border: 1px solid #bfdbfe;
}

.wishlist-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.wishlist-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, opacity 0.3s ease;
}

.wishlist-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -4px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.wishlist-product-card.is-removing {
    opacity: 0;
    transform: scale(0.94);
    pointer-events: none;
}

.wishlist-media-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wishlist-media-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-thumb-img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wishlist-product-card:hover .wishlist-thumb-img {
    transform: scale(1.06);
}

.wishlist-badge-stack {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.wishlist-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.15s ease;
    z-index: 3;
}

.wishlist-remove-btn:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    transform: scale(1.1);
}

.wishlist-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.wishlist-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wishlist-model-tag {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.wishlist-stock-pill {
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stock-in {
    color: #059669;
}

.stock-out {
    color: #dc2626;
}

.wishlist-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wishlist-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.wishlist-item-title a:hover {
    color: #2563eb;
}

.wishlist-pricing-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

.wishlist-current-price {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.wishlist-original-price {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
}

.wishlist-card-footer {
    padding: 12px 16px 16px 16px;
    display: flex;
    gap: 8px;
}

.btn-wishlist-buy {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #2563eb;
    color: #ffffff;
    border: 1px solid #2563eb;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
    transition: all 0.15s ease;
}

.btn-wishlist-buy:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.btn-wishlist-card-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #ef4444;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s ease;
}

.btn-wishlist-card-remove:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

@media (max-width: 576px) {
    .wishlist-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Modern Manage Addresses Page Styling
   ========================================================================== */
.address-main-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-toolbar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.04);
}

.address-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.address-toolbar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.address-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    background: #eff6ff;
    color: #2563eb;
    padding: 3px 10px;
    border-radius: 14px;
    border: 1px solid #bfdbfe;
}

.btn-add-address-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #2563eb;
    color: #ffffff;
    border: 1px solid #2563eb;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
    transition: all 0.15s ease;
}

.btn-add-address-trigger:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.address-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Modern Address Card */
.modern-address-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, opacity 0.3s ease;
}

.modern-address-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -4px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.modern-address-card.is-removing {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.address-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 14px;
}

.address-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    background: #f8fafc;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.address-action-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-address-icon-action {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12.5px;
    transition: all 0.15s ease;
}

.btn-address-icon-action:hover {
    background: #ffffff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.btn-address-icon-action.delete:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.address-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.address-recipient-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.address-recipient-title i {
    color: #2563eb;
    font-size: 14px;
}

.address-text-lines {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.address-details-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12.5px;
    color: #64748b;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.address-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.address-meta-row i {
    width: 14px;
    color: #94a3b8;
}

.address-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f8fafc;
}

.btn-address-link-edit {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    transition: color 0.15s ease;
}

.btn-address-link-edit:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Add New Address Card (Dashed) */
.address-add-card {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    min-height: 220px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.address-add-card:hover {
    border-color: #2563eb;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -4px rgba(37, 99, 235, 0.08);
}

.add-card-plus-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.address-add-card:hover .add-card-plus-circle {
    background: #2563eb;
    color: #ffffff;
    transform: scale(1.08);
}

.add-card-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.add-card-text {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    max-width: 220px;
}

@media (max-width: 640px) {
    .address-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FORGOT PASSWORD MODAL & MULTI-STEP RECOVERY
   ========================================================================== */
.auth-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.auth-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.auth-modal-dialog {
    width: 100%;
    max-width: 520px;
    transform: scale(0.94) translateY(12px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal-backdrop.is-open .auth-modal-dialog {
    transform: scale(1) translateY(0);
}

.auth-modal-content {
    background: #ffffff;
    border-radius: 22px;
    padding: 36px 32px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.3);
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.auth-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.auth-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 22px;
}

.auth-modal-icon-badge {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px auto;
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.15);
}

.auth-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.auth-modal-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Step Wizard Progress Bar */
.recovery-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 6px 0;
}

.page-steps-indicator {
    margin-bottom: 24px;
}

.recovery-step-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.recovery-step-item .step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    transition: all 0.2s ease;
}

.recovery-step-item.active {
    color: #2563eb;
}

.recovery-step-item.active .step-num {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.recovery-step-item.completed {
    color: #10b981;
}

.recovery-step-item.completed .step-num {
    background: #10b981;
    color: #ffffff;
}

.recovery-step-divider {
    width: 28px;
    height: 2px;
    background: #e2e8f0;
    transition: background 0.25s ease;
}

.recovery-step-divider.active {
    background: #2563eb;
}

/* 6-Digit OTP Box Grid */
.otp-boxes-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 14px 0;
}

.otp-single-box {
    width: 48px;
    height: 54px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: all 0.2s ease;
}

.otp-single-box:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

.otp-resend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #64748b;
    margin: 6px 0 20px 0;
}

.auth-inline-link {
    color: #2563eb;
    font-weight: 600;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

.auth-inline-link:hover {
    color: #1d4ed8;
}

.auth-help-text {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 8px 0;
}

.auth-modal-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.auth-modal-back-btn {
    background: none;
    border: none;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}

.auth-modal-back-btn:hover {
    color: #0f172a;
}

/* ==========================================================================
   CONTACT US REDESIGN
   ========================================================================== */
.contact-page-wrapper {
    padding: 36px 0 80px 0;
    background: #f8fafc;
    min-height: 80vh;
}

.contact-breadcrumb {
    margin-bottom: 28px;
}

/* Contact Hero */
.contact-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px auto;
}

.contact-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    animation: contactPulse 2s infinite;
}

@keyframes contactPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.contact-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 12px;
}

.contact-hero-subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 28px auto;
}

.contact-trust-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.metric-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.metric-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.metric-info strong {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.metric-info span {
    font-size: 12px;
    color: #64748b;
}

/* 4-Card Contact Channels Grid */
.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.channel-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px 22px;
    box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.channel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.12);
    border-color: #93c5fd;
}

.channel-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.channel-icon.phone-icon {
    background: #eff6ff;
    color: #2563eb;
}

.channel-icon.email-icon {
    background: #fdf4ff;
    color: #c026d3;
}

.channel-icon.whatsapp-icon {
    background: #f0fdf4;
    color: #16a34a;
}

.channel-icon.map-icon {
    background: #fff7ed;
    color: #ea580c;
}

.channel-title {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.channel-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 12px 0;
    flex: 1;
}

.channel-value-wrap {
    margin-bottom: 16px;
}

.channel-main-link {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.15s ease;
}

.channel-main-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.channel-online-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #15803d;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
}

.channel-online-badge .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
}

.channel-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.channel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.channel-btn.primary-btn {
    background: #f1f5f9;
    color: #1e293b;
    flex: 1;
}

.channel-btn.primary-btn:hover {
    background: #2563eb;
    color: #ffffff;
}

.channel-btn.copy-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    width: 38px;
    height: 38px;
    padding: 0;
    flex-shrink: 0;
}

.channel-btn.copy-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.channel-btn.whatsapp-btn {
    background: #16a34a;
    color: #ffffff;
    flex: 1;
}

.channel-btn.whatsapp-btn:hover {
    background: #15803d;
}

/* Contact Main Grid (Form + Sidebar) */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 32px;
    margin-bottom: 60px;
}

.contact-form-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.04);
}

.contact-form-header {
    margin-bottom: 22px;
}

.contact-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-section-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

.text-primary-icon {
    color: #2563eb;
}

/* Topic Selector Pills */
.contact-topic-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.topic-pill-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    width: 100%;
    margin-bottom: 2px;
}

.topic-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 7px 13px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.topic-pill:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
}

.topic-pill.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-alert {
    margin-bottom: 22px;
}

.alert-errors-list {
    margin: 6px 0 0 16px;
    padding: 0;
    font-size: 13px;
}

.contact-textarea {
    resize: vertical;
    min-height: 120px;
    padding: 14px 16px 14px 44px;
}

.textarea-wrap {
    align-items: flex-start;
}

.textarea-icon {
    margin-top: 14px;
}

.char-count {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.contact-submit-btn {
    width: 100%;
    margin-top: 12px;
    height: 50px;
    font-size: 15px;
}

.contact-submit-btn .btn-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Sidebar Cards */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.03);
}

.sidebar-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.sidebar-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sidebar-icon-wrap.shield-wrap {
    background: #f0fdf4;
    color: #16a34a;
}

.sidebar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.sidebar-subtitle {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #f1f5f9;
}

.hours-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-list .day {
    color: #475569;
    font-weight: 500;
}

.hours-list .time {
    color: #0f172a;
    font-weight: 600;
}

.hours-list .time.closed {
    color: #e11d48;
    font-size: 12.5px;
}

.promise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promise-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #334155;
    line-height: 1.45;
}

.promise-list li i {
    color: #16a34a;
    margin-top: 3px;
}

.cta-card {
    background: linear-gradient(135deg, #0f2742 0%, #16365c 100%);
    color: #ffffff;
    border: none;
}

.cta-icon-pill {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.cta-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.cta-text {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.cta-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #22c55e;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-whatsapp-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    color: #ffffff;
}

/* FAQ Accordion Section */
.contact-faq-section {
    margin-bottom: 60px;
}

.faq-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 36px auto;
}

.faq-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.faq-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.faq-section-subtitle {
    font-size: 14.5px;
    color: #64748b;
    margin: 0;
}

.faq-accordion-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 880px;
    margin: 0 auto;
}

.faq-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-card:hover {
    border-color: #cbd5e1;
}

.faq-card.active {
    border-color: #2563eb;
    box-shadow: 0 8px 24px -6px rgba(37, 99, 235, 0.08);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    cursor: pointer;
}

.faq-question {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
}

.faq-toggle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.faq-card.active .faq-toggle-icon {
    transform: rotate(180deg);
    background: #eff6ff;
    color: #2563eb;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 24px 22px 24px;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
}

.faq-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
}

/* Location & Map Section */
.contact-location-section {
    margin-bottom: 20px;
}

.location-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.04);
}

.location-map-wrap iframe {
    display: block;
}

.location-details-bar {
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.location-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.location-meta-item i {
    color: #2563eb;
    font-size: 20px;
}

.location-meta-item strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 14.5px;
    color: #0f172a;
}

.location-meta-item span {
    font-size: 13px;
    color: #64748b;
}

.location-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.location-directions-btn:hover {
    background: #2563eb;
    color: #ffffff;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .contact-channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-channels-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-container {
        padding: 24px 20px;
    }
    .location-details-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .location-directions-btn {
        width: 100%;
        justify-content: center;
    }
    .otp-single-box {
        width: 40px;
        height: 48px;
        font-size: 18px;
    }
}

/* ================================================================
   PROFESSIONAL TRACK ORDER SYSTEM STYLES
   ================================================================ */

.track-order-page {
    background-color: #f8fafc;
    min-height: 85vh;
}

/* HERO SECTION */
.track-hero-section {
    background: linear-gradient(135deg, #09111e 0%, #0e1c31 50%, #172a45 100%);
    color: #ffffff;
    padding: 44px 0 70px;
    position: relative;
    overflow: hidden;
}

.track-hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.track-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.track-hero-inner .breadcrumb-trail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 16px;
}

.track-hero-inner .breadcrumb-trail a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.track-hero-inner .breadcrumb-trail a:hover {
    color: #60a5fa;
}

.track-hero-inner .bc-sep {
    color: #64748b;
}

.track-hero-inner .bc-current {
    color: #ffffff;
    font-weight: 500;
}

.track-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #93c5fd;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.track-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
}

.track-hero-subtitle {
    font-size: 15px;
    color: #94a3b8;
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

/* TRACKING SEARCH CARD */
.track-search-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25);
    text-align: left;
    color: #0f172a;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.track-inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: flex-end;
}

.track-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.track-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.track-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.track-input-box input {
    width: 100%;
    height: 48px;
    padding: 10px 14px 10px 40px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.track-input-box input:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    outline: none;
}

.track-field-hint {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 5px;
}

.track-submit-btn {
    height: 48px;
    padding: 0 26px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.track-submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* QUICK STRIP */
.track-quick-strip {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-orders-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.quick-chips-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-order-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-order-chip:hover,
.quick-order-chip.active {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.chip-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

/* ALERTS */
.track-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 24px;
}

.track-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.track-alert-error .alert-icon {
    font-size: 20px;
    color: #ef4444;
}

.track-alert-error h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.track-alert-error p {
    font-size: 13px;
    color: #b91c1c;
    margin: 0;
}

/* RESULTS SECTION */
.track-content-section {
    padding: 40px 0 60px;
}

.track-dashboard-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 1. SHIPMENT OVERVIEW BAR */
.shipment-overview-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.overview-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.overview-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.order-badge-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.order-id-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-id-val {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

.status-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-delivered {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.status-delivered .status-pulse-dot {
    background: #10b981;
}

.status-processing, .status-pending {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}
.status-processing .status-pulse-dot, .status-pending .status-pulse-dot {
    background: #f59e0b;
    animation: pulse-ring 1.8s infinite;
}

.status-shipped {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.status-shipped .status-pulse-dot {
    background: #2563eb;
    animation: pulse-ring 1.8s infinite;
}

.status-canceled, .status-refunded, .status-denied {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.status-canceled .status-pulse-dot {
    background: #ef4444;
}

.order-placed-time {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.overview-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-value {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.meta-value.font-mono {
    font-family: monospace;
    letter-spacing: 0.5px;
}

.meta-value.text-accent {
    color: #2563eb;
}

.tracking-code-copy {
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-tracking-btn {
    background: #f1f5f9;
    border: none;
    color: #64748b;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
}

.copy-tracking-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* 2. 5-STAGE VISUAL STEPPER */
.tracking-stepper-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.stepper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.stepper-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.stepper-completion {
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 4px 12px;
    border-radius: 20px;
}

.stepper-track-wrap {
    position: relative;
    padding: 10px 0 20px;
}

.stepper-progress-bg {
    position: absolute;
    top: 34px;
    left: 40px;
    right: 40px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    z-index: 1;
}

.stepper-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #10b981);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stepper-nodes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
    z-index: 2;
}

.stepper-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.node-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 4px #ffffff;
}

.stepper-node.completed .node-circle {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.stepper-node.active .node-circle {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.node-pulse-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid rgba(37, 99, 235, 0.6);
    border-radius: 50%;
    animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.node-info {
    margin-top: 14px;
    padding: 0 8px;
}

.node-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}

.node-desc {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 4px;
    line-height: 1.3;
}

.node-date {
    font-size: 10px;
    font-weight: 600;
    color: #2563eb;
}

.stepper-node:not(.completed):not(.active) .node-title {
    color: #94a3b8;
}

.stepper-node:not(.completed):not(.active) .node-date {
    color: #94a3b8;
}

/* 3. TWO-COLUMN DETAILS GRID */
.track-details-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: flex-start;
}

.details-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.details-card.mb-4 {
    margin-bottom: 24px;
}

.card-head {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.checkpoint-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #065f46;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.checkpoint-live-pill .pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse-ring 1.5s infinite;
}

.badge-item-count {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 20px;
}

.card-body {
    padding: 24px;
}

.card-body.p-0 {
    padding: 0;
}

/* CHECKPOINT TIMELINE */
.checkpoint-timeline {
    position: relative;
}

.checkpoint-item {
    display: flex;
    gap: 16px;
    position: relative;
}

.cp-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cp-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 2;
    flex-shrink: 0;
}

.state-success .cp-dot {
    background: #10b981;
    color: #ffffff;
}

.state-primary .cp-dot {
    background: #2563eb;
    color: #ffffff;
}

.state-neutral .cp-dot {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.state-danger .cp-dot {
    background: #ef4444;
    color: #ffffff;
}

.cp-line {
    width: 2px;
    flex-grow: 1;
    background: #e2e8f0;
    margin: 4px 0;
    min-height: 40px;
}

.cp-content {
    flex-grow: 1;
    padding-bottom: 24px;
}

.cp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}

.cp-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.is-latest .cp-title {
    color: #2563eb;
}

.cp-time {
    font-size: 12px;
    color: #64748b;
}

.cp-location {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.cp-desc {
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
    margin: 0;
}

/* PACKAGE ITEMS LIST */
.package-items-list {
    divide-y: 1px solid #f1f5f9;
}

.package-item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
}

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

.item-img-box {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
}

.item-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.img-placeholder {
    color: #94a3b8;
    font-size: 20px;
}

.item-details {
    flex-grow: 1;
}

.item-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.4;
}

.item-meta {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-sep {
    color: #cbd5e1;
}

.item-total-col {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
    white-space: nowrap;
}

/* ADDRESS & PRICING SUMMARY */
.address-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.recipient-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recipient-address {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 8px;
}

.recipient-contact {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.order-pricing-summary {
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #64748b;
}

.summary-line.text-discount {
    color: #10b981;
}

.summary-line.summary-total {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
    margin-top: 4px;
}

.payment-method-note {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ACTIONS */
.order-actions-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn-download-invoice {
    background: #0f172a;
    color: #ffffff;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-download-invoice:hover {
    background: #2563eb;
    color: #ffffff;
}

.btn-track-support {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-track-support:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* EMPTY GUIDE */
.track-empty-guide {
    margin-top: 20px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.guide-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.guide-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.guide-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.guide-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.guide-card code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #2563eb;
}

/* FAQ CARD */
.track-faq-card {
    margin-top: 36px;
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    border: 1px solid #e2e8f0;
}

.faq-card-header {
    margin-bottom: 24px;
}

.faq-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.faq-card-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

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

.faq-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.faq-item a {
    color: #2563eb;
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .track-inputs-grid {
        grid-template-columns: 1fr;
    }
    .track-submit-btn {
        width: 100%;
        justify-content: center;
    }
    .overview-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stepper-nodes {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stepper-progress-bg {
        display: none;
    }
    .stepper-node {
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }
    .node-info {
        margin-top: 0;
        padding: 0;
    }
    .track-details-grid {
        grid-template-columns: 1fr;
    }
    .guide-grid {
        grid-template-columns: 1fr;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   MODERN PRODUCT DETAILS STYLES
   ================================================================ */

.product-modern-page {
    background-color: #f8fafc;
    min-height: 100vh;
    padding-bottom: 70px;
}

/* BREADCRUMB */
.product-breadcrumb-wrap {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
}

.product-breadcrumb-wrap .breadcrumb-trail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.product-breadcrumb-wrap .breadcrumb-trail a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}

.product-breadcrumb-wrap .breadcrumb-trail a:hover {
    color: #2563eb;
}

.product-breadcrumb-wrap .bc-sep {
    color: #cbd5e1;
}

.product-breadcrumb-wrap .bc-current {
    color: #0f172a;
    font-weight: 600;
}

/* MAIN SHOWCASE */
.product-showcase-section {
    padding: 36px 0;
}

.product-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 36px;
    align-items: flex-start;
}

/* 1. GALLERY */
.product-gallery-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    padding: 24px;
    position: sticky;
    top: 90px;
}

.main-image-viewport {
    position: relative;
    width: 100%;
    height: 420px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.gallery-badge-sale {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gallery-wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: all 0.2s ease;
}

.gallery-wishlist-btn:hover {
    color: #ef4444;
    transform: scale(1.08);
}

.main-image-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.main-image-viewport:hover .main-image-inner img {
    transform: scale(1.05);
}

/* THUMBNAILS STRIP */
.product-thumbs-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.thumb-btn {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.thumb-btn img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumb-btn:hover {
    border-color: #93c5fd;
}

.thumb-btn.is-active {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background: #ffffff;
}

/* SHARE BAR */
.product-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.share-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-buttons-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.share-wa { background: #ecfdf5; color: #10b981; }
.share-wa:hover { background: #10b981; color: #ffffff; }

.share-tw { background: #f1f5f9; color: #0f172a; }
.share-tw:hover { background: #0f172a; color: #ffffff; }

.share-fb { background: #eff6ff; color: #2563eb; }
.share-fb:hover { background: #2563eb; color: #ffffff; }

.share-copy { background: #f1f5f9; color: #475569; }
.share-copy:hover { background: #e2e8f0; color: #0f172a; }

/* 2. PRODUCT DETAILS & PURCHASING CONSOLE */
.product-details-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    padding: 32px;
}

.product-badges-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.product-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.product-category-badge:hover {
    background: #dbeafe;
    color: #1e40af;
}

.product-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.product-brand-badge:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.product-sku-badge {
    font-size: 12px;
    color: #64748b;
    margin-left: auto;
}

.product-modern-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
    line-height: 1.35;
    margin: 0 0 12px 0;
    font-family: 'Outfit', sans-serif;
}

/* RATING ROW */
.product-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.rating-stars-wrap {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 14px;
}

.star-filled {
    color: #f59e0b;
}

.star-empty {
    color: #cbd5e1;
}

.rating-score-val {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.rating-divider {
    color: #cbd5e1;
}

.rating-reviews-link {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

.rating-reviews-link:hover {
    text-decoration: underline;
}

/* PRICING BOX */
.product-pricing-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 22px;
}

.pricing-main-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
}

.product-price-current {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
}

.product-price-original {
    font-size: 18px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.product-discount-pill {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.stock-status-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.stock-pill.in-stock {
    color: #059669;
}

.stock-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse-ring 1.8s infinite;
}

.stock-pill.out-of-stock {
    color: #dc2626;
}

.tax-inclusive-label {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* SHORT DESC */
.product-short-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 22px;
}

/* OPTIONS */
.product-options-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
    padding: 16px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.option-group-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-group-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.opt-label-name {
    font-weight: 700;
    color: #1e293b;
}

.opt-selected-preview {
    font-weight: 600;
    color: #2563eb;
}

/* COLOR SWATCHES */
.option-colors-grid {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-swatch-label {
    position: relative;
    cursor: pointer;
}

.color-radio-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.color-swatch-pill {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #e2e8f0;
    transition: all 0.2s ease;
}

.swatch-check-icon {
    font-size: 12px;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.2s ease;
}

.color-radio-input:checked + .color-swatch-pill {
    box-shadow: 0 0 0 3px #2563eb, 0 0 0 5px rgba(37, 99, 235, 0.25);
}

.color-radio-input:checked + .color-swatch-pill .swatch-check-icon {
    opacity: 1;
    transform: scale(1);
}

/* PILL OPTIONS */
.option-pills-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.option-pill-label {
    position: relative;
    cursor: pointer;
}

.option-pill-label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s ease;
}

.option-pill-label input:checked + .option-pill-btn {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.pill-add-price {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.option-select-box select {
    width: 100%;
    max-width: 320px;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    color: #0f172a;
    background: #ffffff;
}

/* ACTIONS BAR */
.product-actions-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.quantity-stepper-box {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    height: 50px;
    padding: 2px 6px;
}

.stepper-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: #f8fafc;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stepper-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.quantity-stepper-box input {
    width: 44px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    outline: none;
}

.buttons-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.btn-product-add-cart {
    flex: 1;
    height: 50px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.btn-product-add-cart:hover:not(:disabled) {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-product-add-cart:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-product-buy-now {
    flex: 1;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-product-buy-now:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-product-buy-now:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
}

/* TRUST STRIP */
.product-trust-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #f1f5f9;
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
}

.trust-card i {
    font-size: 20px;
    color: #2563eb;
    flex-shrink: 0;
}

.trust-card strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.trust-card small {
    font-size: 11px;
    color: #64748b;
}

/* TABS SECTION */
.product-tabs-section {
    padding-top: 20px;
}

.product-tabs-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    padding: 30px;
}

.modern-tabs-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0;
}

.tab-nav-btn {
    padding: 14px 22px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -2px;
}

.tab-nav-btn:hover {
    color: #2563eb;
}

.tab-nav-btn.is-active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 700;
}

.tab-panes-wrapper {
    padding-top: 28px;
}

.modern-tab-pane {
    display: none;
}

.modern-tab-pane.is-active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SPECIFICATIONS TABLE */
.specs-groups-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spec-group-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
}

.spec-group-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 10px 14px;
    font-size: 13px;
}

.spec-label {
    width: 35%;
    font-weight: 600;
    color: #475569;
}

.spec-val {
    color: #0f172a;
}

/* REVIEWS GRID */
.reviews-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 36px;
}

.reviews-score-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.overall-rating-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.rating-big-num {
    font-size: 48px;
    font-weight: 900;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.rating-stars-gold {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 16px;
    color: #f59e0b;
    margin-bottom: 8px;
}

.rating-stars-gold .empty {
    color: #cbd5e1;
}

.rating-count-sub {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.rating-distribution-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dist-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.dist-stars-label {
    width: 40px;
    font-weight: 600;
    color: #475569;
}

.dist-bar-track {
    flex-grow: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.dist-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 6px;
}

.dist-pct {
    width: 36px;
    text-align: right;
    font-weight: 600;
    color: #64748b;
}

/* WRITE REVIEW CARD */
.reviews-write-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
}

.write-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.star-picker-group {
    margin-bottom: 16px;
}

.star-picker-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.star-rating-radio-select {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 6px;
}

.star-rating-radio-select input {
    display: none;
}

.star-rating-radio-select label {
    font-size: 22px;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating-radio-select label:hover,
.star-rating-radio-select label:hover ~ label,
.star-rating-radio-select input:checked ~ label {
    color: #f59e0b;
}

.review-textarea-group {
    margin-bottom: 16px;
}

.review-textarea-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.review-textarea-group textarea {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    color: #0f172a;
    resize: vertical;
}

.btn-submit-review {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit-review:hover {
    background: #1d4ed8;
}

.review-login-prompt {
    text-align: center;
    padding: 30px 20px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
}

.review-login-prompt i {
    font-size: 28px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.review-login-prompt h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.review-login-prompt p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.btn-login-to-review {
    background: #0f172a;
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.btn-login-to-review:hover {
    background: #2563eb;
}

/* REVIEWS LIST */
.reviews-items-container {
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.reviews-list-heading {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.modern-review-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.review-author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

.review-content-body {
    flex-grow: 1;
}

.review-header-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.verified-buyer-badge {
    font-size: 11px;
    color: #059669;
    font-weight: 600;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.review-post-date {
    font-size: 12px;
    color: #94a3b8;
    margin-left: auto;
}

.review-stars-row {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    margin-bottom: 8px;
}

.review-text-paragraph {
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
    margin: 0;
}

.no-reviews-state {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}

.no-reviews-state i {
    font-size: 36px;
    margin-bottom: 12px;
}

.no-reviews-state h4 {
    font-size: 16px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 4px;
}

.no-reviews-state p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* RELATED PRODUCTS */
.related-products-section {
    padding: 48px 0;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 991px) {
    .product-hero-layout {
        grid-template-columns: 1fr;
    }
    .reviews-dashboard-grid {
        grid-template-columns: 1fr;
    }
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .product-details-card {
        padding: 20px;
    }
    .main-image-viewport {
        height: 300px;
    }
    .product-modern-title {
        font-size: 22px;
    }
    .product-price-current {
        font-size: 26px;
    }
    .product-trust-strip {
        grid-template-columns: 1fr;
    }
    .product-actions-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .quantity-stepper-box {
        width: 100%;
        justify-content: space-between;
    }
    .buttons-cta-group {
        width: 100%;
        flex-direction: column;
    }
    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   MODERN ALL CATEGORIES STYLES
   ================================================================ */

.all-categories-page {
    background-color: #f8fafc;
    min-height: 100vh;
}

/* HERO SECTION */
.all-cat-hero-section {
    background: linear-gradient(135deg, #09111e 0%, #0e1c31 50%, #172a45 100%);
    color: #ffffff;
    padding: 44px 0 60px;
    position: relative;
    overflow: hidden;
}

.all-cat-hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.all-cat-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.all-cat-hero-inner .breadcrumb-trail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 16px;
}

.all-cat-hero-inner .breadcrumb-trail a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.all-cat-hero-inner .breadcrumb-trail a:hover {
    color: #60a5fa;
}

.all-cat-hero-inner .bc-sep {
    color: #64748b;
}

.all-cat-hero-inner .bc-current {
    color: #ffffff;
    font-weight: 500;
}

.all-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #93c5fd;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.all-cat-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
}

.all-cat-hero-subtitle {
    font-size: 15px;
    color: #94a3b8;
    max-width: 620px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* LIVE SEARCH BAR */
.all-cat-search-wrap {
    position: relative;
    max-width: 540px;
    margin: 0 auto 32px;
}

.all-cat-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
}

.all-cat-search-wrap input {
    width: 100%;
    height: 52px;
    padding: 10px 48px 10px 48px;
    background: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    color: #0f172a;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.all-cat-search-wrap input:focus {
    box-shadow: 0 12px 35px -5px rgba(37, 99, 235, 0.35), 0 0 0 3px rgba(96, 165, 250, 0.4);
    outline: none;
}

.search-clear-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.search-clear-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* STATS ROW */
.all-cat-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cat-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #cbd5e1;
}

.cat-stat-item i {
    color: #60a5fa;
    font-size: 14px;
}

/* CATEGORIES GRID SECTION */
.all-cat-grid-section {
    padding: 36px 0 70px;
}

.categories-toolbar {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cat-results-count {
    font-size: 14px;
    color: #64748b;
}

.all-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* CATEGORY CARD */
.modern-category-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.1);
    border-color: #93c5fd;
}

.category-card-media {
    position: relative;
    height: 190px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.category-card-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.modern-category-card:hover .category-card-media img {
    transform: scale(1.08) rotate(-1deg);
}

.cat-placeholder-media {
    color: #cbd5e1;
    font-size: 48px;
}

.cat-card-count-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.category-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.category-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.category-card-title a:hover {
    color: #2563eb;
}

.category-sub-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.sub-category-pill {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sub-category-pill:hover {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.sub-category-pill.more-pill {
    background: transparent;
    border-style: dashed;
    color: #64748b;
}

.category-card-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 18px 0;
}

.category-card-footer {
    margin-top: auto;
}

.cat-explore-btn {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.cat-explore-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* EMPTY STATE */
.cat-empty-search-state {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px dashed #cbd5e1;
    margin-top: 20px;
}

.cat-empty-search-state i {
    font-size: 40px;
    color: #94a3b8;
    margin-bottom: 14px;
}

.cat-empty-search-state h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.cat-empty-search-state p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

.btn-reset-cat-search {
    background: #0f172a;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-reset-cat-search:hover {
    background: #2563eb;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .all-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .all-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .all-cat-hero-title {
        font-size: 30px;
    }
}

@media (max-width: 540px) {
    .all-categories-grid {
        grid-template-columns: 1fr;
    }
    .all-cat-stats-row {
        gap: 12px;
    }
}

/* ==========================================================================
   Modern Change Password & Security Styling
   ========================================================================== */
.change-password-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.change-pwd-form-wrap {
    max-width: 680px;
}

.forgot-pwd-link {
    font-size: 12.5px;
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
    margin-top: 4px;
    display: inline-block;
}
.forgot-pwd-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Password Strength Meter */
.pwd-strength-container {
    margin-top: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
}

.pwd-strength-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12.5px;
    font-weight: 600;
}

.pwd-strength-label {
    color: #64748b;
}

.pwd-strength-score {
    font-weight: 700;
    text-transform: capitalize;
    color: #94a3b8;
    transition: color 0.25s ease;
}

.pwd-strength-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    height: 6px;
    margin-bottom: 12px;
}

.strength-bar-seg {
    height: 100%;
    background: #e2e8f0;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/* Requirements Checklist */
.pwd-req-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 576px) {
    .pwd-req-list {
        grid-template-columns: 1fr;
    }
}

.pwd-req-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.pwd-req-item i {
    font-size: 11px;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.pwd-req-item.met {
    color: #10b981;
    font-weight: 500;
}

.pwd-req-item.met i {
    background: #d1fae5;
    color: #059669;
}

/* Password Match Feedback */
.pwd-match-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
    transition: all 0.2s ease;
}
.pwd-match-badge.matched {
    color: #059669;
}
.pwd-match-badge.mismatched {
    color: #ef4444;
}

/* Cancel Button */
.btn-dashboard-cancel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    color: #475569;
    border: 1.5px solid #cbd5e1;
    padding: 11px 20px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-dashboard-cancel:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

/* Security Tips Card */
.security-guidance-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
}

.security-guidance-title {
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px 0;
}

.security-guidance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 991px) {
    .security-guidance-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.security-tip-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.security-tip-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.security-tip-content h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.security-tip-content p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* Alerts */
.dashboard-alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 13.5px;
    line-height: 1.45;
}

.dashboard-alert-banner.alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.dashboard-alert-banner.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-banner-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ==========================================================================
   ORDER DETAILS MODERN PAGE ENHANCEMENTS
   ========================================================================== */

/* Hero Actions */
.btn-modern-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-modern-invoice {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-modern-invoice:hover {
    background: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-modern-print {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.btn-modern-print:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-modern-back {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-modern-back:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Order Details Cards */
.order-details-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    margin-bottom: 24px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.order-details-card:hover {
    border-color: #cbd5e1;
}

/* Stepper Card */
.order-stepper-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.order-stepper-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.order-stepper-date {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-timeline-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 36px 30px;
    position: relative;
}

.order-timeline-stepper .step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    min-width: 90px;
}

.order-timeline-stepper .step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 10px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.order-timeline-stepper .step-item.is-completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.order-timeline-stepper .step-item.is-active:not(.is-completed) .step-circle {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
    transform: scale(1.08);
}

.order-timeline-stepper .step-line {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    margin: 0 -10px 32px;
    position: relative;
    z-index: 1;
    transition: background 0.3s ease;
}

.order-timeline-stepper .step-line.is-completed {
    background: #10b981;
}

.order-timeline-stepper .step-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    margin-bottom: 2px;
}

.order-timeline-stepper .step-sub {
    font-size: 12px;
    color: #64748b;
    display: block;
}

.order-cancelled-alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #fff1f2;
    border-left: 4px solid #f43f5e;
}

.order-cancelled-alert .alert-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffe4e6;
    color: #e11d48;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.order-cancelled-alert h4 {
    font-size: 16px;
    font-weight: 700;
    color: #9f1239;
    margin: 0 0 4px 0;
}

.order-cancelled-alert p {
    font-size: 13.5px;
    color: #be123c;
    margin: 0;
}

/* Quick Highlights Grid */
.order-details-quick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.order-quick-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.order-quick-box:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.quick-box-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.quick-box-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    display: block;
    margin-bottom: 2px;
}

.quick-box-value {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-box-value.highlight-price {
    color: #2563eb;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
}

/* Products Table */
.order-card-section-title {
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-card-section-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.badge-item-count {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.order-items-table-wrap {
    overflow-x: auto;
}

.order-modern-table {
    width: 100%;
    border-collapse: collapse;
}

.order-modern-table thead th {
    background: #f8fafc;
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.order-modern-table tbody td {
    padding: 18px 24px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
}

.order-modern-table tbody tr:last-child td {
    border-bottom: none;
}

.product-item-cell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-item-thumb-link {
    flex-shrink: 0;
}

.product-item-thumb {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: block;
}

.product-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    display: block;
    line-height: 1.35;
    margin-bottom: 4px;
    transition: color 0.15s ease;
}

.product-item-name:hover {
    color: #2563eb;
}

.product-item-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.option-pill {
    display: inline-block;
    font-size: 11.5px;
    background: #f1f5f9;
    color: #475569;
    padding: 2px 8px;
    border-radius: 6px;
}

.qty-pill {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
    color: #334155;
}

.price-val, .total-val {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
}

.total-val {
    font-weight: 700;
    color: #0f172a;
}

.item-actions-cell {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-item-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-buy-again {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.btn-buy-again:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-1px);
}

.btn-rate-product {
    background: #fefce8;
    color: #b45309;
    border: 1px solid #fde68a;
}

.btn-rate-product:hover {
    background: #f59e0b;
    color: #ffffff;
    border-color: #f59e0b;
    transform: translateY(-1px);
}

/* Bottom Grid (Addresses & Summary) */
.order-details-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.order-addresses-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-detail-card .address-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 14px;
}

.address-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.shipping-icon {
    background: #eff6ff;
    color: #2563eb;
}

.billing-icon {
    background: #faf5ff;
    color: #9333ea;
}

.address-card-header h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.address-type-tag {
    font-size: 12px;
    color: #64748b;
    display: block;
}

.address-card-body {
    padding: 18px 20px;
}

.recipient-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.address-lines {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 12px 0;
}

.address-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}

.address-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Summary Card */
.summary-breakdown-card .summary-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.summary-breakdown-card .summary-card-header h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.payment-method-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 4px 10px;
    border-radius: 20px;
}

.summary-breakdown-card .summary-card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-line-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    color: #475569;
}

.summary-line-item .val {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: #1e293b;
}

.summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 6px 0;
}

.summary-total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
}

.summary-total-line .total-label {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.summary-total-line .total-val {
    font-size: 20px;
    font-weight: 800;
    color: #2563eb;
    font-family: 'Outfit', sans-serif;
}

.summary-card-footer {
    padding: 12px 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.secure-checkout-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
}

.secure-checkout-pill i {
    color: #10b981;
}

/* Modern Review Modal Overlay System */
.modern-review-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.modern-review-modal-backdrop.is-active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.modern-review-modal-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.8);
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    transform: scale(0.92) translateY(16px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-review-modal-backdrop.is-active .modern-review-modal-card {
    transform: scale(1) translateY(0);
}

.modern-review-modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.18);
    flex-shrink: 0;
}

.modern-review-modal-header .modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.review-product-name-badge {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    margin-top: 3px;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-close-modal {
    background: #e2e8f0;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-close-modal:hover {
    background: #cbd5e1;
    color: #0f172a;
    transform: scale(1.05);
}

.modern-review-modal-body {
    padding: 24px;
}

.rating-picker-wrap {
    text-align: center;
    padding: 18px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 20px;
}

.rating-guide-label {
    display: block;
    font-size: 13px;
    color: #475569;
    font-weight: 600;
    margin-bottom: 12px;
}

.star-rating-interactive {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.star-rating-interactive .star-btn {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 32px;
    color: #cbd5e1;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.15s ease, color 0.15s ease;
}

.star-rating-interactive .star-btn:hover {
    transform: scale(1.22);
}

.star-rating-interactive .star-btn.active,
.star-rating-interactive .star-btn.hover-active {
    color: #f59e0b;
}

.rating-feedback-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
    padding: 5px 14px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.review-textarea-wrap {
    display: flex;
    flex-direction: column;
}

.review-input-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    display: block;
}

.modern-review-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    resize: vertical;
    min-height: 105px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.modern-review-textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

.modern-review-modal-footer {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.btn-modal-cancel {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-modal-cancel:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.btn-modal-submit {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-modal-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.38);
}

.btn-modal-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Reviewed state for rate button */
.btn-rate-product.is-reviewed {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #15803d !important;
    cursor: default !important;
}

.btn-item-action.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Responsive Rules for Order Details */
@media (max-width: 1024px) {
    .order-details-quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .order-details-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .order-timeline-stepper {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }
    .order-timeline-stepper .step-item {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        text-align: left;
        width: 100%;
    }
    .order-timeline-stepper .step-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .order-timeline-stepper .step-line {
        display: none;
    }
    .order-details-quick-grid {
        grid-template-columns: 1fr 1fr;
    }
    .dashboard-hero-badge-wrap {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 540px) {
    .order-details-quick-grid {
        grid-template-columns: 1fr;
    }
    .item-actions-cell {
        justify-content: flex-start;
        margin-top: 8px;
    }
}

/* Print Styles for Order Details */
@media print {
    /* Hide non-printable storefront elements */
    .shop-topbar,
    .shop-nav,
    .shop-header,
    .shop-header-wrapper,
    .shop-footer,
    .dashboard-breadcrumbs,
    .dashboard-sidebar-column,
    .dashboard-hero-badge-wrap,
    .item-actions-cell,
    .modern-review-modal-backdrop,
    #shop-toast,
    .location-modal-backdrop,
    .back-to-top {
        display: none !important;
    }

    body, html {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 11pt !important;
    }

    .dashboard-hero-section {
        background: none !important;
        padding: 0 0 15px 0 !important;
        border-bottom: 2px solid #0f172a !important;
        color: #000000 !important;
    }

    .dashboard-hero-title,
    .dashboard-hero-subtitle {
        color: #000000 !important;
    }

    .dashboard-content-container {
        padding: 15px 0 !important;
        max-width: 100% !important;
    }

    .dashboard-main-grid {
        display: block !important;
    }

    .dashboard-main-area {
        width: 100% !important;
    }

    .order-details-card {
        box-shadow: none !important;
        border: 1px solid #cbd5e1 !important;
        break-inside: avoid;
        margin-bottom: 16px !important;
        page-break-inside: avoid;
    }

    .order-details-bottom-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }

    .order-modern-table th,
    .order-modern-table td {
        border-bottom: 1px solid #e2e8f0 !important;
        color: #000000 !important;
    }

    .order-stepper-card {
        border: 1px solid #cbd5e1 !important;
    }
}

/* ==========================================================================
   CMS POLICY PAGES (REFUND, PRIVACY, SHIPPING, TERMS)
   ========================================================================== */
.cms-page-wrapper {
    background: #f8fafc;
    padding: 32px 0 80px;
    min-height: 85vh;
}

.cms-breadcrumb {
    margin-bottom: 24px;
}

/* CMS Hero */
.cms-hero {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 36px auto;
}

.cms-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cms-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.cms-hero-subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 680px;
}

/* Policy Metrics / Guarantees Strip */
.cms-guarantees-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.cms-guarantee-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    box-shadow: 0 2px 6px rgba(16, 40, 61, 0.03);
    transition: transform .2s, box-shadow .2s;
}

.cms-guarantee-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 40, 61, 0.08);
}

.cms-guarantee-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.cms-guarantee-info strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
    font-weight: 700;
}

.cms-guarantee-info span {
    font-size: 12px;
    color: #64748b;
}

/* CMS Layout Grid (Sidebar + Main Article) */
.cms-layout-grid {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 36px;
}

/* CMS Sidebar */
.cms-sidebar {
    position: sticky;
    top: 140px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cms-nav-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(16, 40, 61, 0.04);
}

.cms-nav-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #94a3b8;
    margin: 0 0 14px 4px;
}

.cms-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cms-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #334155;
    font-weight: 600;
    font-size: 14px;
    transition: all .2s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.cms-nav-item a:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.cms-nav-item.active a {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.cms-nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #64748b;
    flex-shrink: 0;
    transition: all .2s;
}

.cms-nav-item.active .cms-nav-icon {
    background: #2563eb;
    color: #ffffff;
}

.cms-nav-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cms-nav-text-main {
    line-height: 1.3;
}

.cms-nav-text-sub {
    font-size: 11.5px;
    font-weight: 500;
    color: #94a3b8;
}

.cms-nav-item.active .cms-nav-text-sub {
    color: #60a5fa;
}

.cms-nav-arrow {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.4;
    transition: transform .2s, opacity .2s;
}

.cms-nav-item.active .cms-nav-arrow,
.cms-nav-item a:hover .cms-nav-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Sidebar Help Card */
.cms-help-card {
    background: linear-gradient(135deg, #10283d 0%, #1e3a5f 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(16, 40, 61, 0.18);
    position: relative;
    overflow: hidden;
}

.cms-help-card::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cms-help-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.cms-help-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #ffffff;
}

.cms-help-card p {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 16px;
}

.cms-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #2563eb;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    border: 0;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.cms-help-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Sidebar Print Action */
.cms-print-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    width: 100%;
}

.cms-print-btn:hover {
    background: #f1f5f9;
    color: var(--navy);
    border-color: #94a3b8;
}

/* CMS Article Main Card */
.cms-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(16, 40, 61, 0.04);
    overflow: hidden;
}

.cms-article-header {
    padding: 32px 40px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.cms-article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.cms-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

.cms-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cms-article-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    line-height: 1.3;
}

/* CMS Article Body - Reader Typography */
.cms-article-body {
    padding: 40px;
    font-size: 15.5px;
    line-height: 1.8;
    color: #334155;
    word-break: break-word;
}

.cms-article-body h1,
.cms-article-body h2,
.cms-article-body h3,
.cms-article-body h4 {
    color: var(--navy);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 14px;
    line-height: 1.35;
}

.cms-article-body h1 { font-size: 24px; border-bottom: 2px solid #f1f5f9; padding-bottom: 10px; }
.cms-article-body h2 { font-size: 21px; }
.cms-article-body h3 { font-size: 18.5px; }
.cms-article-body h4 { font-size: 16px; }

.cms-article-body p {
    margin-bottom: 18px;
    color: #334155;
}

.cms-article-body ul,
.cms-article-body ol {
    margin: 0 0 22px 20px;
    padding-left: 10px;
}

.cms-article-body li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.cms-article-body strong {
    color: var(--navy);
    font-weight: 700;
}

.cms-article-body a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .15s;
}

.cms-article-body a:hover {
    color: #1d4ed8;
}

/* Responsive Beautiful Table Styling */
.cms-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
}

.cms-article-body table {
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: none !important;
    background: #ffffff;
}

.cms-article-body th {
    background: #f1f5f9 !important;
    color: var(--navy) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 14px 18px !important;
    text-align: left !important;
    border-bottom: 2px solid #cbd5e1 !important;
    border-right: 1px solid #e2e8f0 !important;
    white-space: nowrap;
}

.cms-article-body th:last-child {
    border-right: none !important;
}

.cms-article-body td {
    padding: 14px 18px !important;
    font-size: 14px !important;
    color: #334155 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    vertical-align: top !important;
    line-height: 1.6 !important;
}

.cms-article-body td:last-child {
    border-right: none !important;
}

.cms-article-body tr:nth-child(even) td {
    background: #f8fafc !important;
}

.cms-article-body tr:last-child td {
    border-bottom: none !important;
}

.cms-article-body tr:hover td {
    background: #eff6ff !important;
}

/* Blockquotes & Notices */
.cms-article-body blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    border-radius: 0 10px 10px 0;
    color: #1e3a8a;
    font-style: normal;
}

/* Article Reassurance Footer */
.cms-article-footer {
    padding: 24px 40px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cms-footer-help-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cms-footer-help-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.cms-footer-help-info strong {
    display: block;
    font-size: 14.5px;
    color: var(--navy);
    font-weight: 700;
}

.cms-footer-help-info span {
    font-size: 12.5px;
    color: #64748b;
}

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

.cms-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}

.cms-btn-outline:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: var(--navy);
}

.cms-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
}

.cms-btn-primary:hover {
    background: #1d4ed8;
    color: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .cms-guarantees-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .cms-layout-grid {
        grid-template-columns: 260px 1fr;
        gap: 24px;
    }
    .cms-article-header,
    .cms-article-body {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .cms-guarantees-bar {
        grid-template-columns: 1fr;
    }
    .cms-layout-grid {
        display: flex;
        flex-direction: column;
    }
    .cms-sidebar {
        position: static;
        width: 100%;
    }
    .cms-article-header,
    .cms-article-body,
    .cms-article-footer {
        padding: 20px;
    }
    .cms-article-heading {
        font-size: 22px;
    }
    .cms-article-body {
        font-size: 14.5px;
    }
}

/* Print Styles */
@media print {
    .cms-sidebar,
    .shop-header,
    .announcement,
    .shop-footer,
    .cms-guarantees-bar,
    .cms-article-footer,
    .back-to-top,
    .cookie-banner,
    .location-modal-backdrop,
    .skip-link,
    .auth-breadcrumb {
        display: none !important;
    }
    .cms-page-wrapper {
        background: #ffffff !important;
        padding: 0 !important;
    }
    .cms-layout-grid {
        display: block !important;
    }
    .cms-article-card {
        border: none !important;
        box-shadow: none !important;
    }
    .cms-article-body {
        padding: 0 !important;
        color: #000000 !important;
    }
}





