/* ==========================================================================
   7Bank Marketplace — shop.css
   Dark futuristic theme for public shop pages
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    --shop-bg: #060912;
    --shop-bg-elevated: #0b1121;
    --shop-card-bg: rgba(255, 255, 255, 0.02);
    --shop-card-border: rgba(148, 163, 184, 0.06);
    --shop-card-radius: 14px;
    --shop-card-blur: 8px;

    --shop-text: #e2e8f0;
    --shop-text-secondary: #94a3b8;
    --shop-text-muted: #64748b;
    --shop-accent: #6366f1;
    --shop-accent-hover: #818cf8;
    --shop-green: #10b981;
    --shop-red: #ef4444;
    --shop-yellow: #f59e0b;
    --shop-orange: #f97316;

    --shop-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
    --shop-gradient-hover: linear-gradient(135deg, #818cf8, #a78bfa);
    --shop-gradient-green: linear-gradient(135deg, #10b981, #34d399);

    --shop-font: 'Jura', sans-serif;
    --shop-font-mono: 'JetBrains Mono', monospace;

    --shop-header-h: 64px;
    --shop-gutter: 16px;
    --shop-max-w: 1320px;
    --shop-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    --shop-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shop-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shop-shadow-glow: 0 0 24px rgba(99, 102, 241, 0.18);
}

/* --------------------------------------------------------------------------
   1. Shop Page Container
   -------------------------------------------------------------------------- */
.shop-page {
    min-height: 100vh;
    background: var(--shop-bg);
    color: var(--shop-text);
    font-family: var(--shop-font);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.shop-container {
    width: 100%;
    max-width: var(--shop-max-w);
    margin: 0 auto;
    padding: 0 var(--shop-gutter);
}

/* --------------------------------------------------------------------------
   2. Sticky Header
   -------------------------------------------------------------------------- */
.shop-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--shop-header-h);
    background: rgba(6, 9, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--shop-card-border);
    transition: box-shadow var(--shop-transition);
}

.shop-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.shop-header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: var(--shop-max-w);
    margin: 0 auto;
    padding: 0 var(--shop-gutter);
    gap: 16px;
}

.shop-header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--shop-text);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.02em;
}

.shop-header-logo img {
    height: 32px;
    width: auto;
}

.shop-header-search {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.shop-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.shop-header-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--shop-text-secondary);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--shop-transition);
    text-decoration: none;
}

.shop-header-icon:hover {
    color: var(--shop-text);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--shop-card-border);
}

.shop-header-icon svg {
    width: 20px;
    height: 20px;
}

.shop-header-icon .shop-icon-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--shop-gradient);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--shop-font-mono);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.shop-header-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

/* Mobile menu toggle */
.shop-header-burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.shop-header-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--shop-text-secondary);
    border-radius: 2px;
    transition: all var(--shop-transition);
}

/* --------------------------------------------------------------------------
   3. Buttons — filled / outline / ghost
   -------------------------------------------------------------------------- */
.btn-filled,
.shop-btn-filled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    background: var(--shop-gradient);
    color: #fff;
    font-family: var(--shop-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--shop-transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-filled:hover,
.shop-btn-filled:hover {
    background: var(--shop-gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-glow);
}

.btn-outline,
.shop-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 10px;
    background: transparent;
    color: var(--shop-text);
    font-family: var(--shop-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--shop-transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-outline:hover,
.shop-btn-outline:hover {
    border-color: var(--shop-accent);
    color: var(--shop-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-glow);
}

.btn-ghost,
.shop-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--shop-text-secondary);
    font-family: var(--shop-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--shop-transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-ghost:hover,
.shop-btn-ghost:hover {
    color: var(--shop-text);
    background: rgba(255, 255, 255, 0.04);
}

.shop-btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 8px;
}

.shop-btn-icon {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 10px;
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.shop-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: 60px var(--shop-gutter);
    text-align: center;
    overflow: hidden;
}

.shop-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
}

.shop-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 9, 18, 0.6) 0%,
        rgba(6, 9, 18, 0.85) 60%,
        var(--shop-bg) 100%
    );
}

.shop-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.shop-hero-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 16px;
    background: var(--shop-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shop-hero-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--shop-text-secondary);
    margin: 0 0 28px;
    line-height: 1.6;
}

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

/* --------------------------------------------------------------------------
   5. Section Headings
   -------------------------------------------------------------------------- */
.shop-section {
    padding: 40px 0;
}

.shop-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.shop-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--shop-text);
    margin: 0;
    line-height: 1.3;
}

.shop-section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--shop-accent);
    text-decoration: none;
    transition: color var(--shop-transition);
}

.shop-section-link:hover {
    color: var(--shop-accent-hover);
}

.shop-section-link::after {
    content: '\2192';
    font-size: 15px;
    transition: transform var(--shop-transition);
}

.shop-section-link:hover::after {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   6. Category Grid
   -------------------------------------------------------------------------- */
.shop-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.shop-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 12px;
    background: var(--shop-card-bg);
    border: 1px solid var(--shop-card-border);
    border-radius: var(--shop-card-radius);
    backdrop-filter: blur(var(--shop-card-blur));
    -webkit-backdrop-filter: blur(var(--shop-card-blur));
    text-decoration: none;
    color: var(--shop-text);
    transition: all var(--shop-transition);
    text-align: center;
    cursor: pointer;
}

.shop-category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-glow);
    border-color: rgba(99, 102, 241, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.shop-category-card-img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.03);
}

.shop-category-card-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--shop-text-secondary);
}

.shop-category-card:hover .shop-category-card-name {
    color: var(--shop-text);
}

/* --------------------------------------------------------------------------
   7. Product Grid
   -------------------------------------------------------------------------- */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* --------------------------------------------------------------------------
   8. Product Card
   -------------------------------------------------------------------------- */
.shop-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--shop-card-bg);
    border: 1px solid var(--shop-card-border);
    border-radius: var(--shop-card-radius);
    backdrop-filter: blur(var(--shop-card-blur));
    -webkit-backdrop-filter: blur(var(--shop-card-blur));
    overflow: hidden;
    transition: all var(--shop-transition);
}

.shop-product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-glow);
    border-color: rgba(99, 102, 241, 0.15);
}

/* Image wrapper */
.shop-product-card-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.shop-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.shop-product-card:hover .shop-product-card-img img {
    transform: scale(1.05);
}

/* Badges (absolute over image) */
.shop-product-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

/* Hover actions overlay on image */
.shop-product-card-actions-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    opacity: 0;
    transform: translateX(8px);
    transition: all var(--shop-transition);
}

.shop-product-card:hover .shop-product-card-actions-overlay {
    opacity: 1;
    transform: translateX(0);
}

.shop-product-card-actions-overlay button,
.shop-product-card-actions-overlay a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(6, 9, 18, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--shop-card-border);
    color: var(--shop-text-secondary);
    cursor: pointer;
    transition: all var(--shop-transition);
    text-decoration: none;
}

.shop-product-card-actions-overlay button:hover,
.shop-product-card-actions-overlay a:hover {
    color: #fff;
    background: var(--shop-accent);
    border-color: var(--shop-accent);
}

.shop-product-card-actions-overlay svg {
    width: 16px;
    height: 16px;
}

/* Card body */
.shop-product-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    flex: 1;
}

.shop-product-card-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--shop-accent);
}

.shop-product-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--shop-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color var(--shop-transition);
}

.shop-product-card-name:hover {
    color: var(--shop-accent-hover);
}

/* Price row */
.shop-product-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

/* Card footer with add-to-cart */
.shop-product-card-footer {
    padding: 0 14px 14px;
}

.shop-product-card-footer .shop-btn-filled {
    width: 100%;
    padding: 9px 16px;
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   9. Price Display
   -------------------------------------------------------------------------- */
.shop-price {
    font-family: var(--shop-font-mono);
    font-size: 17px;
    font-weight: 700;
    color: var(--shop-text);
    letter-spacing: -0.02em;
}

.shop-price-old {
    font-family: var(--shop-font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--shop-text-muted);
    text-decoration: line-through;
}

.shop-price-sale {
    color: var(--shop-green);
}

/* --------------------------------------------------------------------------
   10. Rating Stars
   -------------------------------------------------------------------------- */
.shop-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.shop-star {
    width: 14px;
    height: 14px;
    position: relative;
}

.shop-star::before {
    content: '\2605';
    font-size: 14px;
    color: var(--shop-text-muted);
    line-height: 1;
}

.shop-star.filled::before {
    color: var(--shop-yellow);
}

.shop-star.half {
    overflow: hidden;
}

.shop-star.half::before {
    color: var(--shop-text-muted);
}

.shop-star.half::after {
    content: '\2605';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    color: var(--shop-yellow);
    width: 50%;
    overflow: hidden;
    line-height: 1;
}

.shop-stars-count {
    font-size: 12px;
    color: var(--shop-text-muted);
    margin-left: 4px;
    font-family: var(--shop-font-mono);
}

/* --------------------------------------------------------------------------
   11. Badges & Tags
   -------------------------------------------------------------------------- */
.shop-badge-new,
.shop-badge-sale,
.shop-badge-discount {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.shop-badge-new {
    background: rgba(99, 102, 241, 0.15);
    color: var(--shop-accent-hover);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.shop-badge-sale {
    background: rgba(16, 185, 129, 0.15);
    color: var(--shop-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.shop-badge-discount {
    background: rgba(239, 68, 68, 0.15);
    color: var(--shop-red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --------------------------------------------------------------------------
   12. Filters Bar
   -------------------------------------------------------------------------- */
.shop-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
    background: var(--shop-card-bg);
    border: 1px solid var(--shop-card-border);
    border-radius: var(--shop-card-radius);
    backdrop-filter: blur(var(--shop-card-blur));
    -webkit-backdrop-filter: blur(var(--shop-card-blur));
    margin-bottom: 24px;
}

.shop-filters-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-filters-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--shop-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.shop-filters-separator {
    width: 1px;
    height: 28px;
    background: var(--shop-card-border);
}

/* Shared input styles */
.shop-input,
.shop-select {
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--shop-text);
    font-family: var(--shop-font);
    font-size: 13px;
    transition: all var(--shop-transition);
    outline: none;
}

.shop-input:focus,
.shop-select:focus {
    border-color: var(--shop-accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.shop-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}

.shop-select option {
    background: var(--shop-bg-elevated);
    color: var(--shop-text);
}

/* Price range inputs */
.shop-price-range {
    display: flex;
    align-items: center;
    gap: 6px;
}

.shop-price-range .shop-input {
    width: 90px;
    font-family: var(--shop-font-mono);
    font-size: 12px;
}

.shop-price-range-sep {
    color: var(--shop-text-muted);
    font-size: 13px;
}

/* Toggle switch */
.shop-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}

.shop-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.shop-toggle-slider {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--shop-card-border);
    cursor: pointer;
    transition: all var(--shop-transition);
}

.shop-toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    bottom: 2px;
    border-radius: 50%;
    background: var(--shop-text-muted);
    transition: all var(--shop-transition);
}

.shop-toggle input:checked + .shop-toggle-slider {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--shop-accent);
}

.shop-toggle input:checked + .shop-toggle-slider::before {
    transform: translateX(18px);
    background: var(--shop-accent);
}

/* Active filter tags */
.shop-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.shop-active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--shop-accent-hover);
    font-size: 12px;
    font-weight: 600;
}

.shop-active-filter-tag button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity var(--shop-transition);
}

.shop-active-filter-tag button:hover {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   13. Search Input & Autocomplete
   -------------------------------------------------------------------------- */
.shop-search-input-wrap {
    position: relative;
    width: 100%;
}

.shop-search-input {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 40px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--shop-text);
    font-family: var(--shop-font);
    font-size: 14px;
    outline: none;
    transition: all var(--shop-transition);
}

.shop-search-input::placeholder {
    color: var(--shop-text-muted);
}

.shop-search-input:focus {
    border-color: var(--shop-accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.shop-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--shop-text-muted);
    pointer-events: none;
}

/* Autocomplete dropdown */
.shop-autocomplete {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--shop-bg-elevated);
    border: 1px solid var(--shop-card-border);
    border-radius: 12px;
    box-shadow: var(--shop-shadow-md);
    overflow: hidden;
    display: none;
}

.shop-autocomplete.open {
    display: block;
    animation: shopFadeDown 0.2s ease;
}

.shop-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--shop-text);
    transition: background var(--shop-transition);
    cursor: pointer;
}

.shop-autocomplete-item:hover,
.shop-autocomplete-item.active {
    background: rgba(255, 255, 255, 0.04);
}

.shop-autocomplete-item-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.02);
}

.shop-autocomplete-item-info {
    flex: 1;
    min-width: 0;
}

.shop-autocomplete-item-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-autocomplete-item-category {
    font-size: 11px;
    color: var(--shop-text-muted);
}

.shop-autocomplete-item-price {
    font-family: var(--shop-font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--shop-text);
    flex-shrink: 0;
}

.shop-autocomplete-footer {
    padding: 10px 14px;
    border-top: 1px solid var(--shop-card-border);
    text-align: center;
}

.shop-autocomplete-footer a {
    font-size: 12px;
    color: var(--shop-accent);
    text-decoration: none;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   14. Breadcrumbs
   -------------------------------------------------------------------------- */
.shop-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 16px 0;
    font-size: 13px;
}

.shop-breadcrumbs a {
    color: var(--shop-text-muted);
    text-decoration: none;
    transition: color var(--shop-transition);
}

.shop-breadcrumbs a:hover {
    color: var(--shop-accent);
}

.shop-breadcrumbs-sep {
    color: var(--shop-text-muted);
    opacity: 0.5;
    font-size: 11px;
}

.shop-breadcrumbs-current {
    color: var(--shop-text-secondary);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   15. Pagination
   -------------------------------------------------------------------------- */
.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px 0;
}

.shop-pagination a,
.shop-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--shop-card-border);
    background: var(--shop-card-bg);
    color: var(--shop-text-secondary);
    font-family: var(--shop-font-mono);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--shop-transition);
}

.shop-pagination a:hover {
    border-color: var(--shop-accent);
    color: var(--shop-accent-hover);
    transform: translateY(-1px);
}

.shop-pagination .active {
    background: var(--shop-gradient);
    border-color: transparent;
    color: #fff;
}

.shop-pagination .disabled {
    opacity: 0.35;
    pointer-events: none;
}

.shop-pagination-ellipsis {
    color: var(--shop-text-muted);
    background: none !important;
    border: none !important;
}

/* --------------------------------------------------------------------------
   16. Empty State
   -------------------------------------------------------------------------- */
.shop-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    gap: 16px;
}

.shop-empty-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--shop-card-border);
    color: var(--shop-text-muted);
}

.shop-empty-icon svg {
    width: 28px;
    height: 28px;
}

.shop-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--shop-text);
    margin: 0;
}

.shop-empty-text {
    font-size: 14px;
    color: var(--shop-text-muted);
    max-width: 360px;
    margin: 0;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   17. Toast Notifications
   -------------------------------------------------------------------------- */
.shop-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none;
}

.shop-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--shop-bg-elevated);
    border: 1px solid var(--shop-card-border);
    box-shadow: var(--shop-shadow-md);
    color: var(--shop-text);
    font-size: 13px;
    font-weight: 600;
    pointer-events: auto;
    animation: shopToastIn 0.35s ease forwards;
    min-width: 260px;
    max-width: 380px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.shop-toast.removing {
    animation: shopToastOut 0.3s ease forwards;
}

.shop-toast-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.shop-toast-success {
    border-color: rgba(16, 185, 129, 0.2);
}

.shop-toast-success .shop-toast-icon {
    color: var(--shop-green);
}

.shop-toast-error {
    border-color: rgba(239, 68, 68, 0.2);
}

.shop-toast-error .shop-toast-icon {
    color: var(--shop-red);
}

.shop-toast-info {
    border-color: rgba(99, 102, 241, 0.2);
}

.shop-toast-info .shop-toast-icon {
    color: var(--shop-accent);
}

.shop-toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--shop-text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    line-height: 1;
    transition: color var(--shop-transition);
}

.shop-toast-close:hover {
    color: var(--shop-text);
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.shop-footer {
    border-top: 1px solid var(--shop-card-border);
    padding: 40px 0;
    margin-top: 40px;
}

.shop-footer-inner {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 32px;
    max-width: var(--shop-max-w);
    margin: 0 auto;
    padding: 0 var(--shop-gutter);
}

.shop-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-footer-brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--shop-text);
}

.shop-footer-brand-text {
    font-size: 13px;
    color: var(--shop-text-muted);
    line-height: 1.6;
    max-width: 280px;
}

.shop-footer-col-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--shop-text-secondary);
    margin: 0 0 14px;
}

.shop-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-footer-links a {
    font-size: 13px;
    color: var(--shop-text-muted);
    text-decoration: none;
    transition: color var(--shop-transition);
}

.shop-footer-links a:hover {
    color: var(--shop-accent);
}

.shop-footer-bottom {
    max-width: var(--shop-max-w);
    margin: 32px auto 0;
    padding: 20px var(--shop-gutter) 0;
    border-top: 1px solid var(--shop-card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.shop-footer-copy {
    font-size: 12px;
    color: var(--shop-text-muted);
}

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

.shop-footer-socials a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--shop-text-muted);
    border: 1px solid var(--shop-card-border);
    transition: all var(--shop-transition);
    text-decoration: none;
}

.shop-footer-socials a:hover {
    color: var(--shop-accent);
    border-color: var(--shop-accent);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   19. Animations
   -------------------------------------------------------------------------- */
@keyframes shopFadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes shopPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Skeleton loader */
.shop-skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.03) 75%
    );
    background-size: 200% 100%;
    animation: shopSkeleton 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes shopSkeleton {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --------------------------------------------------------------------------
   20. Utility Classes
   -------------------------------------------------------------------------- */
.shop-text-accent  { color: var(--shop-accent) !important; }
.shop-text-green   { color: var(--shop-green) !important; }
.shop-text-red     { color: var(--shop-red) !important; }
.shop-text-muted   { color: var(--shop-text-muted) !important; }
.shop-font-mono    { font-family: var(--shop-font-mono) !important; }
.shop-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --------------------------------------------------------------------------
   21. Responsive — Mobile First Overrides
   -------------------------------------------------------------------------- */

/* Tablets and below */
@media (max-width: 1024px) {
    .shop-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .shop-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

/* Mobile landscape / small tablets */
@media (max-width: 768px) {
    :root {
        --shop-gutter: 14px;
        --shop-header-h: 56px;
    }

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

    .shop-categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
    }

    .shop-hero {
        min-height: 280px;
        padding: 40px var(--shop-gutter);
    }

    .shop-section {
        padding: 28px 0;
    }

    .shop-section-title {
        font-size: 18px;
    }

    /* Header mobile */
    .shop-header-search {
        display: none;
    }

    .shop-header-burger {
        display: flex;
    }

    .shop-header-auth {
        display: none;
    }

    /* Filters stack */
    .shop-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-filters-group {
        flex-wrap: wrap;
    }

    .shop-filters-separator {
        width: 100%;
        height: 1px;
    }

    /* Footer stack */
    .shop-footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .shop-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Toast full width */
    .shop-toast-container {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .shop-toast {
        min-width: 0;
        max-width: 100%;
    }

    /* Product card adjustments */
    .shop-product-card-body {
        padding: 10px;
        gap: 6px;
    }

    .shop-product-card-name {
        font-size: 13px;
    }

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

    .shop-product-card-actions-overlay {
        opacity: 1;
        transform: translateX(0);
    }

    /* Category cards */
    .shop-category-card {
        padding: 16px 8px;
    }

    .shop-category-card-img {
        width: 44px;
        height: 44px;
    }
}

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

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

    .shop-hero-subtitle {
        font-size: 14px;
    }

    .shop-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .shop-hero-actions .btn-filled,
    .shop-hero-actions .btn-outline,
    .shop-hero-actions .shop-btn-filled,
    .shop-hero-actions .shop-btn-outline {
        width: 100%;
    }

    .shop-pagination a,
    .shop-pagination span {
        min-width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .shop-product-card-footer .shop-btn-filled {
        font-size: 11px;
        padding: 7px 10px;
    }
}

/* Large screens */
@media (min-width: 1440px) {
    :root {
        --shop-max-w: 1400px;
    }

    .shop-products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* --------------------------------------------------------------------------
   22. Scrollbar
   -------------------------------------------------------------------------- */
.shop-page ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.shop-page ::-webkit-scrollbar-track {
    background: transparent;
}

.shop-page ::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.12);
    border-radius: 3px;
}

.shop-page ::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.2);
}

/* --------------------------------------------------------------------------
   23. Print
   -------------------------------------------------------------------------- */
@media print {
    .shop-header,
    .shop-footer,
    .shop-toast-container,
    .shop-filters {
        display: none !important;
    }

    .shop-page {
        background: #fff;
        color: #000;
    }

    .shop-product-card {
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* ============================================================================
   OVERRIDES — match HTML class names to styled selectors
   ============================================================================ */

/* Body-level reset for shop pages */
.shop-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #060912;
    background: var(--shop-bg, #060912);
    color: #e2e8f0;
    color: var(--shop-text, #e2e8f0);
    font-family: 'Jura', sans-serif;
    font-family: var(--shop-font, 'Jura', sans-serif);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.shop-main {
    max-width: 1320px;
    max-width: var(--shop-max-w, 1320px);
    margin: 0 auto;
    padding: 24px 16px 60px;
}

/* Section headers */
.shop-section { margin-bottom: 48px; }
.shop-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}
.shop-section-header h1,
.shop-section-header h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: #e2e8f0;
    color: var(--shop-text, #e2e8f0);
    margin: 0;
}
.shop-section-header p { color: #94a3b8; margin: 4px 0 0; font-size: 14px; }
.shop-section-link { color: #6366f1; text-decoration: none; font-size: 14px; font-weight: 600; }
.shop-section-link:hover { color: #818cf8; }

/* Categories grid */
.shop-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.shop-categories-grid-sm {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}
.shop-category-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 20px 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(148,163,184,0.06);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.shop-category-card:hover {
    background: rgba(99,102,241,0.06);
    border-color: rgba(99,102,241,0.18);
    transform: translateY(-4px);
    box-shadow: 0 0 24px rgba(99,102,241,0.18);
}
.shop-category-placeholder {
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    color: #475569;
}
.shop-category-img {
    width: 80px; height: 80px; object-fit: cover; border-radius: 12px;
}
.shop-category-name {
    display: block; font-weight: 600; font-size: 14px;
    color: #e2e8f0; margin-top: 10px;
}
.shop-category-count {
    display: block; font-size: 12px; color: #64748b; margin-top: 2px;
}

/* Product card */
.shop-product-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(148,163,184,0.06);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    backdrop-filter: blur(8px);
}
.shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 24px rgba(99,102,241,0.18);
    border-color: rgba(99,102,241,0.2);
}
.shop-product-img-link {
    display: block; aspect-ratio: 1; overflow: hidden;
    background: rgba(255,255,255,0.02);
}
.shop-product-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.shop-product-card:hover .shop-product-img { transform: scale(1.05); }
.shop-product-body { padding: 12px 14px; }
.shop-product-category {
    font-size: 11px; color: #6366f1;
    text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600;
}
.shop-product-name {
    display: block; font-size: 14px; font-weight: 600;
    color: #e2e8f0; margin: 6px 0; text-decoration: none;
    line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.shop-product-name:hover { color: #6366f1; }
.shop-product-price-row {
    display: flex; align-items: baseline; gap: 8px; margin-top: 6px;
}
.shop-product-rating {
    display: flex; align-items: center; gap: 4px; margin-top: 4px;
}
.shop-rating-count { font-size: 12px; color: #64748b; }

/* Price */
.shop-price {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700; font-size: 16px; color: #e2e8f0;
}
.shop-price-old {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; color: #64748b; text-decoration: line-through;
}

/* Stars */
.star-filled { color: #f59e0b; }
.star-empty { color: #374151; }
.shop-stars { font-size: 14px; display: inline-flex; gap: 1px; }

/* Badges */
.shop-badge-discount {
    position: absolute; top: 10px; left: 10px; z-index: 5;
    background: #ef4444; color: #fff;
    padding: 3px 8px; border-radius: 6px;
    font-size: 12px; font-weight: 700;
}

/* Product actions row */
.shop-product-actions {
    display: flex; gap: 6px; padding: 0 14px 14px; align-items: center;
}
.shop-action-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; padding: 8px 12px;
    border: 1px solid rgba(148,163,184,0.06);
    background: rgba(255,255,255,0.03);
    color: #94a3b8; border-radius: 8px; cursor: pointer;
    font-family: 'Jura', sans-serif; font-size: 12px; font-weight: 600;
    transition: all 0.25s ease;
}
.shop-action-btn:hover {
    border-color: #6366f1; color: #6366f1;
    background: rgba(99,102,241,0.08);
}
.shop-action-btn.active {
    border-color: #6366f1; color: #6366f1;
    background: rgba(99,102,241,0.12);
}
.shop-action-btn.active svg { fill: #6366f1; }
.shop-action-cart {
    flex: 1; background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff; border: none;
}
.shop-action-cart:hover {
    box-shadow: 0 4px 16px rgba(99,102,241,0.4);
    transform: translateY(-1px);
}
.shop-action-cart:disabled {
    opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none;
}
.shop-action-fav, .shop-action-compare {
    width: 36px; height: 36px; padding: 0; flex-shrink: 0;
}

.shop-products-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 1024px) { .shop-products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .shop-products-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .shop-products-grid { gap: 10px; } }

/* Hero */
.shop-hero {
    text-align: center; padding: 60px 20px 48px; margin-bottom: 40px;
}
.shop-hero-title {
    font-size: clamp(28px, 5vw, 48px); font-weight: 800;
    line-height: 1.1; margin: 0;
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 40%, #a78bfa 70%, #818cf8 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.shop-hero-accent {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.shop-hero-desc {
    font-size: clamp(15px, 1.5vw, 18px); color: #94a3b8; margin: 16px 0 0;
}
.shop-hero-buttons {
    margin-top: 24px; display: flex; gap: 12px; justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 22px; border-radius: 10px;
    font-family: 'Jura', sans-serif; font-size: 14px; font-weight: 600;
    text-decoration: none; cursor: pointer; border: none;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.btn-filled {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff; box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}
.btn-filled:hover {
    box-shadow: 0 6px 24px rgba(99,102,241,0.45);
    transform: translateY(-2px);
}
.btn-outline {
    background: rgba(255,255,255,0.04);
    color: #94a3b8;
    border: 1.5px solid rgba(148,163,184,0.2);
}
.btn-outline:hover {
    border-color: rgba(99,102,241,0.5);
    color: #e2e8f0;
    background: rgba(99,102,241,0.08);
}
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 13px 30px; font-size: 15px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* Header */
.shop-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(6,9,18,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148,163,184,0.06);
}
.shop-header-inner {
    max-width: 1320px; margin: 0 auto;
    padding: 0 16px; height: 64px;
    display: flex; align-items: center; gap: 20px;
}
.shop-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; flex-shrink: 0;
}
.shop-logo-mark {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px; color: #fff;
}
.shop-logo-text { font-size: 18px; font-weight: 700; color: #e2e8f0; }

.shop-search-wrapper { flex: 1; max-width: 480px; position: relative; }
.shop-search-box { position: relative; }
.shop-search-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: #64748b; pointer-events: none;
}
.shop-search-input {
    width: 100%; padding: 10px 16px 10px 42px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(148,163,184,0.06);
    border-radius: 10px; color: #e2e8f0;
    font-family: 'Jura', sans-serif; font-size: 14px;
    outline: none; transition: all 0.25s ease;
}
.shop-search-input:focus {
    border-color: #6366f1;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.shop-search-input::placeholder { color: #64748b; }

.shop-header-actions {
    display: flex; align-items: center; gap: 8px; margin-left: auto;
}
.shop-header-btn {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    color: #94a3b8; background: rgba(255,255,255,0.04);
    border: 1px solid transparent; text-decoration: none;
    transition: all 0.25s ease;
}
.shop-header-btn:hover {
    color: #e2e8f0; background: rgba(255,255,255,0.08);
    border-color: rgba(148,163,184,0.06);
}
.shop-header-badge {
    position: absolute; top: -4px; right: -4px;
    min-width: 18px; height: 18px;
    background: #6366f1; color: #fff;
    border-radius: 9px; font-size: 11px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* Autocomplete */
.shop-autocomplete {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #0b1121; border: 1px solid rgba(148,163,184,0.06);
    border-radius: 12px; margin-top: 6px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35); z-index: 100;
}
.shop-autocomplete-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; text-decoration: none; color: #e2e8f0;
    transition: background 0.25s ease;
}
.shop-autocomplete-item:hover { background: rgba(99,102,241,0.08); }
.shop-autocomplete-img {
    width: 40px; height: 40px; border-radius: 8px;
    object-fit: cover; background: rgba(255,255,255,0.05);
}
.shop-autocomplete-name { font-size: 14px; font-weight: 500; }
.shop-autocomplete-price { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #6366f1; }

/* Breadcrumbs */
.shop-breadcrumbs {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: #64748b; margin-bottom: 20px; flex-wrap: wrap;
}
.shop-breadcrumbs a { color: #94a3b8; text-decoration: none; }
.shop-breadcrumbs a:hover { color: #6366f1; }
.shop-breadcrumb-sep { color: #475569; }

/* Filters */
.shop-filters { margin-bottom: 24px; }
.shop-filters-form {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 14px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(148,163,184,0.06);
    border-radius: 14px;
}
.shop-filter-group { display: flex; align-items: center; gap: 6px; }
.shop-filter-group label { font-size: 13px; color: #94a3b8; white-space: nowrap; }
.shop-filter-input {
    width: 100px; padding: 7px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(148,163,184,0.06);
    border-radius: 8px; color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace; font-size: 13px; outline: none;
}
.shop-filter-input:focus { border-color: #6366f1; }
.shop-filter-select {
    padding: 7px 10px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(148,163,184,0.06);
    border-radius: 8px; color: #e2e8f0;
    font-family: 'Jura', sans-serif; font-size: 13px; outline: none;
}
.shop-filter-checkbox {
    display: flex; align-items: center; gap: 6px;
    cursor: pointer; font-size: 13px; color: #94a3b8;
}

/* Empty state */
.shop-empty { text-align: center; padding: 60px 20px; }
.shop-empty h2, .shop-empty h3 { color: #94a3b8; margin: 12px 0 8px; }
.shop-empty p { color: #64748b; }
.shop-empty a { color: #6366f1; text-decoration: none; }

/* Pagination */
.shop-pagination { margin-top: 32px; display: flex; justify-content: center; }

/* Alerts */
.shop-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.shop-alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); color: #6ee7b7; }
.shop-alert-warning { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); color: #fcd34d; }

/* Toast */
.shop-toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; }
.shop-toast { padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; animation: toastIn 0.3s ease; }
.shop-toast-success { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: #6ee7b7; }
.shop-toast-warning { background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3); color: #fcd34d; }
@keyframes toastIn { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: translateY(0); } }

/* Footer */
.shop-footer {
    background: rgba(6,9,18,0.95);
    border-top: 1px solid rgba(148,163,184,0.06);
    padding: 40px 0 0; margin-top: 60px;
}
.shop-footer-inner {
    max-width: 1320px; margin: 0 auto; padding: 0 16px;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.shop-footer-col h4 { font-size: 14px; font-weight: 700; color: #e2e8f0; margin: 0 0 12px; }
.shop-footer-col a {
    display: block; color: #64748b; text-decoration: none;
    font-size: 14px; margin-bottom: 6px; transition: color 0.25s ease;
}
.shop-footer-col a:hover { color: #6366f1; }
.shop-footer-bottom {
    text-align: center; padding: 20px; margin-top: 32px;
    border-top: 1px solid rgba(148,163,184,0.06);
    font-size: 13px; color: #64748b;
}
.text-muted { color: #64748b !important; }

/* [x-cloak] hide Alpine-hidden elements */
[x-cloak] { display: none !important; }

@media (max-width: 768px) {
    .shop-footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .shop-header-inner { gap: 10px; }
    .shop-search-wrapper { display: none; }
    .shop-hero { padding: 40px 16px 32px; }
}