/*
Theme Name: Bee Prompts
Theme URI: https://beeprompts.com
Author: Bee Prompts
Description: Premium dark AI prompt marketplace theme with WooCommerce support, hex/honeycomb design language, and built-in AI Model + Prompt custom fields.
Version: 1.0
Requires PHP: 7.4
Text Domain: beeprompts
*/

:root{
  --bg:#0a0a0c;
  --bg-soft:#111114;
  --surface:#151519;
  --surface-2:#1b1b20;
  --glass: rgba(255,255,255,0.035);
  --glass-border: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.09);
  --gold:#f4b400;
  --gold-light:#ffd666;
  --amber-deep:#b8790a;
  --honey-grad: linear-gradient(135deg,#ffd666 0%, #f4b400 55%, #c9820a 100%);
  --text:#f3f2ee;
  --text-muted:#a2a0aa;
  --text-faint:#6f6d78;
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:9px;
  --shadow-gold: 0 8px 30px -8px rgba(244,180,0,0.35);
}
[data-theme="light"]{
  --bg:#faf8f3; --bg-soft:#f2efe6; --surface:#ffffff; --surface-2:#f5f2ea;
  --glass: rgba(20,18,10,0.03); --glass-border: rgba(20,18,10,0.08); --border: rgba(20,18,10,0.09);
  --text:#17161a; --text-muted:#5c5964; --text-faint:#8a8790;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg); color:var(--text); font-family:'Inter',sans-serif; line-height:1.5;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
h1,h2,h3,h4,.display{ font-family:'Space Grotesk',sans-serif; letter-spacing:-0.02em; }
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
button{font-family:inherit; cursor:pointer;}
:focus-visible{outline:2px solid var(--gold); outline-offset:3px;}
.wrap{ max-width:1320px; margin:0 auto; padding:0 28px; }
@media(max-width:640px){ .wrap{padding:0 18px;} }

.comb-bg{ position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image: radial-gradient(circle at 20% 20%, rgba(244,180,0,0.08), transparent 40%), radial-gradient(circle at 85% 10%, rgba(244,180,0,0.05), transparent 45%);
}
.hex-grid-pattern{ position:absolute; inset:0; z-index:0; opacity:.15; pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='72' viewBox='0 0 84 72'%3E%3Cpath d='M21 0 L63 0 L84 36 L63 72 L21 72 L0 36 Z' fill='none' stroke='%23f4b400' stroke-width='0.6' /%3E%3C/svg%3E");
  background-size:84px 72px;
}

header.site-header{ position:sticky; top:0; z-index:100; background:rgba(10,10,12,0.72); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border-bottom:1px solid var(--border); }
.nav-inner{ display:flex; align-items:center; gap:28px; height:74px; }
.logo{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.logo-mark{ width:38px; height:38px; }
.logo-text{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:19px; line-height:1.1; }
.logo-text span{ color:var(--gold); }
.logo-tag{ font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint); }
.nav-links{ display:flex; align-items:center; gap:26px; margin-left:8px; list-style:none; }
.nav-links a{ font-size:14.5px; color:var(--text-muted); font-weight:500; }
.nav-links a:hover{ color:var(--text); }
.nav-search{ flex:1; max-width:420px; display:flex; align-items:center; gap:9px; background:var(--glass); border:1px solid var(--glass-border); border-radius:12px; padding:9px 14px; }
.nav-search input{ background:transparent; border:none; outline:none; color:var(--text); font-size:13.5px; width:100%; }
.nav-right{ display:flex; align-items:center; gap:12px; margin-left:auto; }
.icon-btn{ width:38px; height:38px; display:flex; align-items:center; justify-content:center; border-radius:10px; border:1px solid var(--border); background:var(--glass); position:relative; color:var(--text); }
.icon-btn:hover{ border-color:var(--gold); }
.cart-count{ position:absolute; top:-6px; right:-6px; background:var(--gold); color:#141210; font-size:9.5px; font-weight:800; width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 20px; border-radius:11px; font-size:14px; font-weight:600; border:1px solid transparent; }
.btn-gold{ background:var(--honey-grad); color:#171308; box-shadow:var(--shadow-gold); }
.btn-ghost{ background:var(--glass); border-color:var(--border); color:var(--text); }
.btn-outline{ background:transparent; border-color:var(--border); color:var(--text); }
.btn-outline:hover{ border-color:var(--gold); color:var(--gold); }
.btn-sm{ padding:8px 14px; font-size:13px; border-radius:9px; }
.hamburger{ display:none; }
@media(max-width:1080px){ .nav-links, .nav-search{ display:none; } .hamburger{ display:flex; } }

.hero{ position:relative; padding:72px 0 40px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:50px; align-items:center; position:relative; z-index:1; }
@media(max-width:980px){ .hero-grid{ grid-template-columns:1fr; } }
.eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600; color:var(--gold-light); background:rgba(244,180,0,0.09); border:1px solid rgba(244,180,0,0.25); padding:6px 13px; border-radius:30px; margin-bottom:20px; }
.hero h1{ font-size:clamp(34px,5vw,58px); font-weight:700; line-height:1.05; }
.hero h1 .accent{ background:var(--honey-grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p.lead{ margin-top:20px; font-size:17px; color:var(--text-muted); max-width:480px; }
.hero-stats{ display:flex; gap:30px; margin-top:30px; flex-wrap:wrap; }
.stat b{ font-family:'Space Grotesk',sans-serif; font-size:21px; display:flex; align-items:center; gap:6px; }
.stat span{ font-size:12.5px; color:var(--text-faint); }
.hero-actions{ display:flex; gap:12px; margin-top:32px; flex-wrap:wrap; }

.hex-collage{ position:relative; height:460px; }
.hex-img{ position:absolute; width:230px; height:265px; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); background-size:cover; background-position:center; border:2px solid var(--glass-border); box-shadow:0 20px 45px -15px rgba(0,0,0,.6); }
.hex-img.h1{ top:0; left:10%; width:250px; height:288px; z-index:2; }
.hex-img.h2{ top:14%; right:0; width:210px; height:242px; z-index:1; }
.hex-img.h3{ bottom:0; left:0; width:200px; height:230px; z-index:1; }
.hex-img.h4{ bottom:-4%; right:8%; width:225px; height:260px; z-index:3; }
@media(max-width:980px){ .hex-collage{ height:340px; margin-top:10px;} .hex-img{ transform:scale(.75); } }
@media(max-width:520px){ .hex-collage{ height:280px; } .hex-img{ transform:scale(.58); } .hex-img.h1{left:-2%;} .hex-img.h4{right:-6%;} }
.float-card{ position:absolute; z-index:4; bottom:14px; left:38%; background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:14px 16px; width:200px; box-shadow:0 20px 50px -12px rgba(0,0,0,.7); }
.float-card .fc-title{ font-size:11.5px; font-weight:700; display:flex; align-items:center; gap:6px; margin-bottom:6px;}
.float-card .fc-body{ font-size:10.5px; color:var(--text-faint); line-height:1.4; }
@media(max-width:520px){ .float-card{ display:none; } }

.search-block{ padding:26px 0 50px; }
.search-panel{ display:flex; align-items:center; gap:10px; background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:8px 8px 8px 18px; flex-wrap:wrap; }
.search-panel input{ flex:1; min-width:180px; background:transparent; border:none; outline:none; color:var(--text); font-size:15px; padding:10px 0; }
.search-panel select{ background:var(--glass); border:1px solid var(--border); color:var(--text-muted); font-size:13px; padding:9px 10px; border-radius:9px; }

section{ padding:56px 0; position:relative; }
.sec-head{ display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:28px; gap:20px; flex-wrap:wrap; }
.sec-head h2{ font-size:clamp(22px,2.6vw,30px); font-weight:700; }
.sec-head .sub{ color:var(--text-faint); font-size:13.5px; margin-top:6px; }
.see-all{ font-size:13.5px; font-weight:600; color:var(--gold-light); white-space:nowrap; }

.model-row{ display:flex; gap:14px; overflow-x:auto; padding-bottom:6px; }
.model-chip{ flex:0 0 auto; width:132px; background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:18px 14px; text-align:center; }
.model-chip:hover{ border-color:var(--gold); }
.model-icon{ width:42px; height:42px; border-radius:11px; margin:0 auto 10px; display:flex; align-items:center; justify-content:center; background:var(--glass); border:1px solid var(--border); font-size:17px; font-weight:700; }
.model-chip b{ display:block; font-size:13px; font-weight:600; }
.model-chip span{ font-size:11px; color:var(--text-faint); }

.hex-cat-grid{ display:flex; flex-wrap:wrap; gap:14px 10px; justify-content:center; }
.hex-cat{ position:relative; width:148px; height:170px; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); background:var(--surface); border:1px solid var(--border); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; }
.hex-cat:hover{ background:var(--surface-2); }
.hex-cat .hc-ico{ font-size:22px; }
.hex-cat b{ font-size:12.5px; font-weight:600; text-align:center; padding:0 10px; }
@media(max-width:640px){ .hex-cat{ width:118px; height:136px;} }

.card-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
@media(max-width:1180px){ .card-grid{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:720px){ .card-grid{ grid-template-columns:repeat(2,1fr); gap:12px;} }
@media(max-width:460px){ .card-grid{ grid-template-columns:1fr; } }
.p-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden; display:flex; flex-direction:column; }
.p-card:hover{ border-color:rgba(244,180,0,.4); }
.p-thumb{ position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--surface-2); }
.p-thumb img{ width:100%; height:100%; object-fit:cover; }
.p-tag{ position:absolute; top:9px; left:9px; background:rgba(10,10,12,0.75); border:1px solid var(--glass-border); font-size:10px; font-weight:600; padding:4px 9px; border-radius:20px; }
.p-wish{ position:absolute; top:9px; right:9px; width:28px; height:28px; border-radius:50%; background:rgba(10,10,12,0.75); border:1px solid var(--glass-border); display:flex; align-items:center; justify-content:center; font-size:13px; }
.p-body{ padding:13px 14px 15px; display:flex; flex-direction:column; gap:8px; flex:1; }
.p-title{ font-size:13.5px; font-weight:600; line-height:1.3; }
.p-meta{ display:flex; align-items:center; justify-content:space-between; margin-top:auto; }
.p-price{ font-family:'Space Grotesk',sans-serif; font-weight:700; color:var(--gold-light); font-size:14.5px; }
.p-rating{ font-size:11.5px; color:var(--text-faint); }
.p-cart{ width:30px; height:30px; border-radius:9px; background:var(--honey-grad); border:none; display:flex; align-items:center; justify-content:center; color:#171308; font-size:13px; }

.bundle-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media(max-width:900px){ .bundle-grid{ grid-template-columns:1fr; } }
.bundle-card{ border-radius:var(--radius-lg); padding:26px; position:relative; overflow:hidden; border:1px solid var(--border); background:var(--surface); }
.bundle-card.featured{ border-color:var(--gold); background:linear-gradient(160deg, rgba(244,180,0,0.12), var(--surface) 55%); }
.bundle-card h3{ font-size:19px; margin-bottom:6px; }
.bundle-price{ font-family:'Space Grotesk',sans-serif; font-size:30px; font-weight:700; margin:14px 0 4px;}
.bundle-list{ list-style:none; margin:18px 0 22px; display:flex; flex-direction:column; gap:9px; }
.bundle-list li{ font-size:13px; color:var(--text-muted); }
.bundle-list li::before{ content:"✓ "; color:var(--gold); font-weight:700; }

.tools-shell{ background:var(--surface); border:1px solid var(--border); border-radius:24px; padding:8px; }
.tools-nav{ display:flex; gap:6px; padding:10px; flex-wrap:wrap; }
.tool-tab{ flex:1; min-width:150px; padding:12px 16px; border-radius:14px; border:1px solid transparent; background:transparent; text-align:left; color:var(--text-muted); }
.tool-tab.active{ background:var(--glass); border-color:var(--border); color:var(--text); }
.tool-tab b{ display:block; font-size:13.5px; }
.tool-tab span{ font-size:11px; color:var(--text-faint); }
.tool-panel{ padding:28px; display:none; }
.tool-panel.active{ display:block; }
.tool-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
@media(max-width:820px){ .tool-grid{ grid-template-columns:1fr; } }
.tool-in textarea, .tool-in input{ width:100%; background:var(--bg-soft); border:1px solid var(--border); color:var(--text); border-radius:12px; padding:13px 15px; font-size:14px; font-family:inherit; }
.tool-in label{ font-size:12px; color:var(--text-faint); font-weight:600; text-transform:uppercase; margin-bottom:7px; display:block; }
.field{ margin-bottom:16px; }
.tool-out{ background:var(--bg-soft); border:1px dashed var(--border); border-radius:14px; padding:18px; font-size:13.5px; color:var(--text-muted); min-height:170px; }
.out-actions{ display:flex; gap:8px; margin-top:12px; }

.creator-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media(max-width:900px){ .creator-row{ grid-template-columns:repeat(2,1fr); } }
.creator-card{ background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:22px; text-align:center; }
.creator-avatar{ width:64px; height:64px; border-radius:50%; margin:0 auto 12px; background:var(--honey-grad); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:20px; color:#171308; overflow:hidden; }
.creator-avatar img{ width:100%; height:100%; object-fit:cover; }

.news-panel{ background:linear-gradient(120deg, rgba(244,180,0,0.14), var(--surface) 60%); border:1px solid var(--border); border-radius:24px; padding:44px; text-align:center; position:relative; overflow:hidden; }
.news-form{ display:flex; gap:10px; max-width:440px; margin:0 auto; flex-wrap:wrap; justify-content:center; }
.news-form input{ flex:1; min-width:220px; padding:13px 16px; border-radius:11px; border:1px solid var(--border); background:var(--bg-soft); color:var(--text); font-size:14px; }

footer.site-footer{ border-top:1px solid var(--border); padding-top:50px; margin-top:20px; }
.foot-perks{ display:grid; grid-template-columns:repeat(5,1fr); gap:20px; padding-bottom:44px; border-bottom:1px solid var(--border); }
@media(max-width:900px){ .foot-perks{ grid-template-columns:repeat(2,1fr);} }
.perk{ display:flex; gap:12px; align-items:flex-start; }
.foot-grid{ display:grid; grid-template-columns:1.4fr repeat(4,1fr); gap:24px; padding:44px 0 30px; }
@media(max-width:900px){ .foot-grid{ grid-template-columns:repeat(2,1fr); } }
.foot-grid h5{ font-size:12.5px; text-transform:uppercase; color:var(--text-faint); margin-bottom:14px; }
.foot-grid ul{ list-style:none; display:flex; flex-direction:column; gap:9px; }
.foot-grid ul a{ font-size:13px; color:var(--text-muted); }
.foot-grid ul a:hover{ color:var(--gold); }
.foot-bottom{ display:flex; align-items:center; justify-content:space-between; padding:22px 0 30px; border-top:1px solid var(--border); flex-wrap:wrap; gap:12px; font-size:12px; color:var(--text-faint); }
.pay-icons{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.pay-icons span{ border:1px solid var(--border); background:var(--surface); border-radius:6px; padding:5px 10px; font-size:10.5px; font-weight:700; color:var(--text-muted); letter-spacing:.02em; white-space:nowrap; }

.drawer{ position:fixed; inset:0; z-index:200; background:rgba(0,0,0,.6); display:none; }
.drawer.open{ display:block; }
.drawer-panel{ position:absolute; top:0; right:0; height:100%; width:82%; max-width:340px; background:var(--bg-soft); border-left:1px solid var(--border); padding:24px; display:flex; flex-direction:column; gap:6px; overflow-y:auto; }
.drawer-panel a{ padding:12px 4px; font-size:15px; border-bottom:1px solid var(--border); color:var(--text-muted); display:block; }
.drawer-close{ align-self:flex-end; font-size:22px; background:none; border:none; color:var(--text); margin-bottom:10px; }

/* WooCommerce compatibility */
.woocommerce ul.products{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; list-style:none; padding:0; }
.woocommerce ul.products li.product{ background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:14px; }
.woocommerce ul.products li.product img{ border-radius:10px; margin-bottom:10px; }
.woocommerce ul.products li.product .price{ color:var(--gold-light); font-weight:700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit{ background:var(--honey-grad) !important; color:#171308 !important; border-radius:9px !important; border:none !important; font-weight:600 !important; }
.woocommerce div.product div.summary, .woocommerce-page .content-area{ color:var(--text); }
.woocommerce div.product p.price, .woocommerce div.product span.price{ color:var(--gold-light); }
.bee-prompt-meta{ background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:18px; margin:18px 0; display:grid; grid-template-columns:repeat(2,1fr); gap:10px; font-size:13px;}
.bee-prompt-meta div b{ display:block; color:var(--text-faint); font-size:11px; text-transform:uppercase; margin-bottom:3px; }
.bee-fullprompt-box{ background:var(--bg-soft); border:1px dashed var(--border); border-radius:12px; padding:16px; font-size:13.5px; margin:14px 0; position:relative; }

::selection{ background:var(--gold); color:#171308; }
