/* Shared Dress Code spacing and responsive refinements. */
:root { --purple-2: #e10600; --purple-deep: #292929; --purple-soft: #555; --cream: #f6f5f3; --shadow: 0 8px 28px rgba(0,0,0,.10); --max: 1280px; }
:focus-visible { outline: 2px solid #e10600; outline-offset: 4px; }
html { scroll-padding-top: 90px; }
#site-header { position: sticky; top: -44px; z-index: 40; }
.header { position: relative; }
.wrap, .header-inner, .topbar-inner { padding-inline: 28px; }
.header-inner { gap: 24px; }
.nav { gap: 20px; font-size: 14px; }
.header-actions { gap: 14px; font-size: 13px; }
.header-actions .icon-btn { min-width: 36px; min-height: 44px; justify-content: center; }
.nav-item .drop { top: 100%; padding-top: 14px; }
.nav-categories { position: relative; }
.nav-categories summary, .mobile-categories summary, .footer-categories summary, .landing-garments summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.nav-categories summary { list-style: none; white-space: nowrap; }
.nav-categories summary::-webkit-details-marker { display: none; }
.category-menu { position: absolute; top: 100%; left: 0; display: grid; grid-template-columns: 220px 1fr; gap: 24px; width: min(760px,calc(100vw - 56px)); max-height: 70vh; overflow-y: auto; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 60; }
.category-menu h3 { margin: 0 0 12px; font-size: 14px; color: #666; }
.category-menu a { display: block; padding: 8px; border-radius: 6px; font-size: 13px; }
.category-menu a:hover { background: #fff3f3; color: #b31c2b; }
.garment-menu { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.mobile-categories { border-bottom: 1px solid var(--line); }
.mobile-categories a { padding-left: 12px; font-size: 14px; }
.footer-categories { margin-top: 8px; }
.footer-categories summary { font-size: 13px; }
.industry-directory { padding-block: 20px 32px; }
.industry-links { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.industry-links a { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-height: 66px; border: 1px solid var(--line); border-radius: 10px; padding: 16px; font-weight: 500; background: #faf9f7; }
.industry-links a:hover, .garment-links a:hover { border-color: #b31c2b; color: #b31c2b; }
.landing-garments { margin-top: 20px; }
.garment-links { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 12px; }
.garment-links a { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-size: 14px; }
@media (max-width: 1100px) { .industry-links { grid-template-columns: repeat(3,minmax(0,1fr)); } .category-menu { left: -100px; width: min(700px,calc(100vw - 56px)); } }
@media (max-width: 760px) { .industry-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; } .industry-links a { padding: 12px; font-size: 13px; } }
.hero-wrap { max-width: var(--max); margin: 20px auto 0; padding: 0 28px; }
.hero-slider { aspect-ratio: 2 / 1; border-radius: 16px; }
.hero img, .hero picture img { object-fit: cover; }
.hero-copy { left: 44px; max-width: 42%; }
.hero-copy h1, .hero-copy h2 { font-family: Outfit, Inter, sans-serif; font-size: clamp(30px,3.7vw,48px); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 22px; color: inherit; }
.hero.light .hero-copy h2 { text-shadow: none; }
.hero.updated img { object-position: center top; }
.hero.updated::after { background: linear-gradient(90deg,rgba(255,255,255,.38),transparent 55%); }
.hero.updated .hero-copy { color: #111; max-width: 30%; }
.hero.updated .hero-copy h1, .hero.updated .hero-copy h2 { text-shadow: none; }
.hero.updated .btn-purple { background: #111; color: #fff; }
.hero .btn-purple { background: #fff; color: #111; }
.hero.light .btn-purple { background: #111; color: #fff; }
.hero-dots { bottom: 22px; right: 44px; gap: 4px; }
.hero-dots button { width: 24px; height: 24px; border-radius: 50%; background: transparent; position: relative; }
.hero-dots button::after { content: ''; position: absolute; inset: 8px; background: #fff; border-radius: 50%; opacity: .5; }
.hero-dots button.on { width: 24px; background: transparent; }
.hero-dots button.on::after { opacity: 1; }
.hero-pause { position: absolute; left: 44px; bottom: 16px; z-index: 3; border: 1px solid #ffffff66; border-radius: 999px; padding: 8px 14px; min-height: 40px; background: #111b; color: #fff; font-size: 12px; }
.section { padding: 36px 0; }
.section h2 { font-size: clamp(24px,2.4vw,30px); line-height: 1.2; }
.section-head { margin-bottom: 24px; align-items: center; }
.section-head p { line-height: 1.6; }
.section.cats-top { padding: 32px 0; }
.cats { gap: 20px; }
.cat { font-size: 13px; }
.cat .ph { max-width: 124px; border-radius: 12px; margin-bottom: 12px; }
.cat img { transition: transform .25s; }
.cat:hover img { transform: scale(1.04); }
.section-link { font-size: 13px; font-weight: 600; border-bottom: 1px solid #aaa; padding-bottom: 3px; white-space: nowrap; }
.arrows { align-items: center; gap: 8px; }
.arrows button { width: 44px; height: 44px; font-size: 20px; }
.rail { gap: 20px; grid-auto-columns: calc((100% - 60px) / 4); scroll-snap-type: x mandatory; padding-bottom: 10px; }
.rail .card { scroll-snap-align: start; }
.arrows button:disabled { opacity: .35; cursor: default; }
@media (min-width: 761px) {
  .compact-rail { grid-auto-columns: calc((100% - 20px) / 2); }
  .compact-rail .card { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 20px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
  .compact-rail .card-meta { padding: 8px 4px; justify-content: center; }
  .compact-rail .card h3 { min-height: 0; max-height: none; display: block; font-size: 16px; }
}
.card-img { border-radius: 12px; }
.card-meta { padding: 14px 2px 0; }
.card h3 { font-size: 14px; margin: 9px 0 8px; line-height: 1.5; min-height: 3em; max-height: 3em; }
.card-tag { justify-content: space-between; }
.wish { width: 40px; height: 40px; }
.price { font-size: 16px; }
.swatches { margin-top: 12px; }
.bulk { max-width: 1224px; margin: 20px auto 36px; aspect-ratio: auto; min-height: 300px; border-radius: 16px; }
.bulk { grid-template-columns: 42% 58%; background: #171b22; text-align: left; }
.bulk-team-images { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-self: stretch; width: 100%; min-height: 360px; }
.bulk-team-images img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: 65% center; }
.bulk-team-images img:nth-child(2) { object-position: 68% center; }
.bulk-team-images img:nth-child(3) { object-position: 78% center; }
.bulk-copy { grid-column: 1; grid-row: 1; padding: 36px; max-width: 720px; }
.bulk-copy h2 { font-family: Outfit,Inter,sans-serif; line-height: 1.2; }
.bulk-copy p { max-width: 560px; margin: 0 auto 24px; color: #eee; line-height: 1.7; }
.ticker { display: none; }
.colors { gap: 20px; }
.color-card img { aspect-ratio: 4/3; border-radius: 12px; }
.news-card.y, .news-card.g { background: #f6f5f3; border: 1px solid var(--line); }
.news-card { gap: 12px; line-height: 1.6; }
.logos { gap: 12px; justify-content: flex-start; }
.logo-pill { margin: 0; background: #f7f7f7; border-color: var(--line); }
.newsletter input { min-width: 0; }
.mobile-nav { overflow-y: auto; visibility: hidden; }
.mobile-nav.on { visibility: visible; }
.menu-close { display: block; margin-left: auto; min-height: 44px; border: 0; background: #f5f5f5; border-radius: 8px; padding: 10px 16px; }
.filter-group { line-height: 1.6; }
.product-page .pdp { grid-template-columns: 76px minmax(0,1.15fr) minmax(0,1fr); gap: 24px; align-items: start; padding-bottom: 36px; }
.product-gallery { min-width: 0; position: sticky; top: 90px; }
.product-page .stage { min-height: 0; height: auto; aspect-ratio: 3/4; border-radius: 16px; position: relative; overflow: hidden; }
.product-page .stage img { width: 100%; height: 100%; object-fit: contain; max-height: none; }
.product-page .thumbs { position: sticky; top: 90px; }
.product-page .thumbs button { width: 76px; height: 96px; border-radius: 10px; padding: 0; overflow: hidden; }
.zoom-button { position: absolute; right: 16px; bottom: 16px; background: #fffffff2; border: 1px solid #ddd; padding: 10px 14px; border-radius: 999px; font-size: 12px; min-height: 44px; }
.gallery-caption { color: #777; font-size: 12px; line-height: 1.6; margin: 12px 0; }
.product-category { display: block; color: #777; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; margin-bottom: 12px; }
.product-page .buy h1 { font-size: clamp(26px,2.6vw,36px); line-height: 1.2; margin: 0 0 16px; overflow-wrap: normal; }
.product-intro { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 20px; }
.product-page .price-row { padding: 0 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.product-page .emi-box { display: none; }
.product-page .field { margin: 22px 0; }
.field-note { color: #777; font-size: 12px; line-height: 1.7; margin: 10px 0; }
.text-link { text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.product-page .emb { background: #f7f7f7; padding: 20px; border-radius: 12px; border: 1px solid var(--line); margin: 24px 0; }
.product-page .emb h4 { margin: 0 0 6px; font-size: 15px; }
.product-page .qty-row { gap: 12px; }
.product-page .add { background: #111; border-radius: 999px; min-height: 50px; }
.product-enquiry { width: 100%; min-height: 48px; margin-top: 12px; }
.product-specs { margin: 0 0 20px; }
.product-specs > div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; border-bottom: 1px solid #eee; padding: 12px 0; font-size: 13px; }
.product-specs dt { color: #777; }
.product-specs dd { margin: 0; }
.image-dialog { border: 0; padding: 56px 20px 20px; width: min(1000px,94vw); max-height: 92vh; border-radius: 16px; background: #f3f3f3; }
.image-dialog::backdrop { background: #000b; }
.image-dialog > button { position: absolute; top: 10px; right: 16px; border: 0; background: #fff; border-radius: 999px; padding: 10px 16px; min-height: 40px; }
.image-dialog > img { margin: auto; width: auto; max-height: 78vh; object-fit: contain; }
@media (max-width: 1000px) and (min-width: 761px) {
  .product-page .pdp { grid-template-columns: 60px minmax(0,1fr) minmax(0,1fr); gap: 16px; }
  .product-page .buy { grid-column: auto; }
  .product-page .thumbs button { width: 60px; height: 80px; }
}
.grid { gap: 28px 20px; }
@media (min-width: 761px) and (max-width: 1100px) {
  .nav { gap: 12px; font-size: 13px; }
  .header-inner { gap: 16px; }
  .header-actions a:not(.icon-btn) { display: none; }
  .cats { grid-template-columns: repeat(8,minmax(0,1fr)); gap: 12px; }
  .rail { grid-auto-columns: calc((100% - 40px) / 3); }
}
@media (max-width: 760px) {
  .product-page .pdp { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .product-page .thumbs { order: 2; position: static; flex-direction: row; }
  .product-page .product-gallery { order: 1; position: static; }
  .product-page .buy { order: 3; grid-column: auto; }
  .product-page .stage { aspect-ratio: 4/5; }
  .product-page .thumbs button { flex: 0 0 64px; width: 64px; height: 80px; }
  .product-page .buy h1 { font-size: 28px; }
  html { scroll-padding-top: 72px; }
  .wrap, .header-inner, .topbar-inner { padding-inline: 16px; }
  .header-actions { gap: 4px; }
  .menu-btn { min-width: 32px; min-height: 44px; }
  .hero-wrap { margin-top: 12px; padding: 0 16px; }
  .hero-slider { aspect-ratio: 9/14; max-height: 580px; border-radius: 12px; }
  .hero-copy { left: 22px; right: 22px; bottom: 84px; max-width: none; }
  .hero img, .hero picture img { object-position: center top; }
  .hero-copy h1, .hero-copy h2 { font-size: 30px; margin-bottom: 16px; }
  .hero.updated .hero-copy { top: 20px; bottom: auto; max-width: none; }
  .hero.updated .hero-copy h1, .hero.updated .hero-copy h2 { font-size: 24px; max-width: 290px; margin-bottom: 12px; }
  .hero.updated .badge-new { display: none; }
  .hero.updated::after { background: linear-gradient(180deg,rgba(255,255,255,.65),transparent 38%); }
  .hero.updated .btn { padding: 10px 18px; font-size: 12px; }
  .hero.light::after { background: linear-gradient(180deg,transparent 32%,rgba(255,255,255,.92) 100%); }
  .hero::after { background: linear-gradient(180deg,transparent 30%,rgba(0,0,0,.7) 100%); }
  .hero-dots { right: 20px; bottom: 16px; }
  .hero-pause { left: 22px; bottom: 14px; }
  .section, .section.cats-top { padding: 26px 0; }
  .section-head { margin-bottom: 18px; align-items: flex-start; gap: 12px; }
  .section-head p { font-size: 13px; }
  .section-head .arrows button { display: none; }
  .section-link { font-size: 12px; }
  .cats { gap: 16px; scroll-snap-type: x mandatory; }
  .cat { flex-basis: 82px; scroll-snap-align: start; font-size: 12px; }
  .cat .ph { margin-bottom: 10px; }
  .rail { gap: 12px; grid-auto-columns: calc((100% - 12px) / 2.1); }
  .card h3 { font-size: 12px; }
  .card-meta { padding-top: 10px; }
  .pill, .stars, .more { font-size: 10px; }
  .pill { padding: 2px 5px; }
  .card-tag { gap: 4px; }
  .wish { width: 36px; height: 36px; top: 8px; right: 8px; }
  .price { font-size: 14px; }
  .swatches { gap: 4px; flex-wrap: wrap; }
  .bulk { margin: 12px 16px 26px; min-height: 300px; height: auto; }
  .bulk { grid-template-columns: 1fr; }
  .bulk-copy { grid-column: 1; grid-row: 1; padding: 28px 24px; }
  .bulk-team-images { grid-column: 1; grid-row: 2; min-height: 210px; }
  .bulk-team-images img { min-height: 210px; height: 210px; }
  .bulk-copy h2 { font-size: 28px; }
  .bulk-copy p { font-size: 13px; }
  .colors { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 12px; }
  .color-card { font-size: 12px; }
  .color-card img { aspect-ratio: 1; }
  .news { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px 16px; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .newsletter { padding: 24px 18px; }
  .newsletter form { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  html, .rail { scroll-behavior: auto; }
  .hero, .cat img, .mobile-nav { transition: none; }
  .ticker-move { animation: none; }
}
