:root {
    --bg-primary: #0A0B0E;
    --bg-secondary: #12141A;
    --bg-surface: #181B24;
    --bg-surface-elevated: #212532;
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    --brand-primary: #3B82F6;
    --brand-accent: #06B6D4;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    max-width: 100vw;
}

.text-muted {
    color: #9CA3AF !important;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(18, 20, 26, 0.6);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(6, 182, 212, 0.5);
}

/* ===== header ===== */
.site-header-block {
    background-color: #0A0B0E;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
}

body {
    padding-top: 5rem !important;
}

.site-header-block nav a {
    text-decoration: none;
}

/* Prevent horizontal scroll globally (fixes /contact/ etc.) */
.contact-page-section,
main {
    max-width: 100vw;
    overflow-x: hidden;
}

.site-header-block #js-mobile-nav {
    background-color: #12141A;
}

/* ===== hero ===== */
.hero-section {
    position: relative;
    background-color: #0A0B0E;
}

.hero-section .hero-card {
    min-height: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hero-section .hero-card:hover {
    transform: translateY(-2px);
}

/* ===== best-sellers ===== */
.best-sellers-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.best-sellers-section h2,
.best-sellers-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    hyphens: auto;
}

.best-sellers-section .best-sellers-card {
    min-height: 100%;
}

/* ===== loyalty-program ===== */
.selects-loyalty-section {
    position: relative;
}

.selects-loyalty-section .selects-loyalty-card {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.05);
}

.selects-loyalty-section .selects-loyalty-card:hover {
    box-shadow: 0 15px 35px -10px rgba(6, 182, 212, 0.25), 0 0 1px 1px rgba(6, 182, 212, 0.4);
    transform: translateY(-3px);
}

/* ===== availability ===== */
.availability-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.availability-section .js-stock-filter.active-filter {
    border-color: rgba(6, 182, 212, 0.6);
    background-color: rgba(6, 182, 212, 0.18);
    color: #22D3EE;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.availability-section .pin-icon {
    line-height: 1.2;
}

/* ===== catalog-grid ===== */
.catalog-grid-section {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.catalog-grid-section .catalog-grid-card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.catalog-grid-section .catalog-grid-card img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ===== blog-grid ===== */
.blog-grid-section {
    position: relative;
}

.blog-grid-section .blog-grid-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.blog-grid-section .blog-card-media img {
    will-change: transform;
}

/* ===== footer ===== */
.selects-dishes-footer {
    background-color: #0A0B0E;
}

.selects-dishes-footer a {
    transition: all 0.2s ease-in-out;
}

.selects-dishes-footer a:hover {
    color: #06B6D4;
}

.site-header-block {
    background-color: #0A0B0E;
}

.site-header-block nav a {
    text-decoration: none;
}

.site-header-block #js-mobile-nav {
    background-color: #12141A;
}

.catalog-page-block {
    position: relative;
    background-color: #0A0B0E;
}

.catalog-page-block .catalog-card {
    min-height: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.catalog-page-block .catalog-card:hover {
    transform: translateY(-2px);
}

.catalog-page-block input::placeholder {
    color: #9CA3AF;
    opacity: 1;
}

.catalog-page-block .js-filter-btn {
    background-color: #12141A;
    color: #9CA3AF;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.catalog-page-block .js-filter-btn:hover {
    color: #06B6D4;
    border-color: rgba(6, 182, 212, 0.4);
}

.catalog-page-block .js-filter-btn.active-filter {
    background-color: #06B6D4;
    color: #FFFFFF;
    border-color: #06B6D4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
}

.selects-dishes-footer {
    background-color: #0A0B0E;
}

.selects-dishes-footer a {
    transition: all 0.2s ease-in-out;
}

.selects-dishes-footer a:hover {
    color: #06B6D4;
}


/* ===== PAGE: blog ===== */
.blog-catalog-section .js-filter-btn.active { background-color: #06B6D4; color: #0A0B0E; border-color: #06B6D4; font-weight: 600; box-shadow: 0 0 15px rgba(6, 182, 212, 0.4); }
.blog-catalog-section .js-page-btn.active { background-color: #06B6D4; color: #0A0B0E; font-weight: 700; border-color: #06B6D4; box-shadow: 0 0 12px rgba(6, 182, 212, 0.35); }
.blog-catalog-section input::placeholder { color: #6B7280; opacity: 1; }
.blog-catalog-section .line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== PAGE: about ===== */
.selects-about-section { box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
.selects-about-section h1, .selects-about-section h2, .selects-about-section h3 { font-family: 'Space Grotesk', sans-serif; }

/* ===== PAGE: delivery-payment ===== */
.delivery-payment-section{background-color:#0A0B0E;color:#F9FAFB}.delivery-payment-section .delivery-card{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}.delivery-payment-section .delivery-card:hover{transform:translateY(-4px);box-shadow:0 0 25px rgba(6,182,212,.15)}

/* ===== PAGE: contact ===== */
.contact-page-section iframe { filter: invert(90%) hue-rotate(180deg) contrast(125%) grayscale(20%); }

/* ===== PAGE: cart ===== */
.cart-main-container .cart-ambient-orb-1 {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0) 70%);
  filter: blur(40px);
}
.cart-main-container .cart-ambient-orb-2 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 70%);
  filter: blur(50px);
}
.cart-main-container .cart-glass-panel {
  background: linear-gradient(180deg, rgba(24, 27, 36, 0.85) 0%, rgba(18, 20, 26, 0.95) 100%);
}
.cart-main-container .cart-summary-card {
  background: linear-gradient(180deg, rgba(24, 27, 36, 0.9) 0%, rgba(18, 20, 26, 0.98) 100%);
}
.cart-main-container .cart-field-input::placeholder {
  color: #6B7280;
  opacity: 1;
}
.cart-main-container .cart-toast-notification.active {
  transform: translateY(0);
  opacity: 1;
}

/* ===== PAGE: privacy ===== */
.privacy-policy-section .js-policy-link.active{color:#06B6D4;background-color:rgba(6,182,212,0.1);border-left:2px solid #06B6D4}.privacy-policy-section .js-policy-card{scroll-margin-top:24px}

/* ===== PAGE: terms ===== */
.terms-content-section { font-family: 'Plus Jakarta Sans', sans-serif; }
.terms-content-section h1, .terms-content-section h2, .terms-content-section h3 { font-family: 'Space Grotesk', sans-serif; hyphens: auto; }
.terms-content-section a { text-decoration-skip-ink: auto; }

/* ===== PAGE: disclaimer ===== */
.disclaimer-page-section { scroll-behavior: smooth; } .disclaimer-page-section a { word-break: break-word; }

/* ===== PAGE: refound ===== */
.policy-content-section{background-color:#0A0B0E;font-family:'Plus Jakarta Sans',sans-serif}.policy-content-section [class*='font-Space_Grotesk']{font-family:'Space Grotesk',sans-serif}.policy-content-section .border-subtle{border-color:rgba(255,255,255,0.08)}.policy-content-section a:focus-visible{outline:2px solid #06B6D4;outline-offset:2px}

/* ===== PAGE: delivery ===== */
.shipping-policy-page table { border-collapse: separate; border-spacing: 0; } .shipping-policy-page th, .shipping-policy-page td { border-bottom: 1px solid rgba(255, 255, 255, 0.05); } .shipping-policy-page tr:last-child td { border-bottom: none; }

.comment-item {
    position: relative;
}

.main-comment-card {
    background-color: rgba(24, 27, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.main-comment-card:hover {
    border-color: rgba(6, 182, 212, 0.45);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(6, 182, 212, 0.15);
}

.comment-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.comment-body {
    color: #D1D5DB;
    line-height: 1.625;
}

.comment-like-btn:hover i,
.comment-reply-trigger:hover i {
    transform: translateY(-1px);
}

.comment-like-btn i,
.comment-reply-trigger i {
    transition: transform 0.2s ease;
}

.reply-comment-wrapper {
    position: relative;
}

.reply-comment-card {
    background-color: rgba(18, 20, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.reply-comment-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 8px 25px -5px rgba(59, 130, 246, 0.15);
}

.reply-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.reply-body {
    color: #D1D5DB;
    line-height: 1.6;
}


/* ===== PAGE TEMPLATE: catalog-items ===== */
.site-header-block {
    background-color: #0A0B0E;
}

.site-header-block nav a {
    text-decoration: none;
}

.site-header-block #js-mobile-nav {
    background-color: #12141A;
}

.article-detail-page {
    background-color: #0A0B0E;
}

.article-detail-page .article-content-body p {
    line-height: 1.7;
}

.article-detail-page .recent-posts-list .recent-post-link {
    transition: color 0.2s ease;
}

.selects-dishes-footer {
    background-color: #0A0B0E;
}

.selects-dishes-footer a {
    transition: all 0.2s ease-in-out;
}

.selects-dishes-footer a:hover {
    color: #06B6D4;
}

/* ===== PAGE TEMPLATE: blog-posts ===== */
.site-header-block {
    background-color: #0A0B0E;
}

.site-header-block nav a {
    text-decoration: none;
}

.site-header-block #js-mobile-nav {
    background-color: #12141A;
}

.article-detail-page {
    background-color: #0A0B0E;
}

.article-detail-page .article-content-body p {
    line-height: 1.7;
}

.article-detail-page .recent-posts-list .recent-post-link {
    transition: color 0.2s ease;
}

.selects-dishes-footer {
    background-color: #0A0B0E;
}

.selects-dishes-footer a {
    transition: all 0.2s ease-in-out;
}

.selects-dishes-footer a:hover {
    color: #06B6D4;
}