/* ==========================================================
   xixaSoft Shop - Complete Styles
   Uses design tokens from main /assets/css/style.css
   ========================================================== */

/* Reset for shop pages */
.shop-main *,
.shop-header *,
.shop-footer * {
    box-sizing: border-box;
}

/* Announcement bar */
.shop-announce {
    background: var(--gradient-brand);
    color: #fff;
    padding: 0.6rem 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
}

.shop-announce strong {
    font-weight: 700;
}

/* Header */
.shop-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 200ms ease;
}

.shop-header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.shop-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 72px;
}

.shop-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--text-primary);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.shop-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient-brand);
    color: #fff;
    border-radius: 10px;
    font-size: 1.1rem;
    box-shadow: var(--shadow-primary);
}

.shop-brand-text {
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.shop-brand-text span {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.shop-brand-badge {
    padding: 0.25rem 0.5rem;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.25rem;
}

/* Shop nav */
.shop-nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 900px) {
    .shop-nav {
        display: flex;
    }
}

.shop-nav-link {
    padding: 0.5rem 0.875rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: color 180ms ease, background 180ms ease;
}

.shop-nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-subtle);
}

/* Shop actions */
.shop-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-theme-toggle {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-default);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 180ms ease;
}

.shop-theme-toggle:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.shop-icon-sun,
.shop-icon-moon {
    position: absolute;
    transition: opacity 300ms ease;
}

.shop-icon-sun { opacity: 0; }
.shop-icon-moon { opacity: 1; }

[data-theme="dark"] .shop-icon-sun { opacity: 1; }
[data-theme="dark"] .shop-icon-moon { opacity: 0; }

/* Cart button */
.shop-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-default);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 180ms ease;
}

.shop-cart-btn:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.shop-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--gradient-brand);
    color: #fff;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

/* User menu */
.shop-user-menu {
    position: relative;
    display: none;
}

@media (min-width: 640px) {
    .shop-user-menu {
        display: block;
    }
}

.shop-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.625rem 0.375rem 0.375rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-default);
    border-radius: 999px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 180ms ease;
}

.shop-user-btn:hover {
    background: var(--primary-soft);
    border-color: var(--primary-border);
}

.shop-user-avatar {
    width: 28px;
    height: 28px;
    background: var(--gradient-brand);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

.shop-user-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    padding: 0.375rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 200ms ease;
}

.shop-user-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.shop-user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 180ms ease;
}

.shop-user-dropdown a:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

/* Mobile toggle */
.shop-mobile-toggle {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-default);
    border-radius: 0.5rem;
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 900px) {
    .shop-mobile-toggle {
        display: none;
    }
}

.shop-mobile-menu {
    display: none;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding: 1rem 1.5rem 1.5rem;
}

.shop-mobile-menu.is-open {
    display: block;
}

.shop-mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
}

.shop-mobile-menu a:hover {
    background: var(--bg-subtle);
    color: var(--primary);
}

/* Main content */
.shop-main {
    min-height: 60vh;
    padding: 3rem 0 5rem;
    background: var(--bg-page);
}

/* Alert */
.shop-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.shop-alert-success {
    background: var(--success-soft);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.shop-alert-error {
    background: var(--danger-soft);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

[data-theme="dark"] .shop-alert-success {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

[data-theme="dark"] .shop-alert-error {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
}

/* Breadcrumbs */
.shop-breadcrumbs {
    margin-bottom: 1.5rem;
}

.shop-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.shop-breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: var(--text-light);
}

.shop-breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}

.shop-breadcrumbs a:hover {
    color: var(--primary);
}

.shop-breadcrumbs [aria-current="page"] {
    color: var(--text-primary);
    font-weight: 600;
}

/* Common typography */
.shop-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid var(--primary-border);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.shop-gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.shop-page-header {
    margin-bottom: 2.5rem;
}

.shop-page-header-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.shop-page-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.shop-page-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* Buttons */
.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.125rem;
    border: 1px solid transparent;
    border-radius: 0.625rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 200ms ease;
    white-space: nowrap;
    line-height: 1.2;
}

.shop-btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    border-radius: 0.75rem;
}

.shop-btn-block {
    display: flex;
    width: 100%;
}

.shop-btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.shop-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(25, 30, 225, 0.35);
    color: #fff;
}

.shop-btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-default);
}

.shop-btn-secondary:hover {
    background: var(--bg-subtle);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.shop-btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.shop-btn-ghost:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.shop-btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border-default);
    border-radius: 0.5rem;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 180ms ease;
}

.shop-btn-icon:hover {
    background: var(--danger-soft);
    color: var(--danger);
    border-color: var(--danger);
}

/* Hero */
.shop-hero {
    position: relative;
    padding: 3rem 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 1.5rem;
    margin-bottom: 4rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .shop-hero {
        padding: 4.5rem 3rem;
    }
}

.shop-hero-decoration {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-soft), transparent 70%);
    pointer-events: none;
}

[data-theme="dark"] .shop-hero-decoration {
    background: radial-gradient(circle, rgba(107, 112, 255, 0.12), transparent 70%);
}

.shop-hero-content {
    position: relative;
    max-width: 720px;
}

.shop-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.875rem;
    background: var(--success-soft);
    color: var(--success);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

[data-theme="dark"] .shop-hero-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.shop-hero-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    position: relative;
}

.shop-hero-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    animation: shopPulse 2s ease-out infinite;
}

@keyframes shopPulse {
    from { opacity: 0.7; transform: scale(1); }
    to { opacity: 0; transform: scale(3); }
}

.shop-hero-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.shop-hero-text {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0 0 2rem;
    max-width: 600px;
}

.shop-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.shop-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.shop-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.shop-trust-item svg {
    color: var(--success);
    flex-shrink: 0;
}

/* Section */
.shop-section {
    margin-bottom: 4rem;
}

.shop-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.shop-section-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.shop-section-meta {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Products grid */
.shop-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.text-white {
    color: white !important;
    text-align: center;
}
@media screen and (max-width: 768px ){
    a#s-log {
    display: none;
}
}
@media (min-width: 640px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .shop-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.shop-product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: all 300ms ease;
}

.shop-product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-lg);
}

.shop-product-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.shop-product-image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--bg-subtle);
    overflow: hidden;
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.05);
}

.shop-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.shop-product-placeholder strong {
    color: #fff;
}

.shop-product-type {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 0.25rem 0.625rem;
    background: #ad0d0d;
    color: #ffffff;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}

.shop-product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shop-product-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.shop-product-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0 0 1.5rem;
    flex: 1;
}

.shop-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.shop-product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shop-product-from {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.shop-product-amount {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.shop-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: gap 200ms ease;
}

.shop-product-card:hover .shop-product-cta {
    gap: 0.625rem;
}

/* Features */
.shop-features {
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 1.5rem;
}

.shop-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .shop-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .shop-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.shop-feature {
    text-align: center;
    padding: 1rem;
}

.shop-feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.shop-feature h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.shop-feature p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Empty state */
.shop-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
}

.shop-empty-lg {
    padding: 4rem 2rem;
}

.shop-empty-icon {
    display: inline-flex;
    width: 80px;
    height: 80px;
    background: var(--bg-subtle);
    color: var(--text-muted);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.shop-empty h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.shop-empty p {
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Panels */
.shop-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: var(--shadow-xs);
    margin-bottom: 1.5rem;
}

.shop-panel-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--primary);
}

.shop-panel-header h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Product detail layout */
.shop-product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .shop-product-detail {
        grid-template-columns: 1.4fr 1fr;
        gap: 3rem;
    }
}

.shop-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.shop-gallery-main {
    aspect-ratio: 16 / 10;
    background: var(--bg-subtle);
    border-radius: 1rem;
    overflow: hidden;
}

.shop-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 3rem;
    font-weight: 700;
}

.shop-gallery-placeholder strong {
    color: #fff;
}

.shop-gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.shop-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    padding: 0;
    background: transparent;
    border: 2px solid var(--border-light);
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 180ms ease;
}

.shop-thumb:hover,
.shop-thumb.is-active {
    border-color: var(--primary);
}

.shop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-product-info {
    padding: 1.75rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    box-shadow: var(--shadow-xs);
}

.shop-product-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.shop-product-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.shop-product-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.shop-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.shop-product-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.shop-product-meta strong {
    color: var(--text-primary);
    font-weight: 600;
}

.shop-product-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* Pricing plans */
.shop-plans-card {
    position: sticky;
    top: 96px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
}

.shop-plans-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.375rem;
}

.shop-plans-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0 0 1.5rem;
}

.shop-plans-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.shop-plan {
    position: relative;
    padding: 1.5rem;
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: 0.875rem;
    transition: all 200ms ease;
}

.shop-plan:hover {
    border-color: var(--border-strong);
}

.shop-plan.is-featured {
    background: linear-gradient(180deg, var(--primary-soft), transparent 30%);
    border: 2px solid var(--primary);
    box-shadow: 0 12px 28px rgba(25, 30, 225, 0.12);
}

[data-theme="dark"] .shop-plan.is-featured {
    background: linear-gradient(180deg, rgba(107, 112, 255, 0.12), transparent 30%);
}

.shop-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 999px;
    box-shadow: var(--shadow-primary);
    white-space: nowrap;
}

.shop-plan-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.shop-plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.shop-plan-amount {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}

.shop-plan-period {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.shop-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shop-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.shop-plan-features svg {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 3px;
}

.shop-plan-features strong {
    color: var(--text-primary);
    font-weight: 600;
}

.shop-plan-save {
    color: var(--success) !important;
}

.shop-plan-actions {
    display: flex;
    gap: 0.5rem;
}

.shop-qty {
    width: 70px;
    padding: 0.625rem 0.75rem;
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    text-align: center;
}

.shop-qty:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.shop-plans-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.shop-plans-note svg {
    color: var(--success);
    flex-shrink: 0;
}

/* Cart */
.shop-cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .shop-cart-layout {
        grid-template-columns: 1fr 380px;
        gap: 2.5rem;
    }
}

.shop-cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shop-cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 0.875rem;
    box-shadow: var(--shadow-xs);
}

@media (max-width: 768px) {
    .shop-cart-item {
        grid-template-columns: auto 1fr auto;
        gap: 0.75rem;
    }

    .shop-cart-item-qty,
    .shop-cart-item-price {
        grid-column: 2 / 4;
        justify-self: flex-start;
    }
}

.shop-cart-item-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shop-cart-item-info {
    min-width: 0;
}

.shop-cart-item-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.shop-cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.shop-cart-item-plan {
    padding: 0.15rem 0.5rem;
    background: var(--bg-subtle);
    border-radius: 999px;
    font-weight: 600;
    color: var(--text-secondary);
}

.shop-cart-item-qty,
.shop-cart-item-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: right;
}

.shop-cart-qty-label,
.shop-cart-price-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.shop-cart-qty-value,
.shop-cart-price-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Cart summary */
.shop-cart-summary {
    position: sticky;
    top: 96px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
    align-self: flex-start;
}

.shop-summary-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.shop-summary-rows {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.shop-summary-row {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.shop-summary-row-discount {
    color: var(--success);
    font-weight: 600;
}

.shop-summary-note {
    color: var(--text-muted);
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-light);
    margin-top: 1rem;
}

.shop-summary-note svg {
    flex-shrink: 0;
    color: var(--primary);
}

.shop-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
}

.shop-summary-total strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.shop-summary-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 1rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
    text-align: center;
    margin-top: 0.5rem;
}

.shop-summary-secure svg {
    color: var(--success);
}

/* Checkout */
.shop-checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .shop-checkout-layout {
        grid-template-columns: 1fr 400px;
        gap: 2.5rem;
    }
}

.shop-discount-form {
    margin: 0;
}

.shop-discount-row {
    display: flex;
    gap: 0.5rem;
}

.shop-discount-row input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: 0.625rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: "JetBrains Mono", Consolas, monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.shop-discount-row input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

/* Payment methods */
.shop-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.shop-payment-method {
    display: block;
    cursor: pointer;
}

.shop-payment-method input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shop-payment-method-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    background: var(--bg-page);
    border: 2px solid var(--border-default);
    border-radius: 0.75rem;
    transition: all 200ms ease;
}

.shop-payment-method:hover .shop-payment-method-card {
    border-color: var(--primary-border);
}

.shop-payment-method input:checked + .shop-payment-method-card {
    background: var(--primary-soft);
    border-color: var(--primary);
}

.shop-payment-method-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-surface);
    color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.shop-payment-method-content {
    flex: 1;
    min-width: 0;
}

.shop-payment-method-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.shop-payment-method-desc {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.shop-payment-method-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 2px solid var(--border-default);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 200ms ease;
}

.shop-payment-method input:checked + .shop-payment-method-card .shop-payment-method-check {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.shop-checkout-terms {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
    text-align: center;
    line-height: 1.5;
}

.shop-checkout-terms a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.shop-checkout-summary {
    position: sticky;
    top: 96px;
    align-self: flex-start;
}

.shop-summary-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.shop-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--border-light);
}

.shop-summary-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.shop-summary-item-info {
    min-width: 0;
    flex: 1;
}

.shop-summary-item-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.shop-summary-item-meta {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.shop-summary-item-price {
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
}

.shop-summary-divider {
    height: 1px;
    background: var(--border-light);
    margin: 0.5rem 0 1rem;
}

.shop-checkout-trust {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.shop-trust-badge {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
}

.shop-trust-badge svg {
    color: var(--success);
    flex-shrink: 0;
}

/* Auth pages */
.shop-auth-page {
    max-width: 460px;
    margin: 2rem auto;
}

.shop-auth-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.shop-auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.shop-auth-icon {
    display: inline-flex;
    width: 60px;
    height: 60px;
    background: var(--gradient-brand);
    color: #fff;
    border-radius: 0.75rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-primary);
}

.shop-auth-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.shop-auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

.shop-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shop-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.shop-field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.shop-input-wrap {
    position: relative;
}

.shop-input-icon {
    position: absolute;
    top: 50%;
    left: 0.875rem;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.shop-input-wrap input {
    width: 100%;
    padding: 0.75rem 0.875rem 0.75rem 2.625rem;
    background: var(--bg-page);
    border: 1px solid var(--border-default);
    border-radius: 0.625rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 180ms ease;
}

.shop-input-wrap input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.shop-input-toggle {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: transparent;
    border: 0;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
}

.shop-input-toggle:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.shop-field-hint {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin: 0;
}

.shop-form-divider {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    position: relative;
    margin: 0.5rem 0;
}

.shop-form-divider::before,
.shop-form-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: var(--border-light);
}

.shop-form-divider::before { left: 0; }
.shop-form-divider::after { right: 0; }

.shop-auth-switch {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.shop-auth-switch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.shop-auth-switch a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.shop-auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.shop-auth-benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.shop-auth-benefit svg {
    color: var(--success);
    flex-shrink: 0;
}

/* Thank you page */
.shop-thankyou {
    max-width: 720px;
    margin: 2rem auto;
}

.shop-thankyou-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 1.25rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.shop-thankyou-icon {
    display: inline-flex;
    width: 80px;
    height: 80px;
    background: var(--success);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 8px var(--success-soft);
    animation: shopThankyouPulse 2s ease-in-out infinite;
}

[data-theme="dark"] .shop-thankyou-icon {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.15);
}

@keyframes shopThankyouPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.shop-thankyou-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.shop-thankyou-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.shop-thankyou-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    padding: 1.5rem;
    background: var(--bg-subtle);
    border-radius: 0.875rem;
    text-align: left;
}

@media (min-width: 640px) {
    .shop-thankyou-details {
        grid-template-columns: repeat(3, 1fr);
    }
}

.shop-thankyou-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shop-thankyou-detail-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.shop-thankyou-detail-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.shop-thankyou-next {
    text-align: left;
    max-width: 500px;
    margin: 0 auto 2rem;
    padding: 1.75rem;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: 0.875rem;
}

.shop-thankyou-next h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
}

.shop-thankyou-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shop-thankyou-steps li {
    display: flex;
    gap: 0.875rem;
}

.shop-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--gradient-brand);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8125rem;
    box-shadow: var(--shadow-primary);
}

.shop-thankyou-steps strong {
    display: block;
    color: var(--text-primary);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.shop-thankyou-steps p {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    margin: 0;
    line-height: 1.5;
}

.shop-thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* Account page */
.shop-account-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .shop-account-layout {
        grid-template-columns: 260px 1fr;
        gap: 2.5rem;
    }
}

.shop-account-sidebar {
    align-self: flex-start;
}

@media (min-width: 900px) {
    .shop-account-sidebar {
        position: sticky;
        top: 96px;
    }
}

.shop-account-user {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 0.875rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-xs);
}

.shop-account-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-brand);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-primary);
}

.shop-account-user-info {
    min-width: 0;
    flex: 1;
}

.shop-account-user-name {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.2;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-account-user-email {
    color: var(--text-muted);
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-account-nav {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 0.875rem;
    padding: 0.5rem;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shop-account-nav a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 180ms ease;
}

.shop-account-nav a:hover {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.shop-account-nav a.is-active {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}

.shop-account-main {
    min-width: 0;
}

/* Stats grid */
.shop-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .shop-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.shop-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 0.875rem;
    box-shadow: var(--shadow-xs);
}

.shop-stat-icon {
    width: 44px;
    height: 44px;
    color: #fff;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.shop-stat-info {
    min-width: 0;
}

.shop-stat-value {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.shop-stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Orders list */
.shop-orders-list {
    display: flex;
    flex-direction: column;
}

.shop-order-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border-light);
    transition: background 180ms ease;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 0.5rem;
}

.shop-order-row:last-child {
    border-bottom: none;
}

.shop-order-row:hover {
    background: var(--bg-subtle);
    color: inherit;
}

.shop-order-row-main {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex: 1;
    min-width: 0;
}

.shop-order-row-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shop-order-row-info {
    min-width: 0;
    flex: 1;
}

.shop-order-row-number {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.shop-order-row-meta {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.shop-order-row-side {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.shop-order-row-total {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.shop-order-row-arrow {
    color: var(--text-muted);
    transition: transform 180ms ease;
}

.shop-order-row:hover .shop-order-row-arrow {
    transform: translateX(3px);
    color: var(--primary);
}

/* Order info */
.shop-order-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .shop-order-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .shop-order-info {
        grid-template-columns: repeat(4, 1fr);
    }
}

.shop-order-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shop-order-info-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.shop-order-info-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.shop-order-info-value code {
    padding: 0.25rem 0.5rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: "JetBrains Mono", Consolas, monospace;
    font-size: 0.8125rem;
    color: var(--primary);
}

.shop-order-info-total {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Order items */
.shop-order-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.shop-order-item {
    padding: 1.25rem;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
}

.shop-order-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--border-light);
}

.shop-order-item-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.shop-order-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.shop-order-item-price {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

/* License block */
.shop-license-block {
    padding: 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    border-radius: 0.625rem;
}

.shop-license-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    flex-wrap: wrap;
}

.shop-license-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.875rem;
}

.shop-license-header-left svg {
    color: var(--primary);
}

.shop-license-key-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.shop-license-key {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    font-family: "JetBrains Mono", Consolas, monospace;
    font-size: 0.8125rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    word-break: break-all;
    line-height: 1.4;
}

.shop-license-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: var(--bg-subtle);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.shop-license-meta strong {
    color: var(--text-primary);
    font-weight: 600;
}

.shop-license-download {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.shop-license-download-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: center;
}

.shop-license-unavailable {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: var(--bg-subtle);
    color: var(--text-muted);
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    margin-top: 1rem;
}

.shop-license-unavailable svg {
    color: var(--text-muted);
}

.shop-license-pending {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--warning-soft);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 0.625rem;
    color: var(--warning);
}

[data-theme="dark"] .shop-license-pending {
    background: rgba(245, 158, 11, 0.12);
}

.shop-license-pending svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.shop-license-pending strong {
    display: block;
    color: var(--text-primary);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.shop-license-pending p {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    margin: 0;
    line-height: 1.5;
}

/* Badges */
.shop-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3rem 0.625rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.shop-badge-dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
}

.shop-badge-active,
.shop-badge-paid {
    background: var(--success-soft);
    color: var(--success);
}

.shop-badge-pending {
    background: var(--warning-soft);
    color: var(--warning);
}

.shop-badge-revoked,
.shop-badge-expired,
.shop-badge-cancelled {
    background: var(--danger-soft);
    color: var(--danger);
}

.shop-badge-suspended {
    background: rgba(255, 145, 0, 0.12);
    color: #f97316;
}

[data-theme="dark"] .shop-badge-active,
[data-theme="dark"] .shop-badge-paid {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

[data-theme="dark"] .shop-badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

[data-theme="dark"] .shop-badge-revoked,
[data-theme="dark"] .shop-badge-expired,
[data-theme="dark"] .shop-badge-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

/* Error page */
.shop-error-page {
    max-width: 560px;
    margin: 4rem auto;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-md);
}

.shop-error-icon {
    display: inline-flex;
    width: 80px;
    height: 80px;
    background: var(--danger-soft);
    color: var(--danger);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .shop-error-icon {
    background: rgba(239, 68, 68, 0.15);
}

.shop-error-page h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

.shop-error-page p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 2rem;
}

.shop-error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* Footer */
.shop-footer {
    background: #0b1020;
    color: #cbd5e1;
    padding: 3.5rem 0 2rem;
}

.shop-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .shop-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

.shop-footer-brand {
    max-width: 340px;
}

.shop-footer-brand .shop-brand {
    color: #fff;
    margin-bottom: 1rem;
}

.shop-footer-brand .shop-brand-text {
    color: #fff;
}

.shop-footer-brand p {
    color: #cbd5e1;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.shop-footer-socials {
    display: flex;
    gap: 0.5rem;
}

.shop-footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border-radius: 0.5rem;
    transition: all 180ms ease;
}

.shop-footer-socials a:hover {
    background: var(--gradient-brand);
    color: #fff;
    transform: translateY(-2px);
}

.shop-footer h4 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1rem;
}

.shop-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shop-footer ul a {
    color: #cbd5e1;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 180ms ease, padding-left 180ms ease;
}

.shop-footer ul a:hover {
    color: #a5b4fc;
    padding-left: 4px;
}

.shop-footer-bottom {
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.8125rem;
}

.shop-footer-bottom p {
    margin: 0;
}

.shop-footer-bottom strong {
    color: #fff;
}

@media (min-width: 768px) {
    .shop-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
/* ==========================================================
   Product Gallery — Enhanced
   ========================================================== */

.shop-gallery-main {
    position: relative;
    overflow: hidden;
}

.shop-gallery-main-btn {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    background: none;
    border: 0;
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.shop-gallery-main-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.shop-gallery-main-btn:hover img {
    transform: scale(1.03);
}

.shop-gallery-zoom-hint {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 250ms ease, transform 250ms ease;
    pointer-events: none;
}

.shop-gallery-main-btn:hover .shop-gallery-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   Lightbox Modal
   ========================================================== */

.shop-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.shop-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.shop-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

/* Close button */
.shop-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
    backdrop-filter: blur(8px);
}

.shop-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Counter */
.shop-lightbox-counter {
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: 0.02em;
}

/* Navigation arrows */
.shop-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms ease;
    backdrop-filter: blur(8px);
}

.shop-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.shop-lightbox-prev {
    left: 20px;
}

.shop-lightbox-next {
    right: 20px;
}

/* Content area */
.shop-lightbox-content {
    position: relative;
    z-index: 5;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.shop-lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 300ms ease;
    user-select: none;
    -webkit-user-drag: none;
}

/* Loader */
.shop-lightbox-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.shop-lightbox-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #fff;
    border-radius: 50%;
    animation: shopSpin 700ms linear infinite;
}

@keyframes shopSpin {
    to { transform: rotate(360deg); }
}

/* Thumbnails strip */
.shop-lightbox-thumbs {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    max-width: calc(100vw - 40px);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.shop-lightbox-thumbs::-webkit-scrollbar {
    height: 6px;
}

.shop-lightbox-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.shop-lightbox-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 999px;
}

.shop-lightbox-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 200ms ease;
}

.shop-lightbox-thumb:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.shop-lightbox-thumb.is-active {
    opacity: 1;
    border-color: #fff;
    transform: translateY(-3px);
}

.shop-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .shop-lightbox-close {
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
    }

    .shop-lightbox-counter {
        top: 20px;
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .shop-lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .shop-lightbox-prev {
        left: 10px;
    }

    .shop-lightbox-next {
        right: 10px;
    }

    .shop-lightbox-content {
        max-height: 70vh;
        padding: 0.5rem;
    }

    .shop-lightbox-image {
        max-height: 70vh;
    }

    .shop-lightbox-thumbs {
        bottom: 14px;
        gap: 6px;
        padding: 8px;
        max-width: calc(100vw - 20px);
    }

    .shop-lightbox-thumb {
        width: 52px;
        height: 40px;
    }

    .shop-gallery-zoom-hint {
        display: none;
    }
}

/* Prevent body scroll when lightbox open */
body.lightbox-open {
    overflow: hidden;
}

/* Smooth entrance animation */
.shop-lightbox.is-open .shop-lightbox-content {
    animation: shopLightboxIn 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes shopLightboxIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.shop-lightbox.is-open .shop-lightbox-close,
.shop-lightbox.is-open .shop-lightbox-counter,
.shop-lightbox.is-open .shop-lightbox-nav,
.shop-lightbox.is-open .shop-lightbox-thumbs {
    animation: shopLightboxFadeIn 500ms ease 100ms both;
}

@keyframes shopLightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* ==========================================================
   Shop Logo - Theme Aware
   ========================================================== */

.shop-brand-logo {
    display: block;
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.shop-brand-logo-light {
    display: block;
}

.shop-brand-logo-dark {
    display: none;
}

[data-theme="dark"] .shop-brand-logo-light {
    display: none;
}

[data-theme="dark"] .shop-brand-logo-dark {
    display: block;
}

/* Footer always shows white logo */
.shop-footer .shop-brand-logo {
    display: block !important;
}

@media (max-width: 640px) {
    .shop-brand-logo {
        height: 30px;
    }
}

/* ==========================================================
   Shop Hero Banner - Rotating Slides (Crossfade)
   ========================================================== */

.shop-hero {
    position: relative;
    padding: 3rem 2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 1.5rem;
    margin-bottom: 3rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

@media (min-width: 768px) {
    .shop-hero {
        padding: 4rem 3rem;
    }
}

.shop-hero-decoration {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-soft, rgba(25,30,225,0.08)), transparent 70%);
    pointer-events: none;
}

/* Slider container */
.shop-hero-slider {
    position: relative;
    min-height: 220px;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .shop-hero-slider {
        min-height: 240px;
    }
}

/* Individual slide */
.shop-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 800ms ease-in-out, visibility 800ms ease-in-out;
    pointer-events: none;
}

.shop-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
    pointer-events: auto;
}

.shop-hero-content {
    max-width: 720px;
    margin: 0 auto;
}

/* Hero badge */
.shop-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.875rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

[data-theme="dark"] .shop-hero-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.shop-hero-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    position: relative;
}

.shop-hero-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    animation: shopPulse 2s ease-out infinite;
}

/* Hero title */
.shop-hero-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.shop-gradient-text {
    background: linear-gradient(135deg, #191ee1 0%, #7b3fe4 60%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline;
}

[data-theme="dark"] .shop-gradient-text {
    background: linear-gradient(135deg, #6b70ff 0%, #a78bfa 60%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero subtitle */
.shop-hero-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Slide dots */
.shop-hero-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.shop-hero-dot-btn {
    width: 8px;
    height: 8px;
    background: var(--border-strong);
    border: 0;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: all 300ms ease;
}

.shop-hero-dot-btn:hover {
    opacity: 1;
    transform: scale(1.3);
}

.shop-hero-dot-btn.is-active {
    background: var(--primary, #191ee1);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(25, 30, 225, 0.4);
}

[data-theme="dark"] .shop-hero-dot-btn.is-active {
    background: #6b70ff;
    box-shadow: 0 0 12px rgba(107, 112, 255, 0.5);
}

/* Hero actions */
.shop-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

/* Hero trust */
.shop-hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.shop-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.shop-trust-item svg {
    color: #10b981;
    flex-shrink: 0;
}

/* ==========================================================
   Shop Search Bar
   ========================================================== */

.shop-search-bar {
    margin-bottom: 2rem;
    max-width: 500px;
}

.shop-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.shop-search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

.shop-search-input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 2.75rem;
    background: var(--bg-surface);
    border: 2px solid var(--border-default);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.shop-search-input::placeholder {
    color: var(--text-light);
}

.shop-search-input:focus {
    border-color: var(--primary, #191ee1);
    box-shadow: 0 0 0 4px rgba(25, 30, 225, 0.1);
}

[data-theme="dark"] .shop-search-input:focus {
    box-shadow: 0 0 0 4px rgba(107, 112, 255, 0.15);
}

.shop-search-clear {
    position: absolute;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    background: var(--bg-subtle);
    border: 0;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background 200ms ease, color 200ms ease;
}

.shop-search-clear:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Hidden product during search */
.shop-product-card.is-search-hidden {
    display: none !important;
}

/* No results */
.shop-no-results {
    margin-bottom: 2rem;
}