/*
Theme Name: STL Grillzz
Theme URI: https://stlgrillzz.com
Description: Custom grillz and jewelry – handcrafted in St. Louis
Version: 3.0
Author: STL Grillzz
Text Domain: stlgrillzz
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --black:#000; --white:#fff;
  --gray-f3:#f3f3f3; --gray-e5:#e5e7eb; --gray-37:#374151;
  --red:#dc2626;
  --font:'Inter',-apple-system,sans-serif;
  --display:'Bebas Neue',sans-serif;
  --max-w:1400px;
  --hh:72px;
  --ah:36px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);color:var(--black);background:var(--white);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}

/* Announcement bar */
.announce-bar{position:fixed;top:0;left:0;right:0;z-index:1000;height:var(--ah);background:var(--black);color:var(--white);display:flex;align-items:center;justify-content:center;font-family:var(--display);font-size:13px;letter-spacing:.28em;text-transform:uppercase}

/* Header */
[data-nav]{position:fixed;top:var(--ah);left:0;right:0;z-index:900;height:var(--hh);background:rgba(0,0,0,.92);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.08);transition:background .3s}
.header-inner{max-width:var(--max-w);margin:0 auto;padding:0 40px;height:100%;display:flex;align-items:center;gap:32px}
.site-logo{font-family:var(--display);font-size:22px;letter-spacing:.14em;text-transform:uppercase;color:var(--white);white-space:nowrap;flex-shrink:0}
.site-nav{display:flex;gap:24px;align-items:center;flex:1}
.site-nav a{font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.65);white-space:nowrap;transition:color .2s}
.site-nav a:hover{color:var(--white)}
.header-actions{display:flex;gap:18px;align-items:center;flex-shrink:0}
.header-actions a{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.65);white-space:nowrap;transition:color .2s}
.header-actions a:hover{color:var(--white)}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:6px;font-size:22px;color:var(--white);margin-left:auto;line-height:1}

/* Mobile drawer */
.mob-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:950}
.mob-overlay.open{display:block}
.mob-nav{position:fixed;top:0;left:-100%;width:280px;height:100%;background:#0a0a0a;z-index:960;padding:24px 32px;display:flex;flex-direction:column;transition:left .3s ease;overflow-y:auto}
.mob-nav.open{left:0}
.mob-nav-close{background:none;border:none;font-size:28px;cursor:pointer;align-self:flex-end;margin-bottom:32px;line-height:1;color:var(--white)}
.mob-nav a{display:block;padding:14px 0;font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.7);border-bottom:1px solid rgba(255,255,255,.08)}
.mob-nav a:hover{color:var(--white)}

/* Hero */
.hero{position:relative;min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#0a0a0a;overflow:hidden;padding-top:calc(var(--ah) + var(--hh))}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;background-repeat:no-repeat;opacity:.3}
.hero-logo-wrap{position:relative;z-index:1;margin-bottom:32px;overflow:hidden}
.hero-logo-img{width:clamp(120px,18vw,220px);height:auto;display:block;margin:0 auto}
.hero-content{position:relative;z-index:1;text-align:center;padding:0 40px}
.hero-eyebrow{font-size:11px;font-weight:600;letter-spacing:.3em;text-transform:uppercase;color:rgba(255,255,255,.45);margin-bottom:22px}
.hero-title{font-family:var(--display);font-size:clamp(72px,12vw,160px);line-height:.88;color:var(--white);letter-spacing:.04em;text-transform:uppercase;margin-bottom:36px}
.hero-line-wrap{overflow:hidden}
.hero-line{display:block}
.hero-cta{display:inline-block;padding:14px 44px;border:1.5px solid var(--white);color:var(--white);font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;transition:background .2s,color .2s}
.hero-cta:hover{background:var(--white);color:var(--black)}

/* Showcase */
.showcase{padding:100px 40px;max-width:var(--max-w);margin:0 auto}
.section-label{font-size:10px;font-weight:600;letter-spacing:.3em;text-transform:uppercase;color:var(--gray-37);margin-bottom:16px}
.section-title{font-family:var(--display);font-size:clamp(36px,5vw,64px);letter-spacing:.06em;text-transform:uppercase;margin-bottom:56px}
.showcase-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}
.showcase-item{position:relative;overflow:hidden;background:#111;cursor:pointer}
.showcase-item-thumb{aspect-ratio:3/4;overflow:hidden}
.showcase-item-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.showcase-item:hover .showcase-item-thumb img{transform:scale(1.05)}
.showcase-item-info{position:absolute;bottom:0;left:0;right:0;padding:24px 20px;background:linear-gradient(to top,rgba(0,0,0,.85) 0%,transparent 100%)}
.showcase-item-name{font-family:var(--display);font-size:22px;letter-spacing:.1em;text-transform:uppercase;color:var(--white);margin-bottom:4px}
.showcase-item-price{font-size:13px;font-weight:300;color:rgba(255,255,255,.65)}

/* Lifestyle */
.lifestyle{position:relative;background:#0a0a0a;overflow:hidden;min-height:60vh;display:flex;align-items:center}
.lifestyle-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.4}
.lifestyle-content{position:relative;z-index:1;max-width:var(--max-w);margin:0 auto;padding:100px 40px}
.lifestyle-content p{font-family:var(--display);font-size:clamp(36px,6vw,80px);letter-spacing:.06em;text-transform:uppercase;color:var(--white);line-height:.92;max-width:800px}

/* Features */
.features{padding:100px 40px;background:var(--black)}
.features-inner{max-width:var(--max-w);margin:0 auto}
.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:40px;margin-top:56px}
.feature-item{border-top:1px solid rgba(255,255,255,.12);padding-top:28px}
.feature-num{font-family:var(--display);font-size:48px;color:var(--red);line-height:1;margin-bottom:16px}
.feature-name{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--white);margin-bottom:10px}
.feature-desc{font-size:13px;font-weight:300;color:rgba(255,255,255,.45);line-height:1.75}
.features .section-label{color:rgba(255,255,255,.3)}
.features .section-title{color:var(--white)}

/* Shop preview */
.shop-preview{padding:100px 40px;max-width:var(--max-w);margin:0 auto}
.shop-preview-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:56px}
.shop-preview-link{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--black);border-bottom:1px solid currentColor;padding-bottom:2px;transition:opacity .2s}
.shop-preview-link:hover{opacity:.5}
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:28px}
.product-card{display:block;color:inherit}
.product-card-thumb{aspect-ratio:1/1;overflow:hidden;background:var(--gray-f3);margin-bottom:14px}
.product-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.product-card:hover .product-card-thumb img{transform:scale(1.05)}
.product-card-name{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin-bottom:6px}
.product-card-price{font-size:13px;color:var(--gray-37)}

/* Shop archive */
.shop-header{padding:calc(var(--ah)+var(--hh)+60px) 40px 32px;max-width:var(--max-w);margin:0 auto;display:flex;justify-content:space-between;align-items:baseline;gap:20px}
.shop-header h1{font-family:var(--display);font-size:clamp(36px,5vw,72px);letter-spacing:.06em;text-transform:uppercase}
.shop-count{font-size:13px;color:var(--gray-37);white-space:nowrap}
.shop-grid-wrap{padding:0 40px 100px;max-width:var(--max-w);margin:0 auto}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important;gap:28px!important;list-style:none!important;padding:0!important;margin:0!important}
.woocommerce ul.products li.product{margin:0!important}
.woocommerce ul.products li.product a img{aspect-ratio:1/1;object-fit:cover;width:100%}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:11px!important;font-weight:600!important;letter-spacing:.1em!important;text-transform:uppercase!important}
.woocommerce ul.products li.product .price{font-size:13px!important;color:var(--gray-37)!important}
.woocommerce nav.woocommerce-pagination{text-align:center;margin-top:48px}

/* Single product */
.single-product-wrap{background:var(--black);color:var(--white);min-height:100vh;padding-top:calc(var(--ah)+var(--hh))}
.product-single{max-width:var(--max-w);margin:0 auto;padding:60px 40px;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
.product-gallery{position:sticky;top:calc(var(--ah)+var(--hh)+20px)}
.product-gallery .main-img{width:100%;aspect-ratio:1/1;object-fit:cover}
.product-gallery-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.product-gallery-thumbs img{width:100%;aspect-ratio:1/1;object-fit:cover;cursor:pointer;opacity:.5;transition:opacity .2s}
.product-gallery-thumbs img:hover,.product-gallery-thumbs img.active{opacity:1}
.product-info{padding-top:8px}
.product-vendor{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.3);margin-bottom:12px}
.product-info h1{font-family:var(--display);font-size:clamp(28px,4vw,52px);letter-spacing:.04em;text-transform:uppercase;margin-bottom:18px;line-height:1.0}
.product-price-wrap{font-size:22px;font-weight:600;margin-bottom:28px}
.product-short-desc{font-size:14px;font-weight:300;color:rgba(255,255,255,.6);line-height:1.85;margin-bottom:32px}

/* WC overrides */
.single-product-wrap .woocommerce-Price-amount,.single-product-wrap .price{color:var(--white)!important;font-size:22px!important;font-weight:600!important}
.single-product-wrap .cart{margin-top:0!important}
.single-product-wrap .quantity input.qty{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.18)!important;color:var(--white)!important;font-size:15px!important;padding:10px 16px!important;width:80px!important;border-radius:0!important}
.single-product-wrap .single_add_to_cart_button{background:var(--white)!important;color:var(--black)!important;border:none!important;font-family:var(--font)!important;font-size:11px!important;font-weight:700!important;letter-spacing:.2em!important;text-transform:uppercase!important;padding:16px 32px!important;border-radius:0!important;transition:background .2s!important;margin-left:12px!important}
.single-product-wrap .single_add_to_cart_button:hover{background:var(--gray-f3)!important}
.single-product-wrap .single_add_to_cart_button:disabled{opacity:.4!important;cursor:not-allowed!important}

/* Teeth selector — card */
.stl-teeth-selector-wrapper{margin:32px 0;background:#0d0d0d;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:28px 24px;box-shadow:0 4px 32px rgba(0,0,0,.45)}
#teeth-count-warning{background:rgba(220,38,38,.12);border:1px solid rgba(220,38,38,.35);color:#fca5a5;padding:10px 14px;border-radius:6px;margin-bottom:16px;font-size:13px;display:none}
.stl-select-teeth-title{font-family:var(--display);font-size:2.2rem;letter-spacing:.1em;text-align:center;margin-bottom:20px;color:var(--white);text-transform:uppercase;line-height:1}
.stl-teeth-diagram-container{position:relative;width:100%;max-width:540px;margin:0 auto 20px;padding:0 28px}
.stl-teeth-label-left,.stl-teeth-label-right{position:absolute;font-family:var(--display);font-size:1.5rem;letter-spacing:.1em;color:rgba(255,255,255,.3);pointer-events:none;z-index:10;top:50%;transform:translateY(-50%)}
.stl-teeth-label-left{left:0}
.stl-teeth-label-right{right:0}
.stl-teeth-svg{width:100%;height:auto;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.07);border-radius:8px;aspect-ratio:509.33334/199.55556;max-height:240px;padding:10px}
.stl-tooth-path{cursor:pointer;transition:fill .18s ease;fill:#c9b99a}
.stl-tooth-path:hover{fill:var(--white)!important}
.stl-tooth-path.selected{fill:var(--red)!important}
.stl-selection-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:20px}
.stl-btn{padding:9px 20px;border:1.5px solid rgba(255,255,255,.18);background:transparent;border-radius:6px;font-family:var(--font);font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;color:rgba(255,255,255,.7);transition:all .18s ease}
.stl-btn:hover{border-color:var(--white);color:var(--white);background:rgba(255,255,255,.06)}
.stl-btn-primary{border-color:var(--red)!important;color:var(--red)!important}
.stl-btn-primary:hover{background:var(--red)!important;color:var(--white)!important}
.stl-btn-destructive{border-color:rgba(220,38,38,.4)!important;color:rgba(220,38,38,.6)!important}
.stl-btn-destructive:hover{border-color:var(--red)!important;color:var(--red)!important;background:rgba(220,38,38,.08)!important}
.stl-selection-info{text-align:center;padding:14px 16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);border-radius:8px}
#stl-selected-teeth-display{font-size:12px;color:rgba(255,255,255,.5);margin:0 0 10px;word-break:break-all;letter-spacing:.02em}
.stl-count-info{display:flex;justify-content:center;gap:24px;margin-bottom:10px}
.stl-count-item{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.3)}
.stl-count-item span{color:var(--white);font-weight:700}
.stl-validation-status{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.stl-validation-status.valid{color:#34d399}
.stl-validation-status.invalid{color:#f87171}

/* Footer */
.site-footer{background:var(--black);color:var(--white);padding:80px 40px 32px}
.footer-inner{max-width:var(--max-w);margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;margin-bottom:56px}
.footer-logo{font-family:var(--display);font-size:20px;letter-spacing:.14em;text-transform:uppercase;color:var(--white);display:block;margin-bottom:14px}
.footer-tagline{font-size:13px;font-weight:300;color:rgba(255,255,255,.4);line-height:1.75;margin-bottom:22px}
.footer-social{display:flex;gap:14px}
.footer-social a{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.4);transition:color .2s}
.footer-social a:hover{color:var(--white)}
.footer-col-title{font-size:10px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.25);margin-bottom:18px}
.footer-links{display:flex;flex-direction:column;gap:12px}
.footer-links a{font-size:13px;font-weight:300;color:rgba(255,255,255,.55);transition:color .2s}
.footer-links a:hover{color:var(--white)}
.footer-bottom{max-width:var(--max-w);margin:0 auto;padding-top:28px;border-top:1px solid rgba(255,255,255,.07);font-size:11px;font-weight:300;color:rgba(255,255,255,.2);text-align:center}

/* Generic page */
.page-content{max-width:840px;margin:0 auto;padding:calc(var(--ah)+var(--hh)+80px) 40px 80px}
.entry-title{font-family:var(--display);font-size:clamp(32px,5vw,64px);letter-spacing:.05em;text-transform:uppercase;margin-bottom:40px}
.entry-content{font-size:15px;line-height:1.85;color:var(--gray-37)}
.entry-content p{margin-bottom:1.4em}

/* Contact page */
.contact-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2px;margin-bottom:48px}
.contact-info-block{background:#f9f9f9;padding:32px 28px}
.contact-info-label{font-size:10px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--gray-37);margin-bottom:10px}
.contact-info-value{font-size:16px;font-weight:300;color:var(--black);line-height:1.7;display:block;text-decoration:none;transition:color .2s}
.contact-info-value:hover{color:var(--red)}
.contact-social-links{display:flex;flex-direction:column;gap:6px}
@media(max-width:600px){.contact-info-grid{grid-template-columns:1fr}}

/* Responsive */
@media(max-width:1024px){.footer-inner{grid-template-columns:1fr 1fr}.features-grid{grid-template-columns:repeat(2,1fr)}.showcase-grid{grid-template-columns:1fr 1fr}}
@media(max-width:768px){
  .header-inner{padding:0 20px}
  .site-nav,.header-actions{display:none}
  .menu-toggle{display:block}
  .hero{padding:calc(var(--ah)+var(--hh)+32px) 0 48px}
  .hero-content{padding:0 24px}
  .hero-title{font-size:clamp(56px,16vw,100px)}
  .showcase{padding:60px 20px}
  .showcase-grid{grid-template-columns:1fr;gap:3px}
  .lifestyle-content{padding:60px 20px}
  .features{padding:60px 20px}
  .features-grid{grid-template-columns:1fr 1fr;gap:24px}
  .shop-preview{padding:60px 20px}
  .shop-grid-wrap,.shop-header{padding-left:20px;padding-right:20px}
  .product-single{grid-template-columns:1fr;gap:40px;padding:40px 20px}
  .product-gallery{position:static}
  .footer-inner{grid-template-columns:1fr;gap:28px}
  .site-footer{padding:48px 20px 24px}
  .stl-teeth-label-left,.stl-teeth-label-right{font-size:1.8rem}
  .stl-teeth-label-left{left:-14px}
  .stl-teeth-label-right{right:-14px}
}
