/* Gap.com Replica Styles - DOM mirrors gap.com class names */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #2b2b2b;
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ===== Universal Brand Bar ===== */
.universal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 24px;
  font-size: 11px;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
}
.universal-bar__brands { display: flex; gap: 16px; }
.universal-bar__brands a { color: #767676; }
.universal-bar__brands a:first-child { color: #2b2b2b; font-weight: 600; }
.universal-bar__actions { display: flex; gap: 16px; align-items: center; }
.universal-bar__actions button { background: none; border: none; padding: 4px; }

/* ===== Promo Banner ===== */
.promo-banner {
  background: #1a1a6c;
  color: #fff;
  text-align: center;
  padding: 8px 24px;
  font-size: 13px;
}
.promo-banner strong { font-weight: 600; }
.promo-banner a { color: #fff; text-decoration: underline; margin-left: 8px; font-size: 11px; }

/* ===== Main Header / Nav ===== */
.main-header {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}
.main-header--dark {
  background: #000;
  border-bottom-color: #333;
}
.main-header--dark .sw_mega-nav__division-link,
.main-header--dark .fds__mega-nav-department-link { color: #fff; }
.main-header--dark .search-bar input {
  background: #222;
  color: #fff;
  border-color: #555;
}
.main-header--dark .search-bar input::placeholder { color: #999; }

.logo { flex-shrink: 0; margin-right: 32px; }
.logo img { height: 32px; }

/* ===== Nav — mirrors gap.com topnav structure ===== */
.sw_mega-nav__topnav-container { flex: 1; position: static; display: flex; align-items: stretch; align-self: stretch; }
.sw_mega-nav__division-list {
  display: flex;
  gap: 24px;
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: stretch; /* li items fill full header height, closing the gap above flyout */
}
/* topNavLink as flex so its <a> can be vertically centered within the full-height li */
.sw_mega-nav__division { list-style: none; position: static; display: flex; align-items: center; }
.sw_mega-nav__division-link,
.fds__mega-nav-department-link {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 0;
  display: block;
}
.sw_mega-nav__division-link:hover { text-decoration: underline; }

/* ===== Megamenu — mirrors gap.com sw_mega-nav__flyout ===== */
.sw_mega-nav__flyout {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 200;
  padding: 24px 40px;
  box-sizing: border-box;
}
.topNavLink:hover .sw_mega-nav__flyout { display: flex; gap: 24px; align-items: flex-start; }
.megamenu__feature {
  width: 180px;
  flex-shrink: 0;
}
.megamenu__feature img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}
.megamenu__feature a {
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
}
.sw_mega-nav__column-list { display: contents; }
.sw_mega-nav__column { flex: 1; min-width: 140px; }
.catnav--header--content {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.sw_mega-nav__category { margin-bottom: 8px; }
.catnav--item--link,
.sw_mega-nav__category-link {
  font-size: 13px;
  font-weight: 400;
  white-space: normal;
  display: block;
}
.catnav--item--link.sale { color: #cc0000; }
.catnav--item--link:hover { text-decoration: underline; }
.sw_mega-nav__flyout,
.sw_mega-nav__flyout a,
.sw_mega-nav__flyout .catnav--header--content,
.main-header--dark .sw_mega-nav__flyout,
.main-header--dark .sw_mega-nav__flyout a,
.main-header--dark .sw_mega-nav__flyout .catnav--header--content { color: #2b2b2b; }
.sw_mega-nav__flyout .catnav--item--link.sale,
.main-header--dark .sw_mega-nav__flyout .catnav--item--link.sale { color: #cc0000; }

.search-bar { margin-left: auto; position: relative; width: 200px; }
.search-bar input {
  width: 100%;
  padding: 8px 32px 8px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-size: 13px;
  outline: none;
}
.search-bar input:focus { border-color: #2b2b2b; }
.search-bar button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 16px;
  color: #2b2b2b;
}
.bag-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #2b2b2b;
  color: #fff;
  font-size: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Homepage Hero ===== */
.hero {
  position: relative;
  background: #000;
  color: #fff;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__content { position: relative; z-index: 2; padding: 40px; }
.hero__content h1 { font-size: 48px; font-weight: 300; margin-bottom: 8px; }
.hero__content p { font-size: 18px; margin-bottom: 24px; opacity: 0.9; }
.hero__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__links a {
  padding: 8px 20px;
  border: 1px solid #fff;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.hero__links a:hover { background: #fff; color: #000; }

/* ===== PLP — mirrors gap.com plp_ class names ===== */
.search-header { padding: 16px 24px 0; }
.plp_grid-header {
  padding: 0 24px;
}
.plp_grid-header__filters {
  padding: 12px 0;
  border-bottom: 1px solid #e8e8e8;
}
.plp_grid-header__filters-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.plp_grid-header__filters-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 12px;
  background: #fff;
  cursor: pointer;
}
.plp_grid-header__filters-button:hover { border-color: #2b2b2b; }
.plp_grid-header__filters-button--active {
  background: #2b2b2b;
  color: #fff;
  border-color: #2b2b2b;
}
.plp_grid-header__items-count {
  font-size: 16px;
  font-weight: 400;
  padding: 12px 0;
}
.plp_product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px 24px;
}
.plp_product-card {
  display: flex;
  flex-direction: column;
}
.plp_product-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f5f5f5;
  margin-bottom: 8px;
}
.plp_product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plp_product-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
  font-size: 12px;
  color: #2b2b2b;
}
.plp_product-info {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  line-height: 1.3;
  color: inherit;
}
.plp_product-info:hover { text-decoration: underline; }
.plp_product-name { font-size: 13px; margin-bottom: 4px; }
.plp_product-price {
  font-size: 13px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.price--original { text-decoration: line-through; color: #767676; }
.price--sale { color: #d32f2f; font-weight: 600; }
.plp_product-badge { font-size: 11px; color: #d32f2f; margin-top: 2px; }

/* ===== PDP — mirrors gap.com pdp_ class names ===== */
#pdp-page-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  padding: 0 24px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.pdp-top-breadcrumbs {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #767676;
  padding: 12px 0;
}
.pdp-top-breadcrumbs a:hover { text-decoration: underline; }

.pdp__image-gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.pdp__image-gallery-wrapper img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #f5f5f5;
  display: block;
}
/* First two images span full width each (large hero pair) */
.pdp__image-gallery-wrapper img:nth-child(1),
.pdp__image-gallery-wrapper img:nth-child(2) {
  aspect-ratio: 2/3;
}

.buy-box-wrapper {
  padding-top: 8px;
  position: sticky;
  top: 80px;
  align-self: start;
}
.pdp-product-title,
.pdp-header__title {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.3;
}
/* Price + rating on same row */
.pdp-price-rating-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 6px;
}
.pdp-rating-snippet-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #0059a9;
  text-decoration: underline;
  cursor: pointer;
}
.title-price {
  font-size: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.color-level-marketing-flag-wrapper {
  font-size: 13px;
  color: #d32f2f;
  margin-bottom: 16px;
}

.pdp-color-picker-container {
  margin-bottom: 20px;
}
.pdp-color-picker-container__label { font-size: 13px; margin-bottom: 8px; display: block; }
.pdp-color-picker-container__value { font-weight: 600; }
.pdp-color-picker-container-group {
  display: flex;
  gap: 8px;
}
.fds_selector-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  padding: 2px;
}
.fds_selector-swatch--selected { border-color: #2b2b2b; }
.fds_selector-swatch img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.pdp__fit-container { display: flex; gap: 8px; margin-bottom: 16px; }
.fds_selector-tile {
  padding: 8px 20px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}
.fds_selector-tile--selected {
  border-color: #2b2b2b;
  font-weight: 600;
}
.fds_selector-tile--disabled {
  color: #ccc;
  text-decoration: line-through;
  cursor: not-allowed;
}
.fds_selector-tile--disabled:hover { border-color: #ccc; }

.pdp_size-selector-container {
  margin-bottom: 16px;
}
.pdp_size-selector-container__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 8px;
}
.pdp_size-selector-container__label a { text-decoration: underline; }
.pdp_size-selector-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fds_selector-tile:hover { border-color: #2b2b2b; }

/* Quantity + ATB on same row */
.pdp__qty-atb-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 12px;
}
.pdp__quantity {
  flex-shrink: 0;
}
.pdp__quantity select {
  padding: 0 32px 0 12px;
  border: 1px solid #ccc;
  font-size: 13px;
  height: 100%;
  min-height: 48px;
  appearance: auto;
  background: #fff;
}
.pdp__qty-atb-row .pdp_add-to-bag-container {
  flex: 1;
}

/* Add to Bag button — mirrors gap.com #pdp-atb-btn */
#pdp-atb-btn,
.fds_button--critical,
.pdp_add-to-bag-button {
  width: 100%;
  height: 100%;
  min-height: 48px;
  padding: 14px;
  background: #0059a9;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  transition: background 0.2s;
  display: block;
  text-align: center;
  cursor: pointer;
}
#pdp-atb-btn:hover,
.fds_button--critical:hover { background: #004a8f; }

.product_payments_container {
  text-align: center;
  font-size: 12px;
  color: #767676;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}
.pdp_fulfillment-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}
.pdp_fulfillment-box {
  border: 1px solid #0059a9;
  padding: 12px;
  line-height: 1.5;
}
.pdp_fulfillment-box strong { display: block; margin-bottom: 2px; font-size: 13px; }
.pdp_fulfillment-box span { font-size: 12px; color: #555; display: block; }
.pdp_fulfillment-box a { color: #0059a9; text-decoration: underline; font-size: 12px; }

/* Accordion — mirrors gap.com fds_panel pattern ===== */
.fds_accordion.pdp-accordionWrapper { border-top: 1px solid #e8e8e8; }
.productInformationItem.fds_panel { border-bottom: 1px solid #e8e8e8; }
.fds_panel__toggle {
  width: 100%;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}
.fds_panel__toggle::after { content: "+"; font-size: 18px; }
.fds_panel__toggle[aria-expanded="true"]::after { content: "\2212"; }
.fds_panel__details { overflow: hidden; }
.fds_panel__details--collapsed { display: none; }
.fds_panel__details-content {
  padding: 0 0 14px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

/* ===== Shopping Bag ===== */
.bag-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}
.bag-page h1 { font-size: 24px; font-weight: 400; margin-bottom: 24px; grid-column: 1 / -1; }
.bag-items { display: flex; flex-direction: column; gap: 20px; }
.bag-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
  position: relative;
}
.bag-item__image { width: 120px; flex-shrink: 0; background: #f5f5f5; }
.bag-item__image img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.bag-item__details { flex: 1; }
.bag-item__title { font-size: 14px; margin-bottom: 4px; }
.bag-item__meta { font-size: 12px; color: #767676; margin-bottom: 2px; }
.bag-item__price { font-size: 14px; margin-top: 8px; }
.bag-item__actions { display: flex; gap: 16px; margin-top: 8px; font-size: 12px; }
.bag-item__actions button {
  background: none; border: none; text-decoration: underline;
  font-size: 12px; color: #767676;
}
.bag-item__out-of-stock {
  background: #fef3cd; color: #856404;
  padding: 8px 12px; font-size: 12px; margin-top: 8px; border-radius: 4px;
}
.bag-summary { padding: 24px; background: #f8f8f8; align-self: start; }
.bag-summary h2 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.bag-summary__row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.bag-summary__row--total {
  font-weight: 600; font-size: 15px;
  padding-top: 12px; margin-top: 12px;
  border-top: 1px solid #ddd;
}
.bag-summary__promo { margin: 16px 0; }
.bag-summary__promo input {
  width: calc(100% - 70px); padding: 8px 12px; border: 1px solid #ccc; font-size: 13px;
}
.bag-summary__promo button {
  width: 60px; padding: 8px; background: #fff; border: 1px solid #ccc; font-size: 13px; margin-left: 8px;
}
.checkout-btn {
  width: 100%; padding: 14px; background: #2b2b2b; color: #fff;
  border: none; font-size: 14px; font-weight: 600; margin-top: 16px; transition: background 0.2s;
}
.checkout-btn:hover { background: #444; }

/* ===== Footer ===== */
.site-footer {
  margin-top: 40px; padding: 32px 24px;
  border-top: 1px solid #e8e8e8; font-size: 12px; color: #767676;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-bottom: 24px;
}
.footer-grid h3 { font-size: 13px; font-weight: 600; color: #2b2b2b; margin-bottom: 12px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 6px; }
.footer-grid a:hover { text-decoration: underline; }
.footer-bottom { text-align: center; padding-top: 16px; border-top: 1px solid #e8e8e8; }

/* ===== Checkout Page ===== */
.checkout-page-bg { background: #f5f5f5; min-height: calc(100vh - 60px); }
.checkout-header {
  background: #fff; padding: 14px 24px; border-bottom: 1px solid #e8e8e8;
  display: flex; align-items: baseline; gap: 16px;
}
.checkout-header__logo { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; flex-shrink: 0; }
.checkout-header__title { font-size: 18px; font-weight: 400; }
.checkout-header__email { font-size: 13px; color: #767676; }
.checkout-layout {
  max-width: 960px; margin: 0 auto; padding: 24px 16px;
  display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start;
}
.checkout-main { display: flex; flex-direction: column; gap: 8px; }
.checkout-panel { background: #fff; border: 1px solid #e8e8e8; }
.checkout-panel__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; cursor: pointer; background: none; border: none; width: 100%; text-align: left;
}
.checkout-panel__title { font-size: 16px; font-weight: 500; }
.checkout-panel__caret { font-size: 20px; color: #555; line-height: 1; }
.checkout-panel__body { padding: 0 20px 20px; }
.checkout-panel__body--collapsed { display: none; }
.checkout-panel__collapsed-summary { padding: 4px 20px 14px; font-size: 13px; color: #767676; }

/* Address */
.checkout-address-option {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid #e8e8e8;
}
.checkout-address-option:last-of-type { border-bottom: none; }
.checkout-address-option input[type="radio"] { margin-top: 3px; flex-shrink: 0; accent-color: #2b2b2b; }
.checkout-address-name { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.checkout-address-line { font-size: 13px; color: #555; line-height: 1.6; }

/* Form fields */
.checkout-field { margin-bottom: 12px; }
.checkout-field input, .checkout-field select {
  width: 100%; padding: 12px 14px; border: 1px solid #ccc;
  font-size: 14px; font-family: inherit; outline: none; background: #fff;
}
.checkout-field input:focus, .checkout-field select:focus { border-color: #2b2b2b; }
.checkout-field input::placeholder { color: #999; }
.checkout-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-continue-btn {
  width: 100%; padding: 14px; background: #2b2b2b; color: #fff; border: none;
  font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 16px;
}
.checkout-continue-btn:hover { background: #444; }

/* UPS / Gift */
.checkout-ups-option { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 12px 0; }
.checkout-ups-option input[type="radio"] { accent-color: #2b2b2b; }
.checkout-gift-section { border-top: 1px solid #e8e8e8; padding-top: 16px; margin-top: 4px; }
.checkout-gift-section h3 { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.checkout-add-link { font-size: 13px; color: #2b2b2b; display: flex; align-items: center; gap: 4px; text-decoration: underline; cursor: pointer; }

/* Shipping speed */
.checkout-signin-banner {
  background: #f0f7f4; border: 1px solid #cde8dc; padding: 10px 14px;
  font-size: 13px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.checkout-signin-banner a { text-decoration: underline; color: #2b2b2b; }
.checkout-items-preview { margin-bottom: 4px; }
.checkout-items-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.checkout-items-header span { font-size: 14px; font-weight: 500; }
.checkout-items-header a { font-size: 13px; color: #2b2b2b; text-decoration: underline; }
.checkout-items-thumbs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.checkout-items-thumbs img { width: 58px; height: 78px; object-fit: cover; background: #f5f5f5; }
.checkout-speed-option {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 0;
  border-top: 1px solid #e8e8e8; cursor: pointer;
}
.checkout-speed-option input[type="radio"] { margin-top: 3px; flex-shrink: 0; accent-color: #2b2b2b; }
.checkout-speed-label { flex: 1; }
.checkout-speed-name { font-size: 14px; }
.checkout-speed-date { font-size: 12px; color: #767676; }
.checkout-speed-price { font-size: 14px; font-weight: 500; }

/* Payment */
.checkout-card-fields { margin-bottom: 0; }
.checkout-card-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #999; font-size: 16px; }
.checkout-card-field-wrap { position: relative; }
.checkout-card-field-wrap input { padding-left: 36px; }
.checkout-payment-alts { border-top: 1px solid #e8e8e8; margin-top: 16px; }
.checkout-payment-alt {
  display: flex; align-items: center; gap: 12px; padding: 13px 0;
  border-bottom: 1px solid #e8e8e8; font-size: 13px; cursor: pointer;
}
.checkout-payment-alt input[type="radio"] { accent-color: #2b2b2b; flex-shrink: 0; }
.checkout-payment-alt-label { font-weight: 600; font-size: 15px; }
.checkout-payment-alt-label.paypal { color: #003087; }
.checkout-payment-alt-label.afterpay { color: #b2fce4; -webkit-text-stroke: 0.5px #000; color: #000; }
.checkout-payment-alt-label.klarna { color: #ff69a5; font-family: serif; font-style: italic; }
.checkout-gift-cards { border-top: 1px solid #e8e8e8; padding-top: 16px; margin-top: 8px; }
.checkout-gift-cards h3 { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.checkout-gift-cards p { font-size: 12px; color: #767676; margin-bottom: 10px; }
.checkout-gap-card-promo {
  border: 1px solid #e8e8e8; padding: 16px; margin-top: 16px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.checkout-gap-card-badge {
  background: #000; color: #c9a227; border-radius: 4px;
  font-size: 10px; font-weight: 700; padding: 6px 8px; white-space: nowrap; line-height: 1.2; text-align: center; min-width: 48px;
}
.checkout-gap-card-badge span { display: block; font-size: 14px; }
.checkout-gap-card-text { flex: 1; font-size: 13px; line-height: 1.5; min-width: 160px; }
.checkout-gap-card-text a { color: #2b2b2b; text-decoration: underline; font-size: 12px; display: block; margin-top: 2px; }
.checkout-gap-card-right { display: flex; align-items: center; gap: 12px; }
.checkout-gap-card-savings .amount { font-size: 16px; font-weight: 600; color: #d32f2f; }
.checkout-gap-card-savings .label { font-size: 11px; color: #767676; }
.checkout-gap-card-apply { padding: 8px 16px; border: 1px solid #2b2b2b; background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; }
.checkout-gap-card-apply:hover { background: #2b2b2b; color: #fff; }

/* Promos */
.checkout-promo-applied { font-size: 13px; color: #767676; padding: 4px 0 4px; }

/* Sidebar */
.checkout-sidebar { position: sticky; top: 80px; align-self: start; }
.checkout-summary { background: #fff; border: 1px solid #e8e8e8; padding: 20px; }
.checkout-summary h2 { font-size: 18px; font-weight: 500; margin-bottom: 16px; }
.checkout-summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.checkout-summary-row--savings { color: #d32f2f; }
.checkout-summary-row--sub { padding-left: 16px; font-size: 12px; color: #767676; margin-bottom: 6px; }
.checkout-summary-row--total {
  font-weight: 600; font-size: 16px; padding-top: 12px; margin-top: 4px;
  border-top: 1px solid #e8e8e8; margin-bottom: 0;
}
.checkout-summary-help {
  font-size: 12px; color: #767676; text-align: center;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid #e8e8e8; line-height: 1.5;
}

/* ===== Order Confirmation ===== */
.confirmation-wrapper { max-width: 640px; margin: 0 auto; padding: 40px 24px 60px; }
.confirmation-check {
  width: 48px; height: 48px; border-radius: 50%; background: #2b2b2b; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.confirmation-heading { font-size: 28px; font-weight: 400; margin-bottom: 6px; }
.confirmation-email { font-size: 14px; color: #555; margin-bottom: 8px; }
.confirmation-order-num { font-size: 13px; color: #767676; margin-bottom: 28px; }
.confirmation-section { border: 1px solid #e8e8e8; padding: 20px; margin-bottom: 10px; }
.confirmation-section h3 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; color: #767676; }
.confirmation-item { display: flex; gap: 14px; }
.confirmation-item img { width: 72px; height: 96px; object-fit: cover; background: #f5f5f5; flex-shrink: 0; }
.confirmation-item-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.confirmation-item-meta { font-size: 13px; color: #555; line-height: 1.7; }
.confirmation-item-price { font-size: 14px; margin-top: 6px; display: flex; gap: 8px; }
.confirmation-address { font-size: 13px; color: #555; line-height: 1.8; }
.confirmation-cta { display: flex; gap: 12px; margin-top: 28px; }
.confirmation-cta a { padding: 12px 24px; border: 1px solid #2b2b2b; font-size: 13px; font-weight: 500; display: inline-block; }
.confirmation-cta a.primary { background: #2b2b2b; color: #fff; }
.confirmation-cta a:hover { opacity: 0.85; }

/* ===== Utilities ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); border: 0;
}
.stars { color: #2b2b2b; letter-spacing: 1px; }

/* ── PLP enhancements ───────────────────────────────────────────────── */

/* Wishlist button */
.plp-wishlist-btn {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: none;
  font-size: 15px; cursor: pointer; color: #2b2b2b;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.18s;
}
.plp_product-card:hover .plp-wishlist-btn { opacity: 1; }
.plp-wishlist-btn[aria-pressed="true"] { opacity: 1; color: #e02020; }
.plp-wishlist-btn[aria-pressed="true"]::before { content: '♥'; }
.plp-wishlist-btn[aria-pressed="true"] { font-size: 0; }
.plp-wishlist-btn[aria-pressed="true"]::before { font-size: 15px; }

/* Quick Add button */
.plp-quick-add-btn {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(0,0,0,0.82); color: #fff; border: none;
  padding: 10px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  opacity: 0; transform: translateY(3px);
  transition: opacity 0.18s, transform 0.18s;
}
.plp_product-card:hover .plp-quick-add-btn {
  opacity: 1; transform: translateY(0);
}

/* Color swatches */
.plp-swatches {
  display: flex; gap: 5px; margin: 5px 0 4px; flex-wrap: wrap;
}
.plp-swatch {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid transparent; cursor: pointer; padding: 0;
  transition: transform 0.12s; flex-shrink: 0;
}
.plp-swatch:hover { transform: scale(1.2); }
.plp-swatch[aria-pressed="true"] {
  outline: 2px solid #2b2b2b; outline-offset: 2px;
}
.plp-swatch[data-in-stock="false"] { opacity: 0.35; cursor: not-allowed; }

/* Rating link */
.plp_product-rating a {
  text-decoration: none; color: inherit;
  display: inline-flex; align-items: center; gap: 4px;
}
.plp_product-rating a:hover .plp-review-count { text-decoration: underline; }
.plp-review-count { font-size: 11px; color: #767676; }

/* Filter row layout */
.plp-filter-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.plp_grid-header__filters-container {
  display: flex; gap: 6px; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 0; flex: 1;
}
.plp_grid-header__filters-button {
  background: none; border: 1px solid #d4d4d4;
  border-radius: 2px; padding: 6px 12px; font-size: 12px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap; transition: border-color 0.15s;
}
.plp_grid-header__filters-button:hover { border-color: #2b2b2b; }
.plp_grid-header__filters-button--active {
  background: #2b2b2b; color: #fff; border-color: #2b2b2b;
}
.plp-filter-remove {
  font-size: 14px; line-height: 1; opacity: 0.75; margin-left: 1px;
}

/* Sort */
.plp-sort-wrap { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.plp-sort-label { font-size: 12px; color: #767676; }
.plp-sort-select {
  font-size: 12px; border: 1px solid #d4d4d4; padding: 5px 8px;
  border-radius: 2px; background: #fff; cursor: pointer;
}

/* Grid view toggle */
.plp-grid-toggle { display: flex; gap: 3px; }
.plp-grid-btn {
  width: 28px; height: 28px; background: none;
  border: 1px solid #d4d4d4; border-radius: 2px;
  cursor: pointer; font-size: 13px; color: #767676;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.plp-grid-btn.active { background: #2b2b2b; color: #fff; border-color: #2b2b2b; }

/* Breadcrumb */
.plp-breadcrumb {
  font-size: 12px; color: #767676; padding: 10px 0 4px; margin: 0;
}
.plp-breadcrumb a { color: #767676; text-decoration: none; }
.plp-breadcrumb a:hover { text-decoration: underline; }

/* Load More */
.plp-load-more-wrap {
  text-align: center; padding: 28px 24px 48px;
}
.plp-load-progress {
  font-size: 12px; color: #767676; margin-bottom: 14px;
}
.plp-load-more-btn {
  background: #fff; color: #2b2b2b; border: 1.5px solid #2b2b2b;
  padding: 12px 44px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.plp-load-more-btn:hover { background: #2b2b2b; color: #fff; }
