:root {
  --ap-primary: #7a5b35;
  --ap-accent: #d6a64a;
  --ap-dark: #232323;
  --ap-cream: #f7f2e9;
  --ap-muted: #6b6258;
  --ap-border: #e7ded0;
  --ap-white: #ffffff;
  --ap-soft: #fbfaf7;
  --ap-shadow: 0 18px 45px rgba(35, 35, 35, 0.09);
  --ap-radius: 18px;
  --ap-font: "Noto Sans", "Roboto", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ap-dark);
  background: var(--ap-soft);
  font-family: var(--ap-font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border .2s ease, transform .2s ease; }
a:hover { color: var(--ap-primary); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
.ap-container { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.screen-reader-text, .skip-link {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus { clip: auto; clip-path: none; height: auto; left: 16px; top: 16px; width: auto; z-index: 9999; background: var(--ap-dark); color: #fff; padding: 10px 14px; border-radius: 8px; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 4px 22px rgba(0,0,0,.06); }
.topbar { background: var(--ap-dark); color: #fff; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.topbar a { color: #fff; opacity: .92; }
.topbar a:hover { color: var(--ap-accent); }
.topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.topbar-shortcode:empty { display: none; }
.main-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; }
.site-branding { flex: 0 0 auto; }
.custom-logo-link img { max-height: 68px; width: auto; }
.site-title { font-size: 30px; font-weight: 800; letter-spacing: .03em; color: var(--ap-primary); text-transform: uppercase; }
.site-description { margin: 0; color: var(--ap-muted); font-size: 13px; }
.header-actions { display: flex; align-items: center; gap: 14px; flex: 1; justify-content: flex-end; }
.header-search { max-width: 420px; width: 100%; }
.header-search form, .woocommerce-product-search { display: flex; border: 1px solid var(--ap-border); border-radius: 999px; overflow: hidden; background: #fff; }
.header-search input[type="search"], .header-search .search-field { flex: 1; min-width: 0; border: 0; padding: 12px 16px; outline: 0; background: transparent; }
.header-search button, .header-search input[type="submit"] { border: 0; background: var(--ap-primary); color: #fff; padding: 0 18px; cursor: pointer; }
.cart-link { display: flex; align-items: center; gap: 8px; background: var(--ap-cream); border: 1px solid var(--ap-border); border-radius: 999px; padding: 11px 15px; white-space: nowrap; font-weight: 700; }
.cart-link:hover { background: var(--ap-primary); color: #fff; border-color: var(--ap-primary); }
.nav-toggle { display: none; background: transparent; border: 0; width: 42px; height: 42px; padding: 8px; cursor: pointer; }
.nav-toggle span:not(.screen-reader-text) { display: block; height: 2px; background: var(--ap-dark); margin: 6px 0; }
.primary-nav { border-top: 1px solid var(--ap-border); background: #fff; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 0; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: 15px 18px; font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .02em; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { background: var(--ap-cream); color: var(--ap-primary); }
.primary-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; box-shadow: var(--ap-shadow); border: 1px solid var(--ap-border); z-index: 20; }
.primary-nav li:hover > .sub-menu { display: block; }
.primary-nav .sub-menu a { text-transform: none; font-size: 14px; padding: 12px 16px; }

.hero-section { padding: 52px 0 34px; background: radial-gradient(circle at top left, rgba(214,166,74,.24), transparent 34%), linear-gradient(135deg, var(--ap-cream), #fff 58%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 28px; align-items: stretch; }
.hero-copy { background: rgba(255,255,255,.72); border: 1px solid var(--ap-border); border-radius: var(--ap-radius); padding: clamp(26px, 4vw, 48px); box-shadow: var(--ap-shadow); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ap-primary); font-weight: 800; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--ap-accent); display: inline-block; }
h1, h2, h3, h4 { line-height: 1.16; margin: 0 0 14px; color: var(--ap-dark); }
h1 { font-size: clamp(36px, 5vw, 62px); letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 3.3vw, 42px); letter-spacing: -.02em; }
h3 { font-size: 18px; }
p { margin-top: 0; }
.hero-copy p { color: var(--ap-muted); font-size: 18px; max-width: 620px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ap-primary); color: #fff; border: 1px solid var(--ap-primary); border-radius: 999px; padding: 13px 22px; font-weight: 800; box-shadow: 0 10px 22px rgba(122,91,53,.2); cursor: pointer; }
.ap-btn:hover { transform: translateY(-1px); background: var(--ap-dark); border-color: var(--ap-dark); color: #fff; }
.ap-btn-outline { background: transparent; color: var(--ap-primary); box-shadow: none; }
.ap-btn-outline:hover { background: var(--ap-primary); border-color: var(--ap-primary); color: #fff; }
.ap-btn-light { background: #fff; color: var(--ap-dark); border-color: #fff; box-shadow: none; }
.ap-btn-light:hover { background: var(--ap-accent); border-color: var(--ap-accent); color: var(--ap-dark); }
.ap-btn-small { padding: 10px 15px; font-size: 14px; box-shadow: none; }

.promo-slider { position: relative; min-height: 420px; border-radius: var(--ap-radius); overflow: hidden; box-shadow: var(--ap-shadow); background: linear-gradient(135deg, var(--ap-dark), var(--ap-primary)); }
.promo-slides, .promo-slide { position: absolute; inset: 0; }
.promo-slide { opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s ease; display: flex; align-items: flex-end; }
.promo-slide.is-active { opacity: 1; visibility: visible; }
.promo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,35,35,.14), rgba(35,35,35,.82)); }
.promo-content { position: relative; z-index: 2; padding: clamp(26px, 4vw, 46px); color: #fff; max-width: 680px; }
.promo-content span { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.28); padding: 6px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; margin-bottom: 16px; }
.promo-content h2 { color: #fff; font-size: clamp(28px, 4vw, 48px); }
.promo-content p { color: rgba(255,255,255,.86); font-size: 17px; }
.slider-controls { position: absolute; top: 18px; right: 18px; z-index: 3; display: flex; gap: 8px; }
.slider-controls button { width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.18); color: #fff; font-size: 28px; cursor: pointer; line-height: 1; }
.slider-dots { position: absolute; z-index: 4; bottom: 18px; right: 22px; display: flex; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.slider-dots button.is-active { background: var(--ap-accent); width: 26px; border-radius: 999px; }

.trust-strip { background: #fff; border-top: 1px solid var(--ap-border); border-bottom: 1px solid var(--ap-border); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.trust-grid > div { padding: 20px 24px; border-right: 1px solid var(--ap-border); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { display: block; color: var(--ap-dark); }
.trust-grid span { color: var(--ap-muted); font-size: 14px; }

.ap-section { padding: 64px 0; background: #fff; }
.ap-section-cream { background: var(--ap-cream); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading p { color: var(--ap-muted); margin-bottom: 0; }
.section-heading > a { color: var(--ap-primary); font-weight: 800; white-space: nowrap; }
.section-heading.centered { text-align: center; display: block; }
.section-heading.centered .eyebrow { justify-content: center; }
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.products-grid-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ap-product-card { background: #fff; border: 1px solid var(--ap-border); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.05); transition: transform .2s ease, box-shadow .2s ease; }
.ap-product-card:hover { transform: translateY(-4px); box-shadow: var(--ap-shadow); }
.ap-product-media { position: relative; display: block; aspect-ratio: 1 / .82; background: var(--ap-cream); overflow: hidden; }
.ap-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ap-product-card:hover .ap-product-media img { transform: scale(1.04); }
.ap-product-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--ap-primary); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ap-product-badge { position: absolute; top: 12px; left: 12px; background: var(--ap-accent); color: var(--ap-dark); font-size: 12px; font-weight: 900; padding: 6px 9px; border-radius: 999px; }
.ap-product-content { padding: 16px; }
.ap-product-content h3 { font-size: 16px; min-height: 40px; }
.ap-product-price { color: var(--ap-primary); font-weight: 900; margin: 7px 0 12px; }
.ap-product-price del { color: var(--ap-muted); font-weight: 500; margin-right: 5px; }
.ap-product-price ins { text-decoration: none; color: var(--ap-primary); }
.ap-countdown { display: flex; flex-direction: column; background: var(--ap-cream); border: 1px solid var(--ap-border); border-radius: 12px; padding: 10px 12px; margin: 8px 0 13px; }
.ap-countdown span { color: var(--ap-muted); font-size: 12px; }
.ap-countdown strong { font-size: 17px; letter-spacing: .03em; }
.ap-countdown-soft { font-weight: 700; color: var(--ap-primary); }
.ap-empty { grid-column: 1 / -1; background: #fff; border: 1px dashed var(--ap-border); padding: 24px; border-radius: 14px; color: var(--ap-muted); }

.how-section { background: #fff; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.how-grid article { border: 1px solid var(--ap-border); border-radius: var(--ap-radius); padding: 28px; background: linear-gradient(180deg, #fff, var(--ap-soft)); }
.how-grid span { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--ap-primary); color: #fff; font-weight: 900; margin-bottom: 18px; }
.how-grid p { color: var(--ap-muted); margin-bottom: 0; }

.content-wrap, .page-wrap, .ap-wc-wrap { padding: 48px 0 70px; }
.page-content, .post-card { background: #fff; border: 1px solid var(--ap-border); border-radius: var(--ap-radius); box-shadow: 0 10px 28px rgba(0,0,0,.04); padding: clamp(22px, 4vw, 44px); }
.page-header { margin-bottom: 26px; }
.page-header h1 { font-size: clamp(34px, 4vw, 54px); }
.entry-content a { color: var(--ap-primary); font-weight: 700; }
.entry-content p, .entry-content li { color: #3a352e; }
.entry-content blockquote { border-left: 4px solid var(--ap-accent); margin-left: 0; padding: 8px 0 8px 20px; color: var(--ap-muted); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--ap-border); padding: 10px; }
.posts-list { display: grid; gap: 22px; }
.post-card { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 24px; padding: 18px; }
.post-thumb { border-radius: 14px; overflow: hidden; background: var(--ap-cream); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.single-thumb { border-radius: var(--ap-radius); overflow: hidden; margin-bottom: 24px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) 360px; gap: 24px; align-items: start; }
.contact-grid .page-content { padding: clamp(22px, 3vw, 36px); }
.contact-card, .form-placeholder { background: #fff; border: 1px solid var(--ap-border); border-radius: var(--ap-radius); padding: 26px; box-shadow: 0 10px 28px rgba(0,0,0,.04); }
.form-placeholder { background: var(--ap-cream); margin-top: 20px; }
.form-placeholder code { display: inline-block; background: var(--ap-dark); color: #fff; padding: 8px 12px; border-radius: 8px; }

.woocommerce .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  background: var(--ap-primary); color: #fff; border-radius: 999px; font-weight: 800; padding: 12px 18px;
}
.woocommerce .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover { background: var(--ap-dark); color: #fff; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { background: #fff; border: 1px solid var(--ap-border); border-radius: 16px; padding: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.04); overflow: hidden; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ap-dark); font-size: 16px; }
.woocommerce ul.products li.product .price { color: var(--ap-primary); font-weight: 900; }
.woocommerce span.onsale { background: var(--ap-accent); color: var(--ap-dark); font-weight: 900; }
.woocommerce div.product .product_title { font-size: clamp(30px, 4vw, 48px); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ap-primary); font-weight: 900; }

.site-footer { background: var(--ap-dark); color: rgba(255,255,255,.82); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .9fr .9fr 1fr; gap: 34px; padding: 52px 0; }
.site-footer h2, .site-footer h3 { color: #fff; }
.footer-brand p, .footer-column p { color: rgba(255,255,255,.72); }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--ap-accent); }
.site-footer .custom-logo-link img { max-height: 62px; filter: brightness(0) invert(1); }
.whatsapp-link { display: inline-flex; margin-top: 10px; color: #fff !important; background: #1f9d55; border-radius: 999px; padding: 10px 16px; font-weight: 800; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; color: rgba(255,255,255,.6); font-size: 14px; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .promo-slider { min-height: 360px; }
  .products-grid, .products-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .topbar-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; gap: 6px; }
  .topbar-right { justify-content: flex-start; gap: 12px; }
  .main-header { flex-wrap: wrap; padding: 16px 0; }
  .header-actions { order: 3; width: 100%; flex-direction: column; align-items: stretch; }
  .cart-link { justify-content: center; }
  .nav-toggle { display: block; }
  .primary-nav ul { display: none; flex-direction: column; align-items: stretch; }
  .primary-nav ul.is-open { display: flex; }
  .primary-nav li { width: 100%; }
  .primary-nav .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding-left: 14px; }
  .products-grid, .products-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid, .how-grid, .contact-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--ap-border); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .post-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .ap-container { width: min(100% - 22px, 1240px); }
  .hero-section { padding-top: 28px; }
  .hero-copy { padding: 24px; }
  .promo-slider { min-height: 330px; }
  .promo-content { padding: 22px; }
  .products-grid, .products-grid-wide { grid-template-columns: 1fr; }
  .ap-section { padding: 44px 0; }
  .page-content, .post-card { padding: 22px; }
}
