/* ==========================================================================
   home.css — home page (layout from "Dropship Home Page Samples", sample 1)
   ========================================================================== */
.home-v2 {
  --hp-green: #234F3E;
  --hp-ink: #183A2C;
  --hp-dark: #1A3A2B;
  --hp-mist: #EEF3EF;
  --hp-tile: #DFE7E1;
  --hp-gold: #F0D58C;
  --hp-text: #3D4A43;
  --hp-line: #E2E8E3;
  --hp-serif: "Lora", Georgia, serif;
  --hp-sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--hp-sans);
  color: var(--hp-text);
}
.home-v2 h1, .home-v2 h2, .home-v2 h3 { font-family: var(--hp-serif); color: var(--hp-ink); font-weight: 700; letter-spacing: -.01em; }
.home-v2 h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; margin: 0; }
.home-v2 img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hp-section { padding-block: clamp(56px, 7vw, 88px); background: #fff; }
.hp-section--mist { background: var(--hp-mist); }
.hp-section--dark { background: var(--hp-dark); color: rgba(255, 255, 255, .82); }
.hp-section--flush { padding-bottom: 0; }
.hp-section--flush + .hp-section { margin-top: clamp(56px, 7vw, 88px); }

.hp-eyebrow { display: block; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--hp-green); margin-bottom: 14px; }
.hp-head { margin-bottom: clamp(28px, 3.5vw, 40px); }
.hp-head--center { text-align: center; }
.hp-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hp-viewall, .hp-link { font-weight: 800; color: var(--hp-green); }
.hp-viewall { text-decoration: underline; text-underline-offset: 4px; font-size: 15px; }

/* Buttons */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid var(--hp-green);
  background: var(--hp-green); color: #fff; font: 800 15px/1.2 var(--hp-sans); text-align: center;
  cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, transform .2s;
}
.hp-btn:hover { background: var(--hp-ink); border-color: var(--hp-ink); color: #fff; transform: translateY(-1px); }
.hp-btn--outline { background: transparent; color: var(--hp-green); }
.hp-btn--outline:hover { background: var(--hp-green); color: #fff; }
.hp-btn--gold { background: var(--hp-gold); border-color: var(--hp-gold); color: var(--hp-ink); }
.hp-btn--gold:hover { background: #E8C76C; border-color: #E8C76C; color: var(--hp-ink); }
.hp-btn--block { width: 100%; min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* Hero */
.hp-hero { background: var(--hp-mist); padding-block: clamp(48px, 7vw, 80px); }
.hp-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.hp-hero h1 { font-size: clamp(40px, 5.6vw, 66px); line-height: 1.04; margin: 0 0 24px; }
.hp-lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; max-width: 46ch; margin: 0 0 28px; }
.hp-toggle { display: inline-flex; padding: 4px; gap: 2px; background: #fff; border: 1px solid var(--hp-line); border-radius: 999px; margin-bottom: 22px; }
.hp-toggle button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font: 600 14px var(--hp-sans); color: var(--hp-ink); cursor: pointer; }
.hp-toggle button[aria-selected="true"] { background: var(--hp-green); color: #fff; font-weight: 800; }
.hp-panel p { font-size: 15px; line-height: 1.6; max-width: 50ch; margin: 0 0 22px; }
.hp-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.hp-hero-visual { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 320px; }
.hp-hero-photo { grid-row: span 2; border-radius: 16px; overflow: hidden; background: var(--hp-green); }
.hp-stat { display: flex; flex-direction: column; justify-content: flex-start; padding: 22px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--hp-line); }
.hp-stat strong { font: 700 clamp(28px, 3vw, 34px)/1.1 var(--hp-serif); color: var(--hp-ink); }
.hp-stat span { font-size: 13px; margin-top: 6px; }
.hp-stat--gold { background: var(--hp-gold); border-color: var(--hp-gold); }
.hp-stat--gold span { color: var(--hp-ink); font-weight: 600; }

/* Top 3 category cards */
.hp-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hp-catcard { display: flex; flex-direction: column; border: 1px solid var(--hp-line); border-radius: 16px; overflow: hidden; background: #fff; transition: box-shadow .25s, transform .25s; }
.hp-catcard:hover { box-shadow: 0 14px 34px rgba(24, 58, 44, .1); transform: translateY(-2px); }
.hp-catcard-media, .hp-catcard-body, .hp-product-media { display: block; }
.hp-catcard-media { aspect-ratio: 2 / 1; overflow: hidden; background: var(--hp-tile); }
/* Product shots usually sit on white — show the whole pack instead of cropping. */
.hp-catcard-media img, .hp-product-media img { object-fit: contain; padding: 14px; background: #fff; }
.hp-catcard-body { padding: 18px 18px 22px; }
.hp-catcard h3 { font-size: 20px; margin: 0 0 8px; }
.hp-catcard p { font-size: 14px; line-height: 1.5; margin: 0 0 10px; }
.hp-link { font-size: 14px; }

/* Category tiles */
.hp-catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hp-cattile { display: flex; align-items: center; gap: 18px; padding: 14px; background: #fff; border-radius: 14px; color: var(--hp-ink); transition: box-shadow .25s, transform .25s; }
.hp-cattile:hover { box-shadow: 0 10px 26px rgba(24, 58, 44, .1); transform: translateY(-2px); }
.hp-cattile-img { flex: none; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 12px; overflow: hidden; background: var(--hp-tile); color: var(--hp-green); }
.home-v2 .hp-cattile-img img { object-fit: contain; padding: 8px; background: #fff; border: 1px solid var(--hp-line); border-radius: 12px; transition: transform .35s; }
.hp-cattile:hover .hp-cattile-img img { transform: scale(1.06); }
.hp-cattile-img svg { width: 28px; height: 28px; }
.hp-cattile-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hp-cattile-body strong { font: 700 18px/1.3 var(--hp-serif); }
.hp-cattile-body small { font-size: 13px; color: var(--hp-text); }
.hp-cattile .hp-link { margin-top: 4px; }

/* B2B / B2C offer cards */
.hp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp-offer { padding: clamp(26px, 3vw, 36px) clamp(22px, 3vw, 34px); border-radius: 16px; border: 1px solid var(--hp-line); background: #fff; }
.hp-offer .hp-eyebrow { font-size: 11px; margin-bottom: 12px; }
.hp-offer h2 { font-size: clamp(22px, 2.3vw, 27px); margin-bottom: 20px; }
.hp-checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; font-size: 14px; }
.hp-checks li { display: flex; gap: 10px; align-items: flex-start; }
.hp-checks svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--hp-green); }
.hp-offer--dark { background: var(--hp-green); border-color: var(--hp-green); color: rgba(255, 255, 255, .88); }
.hp-offer--dark h2 { color: #fff; }
.hp-offer--dark .hp-eyebrow, .hp-offer--dark .hp-checks svg { color: var(--hp-gold); }

/* Featured products */
.hp-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hp-product { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; }
.hp-product-media { aspect-ratio: 1.4 / 1; overflow: hidden; background: var(--hp-tile); }
.hp-product-body { display: flex; flex-direction: column; flex: 1; padding: 16px 14px 14px; }
.hp-product-cat { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--hp-green); }
.hp-product h3 { font-size: 17px; margin: 6px 0 4px; line-height: 1.3; }
.hp-product h3 a:hover { color: var(--hp-green); }
.hp-product-meta { font-size: 12px; margin: 0 0 14px; }
.hp-product .hp-btn { margin-top: auto; }

/* Brands */
.hp-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.hp-brand { display: grid; place-items: center; min-height: 80px; padding: 14px; border: 1px solid var(--hp-line); border-radius: 12px; font: 700 18px var(--hp-serif); color: var(--hp-ink); text-align: center; transition: border-color .2s, box-shadow .2s; }
.hp-brand:hover { border-color: var(--hp-green); box-shadow: 0 8px 22px rgba(24, 58, 44, .08); }
.hp-brand img { width: auto; height: auto; max-height: 48px; max-width: 100%; object-fit: contain; }

/* Shipping */
.hp-ship { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.hp-section--dark .hp-eyebrow { color: var(--hp-gold); }
.hp-ship h2 { color: #fff; margin-bottom: 14px; }
.hp-ship p { font-size: 15px; line-height: 1.6; margin: 0; max-width: 48ch; }
.hp-routes { list-style: none; margin: 0; padding: 0; background: var(--hp-green); border-radius: 12px; overflow: hidden; }
.hp-routes li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.hp-routes li:last-child { border-bottom: 0; }
.hp-routes strong { color: #fff; font-weight: 800; }
.hp-routes span { color: rgba(255, 255, 255, .7); text-align: right; }

/* Why choose us */
.hp-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.hp-why-item { padding: 22px; background: var(--hp-mist); border-radius: 14px; }
.hp-why-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hp-green); color: #fff; margin-bottom: 14px; }
.hp-why-ico svg { width: 18px; height: 18px; }
.hp-why-item h3 { font-size: 18px; margin: 0 0 8px; }
.hp-why-item p { font-size: 13px; line-height: 1.55; margin: 0; }

/* Enquiry box */
.hp-enquiry { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; padding: clamp(28px, 4vw, 48px) clamp(22px, 3.4vw, 38px); background: var(--hp-green); border-radius: 18px; color: rgba(255, 255, 255, .85); }
.hp-enquiry h2 { color: #fff; margin-bottom: 12px; }
.hp-enquiry p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 52ch; }
.hp-enquiry-form { display: flex; gap: 10px; }
.hp-enquiry-form input { width: min(310px, 100%); min-height: 46px; padding: 10px 18px; border: 0; border-radius: 999px; font: 15px var(--hp-sans); color: var(--hp-ink); background: #fff; }
.hp-enquiry-form input:focus { outline: 3px solid var(--hp-gold); outline-offset: 2px; }

/* FAQ */
.hp-faq { max-width: 780px; }
.hp-faq h2 { margin-bottom: 24px; }
.hp-faq-item { background: #fff; border-radius: 10px; margin-bottom: 10px; }
.hp-faq-item summary { padding: 14px 18px; font-weight: 800; font-size: 15px; color: var(--hp-ink); cursor: pointer; list-style: none; }
.hp-faq-item summary::-webkit-details-marker { display: none; }
.hp-faq-item summary::before { content: "▶"; display: inline-block; font-size: 10px; margin-right: 8px; transition: transform .2s; }
.hp-faq-item[open] summary::before { transform: rotate(90deg); }
.hp-faq-item p { margin: 0; padding: 0 18px 16px 36px; font-size: 14px; line-height: 1.6; }

/* Responsive */
@media (max-width: 1024px) {
  .hp-products, .hp-catgrid { grid-template-columns: repeat(2, 1fr); }
  .hp-enquiry { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hp-hero-grid, .hp-split, .hp-ship { grid-template-columns: 1fr; }
  .hp-cards3 { grid-template-columns: 1fr; }
  .hp-catcard-media { aspect-ratio: 2.4 / 1; }
}
@media (max-width: 520px) {
  .hp-hero-visual { min-height: 260px; }
  .hp-toggle button { padding: 8px 12px; font-size: 13px; }
  .hp-catgrid { grid-template-columns: 1fr; }
  .hp-cattile-img { width: 84px; height: 84px; }
  .hp-products { grid-template-columns: 1fr; }
  .hp-enquiry-form { flex-direction: column; }
  .hp-enquiry-form input { width: 100%; }
  .hp-routes li { flex-direction: column; gap: 2px; }
  .hp-routes span { text-align: left; }
}
