:root {
  --navy: #0b2148;
  --navy-2: #0f2c5c;
  --ink: #12233f;
  --sky: #eaf1fb;
  --line: #e3e8f0;
  --gold: #c9a24b;
  --text: #2a3b56;
  --muted: #6b7a94;
  --radius: 10px;
}

/* =========================================================
   RESET / BASE
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--sky);
  scrollbar-color: var(--gold) #edf2fa;
  scrollbar-width: thin;
}

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Arial,
    sans-serif;

  color: var(--text);
  background: #fff;
  line-height: 1.5;

  animation:
    pageFadeIn 0.45s cubic-bezier(.22, .61, .36, 1) forwards;
}

h1,
h2,
h3 {
  font-family:
    'Source Serif Pro',
    Georgia,
    'Times New Roman',
    serif;

  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================================
   TOPBAR
========================================================= */

.topbar {
  background: var(--ink);
  color: #cfd8e8;
  font-size: 13px;
  height: 38px;
  overflow: hidden;

  transform: translateY(0);
  opacity: 1;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.topbar .container {
  height: 38px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  flex-wrap: wrap;
}

.topbar .left,
.topbar .right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a:hover {
  color: #fff;
}

.topbar .right span {
  opacity: 0.5;
}

.topbar.scrolled {
  transform: translateY(-100%);
  opacity: 0;
}

/* =========================================================
   MAIN NAVIGATION
========================================================= */

header.main {
  background: #fff;
  border-bottom: 1px solid var(--line);

  transition:
    box-shadow 0.3s ease,
    height 0.3s ease;
}

header.main.scrolled {
  box-shadow: 0 4px 20px rgba(11, 33, 72, 0.12);
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;

  background: #fff;

  transition: transform 0.3s ease;
}

.nav-wrap.scrolled {
  transform: translateY(-38px);
}

nav.container {
  height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand .word {
  line-height: 1.1;
}

.brand .word .name {
  font-family:
    'Source Serif Pro',
    Georgia,
    serif;

  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.brand .word .since {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;

  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--navy);
  border-color: var(--gold);
}

.burger {
  display: none;

  font-size: 24px;

  background: none;
  border: none;

  color: var(--navy);

  cursor: pointer;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 0 22px;

  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;

  border-radius: 6px;
  border: 1.5px solid transparent;

  cursor: pointer;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-2);

  transform: translateY(-2px);

  box-shadow:
    0 12px 28px rgba(11, 33, 72, 0.22);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--sky);
  transform: translateY(-2px);
}

/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {
  background: var(--sky);
  padding: 64px 0;
}

.page-header .eyebrow {
  display: block;

  color: var(--gold);

  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.15em;

  margin-bottom: 10px;
}

.page-header h1 {
  font-size: 38px;
}

.page-header p {
  color: var(--muted);
  max-width: 560px;
  margin-top: 12px;
}

/* =========================================================
   HOME HERO
========================================================= */

.hero {
  position: relative;

  min-height: 560px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(234, 241, 251, 0.94) 0%,
      rgba(234, 241, 251, 0.72) 32%,
      rgba(234, 241, 251, 0.34) 65%,
      rgba(234, 241, 251, 0.10) 100%
    ),
    url('../images/hero.jpg');

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-copy {
  width: 100%;
  max-width: 720px;

  padding: 90px 24px 82px;
  margin: 0;

  text-align: left;
}

.hero-copy .eyebrow {
  display: block;

  margin-bottom: 17px;

  color: var(--gold);

  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 690px;

  margin: 0 0 20px;

  color: var(--navy);

  font-size: 54px;
  line-height: 1.07;
  font-weight: 800;
  letter-spacing: -1.4px;
}

.hero-copy p {
  max-width: 560px;

  margin: 0 0 32px;

  color: #26384f;

  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

.hero-actions {
  display: flex;

  align-items: center;

  gap: 14px;

  flex-wrap: wrap;
}

.hero-actions .btn {
  min-height: 48px;

  padding: 0 23px;

  font-size: 13.5px;
  font-weight: 700;
}

.hero::after {
  content: "";

  position: absolute;

  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0) 55%,
      rgba(8, 23, 51, 0.12) 100%
    );
}

/* =========================================================
   STATS STRIP
========================================================= */

.stats {
  background: var(--navy);
  color: #fff;
}

.stats .container {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  padding: 30px 24px;

  gap: 10px;
}

.stat {
  display: flex;

  align-items: center;

  gap: 14px;

  border-right: 1px solid rgba(255, 255, 255, 0.12);

  padding: 0 10px;
}

.stat:last-child {
  border-right: none;
}

.stat .icon {
  font-size: 22px;
  flex-shrink: 0;
}

.stat .num {
  font-size: 24px;
  font-weight: 700;

  font-family:
    'Source Serif Pro',
    Georgia,
    serif;
}

.stat .label {
  font-size: 12px;
  color: #b7c4de;
}

/* =========================================================
   ABOUT
========================================================= */

.about {
  background: #f7f9fc;
  padding: 90px 0;
}

.about .container {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;
}

.about h2 {
  font-size: 32px;
  margin: 10px 0 16px;
}

.about p {
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 480px;
}

.about-stats {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;

  margin-top: 24px;
}

.about-stats .card {
  background: #fff;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 18px;
}

.about-stats .card .num {
  font-size: 22px;
  font-weight: 700;

  color: var(--navy);

  font-family:
    'Source Serif Pro',
    Georgia,
    serif;
}

.about-stats .card .label {
  font-size: 12.5px;
  color: var(--muted);
}

/* =========================================================
   PROCESS
========================================================= */

.process {
  padding: 90px 0;
}

.process .head {
  max-width: 600px;
  margin-bottom: 50px;
}

.process .head h2 {
  font-size: 32px;
  margin: 10px 0 12px;
}

.process .head p {
  color: var(--muted);
}

.steps {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 0;
}

.step {
  padding: 0 18px;
  position: relative;
}

.step-number {
  position: relative;

  display: flex;

  justify-content: center;

  margin-bottom: 16px;
}

.step-number::after {
  content: "";

  position: absolute;

  top: 50%;
  left: 50%;

  width: 100%;
  height: 2px;

  background: var(--line);

  transform: translateY(-50%);

  z-index: 0;
}

.step:last-child .step-number::after {
  display: none;
}

.step .n {
  position: relative;

  z-index: 1;

  width: 48px;
  height: 48px;

  border-radius: 50%;

  background:
    linear-gradient(
      160deg,
      var(--navy),
      #13294f
    );

  border: 2px solid var(--gold);

  display: flex;

  align-items: center;
  justify-content: center;

  font-family:
    'Source Serif Pro',
    Georgia,
    serif;

  font-size: 17px;

  color: #fff;

  font-weight: 700;

  box-shadow:
    0 6px 16px rgba(11, 33, 72, 0.22);

  transition: transform 0.25s ease;
}

.step:hover .n {
  transform: scale(1.08);
}

.step h3 {
  font-size: 16px;
  margin-bottom: 8px;
  text-align: center;
}

.step p {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* =========================================================
   FACTORIES
========================================================= */

.factories-block {
  background: var(--navy);
  color: #fff;
  padding: 90px 0;
}

.factories-block .container {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: center;
}

.factories-block h2 {
  color: #fff;
  font-size: 32px;
  margin: 10px 0 16px;
}

.factories-block p {
  color: #b7c4de;
  margin-bottom: 24px;
  max-width: 460px;
}

.factories-block .grid4 {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;
}

.factories-block .card {
  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: var(--radius);

  padding: 20px;
}

.factories-block .card .num {
  font-size: 26px;
  font-weight: 700;

  font-family:
    'Source Serif Pro',
    Georgia,
    serif;
}

.factories-block .card .label {
  font-size: 12.5px;
  color: #b7c4de;
}

/* =========================================================
   BUSINESS
========================================================= */

.business {
  padding: 90px 0;
}

.business .container {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: start;
}

.business h2 {
  font-size: 32px;
  margin: 10px 0 16px;
}

.business > .container > div:first-child p {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 460px;
}

.divider {
  width: 46px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 6px;
}

.products {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;
}

.product-card {
  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 20px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.product-card:hover {
  border-color: var(--gold);

  transform: translateY(-8px);

  box-shadow:
    0 18px 40px rgba(11, 33, 72, 0.12);
}

.product-card .ic {
  width: 40px;
  height: 40px;

  border-radius: 50%;

  background: var(--sky);

  display: flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 12px;

  font-size: 18px;
}

.product-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.product-card p {
  font-size: 13.5px;
  color: var(--muted);
}

/* =========================================================
   PRODUCTS FULL
   REFERENCE SIZE FOR HOME PRODUCT CARDS
========================================================= */

.products-full {
  padding: 90px 0;
}

.products-full .grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

/* Main Products Page Card */

.products-full .product-card {
  width: 100%;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  overflow: hidden;

  background: #fff;

  padding: 0 0 26px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.products-full .product-card:hover {
  border-color: var(--gold);

  transform: translateY(-8px);

  box-shadow:
    0 18px 40px rgba(11, 33, 72, 0.12);
}

.products-full .product-card .ic {
  width: 48px;
  height: 48px;

  font-size: 20px;
}

/* =========================================================
   PRODUCT IMAGE
   THIS IS THE EXACT REFERENCE SIZE
========================================================= */

.product-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;

  background: linear-gradient(
    135deg,
    #dfe8f5,
    #f3f6fb
  );

  margin-bottom: 18px;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Products Page Text */

.products-full .product-card h3 {
  padding: 0 26px;

  font-size: 16px;

  margin-bottom: 6px;
}

.products-full .product-card p {
  padding: 0 26px;

  font-size: 13.5px;

  color: var(--muted);
}

/* =========================================================
   VISUAL BLOCK
========================================================= */

.visual-block {
  background:
    linear-gradient(
      135deg,
      #dfe8f5,
      #f3f6fb
    );

  border-radius: 16px;

  aspect-ratio: 16 / 10;

  position: relative;

  overflow: hidden;

  box-shadow:
    0 20px 45px rgba(11, 33, 72, 0.15);

  cursor: pointer;
}

.visual-block img {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.visual-block svg {
  width: 82%;
}

.visual-block::after {
  content: attr(data-label);

  position: absolute;

  left: 20px;
  bottom: 18px;

  z-index: 1;

  color: #fff;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5);
}

.visual-block img {
  transition:
    transform 0.5s ease,
    filter 0.45s ease;
}

.visual-block:hover img {
  transform: scale(1.05);
  filter: brightness(1.04);
}

.visual-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =========================================================
   PARTNERS
========================================================= */

.partners {
  background: #f7f9fc;
  padding: 60px 0;
}

.partners .eyebrow-row h2 {
  font-size: 22px;
  margin: 8px 0 24px;
}

.logo-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.logo-track {
  display: flex;

  gap: 14px;

  width: max-content;

  animation:
    slideLogos 22s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

.logo-chip {
  border: 1px solid var(--line);

  background: #fff;

  border-radius: 6px;

  padding: 14px 22px;

  font-weight: 700;

  letter-spacing: 0.04em;

  color: var(--navy);

  font-size: 14px;

  white-space: nowrap;

  display: flex;

  align-items: center;
  justify-content: center;

  height: 64px;

  min-width: 120px;
}

.logo-chip img {
  max-height: 32px;
  max-width: 140px;

  width: auto;
  height: auto;

  object-fit: contain;
}

@keyframes slideLogos {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   SUSTAINABILITY
========================================================= */

.sustain {
  padding: 90px 0;
}

.sustain .grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

  margin-top: 10px;
}

.sustain .card {
  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 26px;
}

.sustain .card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.sustain .card p {
  font-size: 13.5px;
  color: var(--muted);
}

.sustain .notice {
  margin-top: 36px;

  padding: 18px 20px;

  background: var(--sky);

  border-left: 3px solid var(--gold);

  border-radius: 6px;

  font-size: 13.5px;

  color: var(--text);
}

/* =========================================================
   GENERIC CONTENT
========================================================= */

.content-section {
  padding: 70px 0;
}

.content-section h2 {
  font-size: 30px;
  margin: 10px 0 18px;
}

.content-section > .container > p {
  color: var(--muted);
  max-width: 780px;
}

.content-list {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

  margin-top: 24px;

  counter-reset: card-index;
}

.content-list .item {
  counter-increment: card-index;

  border: 1px solid var(--line);

  border-radius: 16px;

  padding: 26px 22px 22px;

  background:
    linear-gradient(
      160deg,
      #fff 0%,
      #f9fafc 100%
    );

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;

  position: relative;

  overflow: hidden;
}

.content-list .item::before {
  content: counter(card-index, decimal-leading-zero);

  position: absolute;

  top: -6px;
  right: 10px;

  font-family:
    'Source Serif Pro',
    Georgia,
    serif;

  font-weight: 700;

  font-size: 44px;

  color: var(--navy);

  opacity: 0.06;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.content-list .item::after {
  content: "";

  position: absolute;

  bottom: 0;
  left: 0;

  height: 3px;
  width: 0;

  background:
    linear-gradient(
      90deg,
      var(--gold),
      var(--navy)
    );

  transition: width 0.3s ease;
}

.content-list .item:hover {
  transform: translateY(-6px);

  box-shadow:
    0 16px 36px rgba(11, 33, 72, 0.12);

  border-color: transparent;
}

.content-list .item:hover::before {
  opacity: 0.14;
  transform: scale(1.08);
}

.content-list .item:hover::after {
  width: 100%;
}

.content-list .item h4 {
  font-size: 14.5px;

  color: var(--navy);

  font-weight: 700;

  position: relative;

  z-index: 1;

  padding-top: 6px;
}

.content-list .item p {
  font-size: 13.5px;

  color: var(--muted);

  margin: 0;

  position: relative;

  z-index: 1;
}

.content-list-2 {
  grid-template-columns: repeat(2, 1fr);
}

.content-list-3 {
  grid-template-columns: repeat(3, 1fr);
}

.content-list-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* =========================================================
   QUOTE / CTA
========================================================= */

.quote-section {
  background: var(--navy);

  color: #fff;

  padding: 70px 0;

  text-align: center;
}

.quote-section blockquote {
  font-family:
    'Source Serif Pro',
    Georgia,
    serif;

  font-size: 22px;

  max-width: 760px;

  margin: 0 auto 20px;

  line-height: 1.5;
}

.quote-section cite {
  font-style: normal;

  font-size: 14px;

  color: #b7c4de;
}

.cta-section {
  background: var(--sky);

  padding: 70px 0;

  text-align: center;
}

.cta-section h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--muted);

  max-width: 600px;

  margin: 0 auto 24px;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
  padding: 90px 0;
}

.contact-section h2 {
  font-size: 32px;
  margin: 10px 0 24px;
}

.contact-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
}

.contact-card {
  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 26px;

  text-align: left;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);

  border-color: var(--gold);

  box-shadow:
    0 16px 36px rgba(11, 33, 72, 0.10);
}

.contact-card .ic {
  font-size: 22px;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 13.5px;
  color: var(--muted);
}

.contact-form {
  margin-top: 50px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;

  max-width: 760px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;

  font-size: 13px;

  font-weight: 600;

  color: var(--navy);

  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;

  padding: 12px 14px;

  border: 1px solid var(--line);

  border-radius: 6px;

  font-family: inherit;

  font-size: 14px;

  color: var(--text);

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;

  border-color: var(--gold);

  box-shadow:
    0 0 0 4px rgba(201, 162, 75, 0.18);

  transform: translateY(-2px);
}

.form-note {
  font-size: 12.5px;

  color: var(--muted);

  margin-top: 10px;

  grid-column: 1 / -1;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer-wrap {
  display: block;

  width: 100%;

  margin: 0;
  padding: 0;
}

.foot-strip {
  background: var(--navy);

  color: #fff;

  padding: 36px 0 22px;
}

.foot-strip .container {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

.fitem {
  display: flex;

  gap: 14px;

  align-items: flex-start;
}

.fitem .ic {
  font-size: 20px;
}

.fitem .t {
  font-size: 14px;
  font-weight: 600;
}

.fitem .s {
  font-size: 12.5px;
  color: #a9b8d6;
}

footer.site {
  background: #081733;

  color: #8fa0c4;

  padding: 20px 0;

  font-size: 13px;

  text-align: center;

  margin: 0;
}

footer.site a {
  color: #cdd8ee;
}

/* =========================================================
   TABS
========================================================= */

.tab-bar {
  display: flex;

  gap: 6px;

  margin: 24px 0 8px;

  flex-wrap: wrap;

  background: #f1f4f9;

  padding: 6px;

  border-radius: 14px;

  width: fit-content;
}

.tab-btn {
  padding: 11px 24px;

  border: none;

  border-radius: 10px;

  background: transparent;

  font-size: 14px;

  font-weight: 600;

  color: var(--muted);

  cursor: pointer;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.tab-btn:hover {
  color: var(--navy);
}

.tab-btn.active {
  background: var(--navy);

  color: #fff;

  box-shadow:
    0 6px 16px rgba(11, 33, 72, 0.25);
}

.tab-panel {
  display: none;

  padding: 32px 0 8px;

  opacity: 0;

  transform: translateZ(0);

  backface-visibility: hidden;

  will-change:
    opacity,
    transform;

  transition: opacity 0.25s ease;
}

.tab-panel.active {
  display: block;
  opacity: 1;
}

.fabric-hero {
  margin-bottom: 28px;
  text-align: center;
}

.fabric-hero h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.fabric-hero p {
  color: var(--muted);

  max-width: 640px;

  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   SECTION SUB HEAD
========================================================= */

.sub-head {
  font-size: 15px;

  color: var(--navy);

  margin: 34px 0 16px;

  padding-left: 14px;

  border-left: 3px solid var(--gold);

  text-transform: uppercase;

  letter-spacing: 0.06em;

  font-weight: 700;
}

.sub-head .tag {
  font-size: 10px;

  background: #fde8e8;

  color: #b03030;

  padding: 2px 8px;

  border-radius: 4px;

  font-weight: 700;

  letter-spacing: 0.05em;

  vertical-align: middle;

  margin-left: 8px;
}

/* =========================================================
   COUNTRY CARDS
========================================================= */

.country-grid {
  display: grid;

  grid-template-columns: repeat(7, 1fr);

  gap: 16px;
}

.country-card {
  border: 1px solid var(--line);

  border-radius: 14px;

  padding: 22px 10px 16px;

  text-align: center;

  font-size: 12.5px;

  font-weight: 700;

  color: var(--navy);

  background:
    linear-gradient(
      160deg,
      #fff 0%,
      #f7f9fc 100%
    );

  transition: 0.25s ease;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: flex-start;

  gap: 12px;

  position: relative;

  overflow: hidden;

  text-transform: uppercase;

  letter-spacing: 0.04em;
}

.country-card::before {
  content: "";

  position: absolute;

  top: -30%;
  left: 50%;

  width: 140%;

  padding-top: 140%;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(201, 162, 75, 0.14) 0%,
      rgba(201, 162, 75, 0) 65%
    );

  transform: translateX(-50%);

  opacity: 0;

  transition: opacity 0.3s ease;
}

.country-card:hover::before {
  opacity: 1;
}

.country-card:hover {
  border-color: transparent;

  transform: translateY(-4px);

  box-shadow:
    0 14px 30px rgba(11, 33, 72, 0.10);
}

.flag-badge {
  position: relative;

  width: 56px;
  height: 56px;

  display: flex;

  align-items: center;
  justify-content: center;
}

.flag-badge::before {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 50%;

  border: 1.5px dashed rgba(11, 33, 72, 0.25);

  animation:
    flagRingSpin 12s linear infinite;
}

.flag-icon {
  width: 34px;

  height: auto;

  border-radius: 4px;

  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.18);

  position: relative;

  z-index: 1;
}

@keyframes flagRingSpin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   MILL CHIPS
========================================================= */

.mill-grid {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  justify-content: center;
}

.mill-chip {
  border: 1px solid var(--line);

  border-radius: 8px;

  padding: 10px 18px 10px 16px;

  font-size: 12.5px;

  font-weight: 700;

  color: var(--navy);

  background: #fff;

  transition: 0.25s ease;

  position: relative;

  display: inline-flex;

  align-items: center;

  gap: 9px;

  text-transform: uppercase;

  letter-spacing: 0.03em;

  border-left: 3px solid var(--gold);
}

.mill-chip::before {
  content: "";

  width: 14px;
  height: 14px;

  flex-shrink: 0;

  background-color: var(--navy);

  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V11l6 4v-4l6 4v-4l6 4v6z'/%3E%3Cline x1='3' y1='21' x2='21' y2='21'/%3E%3C/svg%3E")
    center / contain no-repeat;

  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V11l6 4v-4l6 4v-4l6 4v6z'/%3E%3Cline x1='3' y1='21' x2='21' y2='21'/%3E%3C/svg%3E")
    center / contain no-repeat;

  transition: background-color 0.25s ease;
}

.mill-chip:hover {
  border-left-color: #fff;

  background: var(--navy);

  color: #fff;

  transform: translateX(4px);

  box-shadow:
    0 10px 24px rgba(11, 33, 72, 0.16);
}

.mill-chip:hover::before {
  background-color: #fff;
}

/* =========================================================
   CHECKLIST
========================================================= */

.checklist {
  list-style: none;
}

.checklist li {
  padding: 12px 0 12px 34px;

  position: relative;

  border-bottom: 1px solid var(--line);

  color: var(--text);
}

.checklist li::before {
  content: "✓";

  position: absolute;

  left: 0;

  top: 10px;

  width: 20px;
  height: 20px;

  background: var(--sky);

  color: var(--navy);

  border-radius: 50%;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 11px;

  font-weight: 700;
}

.panel-text {
  color: var(--muted);
  max-width: 700px;
}

/* =========================================================
   FABRIC PHOTO
========================================================= */

.fabric-photo {
  width: 100%;

  max-width: 900px;

  aspect-ratio: 550 / 150;

  border-radius: 16px;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #dfe8f5,
      #f3f6fb
    );

  margin: 0 auto 28px;

  box-shadow:
    0 12px 30px rgba(11, 33, 72, 0.10);
}

/* =========================================================
   COUNTERS
========================================================= */

.counter-block {
  text-align: center;

  padding: 30px;

  border-radius: 14px;

  background:
    linear-gradient(
      180deg,
      #fff,
      #f7f9fc
    );

  border: 1px solid var(--line);
}

.counter {
  font-family:
    'Source Serif Pro',
    Georgia,
    serif;

  font-size: 40px;

  font-weight: 700;

  color: var(--navy);
}

.counter-label {
  color: var(--muted);

  font-size: 13px;

  margin-top: 6px;

  font-weight: 600;
}

/* =========================================================
   TIER CARDS
========================================================= */

.two-col-cards {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;
}

.tier-card {
  border: 1px solid var(--line);

  border-radius: 16px;

  padding: 26px;

  background:
    linear-gradient(
      180deg,
      #fff,
      #fafbfd
    );

  transition: 0.2s ease;
}

.tier-card:hover {
  box-shadow:
    0 14px 32px rgba(11, 33, 72, 0.08);

  transform: translateY(-3px);
}

.tier-card h4 {
  font-size: 16px;

  color: var(--navy);

  margin-bottom: 14px;

  font-weight: 700;
}

/* =========================================================
   STEP VARIANTS
========================================================= */

.steps-4 {
  grid-template-columns: repeat(4, 1fr);
}

.steps-5 {
  grid-template-columns: repeat(5, 1fr);
}

.steps-6 {
  grid-template-columns: repeat(6, 1fr);
}

.steps-7 {
  grid-template-columns: repeat(7, 1fr);
}

.steps-8 {
  grid-template-columns: repeat(8, 1fr);
}

.steps-8 .n {
  font-size: 14px;

  width: 38px;
  height: 38px;
}

.steps-8 h3 {
  font-size: 13px;
}

/* =========================================================
   SAMPLE STATS
========================================================= */

.sample-stats {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

  padding: 20px 0;
}

.stat-block {
  text-align: center;

  padding: 20px;

  border-radius: 14px;

  background:
    linear-gradient(
      180deg,
      #fff,
      #f7f9fc
    );

  border: 1px solid var(--line);
}

/* =========================================================
   UNIT CARDS
========================================================= */

.unit-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;
}

.unit-card {
  border: 1px solid var(--line);

  border-left: 4px solid var(--navy);

  border-radius: 12px;

  padding: 22px;

  background: #fff;

  transition: 0.2s ease;
}

.unit-card:hover {
  border-left-color: var(--gold);

  transform: translateX(4px);

  box-shadow:
    0 10px 28px rgba(11, 33, 72, 0.08);
}

.unit-card h4 {
  font-size: 15px;

  color: var(--navy);

  margin-bottom: 8px;

  font-weight: 700;
}

/* =========================================================
   SIDE FLOAT
========================================================= */

.side-float {
  position: fixed;

  top: 60%;
  right: 24px;

  transform: translateY(-50%);

  z-index: 40;

  background:
    rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

  border: 1px solid var(--line);

  border-radius: 18px;

  padding: 18px 20px;

  box-shadow:
    0 16px 40px rgba(11, 33, 72, 0.14);

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 14px;

  min-width: 120px;
}

.float-mark {
  width: 56px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.float-mark-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.float-nav {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 10px;

  width: 100%;
}

.float-nav a {
  font-size: 12.5px;

  font-weight: 600;

  color: var(--text);

  padding: 4px 8px;

  border-radius: 6px;

  transition: 0.15s ease;

  text-align: center;

  width: 100%;
}

.float-nav a:hover {
  background: var(--sky);
  color: var(--navy);
}

.float-divider {
  width: 70%;
  height: 1px;
  background: var(--line);
}

.float-label {
  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.1em;

  color: var(--gold);

  text-transform: uppercase;
}

/* =========================================================
   MINI GALLERY
========================================================= */

.mini-gallery {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 16px;

  margin-top: 20px;
}

.mini-gallery-item {
  height: 150px;

  border-radius: var(--radius);

  display: flex;

  align-items: center;
  justify-content: center;

  font-weight: 600;

  font-size: 13px;

  color: var(--navy);

  text-align: center;

  padding: 12px;

  background:
    linear-gradient(
      135deg,
      #dfe8f5,
      #f3f6fb
    );
}

/* =========================================================
   PHOTO SLIDER
========================================================= */

.photo-slider {
  position: relative;

  overflow: hidden;

  width: 100%;

  margin-top: 20px;
}

.photo-track {
  display: flex;

  gap: 16px;

  width: max-content;
}

.photo-track.auto-slide {
  animation:
    slidePhotos 26s linear infinite;
}

.photo-track.auto-slide:hover {
  animation-play-state: paused;
}

.photo-card {
  width: 280px;
  height: 200px;

  border-radius: 14px;

  overflow: hidden;

  flex-shrink: 0;

  box-shadow:
    0 10px 24px rgba(11, 33, 72, 0.10);
}

.photo-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}

.photo-grid-static {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 16px;

  margin-top: 20px;
}

.photo-grid-static .photo-card {
  width: 100%;
  height: 180px;
}

@keyframes slidePhotos {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   EXPORT MAP
========================================================= */

.export-map {
  max-width: 640px;

  margin: 20px auto 0;

  background:
    linear-gradient(
      160deg,
      #0f2c5c 0%,
      #0b2148 55%,
      #091a3b 100%
    );

  border-radius: 20px;

  overflow: hidden;

  box-shadow:
    0 20px 45px rgba(11, 33, 72, 0.25);
}

.export-map svg {
  width: 100%;
  height: auto;
  display: block;
}

.route-line {
  stroke: var(--gold);

  stroke-width: 1.4;

  stroke-dasharray: 4 7;

  opacity: 0.55;

  animation:
    routeFlow 1.3s linear infinite;
}

@keyframes routeFlow {
  to {
    stroke-dashoffset: -22;
  }
}

.hub-node {
  fill: var(--gold);
}

.hub-ring {
  fill: none;

  stroke: var(--gold);

  stroke-width: 1;

  opacity: 0.5;

  animation:
    hubSpin 8s linear infinite;

  transform-origin: center;

  transform-box: fill-box;

  stroke-dasharray: 4 4;
}

@keyframes hubSpin {
  to {
    transform: rotate(360deg);
  }
}

.hub-label {
  fill: #e8edf7;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.12em;

  font-family:
    'Inter',
    sans-serif;
}

.dest-ring {
  fill: rgba(255, 255, 255, 0.08);

  stroke: rgba(255, 255, 255, 0.25);

  stroke-width: 1;
}

.dest-pulse {
  fill: var(--gold);

  opacity: 0.5;

  transform-origin: center;

  transform-box: fill-box;

  animation:
    destPulse 1.8s ease-out infinite;
}

@keyframes destPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.5;
  }

  70% {
    transform: scale(2);
    opacity: 0;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.flag-marker {
  filter:
    drop-shadow(
      0 2px 5px rgba(0, 0, 0, 0.5)
    );
}

/* =========================================================
   PAGE TRANSITION
========================================================= */

.page-transition-overlay {
  position: fixed;

  inset: 0;

  z-index: 9999;

  background: var(--sky);

  opacity: 1;

  pointer-events: none;

  transition: opacity 0.3s ease;
}

.page-transition-overlay.hidden {
  opacity: 0;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    margin-top: 22px;
  }

  to {
    opacity: 1;
    margin-top: 0;
  }
}

body.page-exit {
  animation: none;

  opacity: 0;

  margin-top: -22px;

  transition:
    opacity 0.32s ease,
    margin-top 0.32s ease;
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal-up {
  opacity: 0;

  margin-top: 26px;

  transition:
    opacity 0.55s cubic-bezier(.22, .61, .36, 1),
    margin-top 0.55s cubic-bezier(.22, .61, .36, 1);
}

.reveal-up.revealed {
  opacity: 1;
  margin-top: 0;
}

/* =========================================================
   HOME PRODUCT GRID
   EXACT SAME GRID SIZE AS PRODUCTS PAGE
========================================================= */

.home-products .grid,
.home-product-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

/* =========================================================
   HOME PRODUCT CARD
   EXACT SAME CARD SIZE / STRUCTURE AS PRODUCTS PAGE
========================================================= */

.home-product-card {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;

  box-shadow: 0 14px 34px rgba(11, 33, 72, 0.14);

  cursor: default;
  border: 1px solid var(--line);

  background: #fff;
  padding-bottom: 20px;
}

/* =========================================================
   HOME PRODUCT TITLE
   SAME 26px HORIZONTAL PADDING
========================================================= */

.home-product-card h3 {
  padding: 0 26px;

  font-size: 16px;

  margin-bottom: 6px;
}

.home-product-card p {
  padding: 0 26px;

  font-size: 13.5px;

  color: var(--muted);
}

/* =========================================================
   CATEGORY BADGE
========================================================= */

.home-product-category {
  position: absolute;

  left: 16px;
  bottom: 16px;

  padding: 9px 15px;

  background: rgba(11, 33, 72, 0.92);

  color: #fff;

  border:
    1px solid
    rgba(255, 255, 255, 0.25);

  border-radius: 30px;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.5px;

  text-transform: uppercase;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.20);

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);

  z-index: 2;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

/* =========================================================
   HOME PRODUCT HOVER
========================================================= */

.home-product-card:hover {
  border-color: var(--gold);

  transform: translateY(-8px);

  box-shadow:
    0 18px 40px rgba(11, 33, 72, 0.12);
}

.home-product-card:hover .home-product-photo img {
  transform: scale(1.05);

  filter: brightness(1.04);
}

.home-product-card:hover .home-product-category {
  background: var(--gold);

  color: var(--navy);

  transform: translateY(-2px);
}

/* =========================================================
   MOBILE ELEMENT DEFAULTS
========================================================= */

.side-float-trigger {
  display: none;
}

.side-float-backdrop {
  display: none;
}

.side-float-close {
  display: none;
}

.mobile-contact-btn {
  display: none;
}

/* =========================================================
   OWNER
========================================================= */

#owner .container {
  display: grid;

  grid-template-columns: 0.9fr 1.3fr;

  grid-template-areas:
    "photo title"
    "photo desc";

  column-gap: 60px;

  align-items: start;
}

#owner .owner-photo {
  grid-area: photo;

  position: relative;

  display: flex;

  justify-content: center;

  align-items: center;
}

#owner .owner-title {
  grid-area: title;
  align-self: end;
}

#owner .owner-desc {
  grid-area: desc;
  padding-top: 6px;
}

#owner .owner-photo::before {
  content: "";

  position: absolute;

  top: -18px;
  left: -18px;

  right: 18px;
  bottom: 18px;

  border: 2px solid var(--gold);

  border-radius: 34px;

  z-index: 0;

  transition: 0.35s ease;
}

#owner .owner-photo img {
  width: 100%;

  max-width: 420px;

  aspect-ratio: 4 / 5;

  object-fit: cover;

  border-radius: 28px;

  border: 8px solid #fff;

  position: relative;

  z-index: 1;

  box-shadow:
    0 25px 60px rgba(11, 33, 72, 0.22);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

#owner .owner-photo:hover img {
  transform:
    translateY(-8px)
    scale(1.03);
}

#owner .owner-photo:hover::before {
  top: -22px;
  left: -22px;
}

/* =========================================================
   GLOBAL IMAGE EFFECTS
========================================================= */

img {
  transition:
    transform 0.45s ease,
    filter 0.45s ease,
    opacity 0.45s ease;
}

.visual-block:hover img,
.photo-card:hover img,
.product-photo:hover img {
  transform: scale(1.05);
  filter: brightness(1.04);
}

/* =========================================================
   SUCCESS MESSAGE
========================================================= */

.success-message {
  margin-top: 20px;

  padding: 14px 18px;

  background: #e8f7ee;

  color: #176b3a;

  border: 1px solid #b7e4c7;

  border-radius: 8px;

  font-size: 15px;
}

/* =========================================================
   NEWS
========================================================= */

.news-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

  margin-top: 24px;
}

.news-card {
  border: 1px solid var(--line);

  border-radius: 14px;

  overflow: hidden;

  background: #fff;

  transition: 0.25s ease;
}

.news-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 16px 36px rgba(11, 33, 72, 0.10);
}

.news-photo {
  aspect-ratio: 16 / 10;

  background:
    linear-gradient(
      135deg,
      #dfe8f5,
      #f3f6fb
    );
}

.news-body {
  padding: 20px;
}

.news-date {
  font-size: 11px;

  font-weight: 700;

  color: var(--gold);

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.news-body h3 {
  font-size: 16px;
  margin: 8px 0;
}

.news-body p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

/* =========================================================
   EVENTS
========================================================= */

.event-list {
  display: flex;

  flex-direction: column;

  gap: 14px;

  margin-top: 20px;
}

.event-row {
  display: flex;

  align-items: center;

  gap: 20px;

  border: 1px solid var(--line);

  border-radius: 12px;

  padding: 18px 22px;

  background: #fff;

  transition: 0.2s ease;
}

.event-row:hover {
  border-color: var(--gold);

  box-shadow:
    0 10px 24px rgba(11, 33, 72, 0.08);
}

.event-date-block {
  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  width: 60px;
  height: 60px;

  border-radius: 10px;

  background: var(--navy);

  color: #fff;

  flex-shrink: 0;
}

.event-day {
  font-size: 20px;

  font-weight: 700;

  font-family:
    'Source Serif Pro',
    Georgia,
    serif;

  line-height: 1;
}

.event-month {
  font-size: 10px;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  color: #b7c4de;
}

.event-info h4 {
  font-size: 15px;

  color: var(--navy);

  margin-bottom: 4px;
}

.event-info p {
  font-size: 13px;

  color: var(--muted);

  margin: 0;
}

/* =========================================================
   PREMIUM SCROLLBAR
========================================================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #edf2fa;
}

::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      180deg,
      var(--gold),
      var(--navy)
    );

  border: 2px solid #edf2fa;

  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(
      180deg,
      #d8b66b,
      var(--navy-2)
    );
}

/* =========================================================
   SELECTION
========================================================= */

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

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

/* =========================================================
   FOCUS
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

  .home-products .grid,
  .home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .products-full .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {

  .home-products .grid,
  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .products-full .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 600px) {

  .home-products .grid,
  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .products-full .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-product-card {
    border-radius: 14px;
  }

  .products-full .product-card {
    border-radius: 14px;
  }

  .home-product-card h3 {
    padding: 0 12px;
    font-size: 13px;
  }

  .home-product-card p {
    padding: 0 12px;
    font-size: 11px;
  }

  .products-full .product-card h3 {
    padding: 0 12px;
    font-size: 13px;
  }

  .products-full .product-card p {
    padding: 0 12px;
    font-size: 11px;
  }

  .home-product-category {
    left: 8px;
    bottom: 8px;
    padding: 6px 9px;
    font-size: 8px;
    letter-spacing: 0.25px;
  }
}

@media (max-width: 380px) {

  .home-products .grid,
  .home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .products-full .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-product-category {
    left: 6px;
    bottom: 6px;
    padding: 5px 7px;
    font-size: 7px;
  }
}

/* =========================================================
   HOME PRODUCT PHOTO
   FULL PRODUCT VISIBLE ON DESKTOP + MOBILE
========================================================= */

.home-product-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-product-photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  display: block;
  object-fit: contain !important;
  object-position: center;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.home-product-card:hover .home-product-photo img {
  transform: scale(1.03);
  filter: brightness(1.04);
}

/* =========================================================
   PRODUCT PAGE PHOTO
   FULL GARMENT VISIBLE
========================================================= */

.products-full .product-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, #dfe8f5, #f3f6fb);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-full .product-photo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}


/* =========================================================
   FINAL HOME PRODUCT IMAGE FIX
   Match the Products page image behavior exactly.
   - Home product board/card remains removed
   - Full product image is visible
   - No cropping
   - Same 4:5 image area as Products page
   - Responsive on mobile
   ========================================================= */

.home-product-card,
.home-product-card:hover {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
}

.home-product-photo,
.home-product-photo:hover {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.home-product-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
}

/* Keep the category badge neat without changing image size. */
.home-product-category {
    left: 10px !important;
    bottom: 10px !important;
    padding: 7px 11px !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    letter-spacing: 0.35px !important;
    border-radius: 22px !important;
    white-space: nowrap !important;
    z-index: 5 !important;
}

/* Mobile: same image proportion, smaller gap, no crop. */
@media (max-width: 600px) {
    .home-products .grid,
    .home-product-grid,
    .products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        align-items: start !important;
    }

    .home-product-card {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .home-product-photo {
        width: 100% !important;
        aspect-ratio: 4 / 5 !important;
        overflow: hidden !important;
    }

    .home-product-photo img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        transform: none !important;
    }

    .home-product-category {
        left: 7px !important;
        bottom: 7px !important;
        padding: 6px 9px !important;
        font-size: 8px !important;
        line-height: 1.15 !important;
        letter-spacing: 0.25px !important;
        border-radius: 18px !important;
        max-width: calc(100% - 14px) !important;
        white-space: nowrap !important;
    }
}

/* Very small phones. */
@media (max-width: 380px) {
    .home-products .grid,
    .home-product-grid,
    .products {
        gap: 10px !important;
    }

    .home-product-photo {
        aspect-ratio: 4 / 5 !important;
    }

    .home-product-photo img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }

    .home-product-category {
        left: 6px !important;
        bottom: 6px !important;
        padding: 5px 8px !important;
        font-size: 7.5px !important;
        letter-spacing: 0.2px !important;
    }
}