/* Frontend Ecommerce CSS */
:root {
    --shop-primary: #0f766e;
    --shop-primary-dark: #115e59;
    --shop-dark: #111827;
    --shop-muted: #6b7280;
    --shop-border: #e5e7eb;
    --shop-bg: #f8fafc;
    --shop-white: #ffffff;
    --shop-danger: #dc2626;
    --shop-warning: #b45309;
    --shop-info: #2563eb;
    --shop-radius: 8px;
    --shop-shadow: 0 18px 40px rgba(15, 23, 42, .18);
    --hero-primary: #667eea;
    --hero-secondary: #764ba2;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--shop-bg);
    color: var(--shop-dark);
    overflow-x: hidden;
}

body.shop-mobile-menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: .2s ease;
}

/* Header */
.shop-topbar {
    background: var(--shop-white);
    border-bottom: 1px solid var(--shop-border);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.shop-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-primary);
    font-weight: 800;
    font-size: 24px;
    text-decoration: none;
    line-height: 1;
}

.shop-brand:hover {
    color: var(--shop-primary);
    text-decoration: none;
}

.shop-brand .brand-image {
    width: auto;
    max-width: 180px;
    height: 55px;
    max-height: 55px;
    object-fit: contain;
    display: block;
}

.shop-header-row {
    gap: 24px;
    flex-wrap: wrap;
}

.shop-search-wrap {
    flex: 1 1 280px;
    max-width: 460px;
    position: relative;
    z-index: 1040;
}

.shop-search-form {
    margin: 0;
}

.shop-search-form .input-group {
    width: 100%;
}

.shop-search-input {
    min-height: 42px;
    border-color: var(--shop-border);
    border-radius: 999px 0 0 999px;
    padding-left: 18px;
}

.shop-search-input:focus {
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .14);
}

.shop-search-btn {
    min-width: 46px;
    min-height: 42px;
    border-radius: 0 999px 999px 0;
    background: var(--shop-primary);
    border-color: var(--shop-primary);
    color: #fff;
}

.shop-search-btn:hover,
.shop-search-btn:focus {
    background: var(--shop-primary-dark);
    border-color: var(--shop-primary-dark);
    color: #fff;
}

.shop-search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: var(--shop-search-dropdown-left, 0);
    width: var(--shop-search-dropdown-width, 100%);
    max-width: calc(100vw - 30px);
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    box-shadow: var(--shop-shadow);
    overflow: hidden;
    z-index: 1050;
}

.shop-search-dropdown[hidden] {
    display: none !important;
}

.shop-search-result-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 12px;
}

.shop-search-result-item {
    min-width: 0;
}

.shop-search-dropdown .shop-card {
    box-shadow: none;
}

.shop-search-dropdown .shop-card img {
    height: 145px;
}

.shop-search-dropdown .shop-card .p-3 {
    padding: 12px !important;
}

.shop-search-dropdown .shop-card a.font-weight-bold {
    font-size: 14px;
    line-height: 1.35;
    min-height: 38px;
    overflow-wrap: anywhere;
}

.shop-search-status {
    color: var(--shop-muted);
    font-size: 14px;
    padding: 18px;
    text-align: center;
}

.shop-search-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    background: #f8fafc;
    border-top: 1px solid var(--shop-border);
}

.is-frontend-loading {
    opacity: .68;
    pointer-events: none;
}

.frontend-field-error {
    color: var(--shop-danger);
    font-size: 12px;
    margin-top: 4px;
}

.shop-nav a {
    color: #374151;
    font-weight: 600;
}

.shop-nav a:hover {
    color: var(--shop-primary);
    text-decoration: none;
}

.shop-header-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.shop-header-social a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--shop-border);
    border-radius: 50%;
    color: var(--shop-muted);
    background: #fff;
}

.shop-header-social a:hover {
    color: var(--shop-primary);
    border-color: rgba(15, 118, 110, .35);
}

.shop-mega-menu {
    position: relative;
}

.shop-mega-trigger {
    display: inline-flex;
    align-items: center;
}

.shop-mega-panel {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    width: min(760px, calc(100vw - 32px));
    max-height: min(70vh, 560px);
    overflow-y: auto;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    box-shadow: var(--shop-shadow);
    padding: 18px;
    z-index: 1060;
    transition: .18s ease;
}

.shop-mega-menu:hover .shop-mega-panel,
.shop-mega-menu:focus-within .shop-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.shop-mega-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--shop-border);
    margin-bottom: 14px;
}

.shop-mega-header strong {
    color: #111827;
    font-size: 16px;
}

.shop-mega-header a {
    color: var(--shop-primary);
    font-size: 13px;
}

.shop-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.shop-mega-column {
    min-width: 0;
    padding: 10px;
    border-radius: var(--shop-radius);
    background: #f8fafc;
}

.shop-mega-category,
.shop-mega-subcategory {
    display: block;
    overflow-wrap: anywhere;
}

.shop-mega-category {
    color: #111827 !important;
    font-weight: 800 !important;
    margin-bottom: 7px;
}

.shop-mega-subcategory {
    color: var(--shop-muted) !important;
    font-size: 13px;
    font-weight: 500 !important;
    padding: 3px 0;
}

.shop-mega-subcategory:hover {
    color: var(--shop-primary) !important;
}

.shop-mega-empty {
    grid-column: 1 / -1;
    color: var(--shop-muted);
    padding: 8px;
}

.shop-mobile-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--shop-border);
    border-radius: 999px;
    background: var(--shop-white);
    color: var(--shop-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.shop-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .46);
    z-index: 1070;
}

.shop-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100vh;
    background: var(--shop-white);
    z-index: 1080;
    box-shadow: -18px 0 40px rgba(15, 23, 42, .22);
    overflow-y: auto;
}

.shop-mobile-overlay[hidden],
.shop-mobile-menu[hidden],
.shop-mobile-categories[hidden] {
    display: none !important;
}

.shop-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid var(--shop-border);
    font-weight: 800;
}

.shop-mobile-menu-header button,
.shop-mobile-menu-links button {
    border: 0;
    background: transparent;
    color: inherit;
}

.shop-mobile-menu-header button {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #f3f4f6;
}

.shop-mobile-menu-links {
    display: grid;
    gap: 4px;
    padding: 12px;
}

.shop-mobile-menu-links a,
.shop-mobile-menu-links button {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 11px 12px;
    border-radius: var(--shop-radius);
    color: #111827;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
}

.shop-mobile-menu-links a:hover,
.shop-mobile-menu-links button:hover {
    color: var(--shop-primary);
    background: #ecfdf5;
    text-decoration: none;
}

.shop-mobile-menu-links i:first-child {
    width: 20px;
    text-align: center;
    color: var(--shop-primary);
}

.shop-mobile-menu-links strong {
    margin-left: auto;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--shop-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.shop-mobile-categories {
    display: grid;
    gap: 2px;
    padding: 4px 0 8px 32px;
}

.shop-mobile-categories a,
.shop-mobile-categories span {
    min-height: 34px;
    padding: 7px 10px;
    color: var(--shop-muted);
    font-size: 14px;
    font-weight: 600;
}

.shop-mobile-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0 10px;
}

.shop-mobile-social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--shop-border);
    color: var(--shop-dark);
    background: #fff;
}

.shop-mobile-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1065;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 64px;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    background: var(--shop-white);
    border-top: 1px solid var(--shop-border);
    box-shadow: 0 -10px 28px rgba(15, 23, 42, .12);
}

.shop-mobile-footer a,
.shop-mobile-footer button {
    position: relative;
    border: 0;
    background: transparent;
    color: #475569;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    padding: 4px 2px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.shop-mobile-footer i {
    font-size: 18px;
}

.shop-mobile-footer a:hover,
.shop-mobile-footer button:hover {
    color: var(--shop-primary);
    text-decoration: none;
}

.shop-mobile-footer strong {
    position: absolute;
    top: 2px;
    right: 22%;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--shop-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Common */
.shop-card {
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    overflow: hidden;
    height: 100%;
}

.shop-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    background: #f3f4f6;
}

.price {
    color: var(--shop-primary);
    font-weight: 800;
}

.section-title {
    font-weight: 800;
    letter-spacing: 0;
}

.table td,
.table th {
    vertical-align: middle;
}

.bg-light {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%) !important;
}

/* Button */
.btn-shop {
    background: var(--shop-primary);
    color: #fff;
    border-color: var(--shop-primary);
}

.btn-shop:hover {
    background: var(--shop-primary-dark);
    color: #fff;
    border-color: var(--shop-primary-dark);
}

.shop-social-login {
    margin-top: 18px;
}

.shop-social-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--shop-muted);
    font-size: 13px;
    margin-bottom: 12px;
}

.shop-social-divider::before,
.shop-social-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--shop-border);
}

.shop-social-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.shop-social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    color: var(--shop-dark);
    background: #fff;
    text-decoration: none;
    font-weight: 700;
}

.shop-social-button:hover {
    color: var(--shop-primary);
    border-color: rgba(15, 118, 110, .35);
    text-decoration: none;
}

.shop-social-button.is-disabled,
.shop-social-button:disabled {
    opacity: .55;
    cursor: not-allowed;
    background: #f8fafc;
}

.shop-social-google i {
    color: #db4437;
}

.shop-social-facebook i {
    color: #1877f2;
}

.shop-social-instagram i {
    color: #c13584;
}

/* Hero Slider */
.shop-hero,
.shop-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.shop-hero {
    background: linear-gradient(135deg, #ecfeff, #f0fdf4);
    border-bottom: 1px solid #d1fae5;
}

.shop-hero-slider-container {
    position: relative;
    min-height: clamp(420px, 62vw, 650px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--hero-primary), var(--hero-secondary));
}

.shop-hero-slide {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    animation: fadeIn .8s ease-in-out;
}

.shop-hero-slide.active {
    display: flex;
    align-items: center;
}

.shop-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, .85), rgba(118, 75, 162, .85));
    z-index: 1;
}

.shop-hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, .1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, .05) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.shop-hero-slide-content,
.shop-hero-slider-inner {
    position: relative;
    z-index: 3;
}

.shop-hero-slider-inner {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: inherit;
    padding: clamp(42px, 7vw, 90px) 0;
}

.shop-hero-slider-text {
    flex: 1;
    min-width: 0;
}

.shop-hero-slider-image {
    flex: 1;
    min-width: 0;
    animation: slideInRight .8s ease-out;
}

.shop-hero-slider-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .3));
    border-radius: 10px;
}

.shop-hero-slide-content {
    color: #fff;
    width: 100%;
    max-width: 620px;
    animation: slideInLeft .8s ease-out;
}

.shop-hero__badge {
    display: inline-block;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, .3);
}

.shop-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}

.shop-hero .lead {
    max-width: 560px;
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 30px;
    font-weight: 300;
}

.shop-hero__buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.shop-hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    transition: all .3s ease;
    cursor: pointer;
    white-space: normal;
}

.shop-hero .btn-shop {
    background: #fff;
    color: var(--hero-primary);
    border-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.shop-hero .btn-shop:hover {
    background: #f0f0f0;
    color: var(--hero-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .3);
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, .25);
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
    transform: translateY(-3px);
}

.shop-hero__stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.shop-hero__stat {
    text-align: left;
}

.shop-hero__stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
}

.shop-hero__stat-label {
    font-size: .9rem;
    opacity: .9;
    margin-top: 5px;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: all .3s ease;
    border: 2px solid transparent;
}

.slider-dot.active {
    width: 32px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transform: translateY(-50%);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, .3);
    border-color: rgba(255, 255, 255, .5);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* Category / Product */
.shop-category-card .category-box {
    transition: .25s ease;
}

.shop-category-card .category-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, .3) !important;
}

.product-section-header {
    position: relative;
    padding-bottom: 20px;
}

.product-section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--hero-primary), var(--hero-secondary));
    border-radius: 2px;
}

/* Cart */
.cart-title {
    font-weight: 800;
}

.cart-line-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--shop-radius);
    background: #f1f5f9;
}

.cart-summary {
    position: sticky;
    top: 96px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.summary-row span {
    color: #64748b;
}

.summary-row strong {
    color: #0f172a;
}

.loyalty-box {
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: var(--shop-radius);
    padding: 14px;
}

.points-badge {
    background: #ecfdf5;
    color: #047857;
    border-radius: 999px;
    padding: 4px 10px;
    font-weight: 800;
}

/* Checkout */
.checkout-panel {
    padding: 22px;
}

.checkout-panel h4 {
    font-weight: 800;
    margin-bottom: 18px;
}

.order-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
    font-size: 14px;
}

.order-line span {
    color: #475569;
}

.payment-option {
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    padding: 12px;
    margin-bottom: 10px;
}

.delivery-note {
    color: #64748b;
    font-size: 12px;
    margin-top: 4px;
}

/* Dashboard */
.dashboard-card {
    padding: 20px;
}

.metric-card {
    color: #0f172a;
    text-decoration: none;
    transition: .15s ease;
}

.metric-card:hover {
    transform: translateY(-1px);
    color: #0f172a;
    text-decoration: none;
}

.loyalty-panel {
    background: linear-gradient(135deg, #ecfdf5, #eff6ff);
    border: 1px solid #bfdbfe;
}

.points-total {
    font-size: 34px;
    font-weight: 900;
    color: #047857;
}

/* Footer */
footer {
    background: var(--shop-dark);
    color: #d1d5db;
}

/* Toast */
#toast-container > .toast {
    border-radius: var(--shop-radius);
    box-shadow: var(--shop-shadow);
    opacity: 1;
}

#toast-container > .toast-success {
    background-color: var(--shop-primary);
}

#toast-container > .toast-error {
    background-color: var(--shop-danger);
}

#toast-container > .toast-warning {
    background-color: var(--shop-warning);
}

#toast-container > .toast-info {
    background-color: var(--shop-info);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Large Device */
@media (max-width: 1199.98px) {
    .shop-hero-slider-container {
        min-height: 560px;
    }

    .shop-hero h1 {
        font-size: 2.8rem;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .shop-brand .brand-image {
        max-width: 160px;
        height: 48px;
        max-height: 48px;
    }

    .shop-header-row {
        gap: 16px;
    }

    .shop-search-wrap {
        flex-basis: 240px;
        max-width: 360px;
    }

    .shop-hero-slider-container {
        min-height: 500px;
    }

    .shop-hero-slider-inner {
        gap: 24px;
    }

    .shop-hero h1 {
        font-size: 2.4rem;
    }

    .shop-hero .lead {
        font-size: 1.05rem;
    }

    .slider-arrow {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .slider-arrow.prev {
        left: 15px;
    }

    .slider-arrow.next {
        right: 15px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    body {
        padding-bottom: 72px;
    }

    .shop-topbar {
        position: sticky;
    }

    .shop-header-row {
        gap: 12px;
    }

    .shop-brand {
        order: 1;
    }

    .shop-brand .brand-image {
        max-width: 140px;
        height: 42px;
        max-height: 42px;
    }

    .shop-mobile-toggle {
        order: 2;
        margin-left: auto;
    }

    .shop-search-wrap {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }

    .shop-search-dropdown {
        top: calc(100% + 8px);
    }

    .shop-search-result-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 60vh;
    }

    .shop-search-input,
    .shop-search-btn {
        min-height: 40px;
    }

    .shop-card img {
        height: 180px;
    }

    .shop-hero-slider-container {
        min-height: 440px;
    }

    .shop-hero-slider-inner {
        padding: 48px 0 70px;
        text-align: center;
    }

    .shop-hero-slide-content {
        max-width: 100%;
        padding: 0 14px;
    }

    .shop-hero h1 {
        font-size: 2rem;
        margin-bottom: 14px;
    }

    .shop-hero .lead {
        font-size: .95rem;
        margin-bottom: 22px;
    }

    .shop-hero-slider-image {
        display: none;
    }

    .shop-hero__buttons {
        flex-direction: column;
        gap: 10px;
    }

    .shop-hero .btn {
        width: 100%;
        padding: 12px 22px;
    }

    .shop-hero__stats {
        justify-content: center;
        gap: 20px;
        margin-top: 28px;
        padding-top: 22px;
    }

    .shop-hero__stat {
        text-align: center;
    }

    .shop-hero__stat-number {
        font-size: 1.35rem;
    }

    .shop-hero__stat-label {
        font-size: .78rem;
    }

    .slider-controls {
        bottom: 20px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .slider-dot.active {
        width: 28px;
    }

    .slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .slider-arrow.prev {
        left: 8px;
    }

    .slider-arrow.next {
        right: 8px;
    }

    .cart-summary {
        position: static;
        top: auto;
    }

    .checkout-panel,
    .dashboard-card {
        padding: 16px;
    }

    .order-line,
    .summary-row {
        gap: 10px;
    }
}

@media (max-width: 575.98px) {
    .shop-search-result-list {
        grid-template-columns: 1fr;
    }

    .shop-search-dropdown .shop-card img {
        height: 170px;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .shop-brand {
        font-size: 20px;
    }

    .shop-brand .brand-image {
        max-width: 125px;
        height: 38px;
        max-height: 38px;
    }

    .shop-hero-slider-container {
        min-height: 400px;
    }

    .shop-hero h1 {
        font-size: 1.7rem;
    }

    .shop-hero .lead {
        font-size: .9rem;
    }

    .shop-hero__badge {
        font-size: 10px;
        padding: 6px 12px;
        margin-bottom: 14px;
    }

    .shop-hero__stats {
        gap: 14px;
        flex-wrap: wrap;
    }

    .shop-hero__stat-number {
        font-size: 1.2rem;
    }

    .slider-arrow {
        display: none;
    }

    .cart-line-img {
        width: 54px;
        height: 54px;
    }

    .points-total {
        font-size: 28px;
    }
}
.shop-category-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all .3s ease;
    height: 100%;
}

.category-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.category-image {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-box strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}

.category-box div {
    font-size: 14px;
    color: #6b7280;
}

@media (max-width: 767px) {
    .category-image {
        width: 70px;
        height: 70px;
    }

    .category-box {
        padding: 15px;
    }

    .category-box strong {
        font-size: 14px;
    }
}
.home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.home-section-header .btn {
    margin-left: auto;
}
@media (max-width: 767px) {
    .home-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-section-header .btn {
        margin-left: 0;
        margin-top: 10px;
    }
}
.shop-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--shop-primary);
    color: #fff !important;
    border: 1px solid var(--shop-primary);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(15, 118, 110, .22);
}

.shop-cart-btn:hover {
    background: var(--shop-primary-dark);
    border-color: var(--shop-primary-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

.shop-cart-btn strong {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: #fff;
    color: var(--shop-primary);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 767px) {
    .shop-cart-btn {
        padding: 7px 12px;
        font-size: 13px;
    }
}
.shop-footer{
    background:#111827;
    color:#d1d5db;
}

.footer-title{
    color:#fff;
    font-weight:700;
    margin-bottom:15px;
}

.footer-heading{
    color:#fff;
    font-weight:600;
    margin-bottom:15px;
}

.footer-text{
    line-height:1.8;
    color:#9ca3af;
}

.footer-links{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links a{
    color:#9ca3af;
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:#fff;
    padding-left:5px;
}

.footer-social{
    display:flex;
    gap:10px;
}

.footer-social a{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.footer-social a:hover{
    transform:translateY(-3px);
    background:var(--shop-primary);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.1);
    color:#9ca3af;
    font-size:14px;
}
