:root {
  --green: #163d30;
  --green-light: #285843;
  --cream: #f7f5ee;
  --gold: #b38945;
  --ink: #233c31;
  --muted: #68736b;
  --border: #dedfd4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: 24px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 12px 20px;
}

.skip-link:focus {
  top: 12px;
}

.announcement {
  padding: 10px 20px;
  background: var(--green);
  color: #f4eedc;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1px;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}

.brand,
.header-actions {
  display: flex;
  align-items: center;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(430px, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 100px;
}

.header-inner > *,
.hero > *,
.catalogue-heading > *,
.quotation > * {
  min-width: 0;
}

.brand {
  gap: 13px;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 22px;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1.3;
}

.brand-text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 2.5px;
}

.header-actions {
  grid-column: 3;
  grid-row: 1;
  gap: 26px;
}

.phone-link {
  font-size: 14px;
}

.language-button {
  min-width: 80px;
  min-height: 44px;
  border: 1px solid #bdc5b7;
  border-radius: 6px;
  background: transparent;
  color: var(--green);
}

.language-button:hover {
  background: #e9eddf;
}

.site-navigation {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-phone-item {
  display: none;
}

.nav-phone-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
}

.menu-button {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #bdc5b7;
  border-radius: 6px;
  background: transparent;
  color: var(--green);
}

.menu-button:hover {
  background: #e9eddf;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  inset-inline-start: 0;
  content: "";
  transition: transform 180ms, top 180ms;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.menu-button[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 72px;
  padding-block: 85px;
}

.eyebrow,
.detail-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.eyebrow {
  margin: 0 0 24px;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.3vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -2.5px;
}

h1 span {
  display: block;
}

.accent-text {
  color: var(--green-light);
}

.hero-description {
  max-width: 490px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 52px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 180ms, transform 180ms;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: white;
}

.button-primary:hover {
  background: var(--green-light);
}

.button-secondary {
  border-color: #bfc7b7;
}

.button-secondary:hover {
  background: #e9eddf;
}

.buyer-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.supply-panel {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: 6px 60px 6px 6px;
  background: var(--green);
  color: #f5f0e3;
  box-shadow: 0 24px 60px #163d3014;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.panel-label {
  color: #d7bc86;
  font-size: 10px;
  letter-spacing: 2px;
}

.panel-monogram {
  color: #c7d0b9;
  font-family: Georgia, serif;
  font-size: 28px;
}

.supply-panel h2 {
  max-width: 320px;
  margin: 25px 0 28px;
  font-family: Georgia, serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.2;
}

.supply-item {
  display: flex;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid #ffffff26;
}

.item-number {
  padding-top: 5px;
  color: #d7bc86;
  font-size: 11px;
}

.supply-item h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
}

.supply-item p {
  margin: 4px 0 0;
  color: #c4d0c5;
  font-size: 13px;
}

.panel-footer {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid #ffffff26;
  color: #c4d0c5;
  font-size: 11px;
}

.business-strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-block: 30px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.business-strip p {
  margin: 7px 0 0;
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 30px;
  color: var(--muted);
  font-size: 12px;
}

/* Urdu layout */
html[lang="ur"] body {
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}

html[lang="ur"] h1,
html[lang="ur"] .supply-panel h2,
html[lang="ur"] .brand-text strong {
  font-family: inherit;
  letter-spacing: 0;
  line-height: 1.6;
}

html[lang="ur"] h1 {
  font-size: clamp(38px, 4.5vw, 58px);
}

html[lang="ur"] .eyebrow,
html[lang="ur"] .announcement,
html[lang="ur"] .detail-label,
html[lang="ur"] .panel-label,
html[lang="ur"] .brand-text small {
  letter-spacing: 0;
}

html[lang="ur"] .supply-panel {
  border-radius: 60px 6px 6px 6px;
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 18px;
  }

  .header-actions {
    grid-column: 2;
  }

  .header-actions > .phone-link {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .site-navigation {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    padding-block: 10px 20px;
    border-top: 1px solid var(--border);
  }

  .site-navigation[data-open="true"] {
    display: block;
  }

  .nav-list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    display: flex;
    min-height: 48px;
    font-size: 15px;
  }

  .nav-phone-item {
    display: block;
  }
}

/* Tablets */
@media (max-width: 900px) {
  .hero {
    gap: 35px;
    padding-block: 60px;
  }

  .supply-panel {
    padding: 28px;
  }

  .header-actions {
    gap: 15px;
  }
}

/* Phones */
@media (max-width: 680px) {
  .container {
    width: calc(100% - 36px);
  }

  .announcement {
    font-size: 10px;
    letter-spacing: 0;
  }

  .header-inner {
    min-height: 88px;
    column-gap: 12px;
    row-gap: 0;
  }

  .brand {
    gap: 10px;
  }

  .brand-symbol {
    width: 39px;
    height: 39px;
    font-size: 18px;
  }

  .brand-text strong {
    font-size: 21px;
  }

  .brand-text small {
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  .phone-link {
    display: none;
  }

  .language-button {
    min-width: 68px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 44px;
  }

  h1 {
    font-size: clamp(40px, 10vw, 58px);
    letter-spacing: -1.5px;
  }

  .hero-description {
    font-size: 16px;
  }

  .supply-panel {
    padding: 28px;
  }

  .business-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    column-gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-symbol {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .brand-text strong {
    font-size: 17px;
    white-space: nowrap;
  }

  .brand-text small {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .language-button {
    min-width: 58px;
    padding-inline: 8px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }

  .button:hover {
    transform: none;
  }

  .menu-icon::before,
  .menu-icon::after {
    transition: none;
  }
}
/* Product catalogue */
.catalogue {
  padding-block: 65px 80px;
}

.catalogue-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
}

.catalogue-heading h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
}

.catalogue-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.filter-button {
  min-height: 44px;
  padding: 9px 23px;
  border: 1px solid #cbd2c3;
  border-radius: 30px;
  background: transparent;
  color: var(--green);
  font-size: 14px;
}

.filter-button:hover {
  background: #e9eddf;
}

.filter-button[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.product-count {
  margin: 18px 0;
  color: var(--muted);
  font-size: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fffef9;
  transition: box-shadow 180ms, transform 180ms;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px #163d3010;
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 85px;
  padding: 22px 25px;
  background: #eee9d9;
  border-bottom: 1px solid #233c3110;
}

.product-card[data-category="cotton"] .product-card-top {
  background: #e6ede5;
}

.product-card[data-category="chilli"] .product-card-top {
  background: #f2e3db;
}

.product-category {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}

.product-number {
  color: #717867;
  font-family: Georgia, serif;
  font-size: 25px;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
}

.product-card h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
}

.product-description {
  margin: 15px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.product-enquiry {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 44px;
  margin-top: auto;
  border-bottom: 1px solid #aab6a0;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}

.product-enquiry:hover {
  color: var(--gold);
}

.catalogue-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
}

html[lang="ur"] .catalogue-heading h2,
html[lang="ur"] .product-card h3 {
  font-family: inherit;
  letter-spacing: 0;
  line-height: 1.6;
}

html[lang="ur"] .product-category {
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalogue-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .catalogue {
    padding-block: 40px 55px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .filter-button {
    padding-inline: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card {
    transition: none;
  }

  .product-card:hover {
    transform: none;
  }
}
/* Product photographs */
.product-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e9e9df;
}

/* Make category headers more compact when a photo is present. */
.product-photo + .product-card-top {
  min-height: 58px;
  padding: 12px 25px;
}

.product-photo + .product-card-top .product-number {
  font-size: 20px;
}

/* About Itefaq Traders */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 8vw, 110px);
  margin-bottom: 65px;
  padding: clamp(36px, 6vw, 72px);
  border-radius: 12px 64px 12px 12px;
  background: var(--green);
  color: #f5f0e3;
  box-shadow: 0 24px 60px #163d3014;
}

.about > * {
  min-width: 0;
}

.about .eyebrow {
  color: #d7bc86;
}

.about h2 {
  max-width: 440px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.2;
}

.about-copy p {
  margin: 0;
  color: #d6dfd4;
  font-size: 16px;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  margin-top: 28px;
  border-bottom: 1px solid #d7bc86;
  color: #f5f0e3;
  font-size: 14px;
  font-weight: 600;
}

.about-link:hover {
  color: #d7bc86;
}

html[lang="ur"] .about {
  border-radius: 64px 12px 12px 12px;
}

html[lang="ur"] .about h2 {
  font-family: inherit;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .about {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 45px;
    border-radius: 10px 40px 10px 10px;
  }

  html[lang="ur"] .about {
    border-radius: 40px 10px 10px 10px;
  }
}

/* Bulk quotation form */
.quotation {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
  gap: 70px;
  padding-block: 65px 80px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 30px;
}

.quotation-intro h2 {
  margin: 0;
  max-width: 380px;
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
}

.quotation-intro > p:last-child {
  max-width: 380px;
  margin-top: 24px;
  color: var(--muted);
}

.quotation-form {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fffef9;
}

.quotation-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
}

.quotation-form input,
.quotation-form select,
.quotation-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid #cbd2c3;
  border-radius: 6px;
  background: #fcfcf7;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.quotation-form textarea {
  resize: vertical;
}

.quotation-form input:focus,
.quotation-form select:focus,
.quotation-form textarea:focus {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
}

.quotation-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quotation-row > div {
  min-width: 0;
}

.quotation-form .button {
  width: 100%;
}

.quotation-help {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}

html[lang="ur"] .quotation-intro h2 {
  font-family: inherit;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .quotation {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 45px;
  }

  .quotation-form {
    padding: 24px;
  }
}

@media (max-width: 380px) {
  .quotation-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
