/*
Theme Name: General Accessories Store
Theme URI: https://example.com/
Author: Your Team
Description: Lightweight WooCommerce-ready storefront theme with a clean, responsive homepage.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: general-accessories-store
*/

:root {
  --gas-ink: #17211f;
  --gas-muted: #66716d;
  --gas-brand: #176b5b;
  --gas-brand-dark: #105246;
  --gas-accent: #e8f1ed;
  --gas-paper: #f7f8f5;
  --gas-line: #e5e9e5;
  --gas-radius: 18px;
  --gas-shadow: 0 14px 40px rgba(20, 40, 34, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--gas-ink); background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--gas-line); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { font-size: 1.35rem; font-weight: 850; letter-spacing: -.04em; white-space: nowrap; }
.site-brand span { color: var(--gas-brand); }
.primary-nav { display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 650; }
.primary-nav a:hover, .header-actions a:hover { color: var(--gas-brand); }
.header-actions { display: flex; align-items: center; gap: 18px; font-size: .92rem; }
.header-action { display: inline-flex; align-items: center; gap: 6px; }
.mobile-menu-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; }
.hero { padding: 56px 0 42px; }
.hero-panel { min-height: 460px; border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; background: #edf3ef; }
.hero-copy { padding: clamp(32px, 6vw, 76px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.eyebrow { color: var(--gas-brand); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 800; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.03; letter-spacing: -.055em; margin: 14px 0 18px; max-width: 590px; }
.hero p { color: #596761; max-width: 470px; font-size: 1.05rem; margin: 0 0 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 23px; background: var(--gas-brand); color: white; font-weight: 750; border: 1px solid var(--gas-brand); transition: .2s ease; }
.button:hover { background: var(--gas-brand-dark); color: white; transform: translateY(-1px); }
.button-outline { background: transparent; color: var(--gas-ink); border-color: #b8c6bf; }
.button-outline:hover { background: white; color: var(--gas-brand); }
.hero-visual { min-height: 360px; background: linear-gradient(145deg,#dce9e1,#b9d0c4); display: grid; place-items: center; padding: 28px; }
.hero-visual-inner { width: min(82%, 390px); aspect-ratio: 1 / 1; border-radius: 50%; background: rgba(255,255,255,.48); display: grid; place-items: center; text-align: center; color: #315d50; padding: 30px; }
.hero-visual-inner strong { display: block; font-size: clamp(2rem,4vw,3.5rem); line-height: 1.05; letter-spacing: -.06em; }
.hero-visual-inner small { display: block; margin-top: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.section { padding: 54px 0; }
.section-soft { background: var(--gas-paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.section-heading h2 { margin: 5px 0 0; font-size: clamp(1.8rem,3vw,2.65rem); line-height: 1.1; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--gas-muted); max-width: 480px; }
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.category-card { min-height: 190px; border-radius: var(--gas-radius); padding: 24px; display: flex; flex-direction: column; justify-content: end; background: #edf3ef; position: relative; overflow: hidden; transition: .2s ease; }
.category-card:nth-child(2) { background: #f3eee7; }
.category-card:nth-child(3) { background: #edf0f5; }
.category-card:nth-child(4) { background: #f3f0e8; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--gas-shadow); }
.category-card .category-symbol { position: absolute; right: 18px; top: 8px; font-size: 5.5rem; opacity: .18; }
.category-card strong { font-size: 1.18rem; position: relative; }
.category-card span:last-child { color: var(--gas-muted); font-size: .88rem; position: relative; }
.products-placeholder { border: 1px dashed #cbd6cf; border-radius: var(--gas-radius); padding: 36px; text-align: center; color: var(--gas-muted); background: #fff; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; padding: 0 0 18px; border: 1px solid var(--gas-line); border-radius: 16px; overflow: hidden; background: white; }
.woocommerce ul.products li.product a img { margin: 0 0 14px; aspect-ratio: 1/1; object-fit: cover; background: var(--gas-paper); }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .button { margin-left: 16px !important; margin-right: 16px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; color: var(--gas-ink); }
.woocommerce ul.products li.product .price { color: var(--gas-brand); font-weight: 800; }
.woocommerce ul.products li.product .button { border-radius: 999px; background: var(--gas-brand); color: #fff; }
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.benefit { padding: 26px; border: 1px solid var(--gas-line); border-radius: var(--gas-radius); background: #fff; }
.benefit-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--gas-accent); color: var(--gas-brand); font-size: 1.25rem; }
.benefit h3 { margin: 14px 0 6px; font-size: 1.08rem; }
.benefit p { margin: 0; color: var(--gas-muted); font-size: .94rem; }
.editorial-panel { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 24px; background: #e9f0eb; }
.editorial-art { min-height: 320px; display: grid; place-items: center; background: linear-gradient(140deg,#c7d9ce,#e6eee8); color: #315d50; font-size: 6rem; }
.editorial-copy { padding: clamp(28px,5vw,60px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.editorial-copy h2 { font-size: clamp(1.8rem,3vw,2.8rem); line-height: 1.1; letter-spacing: -.045em; margin: 10px 0; }
.editorial-copy p { color: var(--gas-muted); margin: 0 0 22px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.testimonial { padding: 26px; border: 1px solid var(--gas-line); border-radius: var(--gas-radius); }
.testimonial .stars { color: #c58b32; letter-spacing: .12em; }
.testimonial p { color: #53605a; }
.testimonial strong { font-size: .92rem; }
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-item { border: 1px solid var(--gas-line); border-radius: 14px; padding: 18px 20px; }
.faq-item h3 { font-size: 1rem; margin: 0 0 7px; }
.faq-item p { margin: 0; color: var(--gas-muted); font-size: .93rem; }
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.post-card { border: 1px solid var(--gas-line); border-radius: var(--gas-radius); overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--gas-paper); }
.post-card-copy { padding: 18px; }
.post-card-copy h3 { margin: 5px 0 8px; font-size: 1.08rem; line-height: 1.3; }
.post-card-copy p { color: var(--gas-muted); font-size: .9rem; margin: 0; }
.site-footer { background: #15231f; color: #eaf0ec; padding: 54px 0 24px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer p, .site-footer a { color: #b8c7bf; font-size: .92rem; }
.site-footer h3 { font-size: .95rem; margin: 0 0 14px; color: #fff; }
.footer-links { display: grid; gap: 9px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 18px; color: #b8c7bf; font-size: .82rem; }
.page-content { padding: 42px 0 70px; }
@media (max-width: 900px) {
  .primary-nav { gap: 16px; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; }
  .mobile-menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 18px 22px; background: #fff; border-bottom: 1px solid var(--gas-line); flex-direction: column; align-items: flex-start; }
  .primary-nav.is-open { display: flex; }
  .header-actions { gap: 12px; }
  .header-actions .account-link { display: none; }
  .hero { padding-top: 22px; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-copy { padding: 34px 26px; }
  .hero-visual { min-height: 250px; }
  .section { padding: 38px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .benefit-grid, .testimonial-grid, .faq-list, .post-grid { grid-template-columns: 1fr; }
  .editorial-panel { grid-template-columns: 1fr; }
  .editorial-art { min-height: 210px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 420px) {
  .category-grid { gap: 10px; }
  .category-card { min-height: 150px; padding: 16px; }
  .category-card .category-symbol { font-size: 4rem; }
  .header-actions .search-link { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
