/*
Theme Name: A Smoke Above
Theme URI: https://asmokeabove.com
Author: A Smoke Above
Description: Premium Brooklyn-street WooCommerce theme for A Smoke Above.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: a-smoke-above
License: GNU General Public License v2 or later
*/

:root {
  --asa-black: #0b0b0b;
  --asa-ink: #111111;
  --asa-panel: #171717;
  --asa-panel-2: #202020;
  --asa-cream: #f3efe6;
  --asa-muted: #aaa59b;
  --asa-line: rgba(243, 239, 230, 0.16);
  --asa-orange: #ff5a1f;
  --asa-orange-dark: #c93800;
  --asa-success: #8ee58b;
  --asa-warning: #ffbf69;
  --asa-radius: 18px;
  --asa-shadow: 0 24px 80px rgba(0,0,0,.38);
  --asa-max: 1280px;
  --asa-header: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--asa-black);
  color: var(--asa-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--asa-orange); color: #fff; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}

.asa-shell { width: min(calc(100% - 40px), var(--asa-max)); margin-inline: auto; }
.asa-section { padding: 96px 0; }
.asa-section--tight { padding: 62px 0; }
.asa-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 15px; color: var(--asa-orange); font-size: .75rem;
  font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
}
.asa-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.asa-title {
  margin: 0; max-width: 900px; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.8rem, 7vw, 6.7rem); line-height: .88; letter-spacing: -.035em;
  text-transform: uppercase; font-weight: 900;
}
.asa-title--medium { font-size: clamp(2.35rem, 5vw, 4.8rem); }
.asa-copy { color: var(--asa-muted); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 720px; }

.asa-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-element-button {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 22px !important; border: 1px solid var(--asa-orange) !important;
  border-radius: 999px !important; background: var(--asa-orange) !important;
  color: #fff !important; font-weight: 900 !important; letter-spacing: .05em;
  text-transform: uppercase; transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.asa-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wp-element-button:hover { transform: translateY(-2px); background: var(--asa-orange-dark) !important; border-color: var(--asa-orange-dark) !important; }
.asa-btn--ghost { background: transparent !important; color: var(--asa-cream) !important; border-color: var(--asa-line) !important; }
.asa-btn--ghost:hover { background: var(--asa-cream) !important; color: var(--asa-black) !important; border-color: var(--asa-cream) !important; }

.site-header {
  position: sticky; z-index: 1000; top: 0; height: var(--asa-header);
  background: rgba(11,11,11,.88); border-bottom: 1px solid var(--asa-line);
  backdrop-filter: blur(18px);
}
.site-header__inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { max-height: 52px; width: auto; }
.site-brand {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.45rem; letter-spacing: .03em; text-transform: uppercase;
}
.site-brand span { color: var(--asa-orange); }
.primary-menu { display: flex; justify-content: center; align-items: center; gap: 24px; list-style: none; padding: 0; margin: 0; }
.primary-menu a { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #d9d5cd; }
.primary-menu a:hover { color: var(--asa-orange); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.store-pill {
  max-width: 230px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--asa-line);
  background: #151515; color: var(--asa-cream); border-radius: 999px; padding: 10px 14px;
  font-size: .76rem; font-weight: 800; white-space: nowrap;
}
.store-pill strong { color: var(--asa-orange); }
.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--asa-line);
  border-radius: 50%; background: transparent; color: var(--asa-cream); font-size: 1.25rem;
}

.hero {
  position: relative; min-height: min(860px, calc(100vh - var(--asa-header)));
  display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--asa-line);
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.72) 52%, rgba(0,0,0,.3) 100%),
    radial-gradient(circle at 78% 32%, rgba(255,90,31,.34), transparent 25%),
    linear-gradient(145deg, #111 10%, #2b2b2b 48%, #090909 80%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .13; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent 0 5px, rgba(255,255,255,.15) 6px);
}
.hero::after {
  content: "A SMOKE ABOVE"; position: absolute; right: -2vw; top: 7%; color: rgba(255,255,255,.035);
  font-family: Impact, sans-serif; font-size: min(18vw, 250px); line-height: .8;
  writing-mode: vertical-rl; text-transform: uppercase;
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding: 110px 0 80px; }
.hero__headline {
  max-width: 980px; margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.3rem, 11vw, 10rem); line-height: .78; letter-spacing: -.045em; text-transform: uppercase;
}
.hero__headline em { display: block; color: var(--asa-orange); font-style: normal; }
.hero__copy { max-width: 690px; margin: 28px 0 0; color: #c9c5bd; font-size: clamp(1.06rem, 2vw, 1.35rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 18px 34px; margin-top: 52px; padding-top: 24px;
  border-top: 1px solid var(--asa-line); color: var(--asa-muted);
}
.hero__meta strong { display: block; color: var(--asa-cream); font-size: 1.05rem; }

.marquee { overflow: hidden; border-bottom: 1px solid var(--asa-line); background: var(--asa-orange); color: #fff; }
.marquee__track {
  display: flex; width: max-content; gap: 44px; padding: 13px 0; animation: asa-marquee 28s linear infinite;
  font-family: Impact, sans-serif; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
}
.marquee__track span::after { content: "✦"; margin-left: 44px; }
@keyframes asa-marquee { to { transform: translateX(-50%); } }

.store-grid, .category-grid, .feature-grid, .footer-grid {
  display: grid; gap: 18px;
}
.store-grid { grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.store-card {
  position: relative; padding: 26px; border: 1px solid var(--asa-line); border-radius: var(--asa-radius);
  background: linear-gradient(150deg, #1c1c1c, #101010); transition: transform .2s ease, border-color .2s ease;
}
.store-card:hover { transform: translateY(-5px); border-color: rgba(255,90,31,.7); }
.store-card__tag { font-size: .7rem; font-weight: 900; color: var(--asa-orange); text-transform: uppercase; letter-spacing: .12em; }
.store-card h3 { margin: 9px 0 5px; font-size: 1.5rem; }
.store-card p { margin: 0 0 20px; color: var(--asa-muted); }
.store-card__actions { display: flex; flex-wrap: wrap; gap: 9px; }
.store-card button, .store-card a {
  border: 1px solid var(--asa-line); background: transparent; color: var(--asa-cream);
  border-radius: 999px; padding: 9px 13px; font-size: .72rem; font-weight: 900; text-transform: uppercase;
}
.store-card button:hover, .store-card a:hover { border-color: var(--asa-orange); color: var(--asa-orange); }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 34px; }
.section-heading .asa-copy { margin: 0; }

.category-grid { grid-template-columns: repeat(4, 1fr); }
.category-card {
  position: relative; min-height: 290px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; overflow: hidden; border: 1px solid var(--asa-line); border-radius: var(--asa-radius);
  background: linear-gradient(155deg, #252525, #101010);
}
.category-card::before {
  content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; top: -70px; right: -70px;
  background: radial-gradient(circle, rgba(255,90,31,.43), transparent 68%);
}
.category-card__count { color: var(--asa-muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
.category-card h3 { position: relative; margin: 8px 0 0; font-size: 1.5rem; text-transform: uppercase; }
.category-card:hover { border-color: var(--asa-orange); }

.catalog-strip { background: var(--asa-cream); color: var(--asa-black); }
.catalog-strip .asa-copy { color: #5f5b55; }
.catalog-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin: 28px 0; padding: 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 16px; background: #fff;
}
.catalog-toolbar label { font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.catalog-toolbar select, .catalog-toolbar input {
  min-height: 44px; border: 1px solid rgba(0,0,0,.16); border-radius: 999px; padding: 0 15px; background: #fff;
}
.asa-product-grid,
.woocommerce ul.products {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px !important;
  margin: 0 !important; padding: 0 !important;
}
.asa-product-card,
.woocommerce ul.products li.product {
  width: auto !important; margin: 0 !important; padding: 0 0 20px !important;
  overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,.12); border-radius: 16px;
}
.asa-product-card__image,
.woocommerce ul.products li.product a img {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 !important;
  background: linear-gradient(145deg, #ece8df, #d7d2c8);
}
.asa-product-card__body { padding: 18px 18px 0; }
.asa-product-card__brand { color: #6a655d; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.asa-product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 5px 0 12px !important; padding: 0 18px !important; color: #111; font-size: 1.06rem !important;
}
.asa-product-card h3 { padding: 0 !important; }
.asa-availability { margin: 13px 0 0; padding-top: 13px; border-top: 1px solid rgba(0,0,0,.1); color: #4f4b45; font-size: .78rem; }
.asa-availability strong { color: #18713e; }
.asa-availability--warehouse strong { color: #a4410e; }
.woocommerce ul.products li.product .price { padding: 0 18px; color: #111 !important; font-weight: 900 !important; }
.woocommerce ul.products li.product .button { margin: 14px 18px 0 !important; min-height: 44px; font-size: .72rem; }

.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card { padding: 28px; border-top: 1px solid var(--asa-line); }
.feature-card__number { color: var(--asa-orange); font-family: Impact, sans-serif; font-size: 3.3rem; }
.feature-card h3 { margin: 8px 0; text-transform: uppercase; }
.feature-card p { color: var(--asa-muted); margin: 0; }

.request-banner {
  position: relative; overflow: hidden; padding: 60px; border-radius: 28px;
  background: var(--asa-orange); color: #fff; box-shadow: var(--asa-shadow);
}
.request-banner::after {
  content: "?"; position: absolute; right: 2%; top: -50%; color: rgba(255,255,255,.1);
  font-family: Impact, sans-serif; font-size: 28rem;
}
.request-banner > * { position: relative; z-index: 1; }
.request-banner .asa-btn { background: #0b0b0b !important; border-color: #0b0b0b !important; }
.request-banner p { max-width: 680px; font-size: 1.15rem; }

.site-footer { border-top: 1px solid var(--asa-line); padding: 70px 0 26px; background: #070707; }
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
.footer-title { font-family: Impact, sans-serif; font-size: 2.2rem; text-transform: uppercase; }
.footer-title span { color: var(--asa-orange); }
.footer-column h3 { font-size: .75rem; color: var(--asa-orange); text-transform: uppercase; letter-spacing: .12em; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin: 9px 0; color: var(--asa-muted); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 22px;
  border-top: 1px solid var(--asa-line); color: #7f7b73; font-size: .78rem;
}

.age-gate {
  position: fixed; z-index: 99999; inset: 0; display: none; place-items: center; padding: 20px;
  background: rgba(0,0,0,.92); backdrop-filter: blur(18px);
}
.age-gate.is-open { display: grid; }
.age-gate__panel {
  width: min(560px, 100%); padding: 38px; border: 1px solid var(--asa-line);
  border-radius: 24px; background: #111; box-shadow: var(--asa-shadow); text-align: center;
}
.age-gate__mark { color: var(--asa-orange); font-family: Impact, sans-serif; font-size: 4rem; }
.age-gate h2 { margin: 0; font-family: Impact, sans-serif; font-size: clamp(2.5rem, 8vw, 4.6rem); line-height: .9; text-transform: uppercase; }
.age-gate p { color: var(--asa-muted); }
.age-gate__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.age-gate__actions button { min-height: 52px; border-radius: 999px; font-weight: 900; text-transform: uppercase; }
.age-gate__yes { border: 0; background: var(--asa-orange); color: #fff; }
.age-gate__no { border: 1px solid var(--asa-line); background: transparent; color: var(--asa-cream); }

.content-area { min-height: 55vh; padding: 80px 0; }
.entry-card { padding: clamp(22px, 5vw, 60px); border: 1px solid var(--asa-line); border-radius: 24px; background: var(--asa-panel); }
.entry-title { margin-top: 0; font-family: Impact, sans-serif; font-size: clamp(2.6rem, 7vw, 6rem); line-height: .9; text-transform: uppercase; }
.entry-content { color: #d5d1c9; }
.entry-content a { color: var(--asa-orange); text-decoration: underline; }
.entry-content input, .entry-content textarea, .entry-content select,
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select {
  width: 100%; border: 1px solid var(--asa-line); border-radius: 12px; background: #111; color: var(--asa-cream);
  padding: 13px 14px;
}

.woocommerce .woocommerce-breadcrumb { color: var(--asa-muted); }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto; float: none; }
.woocommerce div.product .product_title { font-family: Impact, sans-serif; font-size: clamp(2.8rem, 6vw, 5rem); line-height: .9; text-transform: uppercase; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--asa-orange); }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--asa-orange); background: var(--asa-panel); color: var(--asa-cream);
}
.woocommerce-info::before, .woocommerce-message::before { color: var(--asa-orange); }
.woocommerce table.shop_table { border-color: var(--asa-line); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--asa-line); }
.woocommerce-cart table.cart img { width: 84px; border-radius: 10px; }
.woocommerce .quantity .qty { background: #111; color: #fff; border: 1px solid var(--asa-line); border-radius: 8px; min-height: 44px; }

@media (max-width: 1050px) {
  .primary-menu { display: none; position: absolute; left: 20px; right: 20px; top: calc(100% + 10px); padding: 24px;
    flex-direction: column; align-items: stretch; background: #111; border: 1px solid var(--asa-line); border-radius: 18px; }
  .primary-menu.is-open { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-header__inner { grid-template-columns: auto 1fr auto; }
  .header-actions .store-pill { display: none; }
  .category-grid, .asa-product-grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --asa-header: 68px; }
  .asa-shell { width: min(calc(100% - 26px), var(--asa-max)); }
  .asa-section { padding: 68px 0; }
  .hero { min-height: 720px; }
  .hero__inner { padding: 90px 0 48px; }
  .hero__headline { font-size: clamp(4rem, 20vw, 7.5rem); }
  .section-heading { display: block; }
  .section-heading .asa-copy { margin-top: 18px; }
  .store-grid, .category-grid, .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .asa-product-grid, .woocommerce ul.products { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .asa-product-card__body { padding: 13px 13px 0; }
  .request-banner { padding: 34px 24px; }
  .footer-bottom { display: block; }
  .woocommerce div.product { grid-template-columns: 1fr; }
  .site-brand { font-size: 1.15rem; }
}
@media (max-width: 480px) {
  .asa-product-grid, .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .age-gate__actions { grid-template-columns: 1fr; }
}
