/* 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);
    box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.shop-service-bar {
    background: var(--shop-dark);
    color: #dbe5f1;
    font-size: 12px;
}

.shop-service-bar-inner {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    min-height: 34px;
}

.shop-service-message,
.shop-service-links {
    align-items: center;
    display: flex;
    gap: 16px;
}

.shop-service-message i,
.shop-service-links i {
    color: #5eead4;
    margin-right: 5px;
}

.shop-service-links a {
    color: #e2e8f0;
    text-decoration: none;
}

.shop-service-links a:hover {
    color: #ffffff;
}

.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-header-main {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 88px;
    padding: 14px 0;
}

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

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

.shop-search-form .input-group {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .05);
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
}

.shop-search-leading-icon {
    align-items: center;
    color: #94a3b8;
    display: flex;
    justify-content: center;
    padding-left: 16px;
}

.shop-search-input {
    background: transparent;
    border: 0;
    border-radius: 0;
    min-height: 48px;
    padding-left: 10px;
}

.shop-search-input:focus {
    background: transparent;
    box-shadow: none;
}

.shop-search-form .input-group:focus-within {
    border-color: var(--shop-primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
}

.shop-search-btn {
    border-radius: 0;
    font-weight: 700;
    min-height: 48px;
    min-width: 92px;
    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: 12px;
    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(3, 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 {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: none;
    height: 100%;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.shop-search-dropdown .shop-card:hover {
    box-shadow: 0 10px 22px rgba(15, 23, 42, .1);
    transform: translateY(-2px);
}

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

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

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

.shop-header-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.shop-header-action {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #334155;
    display: inline-flex;
    gap: 9px;
    min-height: 48px;
    padding: 6px 9px;
    text-decoration: none;
}

.shop-header-action:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: var(--shop-primary);
    text-decoration: none;
}

.shop-header-action-icon {
    align-items: center;
    background: #ecfdf5;
    border-radius: 50%;
    color: var(--shop-primary);
    display: inline-flex;
    flex: 0 0 38px;
    font-size: 16px;
    height: 38px;
    justify-content: center;
    position: relative;
}

.shop-header-action-icon b {
    align-items: center;
    background: #dc2626;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 9px;
    height: 19px;
    justify-content: center;
    min-width: 19px;
    padding: 0 3px;
    position: absolute;
    right: -5px;
    top: -5px;
}

.shop-header-action-copy {
    display: block;
    max-width: 100px;
}

.shop-header-action-copy small,
.shop-header-action-copy strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-header-action-copy small {
    color: #94a3b8;
    font-size: 10px;
}

.shop-header-action-copy strong {
    font-size: 12px;
    margin-top: 1px;
}

.shop-primary-nav {
    border-top: 1px solid #edf2f7;
    gap: 4px;
    min-height: 48px;
}

.shop-primary-nav > a,
.shop-primary-nav .shop-mega-trigger {
    border-radius: 6px;
    padding: 8px 13px;
}

.shop-primary-nav > a:hover,
.shop-primary-nav .shop-mega-trigger:hover {
    background: #ecfdf5;
}

.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;
}

.btn.is-frontend-loading,
a.is-frontend-loading,
button.is-frontend-loading {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.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-page {
    padding-bottom: 44px;
}

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

.cart-kicker {
    display: inline-block;
    color: var(--shop-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cart-title {
    font-weight: 800;
}

.cart-continue-btn {
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
}

.cart-empty-state {
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 44px 22px;
}

.cart-empty-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-primary);
    background: rgba(15, 118, 110, .09);
    font-size: 30px;
    margin-bottom: 18px;
}

.cart-primary-action {
    min-width: 170px;
}

.cart-items-form {
    min-width: 0;
}

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

.cart-item-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    background: var(--shop-white);
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    padding: 16px;
}

.cart-item-media {
    width: 112px;
}

.cart-line-img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 8px;
    background: #f1f5f9;
}

.cart-item-main {
    min-width: 0;
}

.cart-item-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.cart-item-title {
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
    margin: 0 0 6px;
    overflow-wrap: anywhere;
}

.cart-item-stock {
    color: var(--shop-muted);
    font-size: 13px;
}

.cart-remove-btn {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-danger);
    background: #fff1f2;
    border: 1px solid #fecdd3;
}

.cart-remove-btn:hover {
    color: #991b1b;
    background: #ffe4e6;
    text-decoration: none;
}

.cart-item-controls {
    display: grid;
    grid-template-columns: minmax(100px, 1fr) minmax(145px, auto) minmax(120px, 1fr);
    gap: 14px;
    align-items: end;
}

.cart-price-block,
.cart-qty-block,
.cart-line-total {
    display: grid;
    gap: 4px;
}

.cart-price-block span,
.cart-qty-block span,
.cart-line-total span {
    color: var(--shop-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cart-price-block strong,
.cart-line-total strong {
    color: #0f172a;
    font-size: 16px;
}

.cart-qty-control {
    display: grid;
    grid-template-columns: 38px 64px 38px;
    width: 140px;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.cart-qty-btn {
    border: 0;
    background: #f8fafc;
    color: #334155;
    min-height: 40px;
}

.cart-qty-btn:hover {
    background: #eef2f7;
}

.cart-qty-input {
    border: 0;
    border-left: 1px solid var(--shop-border);
    border-right: 1px solid var(--shop-border);
    border-radius: 0;
    text-align: center;
    min-height: 40px;
    padding-left: 4px;
    padding-right: 4px;
}

.cart-qty-input:focus {
    box-shadow: none;
}

.cart-update-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.cart-update-btn {
    min-width: 170px;
    min-height: 44px;
    border-radius: 999px;
    color: var(--shop-primary);
    background: #e8f7f4;
    border: 1px solid rgba(15, 118, 110, .28);
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15, 118, 110, .10);
}

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

.cart-summary {
    position: sticky;
    top: 96px;
    height: auto;
    padding: 22px;
}

.cart-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.cart-summary-count {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-primary);
    background: rgba(15, 118, 110, .09);
    font-weight: 800;
}

.cart-promo-form {
    margin-bottom: 16px;
}

.cart-promo-form .form-control,
.cart-promo-form .btn,
.loyalty-box .form-control,
.loyalty-box .btn {
    min-height: 42px;
}

.cart-inline-action {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
}

.cart-summary-lines {
    border-top: 1px solid var(--shop-border);
    border-bottom: 1px solid var(--shop-border);
    padding: 16px 0 6px;
    margin: 16px 0;
}

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

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

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

.cart-total-row {
    border-top: 1px dashed var(--shop-border);
    padding-top: 14px;
    margin-top: 4px;
    margin-bottom: 0;
}

.cart-total-row span,
.cart-total-row strong {
    color: var(--shop-dark);
    font-size: 20px;
    font-weight: 900;
}

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

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

.cart-checkout-btn {
    min-height: 48px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: .01em;
}

/* 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: 320px;
        max-width: 480px;
    }

    .shop-header-action-copy {
        display: none;
    }

    .shop-header-action {
        padding: 4px;
    }

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

    .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-service-bar-inner {
        justify-content: center;
        min-height: 30px;
    }

    .shop-service-message {
        display: none;
    }

    .shop-service-links {
        font-size: 11px;
        justify-content: center;
        width: 100%;
    }

    .shop-header-main {
        min-height: 0;
        padding: 10px 0 12px;
    }

    .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-header-actions {
        display: none;
    }

    .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));
        gap: 8px;
        max-height: 60vh;
        padding: 8px;
    }

    .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;
    }

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

    .cart-continue-btn {
        width: 100%;
        justify-content: center;
    }

    .cart-item-card {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }

    .cart-item-media,
    .cart-line-img {
        width: 96px;
        height: 96px;
    }

    .cart-item-controls {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .cart-qty-control {
        width: 152px;
        grid-template-columns: 42px 68px 42px;
    }

    .cart-line-total {
        border-top: 1px dashed var(--shop-border);
        padding-top: 10px;
    }

    .cart-update-row {
        justify-content: stretch;
    }

    .cart-update-btn {
        width: 100%;
    }

    .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: 150px;
    }

    .shop-search-btn {
        min-width: 76px;
    }

    .shop-service-links a:first-child {
        display: none;
    }
}

/* 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: 82px;
        height: 82px;
    }

    .cart-item-card {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .cart-item-media {
        width: 82px;
    }

    .cart-item-heading {
        gap: 8px;
    }

    .cart-item-title {
        font-size: 15px;
    }

    .cart-remove-btn {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .cart-summary {
        padding: 18px;
    }

    .cart-total-row span,
    .cart-total-row strong {
        font-size: 18px;
    }

    .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;
}
