/*
Theme Name: USmoke Storefront Clone
Theme URI: https://tuyyop.shop/
Author: Custom build
Description: Responsive storefront theme matched to the supplied USmoke reference.
Version: 2.0.3
Text Domain: usmoke-clone
*/

:root {
  --ink: #18191a;
  --muted: #6f7476;
  --line: #e5e7e7;
  --green: #245b59;
  --green-dark: #174442;
  --green-light: #e9f0ef;
  --red: #a5232c;
  --cream: #f7f5f1;
  --gold: #c98d32;
  --page: 1240px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Work Sans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--page)); margin-inline: auto; }
.section { padding: 64px 0; }
.section-heading { margin: 0 0 10px; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.03em; line-height: 1.1; }
.section-copy { margin: 0; color: var(--muted); }
.center { text-align: center; }

.announcement {
  position: relative;
  z-index: 40;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 9px 44px;
  background: var(--green-dark);
  color: #fff;
  text-align: center;
  font-size: 13px;
  letter-spacing: .01em;
}
.announcement span { transition: opacity .18s ease, transform .18s ease; }
.announcement span.is-changing { opacity: 0; transform: translateY(4px); }

.site-header { position: sticky; top: 0; z-index: 35; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-main { min-height: 86px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.desktop-nav { display: flex; gap: 25px; align-items: center; font-size: 14px; }
.desktop-nav a { position: relative; padding: 34px 0; }
.desktop-nav a::after { content: ""; position: absolute; inset: auto 0 24px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.desktop-nav a:hover::after { transform: scaleX(1); }
.brand img { width: 112px; height: 62px; object-fit: contain; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.header-action, .menu-toggle { width: 42px; height: 42px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; color: #1e2222; }
.header-action:hover, .menu-toggle:hover { background: #f0f3f3; }
.cart-trigger { position: relative; }
.cart-count { position: absolute; right: 1px; top: 0; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; border-radius: 20px; background: var(--red); color: #fff; font-size: 10px; }
.menu-toggle { display: none; }
.search-row { border-top: 1px solid #f3f3f3; padding: 11px 0; }
.search-box { position: relative; }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #777; }
.search-box input { width: 100%; height: 44px; padding: 0 18px 0 49px; border: 1px solid var(--line); border-radius: 4px; outline: 0; background: #fbfbfb; }
.search-box input:focus { border-color: #789a98; box-shadow: 0 0 0 3px rgba(36,91,89,.1); }

.hero img { width: 100%; aspect-ratio: 1625 / 968; max-height: 735px; object-fit: cover; }
.feature-intro { background: #fff; }
.feature-banner { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: 52px; align-items: center; }
.feature-banner img { width: 100%; border-radius: var(--radius); }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid var(--green); border-radius: 3px; background: var(--green); color: #fff; font-weight: 600; transition: .2s ease; }
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--green); }
.btn-outline:hover { color: #fff; }

.services { background: var(--cream); }
.service-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #e6e1d9; background: #fff; }
.service-card { min-height: 205px; padding: 32px 25px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-right: 1px solid #e6e1d9; }
.service-card:last-child { border-right: 0; }
.service-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: #efe9dc; font-size: 24px; }
.service-card h3 { margin: 0 0 8px; font-size: 15px; letter-spacing: .06em; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; }

.section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 22px; }
.product-card { position: relative; min-width: 0; }
.product-image { position: relative; overflow: hidden; aspect-ratio: 1; background: #f5f6f6; border-radius: 3px; }
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.discount { position: absolute; z-index: 2; top: 10px; right: 10px; width: 48px; height: 48px; display: grid; place-items: center; padding: 6px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.05; text-align: center; }
.product-card h3 { margin: 14px 0 7px; font-size: 14px; line-height: 1.35; }
.price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { color: var(--red); font-size: 14px; font-weight: 700; }
.was { color: #999; font-size: 12px; text-decoration: line-through; }
.saving { display: inline-block; margin-top: 6px; padding: 2px 6px; background: var(--red); color: #fff; border-radius: 2px; font-size: 11px; }
.rating { margin-top: 5px; color: var(--gold); font-size: 12px; }
.rating span { color: #555; }
.add-cart { position: absolute; inset: auto 10px 10px; min-height: 38px; border: 0; border-radius: 2px; background: rgba(24,25,26,.92); color: #fff; transform: translateY(58px); transition: .25s ease; }
.product-card:hover .add-cart, .add-cart:focus { transform: translateY(0); }
.add-cart.is-added { background: var(--green); }

.hot-section { background: #f3f3f1; }
.hot-lead { position: relative; min-height: 420px; margin-bottom: 24px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius); background: #ddd; }
.hot-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.5), rgba(0,0,0,.12)); }
.hot-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hot-lead-content { position: relative; z-index: 2; width: min(90%, 1120px); color: #fff; }
.hot-lead h2 { margin: 0 0 12px; font-size: clamp(40px, 6vw, 76px); letter-spacing: -.04em; }
.hot-lead p { max-width: 560px; margin: 0 0 24px; font-size: 17px; }
.hot-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }

.proof-section { background: #fff; }
.photo-scroller { margin-top: 28px; display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 14px; overflow-x: auto; padding: 2px 0 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.photo-scroller img { width: 260px; height: 335px; object-fit: cover; scroll-snap-align: start; background: #eee; }

.reviews { background: var(--cream); }
.review-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review-card { overflow: hidden; background: #fff; border: 1px solid #e6e1d9; }
.review-card > img { width: 100%; height: 225px; object-fit: cover; }
.review-body { padding: 20px; }
.review-stars { color: var(--gold); letter-spacing: .12em; }
.review-name { margin: 8px 0 2px; font-size: 12px; font-weight: 700; }
.review-title { margin: 12px 0 4px; font-weight: 700; }
.review-text { margin: 0; color: #565a5b; font-size: 13px; }
.review-product { display: block; margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line); color: #777; font-size: 12px; }

.warehouse-hero { position: relative; min-height: 430px; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.warehouse-hero::after { content: ""; position: absolute; inset: 0; background: rgba(10,14,14,.53); }
.warehouse-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.warehouse-hero-content { position: relative; z-index: 2; width: min(680px, calc(100% - 40px)); }
.warehouse-hero h2 { margin: 0 0 10px; font-size: clamp(36px,5vw,62px); }
.warehouse-hero p { margin: 0 0 23px; }
.warehouse-hero .btn { border-color: #fff; background: transparent; }
.warehouse-hero .btn:hover { background: #fff; color: var(--ink); }

.faq-wrap { width: min(100%, 900px); margin: 34px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button { width: 100%; min-height: 66px; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 0; background: transparent; color: var(--ink); text-align: left; font-weight: 650; }
.faq-button span:last-child { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #f0f1f1; transition: transform .2s; }
.faq-answer { max-height: 0; overflow: hidden; color: var(--muted); transition: max-height .3s ease; }
.faq-answer p { margin: 0; padding: 0 46px 22px 0; }
.faq-item.is-open .faq-answer { max-height: 150px; }
.faq-item.is-open .faq-button span:last-child { transform: rotate(45deg); }

.final-banner img { width: 100%; max-height: 560px; object-fit: cover; }
.site-footer { background: var(--green-dark); color: #fff; }
.footer-grid { padding: 52px 0 40px; display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px; }
.footer-brand img { width: 132px; height: 86px; margin-bottom: 14px; object-fit: contain; background: #fff; border-radius: 4px; }
.footer-brand p { max-width: 280px; color: rgba(255,255,255,.68); font-size: 13px; }
.footer-col h3 { margin: 0 0 18px; font-size: 14px; }
.footer-col a { display: block; margin: 10px 0; color: rgba(255,255,255,.72); font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: rgba(255,255,255,.66); font-size: 12px; }
.payment-pills { display: flex; gap: 7px; }
.payment-pills span { padding: 5px 8px; border-radius: 3px; background: rgba(255,255,255,.92); color: #333; font-weight: 700; }

.backdrop { position: fixed; z-index: 59; inset: 0; background: rgba(0,0,0,.48); opacity: 0; visibility: hidden; transition: .25s; }
.backdrop.is-open { opacity: 1; visibility: visible; }
.side-panel { position: fixed; z-index: 60; top: 0; bottom: 0; width: min(390px, 88vw); background: #fff; transition: transform .3s ease; box-shadow: 0 0 30px rgba(0,0,0,.18); }
.mobile-menu { left: 0; transform: translateX(-105%); padding: 24px; }
.cart-drawer { right: 0; transform: translateX(105%); display: flex; flex-direction: column; }
.side-panel.is-open { transform: translateX(0); }
.panel-head { min-height: 72px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.panel-head button { width: 38px; height: 38px; border: 0; background: #f4f4f4; border-radius: 50%; font-size: 23px; }
.mobile-links { display: grid; gap: 0; margin-top: 18px; }
.mobile-links a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
.cart-content { padding: 20px; overflow-y: auto; flex: 1; }
.cart-empty { padding: 60px 0; color: var(--muted); text-align: center; }
.cart-lines { list-style: none; padding: 0; margin: 0; }
.cart-line { display: grid; grid-template-columns: 64px 1fr 30px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; object-fit: contain; background: #f4f4f4; }
.cart-line strong, .cart-line span { display: block; font-size: 12px; line-height: 1.35; }
.cart-line span { margin-top: 5px; color: var(--red); }
.cart-line button { border: 0; background: transparent; font-size: 22px; color: #888; }
.cart-foot { padding: 18px 20px 24px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 14px; font-weight: 700; }
.cart-foot .btn { width: 100%; }
.cart-foot { display: grid; gap: 10px; }
.widget_shopping_cart_content { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.widget_shopping_cart_content .woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }
.widget_shopping_cart_content .mini_cart_item { position: relative; min-height: 84px; padding: 16px 28px 16px 74px; border-bottom: 1px solid var(--line); font-size: 13px; }
.widget_shopping_cart_content .mini_cart_item img { position: absolute; left: 0; top: 12px; width: 60px; height: 60px; object-fit: contain; }
.widget_shopping_cart_content .remove { position: absolute; right: 0; top: 17px; color: var(--red) !important; font-size: 22px; }
.widget_shopping_cart_content .quantity { display: block; margin-top: 6px; color: var(--red); }
.widget_shopping_cart_content .woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding: 16px 0; font-weight: 700; }
.widget_shopping_cart_content .woocommerce-mini-cart__buttons { display: none; }

.generic-main { min-height: 60vh; padding: 64px 0 86px; background: #fbfbfa; }
.content-shell { padding: 38px clamp(18px, 4vw, 56px); border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.page-title, .woocommerce-products-header__title { margin-top: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(32px, 4vw, 48px); }
.woocommerce .products ul, .woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding-bottom: 18px; }
.woocommerce ul.products li.product img { aspect-ratio: 1; object-fit: contain; background: #f5f5f3; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 48px; color: var(--ink); font-size: 14px; line-height: 1.45; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--red); font-weight: 750; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { border-radius: 3px; background: var(--green); color: #fff; font-weight: 700; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--green-dark); color: #fff; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--green); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--green); }
.woocommerce table.shop_table { border-color: var(--line); border-radius: 5px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container--default .select2-selection--single { min-height: 46px; border: 1px solid #cfd2d2; border-radius: 3px; padding: 8px 12px; }
.woocommerce-checkout #payment { background: var(--green-light); }
.woocommerce-checkout #payment div.payment_box { background: #fff; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.usmoke-age-confirm { margin: 18px 0 !important; padding: 15px; border: 1px solid #d7b572; background: #fff9ea; font-weight: 650; }
.single-product .product_title { font-family: Georgia, 'Times New Roman', serif; }

.coupon-overlay { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.42); opacity: 0; visibility: hidden; transition: .25s; }
.coupon-overlay.is-visible { opacity: 1; visibility: visible; }
.coupon { position: relative; width: min(650px, 94vw); min-height: 370px; padding: 46px 46px 38px; overflow: hidden; border-radius: 8px; background: #ffdcd4 url('assets/images/90f04783b241006b.png') center/cover no-repeat; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.34); }
.coupon-close { position: absolute; top: 0; right: 0; width: 42px; height: 42px; border: 0; background: #1e2123; color: #fff; font-size: 23px; }
.coupon h2 { margin: 0 0 34px; color: #fff; font-size: clamp(30px,5vw,46px); text-shadow: 0 1px 7px rgba(191,57,28,.25); }
.coupon-deals { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 26px; }
.coupon-deal { padding: 24px 12px; background: rgba(255,255,255,.9); border: 1px dashed #ffc3b5; }
.coupon-deal strong { display: block; font-size: 28px; }
.coupon-deal span { color: #8b8583; }
.coupon small { display: block; margin-top: 20px; color: #fff; }

@media (max-width: 1050px) {
  .desktop-nav { gap: 15px; font-size: 12px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hot-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .service-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(-n+2) { border-bottom: 1px solid #e6e1d9; }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 30px), var(--page)); }
  .section { padding: 46px 0; }
  .announcement { min-height: 55px; font-size: 13px; }
  .site-header { position: relative; }
  .header-main { min-height: 94px; grid-template-columns: 1fr auto 1fr; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; justify-self: start; }
  .brand img { width: 106px; height: 66px; }
  .search-row { padding: 10px 0; }
  .search-box input { height: 48px; }
  .hero img { aspect-ratio: 1625/968; min-height: 275px; object-fit: cover; }
  .feature-banner { grid-template-columns: 1fr; gap: 26px; }
  .feature-copy { order: 2; }
  .section-heading { font-size: 30px; }
  .section-top { align-items: flex-start; }
  .section-top .btn { display: none; }
  .service-grid { display: block; }
  .service-card { min-height: 218px; border-right: 0; border-bottom: 1px solid #e6e1d9; }
  .service-card:last-child { border-bottom: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 14px; }
  .product-card h3 { font-size: 13px; }
  .discount { width: 45px; height: 45px; top: 7px; right: 7px; }
  .add-cart { position: static; width: 100%; min-height: 36px; margin-top: 10px; transform: none; }
  .hot-lead { min-height: 455px; }
  .hot-lead::after { background: rgba(0,0,0,.45); }
  .hot-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 14px; }
  .photo-scroller { grid-auto-columns: 76vw; }
  .photo-scroller img { width: 76vw; height: 98vw; max-height: 490px; }
  .review-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .review-card > img { height: 190px; }
  .review-body { padding: 14px; }
  .warehouse-hero { min-height: 380px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; padding-top: 38px; }
  .footer-brand { margin-bottom: 24px; }
  .footer-col { border-top: 1px solid rgba(255,255,255,.16); padding: 18px 0; }
  .footer-col h3 { margin: 0; }
  .footer-col a { display: none; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .coupon { padding: 34px 18px 26px; min-height: 320px; }
  .coupon h2 { margin-bottom: 22px; }
  .coupon-deals { gap: 10px; }
  .coupon-deal { padding: 20px 6px; }
  .coupon-deal strong { font-size: 22px; }
  .coupon-deal span { font-size: 12px; }
  .generic-main { padding: 30px 0 56px; }
  .content-shell { padding: 24px 15px; }
  .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}

@media (max-width: 420px) {
  .product-grid, .hot-grid { gap: 20px 10px; }
  .price-row { gap: 4px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card > img { height: 250px; }
}
