/*
Theme Name: VEIP SHOP
Theme URI: https://veip-shop.com
Author: VEIP SHOP
Description: Текущая витрина VEIP SHOP на WooCommerce.
Version: 1.1.0
Text Domain: smokehub
*/

:root {
  --ink: #0e1116;
  --paper: #f2efe8;
  --paper-2: #e9e4d9;
  --line-dark: #2a333f;
  --line-light: #d3ccbd;
  --store-accent: #e2622c;
  --store-accent-deep: #c2501e;
  --text: #12171d;
  --text-soft: #5c6470;
  --text-inv: #f2efe8;
  --text-inv-soft: #8d9aa8;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --font-heading: "Sora", "Manrope", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
body.storefront {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.storefront h1, .storefront h2, .storefront h3, .font-heading {
  font-family: var(--font-heading), sans-serif;
}
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
  color: var(--store-accent); font-family: var(--font-mono), monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section { padding-block: clamp(56px, 8vw, 120px); }
.section-ink { background: var(--ink); color: var(--text-inv); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--text-inv); }
.section-title {
  margin: 0; font-size: clamp(30px, 4vw, 56px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 0.98; text-transform: uppercase;
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(28px, 4vw, 56px);
}
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
@media (min-width: 1024px) {
  .project-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .project-grid.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.project-card { display: block; color: inherit; height: 100%; }
.project-thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); }
.project-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-thumb img { transform: scale(1.04); }
.project-tag {
  position: absolute; top: 0; left: 0; z-index: 2; background: var(--store-accent); color: #fff;
  padding: 7px 12px; font-family: var(--font-mono), monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
}
.project-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-light); }
.project-meta h3 { margin: 0; font-size: 16px; font-weight: 700; text-transform: uppercase; }
.project-meta .place, .project-meta .price { margin: 6px 0 0; color: var(--text-soft); font-family: var(--font-mono), monospace; font-size: 11px; letter-spacing: 0.08em; }
.project-meta .price, .project-meta .price * { color: var(--store-accent); }
.card-stock { margin: 8px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.card-stock.is-out { color: #8d3b2a; }
.card-excerpt {
  margin: 8px 0 0; color: var(--text-soft); font-size: 14px; font-weight: 400;
  letter-spacing: 0; line-height: 1.4; text-transform: none;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.related-products { margin-top: 48px; }
.related-products h2 { margin: 0 0 20px; font-size: 28px; text-transform: none; }
.mini-phases { display: grid; grid-template-columns: 1fr; gap: 1px; border: 1px solid var(--line-dark); background: var(--line-dark); }
@media (min-width: 768px) { .mini-phases { grid-template-columns: repeat(4, 1fr); } }
.mini-phase { background: var(--ink); padding: clamp(22px, 3vw, 36px); }
.mini-phase h3 { margin: 12px 0 8px; font-size: 18px; text-transform: uppercase; }
.mini-phase p { margin: 0; color: var(--text-inv-soft); font-size: 15px; }
.cta { background: var(--store-accent); color: #fff; padding-block: clamp(48px, 6vw, 88px); }
.cta h2 { color: #fff; }
.cta-row { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
@media (min-width: 768px) { .cta-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.btn-accent, .btn-ghost, .btn-ghost-light, .btn-ink {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px;
  font-family: var(--font-heading), sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; border: 0; cursor: pointer;
}
.btn-accent { background: var(--store-accent); color: #fff; }
.btn-accent:hover { background: var(--store-accent-deep); color: #fff; }
.btn-ghost { border: 1px solid currentColor; }
.btn-ghost:hover { border-color: var(--store-accent); color: var(--store-accent); }
.btn-ghost-light { border: 1px solid rgba(242, 239, 232, 0.4); color: var(--text-inv); }
.btn-ghost-light:hover { border-color: var(--store-accent); color: var(--store-accent); }
.btn-ink { background: var(--ink); color: var(--text-inv); }
.btn-ink:hover { background: #000; color: #fff; }
.page-head { background: var(--ink); color: var(--text-inv); padding: clamp(40px, 6vw, 88px) 0; }
.page-head h1 { margin: 0; font-size: clamp(36px, 6vw, 72px); font-weight: 800; letter-spacing: -0.035em; text-transform: uppercase; }
.page-head p { max-width: 720px; color: var(--text-inv-soft); font-size: 18px; }
.crumbs { margin-bottom: 18px; color: var(--text-inv-soft); font-family: var(--font-mono), monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.crumbs a { color: var(--store-accent); }
.crumbs-light { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; color: var(--text-soft); letter-spacing: 0.04em; text-transform: none; font-family: var(--font-sans); font-size: 14px; }
.crumbs-light a, .crumbs-light span:last-child { color: var(--text); }
.ui-icon { width: 16px; height: 16px; flex: none; color: var(--store-accent); }
.site-nav summary .ui-icon { color: currentColor; }

.site-head { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line-dark); background: rgba(14, 17, 22, 0.94); color: var(--text-inv); backdrop-filter: blur(12px); }
.head-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-inv); font-family: var(--font-heading), sans-serif; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.brand svg { width: 36px; height: 36px; display: block; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a, .site-nav summary, .site-nav button.cart-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px;
  border: 0; color: rgba(242, 239, 232, 0.84); background: transparent; font-size: 12px;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
}
.site-nav a:hover, .site-nav summary:hover, .site-nav button.cart-link:hover { color: var(--store-accent); }
.nav-more { position: relative; }
.nav-more summary { list-style: none; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more[open] .more-list, .nav-more:hover .more-list { display: block; }
.more-list {
  display: none; position: absolute; right: 0; top: 100%; z-index: 20; width: 260px;
  padding: 8px 0; background: var(--ink); border: 1px solid var(--line-dark);
}
.more-list a { display: flex; width: 100%; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-button { display: none; color: var(--text-inv); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.cart-link { position: relative; }
.cart-count:empty { display: none; }
.cart-count { margin-left: 6px; color: var(--store-accent); }
.cart-note { margin: 12px 0 0; color: var(--store-accent); font-weight: 700; }
@media (max-width: 1023px) {
  .menu-button { display: inline-flex; }
  .site-nav {
    display: none; position: fixed; inset: 72px 0 0 auto; width: min(360px, 88vw);
    flex-direction: column; align-items: stretch; padding: 16px; overflow: auto;
    background: var(--ink); border-left: 1px solid var(--line-dark);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .more-list { position: static; width: auto; border: 0; }
}

.site-foot { background: var(--ink); color: var(--text-inv); }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-foot h3 { margin: 0 0 16px; color: var(--text-inv); font-family: var(--font-mono), monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.site-foot p, .site-foot li { color: var(--text-inv-soft); }
.site-foot a { color: var(--text-inv-soft); }
.site-foot a:hover { color: var(--store-accent); }
.site-foot ul { margin: 0; padding: 0; list-style: none; }
.site-foot li { margin: 10px 0; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 0 28px; border-top: 1px solid var(--line-dark); color: rgba(242, 239, 232, 0.6); font-size: 13px; }
.dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--store-accent); }

.hero { position: relative; min-height: min(100svh, 760px); overflow: hidden; background: var(--ink); color: var(--text-inv); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-shade { position: absolute; inset: 0; background: rgba(14, 17, 22, 0.55); }
.hero-copy { position: relative; z-index: 2; display: flex; align-items: center; min-height: min(100svh, 760px); }
.hero-copy .inner { max-width: 760px; padding: 80px 0; }
.hero h1, .hero .hero-title { margin: 0; color: #fff; font-size: clamp(40px, 7vw, 96px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.92; text-transform: uppercase; }
.hero .kicker { color: var(--store-accent); font-family: var(--font-mono), monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.hero .sub { margin-top: 20px; max-width: 560px; font-size: clamp(18px, 2vw, 28px); color: var(--text-inv); }
.hero .desc { margin-top: 16px; max-width: 560px; color: var(--text-inv-soft); font-size: 18px; }
.hero-nav { position: absolute; right: 24px; bottom: 24px; z-index: 3; display: flex; gap: 8px; }
.hero-nav button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; }
.hero-nav button:hover { border-color: var(--store-accent); color: var(--store-accent); }
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); }
@media (min-width: 800px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .brand-grid { grid-template-columns: repeat(8, 1fr); } }
.brand-grid a { display: flex; min-height: 96px; align-items: center; justify-content: center; padding: 12px; background: var(--ink); color: var(--text-inv); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-align: center; text-transform: uppercase; }
.brand-grid a:hover { color: var(--store-accent); }

.catalog-layout { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 32px 0 64px; }
@media (min-width: 900px) { .catalog-layout { grid-template-columns: 240px 1fr; } }
.cat-side a { display: block; padding: 8px 0; color: var(--text-soft); border-bottom: 1px solid var(--line-light); }
.cat-side a.is-current, .cat-side a:hover { color: var(--store-accent); }
.catalog-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.catalog-tools select, .catalog-search input[type="search"] { color: var(--text); }
.pager { display: flex; gap: 8px; margin-top: 28px; }
.pager a, .pager span { padding: 8px 12px; border: 1px solid var(--line-light); }
.pager span.current { background: var(--ink); color: var(--text-inv); }

.product-page { padding: 28px 0 72px; }
.product-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 900px) { .product-layout { grid-template-columns: 1.05fr 0.95fr; align-items: start; } }
.product-gallery, .product-layout .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0; }
.gallery-stage { position: relative; background: #fff; border: 1px solid var(--line-light); }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.gallery-stage img { display: block; width: 100%; height: auto; border: 0; }
.gallery-lens { position: absolute; width: 148px; height: 148px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 10px 28px rgba(14, 17, 22, 0.28); background-repeat: no-repeat; pointer-events: none; z-index: 2; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.gallery-thumbs button { flex: none; width: 72px; height: 72px; padding: 0; border: 1px solid var(--line-light); background: #fff; cursor: pointer; }
.gallery-thumbs button.is-current { border-color: var(--store-accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; border: 0; }
.gallery-lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; overflow: auto; padding: 64px 16px 16px; background: rgba(14, 17, 22, 0.92); }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox img { width: auto; max-width: min(1100px, 92vw); max-height: 86vh; background: #fff; border: 0; cursor: zoom-in; }
.gallery-lightbox img.is-zoomed { max-width: none; max-height: none; width: min(180vw, 1800px); cursor: zoom-out; }
.gallery-close { position: fixed; top: 16px; right: 16px; z-index: 91; width: 42px; height: 42px; border: 0; background: #fff; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
body.gallery-open { overflow: hidden; }
.product-badges span { display: inline-flex; margin: 0 8px 12px 0; padding: 4px 10px; border: 1px solid var(--line-light); color: var(--text); font-size: 13px; }
.delivery-notes { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.delivery-notes li { display: flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: 14px; }
.product-layout table.variations { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.product-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.product-buy h1 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -0.03em; text-transform: none; }
.share-link { border: 1px solid var(--line-light); background: #fff; padding: 8px 12px; cursor: pointer; font: inherit; }
.product-buy .quantity, .woocommerce .quantity { display: inline-flex; align-items: center; border: 1px solid var(--line-light); background: #fff; }
.qty-step { width: 36px; height: 40px; border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.spec-card p { display: flex; justify-content: space-between; gap: 16px; margin: 8px 0; }
.spec-card span { color: var(--text-soft); }
.cart-progress { height: 6px; margin: 4px 0 14px; background: var(--paper-2); }
.cart-progress span { display: block; height: 100%; background: var(--store-accent); }
.cart-summary .btn-accent { justify-content: center; width: 100%; }
#cart-page-body { display: grid; gap: 20px; }
#cart-page-body.is-empty { display: block; }
#cart-page-body .drawer-items { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
#cart-page-body .drawer-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin: 0; padding: 14px; background: #fff; border: 1px solid var(--line-light); }
#cart-page-body .drawer-item img { width: 88px; height: 88px; object-fit: cover; background: #fff; }
#cart-page-body .cart-summary { background: #fff; border: 1px solid var(--line-light); padding: 18px 20px; }
.checkout-summary.is-busy { opacity: 0.55; }
.checkout-qty { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; }
.checkout-qty button { width: 28px; height: 28px; border: 1px solid var(--line-light); background: #fff; cursor: pointer; }
#place_order:disabled, #place_order.is-muted { background: var(--paper-2) !important; color: var(--text-soft) !important; cursor: not-allowed; }
.cart-panel { position: fixed; inset: 0; z-index: 80; }
.cart-backdrop { position: absolute; inset: 0; border: 0; background: rgba(14, 17, 22, 0.45); }
.cart-sheet { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; width: min(440px, 100%); height: 100%; padding: 20px; background: var(--paper); color: var(--text); }
.cart-sheet header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cart-sheet h2 { margin: 0; text-transform: none; }
.cart-sheet header button { border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.drawer-items { list-style: none; margin: 0 0 16px; padding: 0; overflow: auto; }
.drawer-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-light); }
.drawer-item img { width: 64px; height: 64px; object-fit: cover; background: #fff; }
.drawer-qty { display: inline-flex; align-items: center; gap: 8px; }
.drawer-qty button, .drawer-remove { border: 1px solid var(--line-light); background: #fff; cursor: pointer; }
.drawer-line { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0; }
.drawer-total strong { color: var(--store-accent); font-size: 22px; }
.drawer-page { display: inline-block; margin-top: 12px; color: var(--text-soft); }
.btn-accent.is-muted { background: var(--paper-2); color: var(--text-soft); cursor: not-allowed; }
.product-badges a { display: inline-flex; margin: 0 8px 12px 0; padding: 4px 10px; border: 1px solid var(--line-light); color: var(--text); font-size: 13px; }
.product-buy .price, .product-buy .price * { color: var(--text); font-size: 32px; font-weight: 800; }
.product-buy .price del, .product-buy .price del * { color: var(--text-soft); font-size: 18px; font-weight: 500; }
.stock-badge { display: inline-flex; margin: 0 0 18px; padding: 6px 10px; background: var(--ink); color: var(--text-inv); font-size: 13px; font-weight: 700; }
.stock-badge.is-out { background: #8d3b2a; }
.flavor-label { margin: 0 0 10px; font-weight: 700; }
.flavor-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.flavor-pick { border: 2px solid var(--line-light); background: #fff; color: var(--text); padding: 8px 14px; cursor: pointer; font: inherit; }
.flavor-pick.is-selected { border-color: var(--store-accent); background: var(--store-accent); color: #fff; }
.product-buy .quantity .qty, .woocommerce .quantity .qty { width: 52px; border: 0; background: transparent; padding: 8px 4px; color: var(--text); text-align: center; }
.product-description { margin-top: 24px; color: var(--text); }
.product-description h2 { margin-top: 0; }
.single_add_to_cart_button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.wc-block-components-button, .wc-block-cart__submit-button {
  background: var(--store-accent) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.single_add_to_cart_button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
  background: var(--store-accent-deep) !important; color: #fff !important;
}
.page-copy { padding: 28px 0 72px; }
.page-copy h2, .page-copy h3 { text-transform: uppercase; }
.copy-card { background: #fff; border: 1px solid var(--line-light); padding: 20px 22px; margin: 0 0 16px; }
.copy-card h2, .copy-card h3 { margin-top: 0; }
.soft { color: var(--text-soft); }
.info-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 800px) { .info-grid.two { grid-template-columns: 1fr 1fr; } .info-grid.three { grid-template-columns: 1fr 1fr 1fr; } }
.icon-tile { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--paper-2); margin-bottom: 12px; }
.icon-tile .ui-icon { width: 24px; height: 24px; }
.center { text-align: center; }
.stats-bar { background: var(--ink); color: var(--text-inv); padding: 36px 20px; margin-top: 28px; }
.stats-bar h2, .ink-cta h2, .ink-cta h3 { text-transform: none; }
.stats-bar h2 { margin: 0 0 24px; color: #fff; text-align: center; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-grid strong { display: block; font-size: 32px; }
.stats-grid span { color: rgba(242, 239, 232, 0.8); font-size: 14px; }
.ink-cta { background: var(--ink); color: var(--text-inv); padding: 36px 24px; margin-top: 20px; text-align: center; }
.ink-cta h2, .ink-cta h3 { color: #fff; }
.ink-cta p { color: var(--text-inv-soft); }
.ink-cta .ui-icon { width: 42px; height: 42px; margin-bottom: 8px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.step-no { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; background: var(--store-accent); color: #fff; font-weight: 800; }
.tier { background: var(--ink); color: var(--text-inv); padding: 22px 12px; text-align: center; }
.tier strong { display: block; font-size: 36px; }
.row-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; background: var(--paper); margin-bottom: 10px; }
.page-copy ul { margin: 8px 0 0; padding-left: 18px; color: var(--text-soft); }
.page-copy li { margin: 6px 0; }
.ink-bar { background: var(--ink); color: var(--text-inv); padding: 16px 20px; margin: -20px -22px 16px; }
.notice { border-left: 4px solid var(--store-accent); background: #fff; padding: 16px 18px; }
.shop-flow-title { margin: 0 0 24px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; text-transform: none; }
.woocommerce, .woocommerce-cart .shop-flow, .woocommerce-checkout .shop-flow { color: var(--text); }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line-light); border-radius: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px; border-color: var(--line-light); text-align: left; }
.woocommerce table.shop_table th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.woocommerce .cart-collaterals, .woocommerce .cart-collaterals .cart_totals, .woocommerce-cart .cart-collaterals { float: none; width: 100%; }
.woocommerce .cart_totals, .woocommerce-checkout #order_review, .woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 {
  background: #fff; border: 1px solid var(--line-light); padding: 18px 20px;
}
.woocommerce .cart_totals h2, .woocommerce-checkout h3 { margin-top: 0; text-transform: none; }
.woocommerce form.checkout.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.checkout-main { display: grid; gap: 16px; }
.checkout-card { background: #fff; border: 1px solid var(--line-light); padding: 18px 20px; }
.checkout-card > h2 { margin: 0 0 14px; font-size: 20px; text-transform: none; }
.checkout-card #customer_details .col-1, .checkout-card #customer_details .col-2 { background: transparent; border: 0; padding: 0; }
.woocommerce-shipping-totals { display: none; }
.ship-slot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ship-slot li, #payment ul.payment_methods > li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 14px; border: 2px solid var(--line-light); background: #fff; cursor: pointer; }
.ship-slot li:hover, #payment ul.payment_methods > li:hover { background: var(--paper); }
.ship-slot li:has(input:checked), #payment ul.payment_methods > li:has(input:checked) { border-color: var(--store-accent); background: #fff; }
.ship-slot li label, #payment ul.payment_methods > li > label { display: flex; align-items: center; gap: 12px; flex: 1; margin: 0; cursor: pointer; }
.method-main { display: flex; align-items: center; gap: 10px; flex: 1; }
.method-text { display: flex; flex-direction: column; gap: 2px; }
.method-text small { color: var(--text-soft); font-size: 13px; }
.method-price { margin-left: auto; font-weight: 700; }
#payment ul.payment_methods > li > .payment_box { flex-basis: 100%; }
@media (min-width: 960px) {
  .woocommerce-cart .shop-flow .woocommerce { display: block; }
  #cart-page-body:not(.is-empty) { grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr); align-items: start; }
  #cart-page-body .cart-summary { position: sticky; top: 88px; }
  .woocommerce form.checkout.checkout-grid { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr); align-items: start; }
  .checkout-main { grid-column: 1; }
  .checkout-summary { grid-column: 2; grid-row: 1; position: sticky; top: 88px; }
}
.woocommerce #customer_details .col-1, .woocommerce #customer_details .col-2 { float: none; width: 100%; }
.woocommerce form .form-row { margin-bottom: 12px; }
.storefront button,
.storefront input,
.storefront select,
.storefront textarea {
  font-family: inherit;
  border-radius: 0;
}
.storefront button { appearance: none; }
.storefront input[type="text"],
.storefront input[type="email"],
.storefront input[type="tel"],
.storefront input[type="password"],
.storefront input[type="search"],
.storefront input[type="url"],
.storefront input[type="number"],
.storefront textarea,
.storefront select {
  border: 1px solid var(--line-light);
  background-color: #fff;
  color: var(--text);
  padding: 10px 12px;
}
.storefront select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312171d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}
.storefront input[type="number"] { appearance: textfield; }
.storefront input[type="number"]::-webkit-outer-spin-button,
.storefront input[type="number"]::-webkit-inner-spin-button { appearance: none; margin: 0; }
.storefront input[type="checkbox"],
.storefront input[type="radio"] { accent-color: var(--store-accent); }
.storefront input:focus,
.storefront select:focus,
.storefront textarea:focus { outline: 1px solid var(--store-accent); outline-offset: 1px; }
.select2-container--default .select2-selection--single {
  height: auto; border: 1px solid var(--line-light); border-radius: 0; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312171d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 14px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--text); line-height: 1.5; padding: 10px 36px 10px 12px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b { display: none; }
.catalog-search input[type="search"] { width: 100%; }
.select2-dropdown { border-color: var(--line-light); border-radius: 0; }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background: var(--store-accent); color: #fff;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--line-light); border-radius: 0;
}
.woocommerce form .input-text, .woocommerce form select, .wc-block-components-text-input input { width: 100%; }
.woocommerce .catalog-tools select, .catalog-tools select { width: auto; }
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  border: 1px solid var(--line-light);
  border-radius: 0;
  background-color: #fff;
  color: var(--text);
  padding: 10px 12px;
}
.woocommerce form .form-row select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312171d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}
.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--store-accent);
  outline: 1px solid var(--store-accent);
}
.woocommerce ul#shipping_method, .woocommerce #payment ul.payment_methods { list-style: none; margin: 0; padding: 0; }
.woocommerce #payment { background: transparent; border-radius: 0; }
.woocommerce #payment div.payment_box { background: var(--paper); color: var(--text); border-radius: 0; }
.woocommerce #payment div.payment_box::before { display: none; }
.woocommerce .order-total .amount, .woocommerce .order-total td { color: var(--store-accent); font-size: 22px; font-weight: 800; }
.woocommerce a.checkout-button, .woocommerce #place_order { display: flex; width: 100%; justify-content: center; }
.woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce .woocommerce-error {
  background: #fff; border: 0; border-left: 4px solid var(--store-accent); color: var(--text); border-radius: 0;
}
.woocommerce .cart-empty { background: #fff; border: 1px solid var(--line-light); padding: 28px; }

.pipe-mark { position: relative; display: inline-flex; flex: none; color: #f2efe8; }
.pipe-mark svg { width: 100%; height: 100%; display: block; }
.pipe-smoke { position: absolute; left: 42%; top: -14%; width: 36%; height: 52%; pointer-events: none; }
.pipe-smoke span {
  position: absolute; left: 46%; bottom: 8%; width: 9px; height: 9px; border-radius: 999px;
  background: rgba(242, 239, 232, 0.9); filter: blur(0.6px); animation: pipe-puff 1.7s ease-out infinite;
}
.pipe-smoke span:nth-child(2) { animation-delay: 0.45s; margin-left: 7px; width: 7px; height: 7px; }
.pipe-smoke span:nth-child(3) { animation-delay: 0.9s; margin-left: -8px; width: 6px; height: 6px; }
@keyframes pipe-puff {
  0% { transform: translate(-50%, 8px) scale(0.45); opacity: 0; }
  18% { opacity: 0.85; }
  100% { transform: translate(calc(-50% - 6px), -34px) scale(1.7); opacity: 0; }
}
.pipe-loader {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; background: #0e1116;
}
.pipe-loader p {
  margin: 0; color: #f2efe8; font-family: var(--font-heading), sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.pipe-progress { display: block; width: 168px; height: 3px; background: #2a333f; overflow: hidden; }
.pipe-progress span { display: block; height: 100%; width: 0; background: var(--store-accent); animation: pipe-load 0.9s ease forwards; }
@keyframes pipe-load { to { width: 100%; } }
.pipe-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s ease; }
@media (prefers-reduced-motion: reduce) {
  .pipe-smoke span { animation: none; opacity: 0.75; }
  .pipe-progress span { animation: none; width: 100%; }
}
