/*
Theme Name: Elchoice Brands
Description: Bilingual fashion catalogue for Elchoice Brands, Mwanza.
Version: 1.1.12
Author: Moose IT
Author URI: https://mooseit.cloud
Requires at least: 6.8
Requires PHP: 8.2
Text Domain: elchoice
*/

:root {
  --ink: #171717;
  --muted: #605d55;
  --gold: #d9a928;
  --bronze: #805a13;
  --hover: #61420a;
  --paper: #faf7f0;
  --white: #fff;
  --line: #ded8cb;
  --serif: Georgia, "Times New Roman", serif;
  --width: 1280px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bronze); text-underline-offset: .24em; }
a:hover { color: var(--hover); }
button, input, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #126494; outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; font-weight: 400; }
h1, h2 { font-family: var(--serif); }
h1 { font-size: clamp(2.8rem, 6vw, 5.7rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.035em; }
h3 { font-size: 1.1rem; line-height: 1.4; }
.shell { width: min(var(--width), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px 20px; z-index: 100; background: white; }
.skip-link:focus { top: 16px; }
.topline { background: var(--ink); color: var(--paper); text-align: center; padding: 9px 16px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; }
.topline span { color: var(--gold); padding-inline: 16px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-row { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 88px; height: 88px; object-fit: contain; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -.04em; line-height: 1.15; }
.brand-name small { display: block; font-family: Arial, sans-serif; font-size: .57rem; letter-spacing: .29em; text-transform: uppercase; margin-top: 9px; }
.nav-area, .main-menu { display: flex; align-items: center; gap: 30px; }
.main-menu { list-style: none; padding: 0; margin: 0; gap: 28px; }
.main-menu a { text-decoration: none; color: var(--ink); font-size: .82rem; padding-block: 12px; }
.main-menu a:hover, .main-menu .current-menu-item a { color: var(--bronze); border-bottom: 1px solid var(--bronze); }
.languages { display: flex; align-items: center; gap: 9px; font-size: .72rem; white-space: nowrap; border-left: 1px solid var(--line); padding-left: 24px; }
.languages a { color: var(--muted); text-decoration: none; padding: 6px 3px; }
.languages [aria-current] { color: var(--ink); font-weight: bold; border-bottom: 1px solid var(--bronze); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: 8px 14px; cursor: pointer; }
.eyebrow { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); font-weight: bold; margin-bottom: 23px; }
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 32px; height: 1px; background: currentColor; margin-right: 13px; }
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; margin-bottom: 16px; }
.hero-copy { padding: 85px 60px 75px 0; align-self: center; }
.hero-copy h1 { margin-bottom: 25px; max-width: 590px; }
.hero-copy .entry-content { max-width: 470px; color: var(--muted); font-size: 1rem; }
.hero-copy .entry-content p { margin-bottom: 30px; }
.hero-photo { position: relative; background: #e8e4d8; margin-right: calc((min(1280px, 100vw - 96px) - 100vw) / 2); overflow: hidden; }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; position: absolute; }
.photo-caption { position: absolute; bottom: 25px; left: 28px; right: 28px; background: rgba(255,255,255,.94); padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.photo-caption span:last-child { color: var(--bronze); }
.button, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 16px 25px; background: var(--ink); color: var(--white); border: 1px solid var(--ink); font-size: .76rem; font-weight: bold; text-decoration: none; border-radius: 0; min-height: 50px; }
.button:hover, .wp-block-button__link:hover { background: var(--hover); border-color: var(--hover); color: white; }
.button.gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.button.gold:hover { background: #edc65d; border-color: #edc65d; }
.text-link { font-size: .8rem; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 38px; color: var(--muted); font-size: .7rem; }
.hero-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }
.brand-strip { border-block: 1px solid var(--line); }
.strip-row { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.strip-row span::before { content: "+"; color: var(--bronze); padding-right: 10px; }
.section { padding-block: 88px; }
.home-section { padding-block: 48px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 38px; }
.home-section .section-heading { margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading .eyebrow { margin-bottom: 15px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 26px; }
.product-card a { color: var(--ink); text-decoration: none; }
.product-image { display: block; aspect-ratio: 3/4; position: relative; overflow: hidden; background: #ede8de; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card a:hover img { transform: scale(1.035); }
.card-arrow { position: absolute; bottom: 14px; right: 14px; display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; background: var(--white); font-size: 1.25rem; }
.product-card h3 { margin: 17px 0 7px; }
.product-card h3, .garment-copy h1, .entry-content { overflow-wrap: anywhere; }
.card-meta { color: var(--bronze); font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }
.story { background: #eee8dc; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 95px; }
.story-photo { width: 100%; height: 480px; object-fit: cover; object-position: center 25%; }
.story-copy p:not(.eyebrow) { color: var(--muted); max-width: 430px; }
.story-copy h2 { max-width: 440px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.step-number { color: var(--bronze); font-family: var(--serif); font-size: 2rem; border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 20px; }
.steps p { color: var(--muted); font-size: .9rem; }
.contact-band { background: var(--ink); color: white; padding-block: 65px; }
.home-contact-band { padding-block: 44px; }
.contact-band .shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-band h2 { margin: 0 0 12px; }
.contact-band p { color: #d7d0c0; margin: 0; }
.contact-band .eyebrow { color: var(--gold); }
.page-intro { padding: 65px 0 45px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.page-intro h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); margin-bottom: 20px; }
.page-intro p { max-width: 640px; color: var(--muted); }
.page-content { max-width: 820px; font-size: 1.05rem; padding-bottom: 70px; }
.page-content h2 { font-size: 2.2rem; margin-top: 38px; }
.page-content img { max-height: 650px; object-fit: contain; }
.catalogue { padding-bottom: 85px; }
.collection-pagination { margin-top: clamp(32px, 5vw, 64px); }
.collection-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; list-style: none; }
.collection-pagination .page-numbers:not(ul) { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; }
.collection-pagination a { border: 1px solid var(--line); background: var(--white); }
.collection-pagination [aria-current] { background: var(--ink); color: var(--white); }
.about-map { margin-top: 40px; }
.map-directions { display: inline-flex; align-items: center; min-height: 44px; }
.about-map iframe { display: block; width: 100%; height: clamp(240px, 56vw, 420px); border: 1px solid var(--line); margin-top: 16px; }
.garment { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; padding-block: 55px 85px; align-items: start; }
.garment-photo { background: #e8e4d8; }
.garment-photo img { width: 100%; max-height: 850px; object-fit: contain; }
.garment-copy { align-self: center; }
.garment-copy h1 { font-size: clamp(2.7rem, 4vw, 4rem); }
.garment-copy .entry-content { color: var(--muted); }
.order-note { border-block: 1px solid var(--line); padding-block: 20px; font-size: .85rem; color: var(--muted); margin-block: 28px; }
.breadcrumbs { padding-top: 28px; font-size: .75rem; }
.site-footer { background: var(--ink); color: #d7d0c0; padding-block: 55px 20px; border-top: 1px solid #35332d; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 55px; }
.footer-grid h2 { color: white; font-size: 1.65rem; letter-spacing: 0; }
.footer-grid h3 { color: var(--gold); font-size: .68rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 20px; }
.footer-grid p, .footer-grid a { font-size: .83rem; }
.site-footer a { color: #eee7d7; }
.footer-links { padding: 0; list-style: none; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #35332d; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: .67rem; }
.footer-logo { width: 180px; height: auto; margin-bottom: 20px; background: var(--paper); padding: 12px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0; list-style: none; }
.social-links a, .whatsapp-link { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; }
.social-icon { display: inline-block; flex: 0 0 22px; vertical-align: middle; }
.enquiry-form { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.enquiry-form h2 { font-size: 2rem; }
.enquiry-form label { display: block; font-size: .85rem; margin-bottom: 18px; }
.enquiry-form input:not([type=checkbox]), .enquiry-form textarea { display: block; width: 100%; margin-top: 7px; padding: 12px; border: 1px solid #aaa395; border-radius: 0; background: white; color: var(--ink); font: inherit; }
.enquiry-form textarea { resize: vertical; }
.enquiry-form .consent { display: flex; align-items: flex-start; gap: 10px; }
.enquiry-form .consent input { margin-top: 6px; flex-shrink: 0; }
.enquiry-form .privacy-note { font-size: .8rem; color: var(--muted); }
.enquiry-form .website-field { position: absolute; left: -10000px; }
.form-notice { padding: 16px; border: 1px solid var(--bronze); background: white; }
.enquiry-unavailable { padding-block: 20px; font-size: .85rem; }
.empty-state { padding: 50px 0; }
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }
@media (min-width: 1600px) { .hero { min-height: 720px; } }
@media (min-width: 1200px) {
  .catalogue .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { min-height: min(720px, 80vh); grid-template-columns: minmax(0, 1fr) minmax(0, min(480px, 53.333vh)); }
  .hero-copy { padding-bottom: 28px; }
  .hero-photo { display: block; height: min(720px, 80vh); margin-right: 0; }
  .hero-photo > img { display: block; position: static; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: center; }
}
@media (max-width: 1080px) {
  .shell { width: calc(100% - 48px); }
  .brand-name { display: none; }
  .hero-copy { padding: 60px 32px 55px 0; }
  .hero-photo { margin-right: -24px; }
  .hero { min-height: 610px; }
  .story-grid { gap: 45px; }
  .garment { gap: 40px; }
}
@media (max-width: 900px) {
  .header-row { min-height: 92px; gap: 12px; flex-wrap: wrap; padding-block: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 72px; height: 72px; }
  .brand-name { display: block; font-size: 1.1rem; }
  .brand-name small { font-size: .45rem; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .75rem; }
  .nav-area { width: 100%; padding: 0 0 12px; align-items: flex-start; justify-content: space-between; gap: 14px; }
  .main-menu { flex-direction: column; align-items: flex-start; gap: 0; }
  .main-menu a, .languages a { display: inline-flex; align-items: center; min-height: 44px; }
  .js .nav-area:not(.is-open) { display: none; }
  .languages { padding-left: 12px; gap: 4px; }
  .languages a { min-width: 44px; justify-content: center; }
  .hero { min-height: 0; }
  .hero-copy { padding: 40px 24px 40px 0; }
  .hero-copy h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); }
  .story-grid, .garment { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .garment-copy h1 { font-size: clamp(2rem, 5vw, 3rem); }
  .steps, .footer-grid { gap: 24px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .topline { font-size: .56rem; letter-spacing: .12em; }
  .topline span { padding-inline: 7px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 48px 0 40px; }
  .hero-photo { height: clamp(300px, 86vw, 500px); margin: 0 -16px; }
  .photo-caption { left: 12px; right: 12px; bottom: 12px; padding: 12px; flex-wrap: wrap; }
  .hero-note { margin-top: 27px; }
  .strip-row { flex-wrap: wrap; gap: 12px; font-size: .56rem; padding-block: 18px; }
  .strip-row span { flex-basis: calc(50% - 10px); }
  .section { padding-block: 55px; }
  .home-section { padding-block: 32px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 28px; }
  .home-section .section-heading { margin-bottom: 20px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .product-card h3 { font-size: .95rem; margin-top: 12px; }
  .card-meta { font-size: .65rem; }
  .card-arrow { width: 30px; height: 30px; right: 9px; bottom: 9px; }
  .story-grid, .steps, .garment { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .story-photo { height: clamp(280px, 90vw, 410px); }
  .steps { gap: 25px; }
  .step-number { margin-bottom: 15px; }
  .contact-band .shell { flex-direction: column; align-items: flex-start; }
  .contact-band h2 { font-size: 2.5rem; }
  .page-intro { padding-top: 40px; }
  .garment { padding-top: 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 360px) {
  .brand img { width: 52px; height: 52px; }
  .brand-name { font-size: .98rem; }
  .brand-name small { letter-spacing: .13em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
