/* ============================================================
   Attikk Redesign - Design System
   ============================================================ */

/* --- Tokens (CSS Custom Properties) --- */

:root {
  /* Typography */
  --att-font-display: 'Cormorant Garamond', Georgia, serif;
  --att-font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* Ink / text */
  --att-ink: #1b1b1b;
  --att-text-body: #3a3a3a;
  --att-text-secondary: #5f5b53;
  --att-text-muted: #6f6858;
  --att-text-muted-2: #8a8377;
  --att-text-muted-3: #8f8b83;
  --att-text-muted-4: #a8a49b;
  --att-text-placeholder: #b3aea6;

  /* Surfaces */
  --att-bg-page: #ffffff;
  --att-bg-warm: #faf8f4;
  --att-bg-beige: #f7f2e9;
  --att-bg-badge: #f2efe9;
  --att-bg-tab: #f4f1ea;
  --att-bg-mobile: #eceae5;

  /* Borders */
  --att-border: #ece9e3;
  --att-border-dark: #e0dbcf;
  --att-border-light: #f0ece4;
  --att-border-divider: #d8d3c9;

  /* Gold accent */
  --att-gold: #a5843e;
  --att-gold-bright: #c9a24a;
  --att-gold-light: #e6d6a8;
  --att-gold-dark: #6f5a1f;
  --att-gold-text: #a99a6a;
  --att-gold-mid: #8a7a4d;

  /* Semantic */
  --att-trust: #1f5133;
  --att-sale: #9b1c31;
  --att-success: #5a8f5f;
  --att-vintage: #9b7b3f;

  /* Radii */
  --att-radius-btn: 10px;
  --att-radius-input: 10px;
  --att-radius-card: 16px;
  --att-radius-pill: 999px;
  --att-radius-product: 5px;
  --att-radius-sm: 6px;
  --att-radius-md: 12px;
  --att-radius-lg: 20px;

  /* Shadows */
  --att-shadow-xs: 0 1px 3px rgba(20,17,13,0.08);
  --att-shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --att-shadow-md: 0 8px 24px rgba(20,17,13,0.14);
  --att-shadow-lg: 0 24px 60px rgba(20,17,13,0.12);
  --att-shadow-card-hover: 0 18px 40px rgba(0,0,0,0.10);
  --att-shadow-mega: 0 24px 40px -20px rgba(20,17,13,0.18);
  --att-shadow-drawer: -24px 0 60px rgba(20,17,13,0.22);
  --att-shadow-auth: 0 20px 60px rgba(20,17,13,0.06);
}


/* --- Base Reset / Typography --- */

.att-redesign {
  font-family: var(--att-font-body);
  color: var(--att-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.att-redesign select,
.att-redesign input,
.att-redesign textarea,
.att-redesign button {
  font-family: inherit;
}

.att-redesign h1,
.att-redesign h2,
.att-redesign h3,
.att-redesign h4,
.att-redesign h5,
.att-redesign h6 {
  font-family: var(--att-font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--att-ink);
}


/* --- Eyebrow / Uppercase Labels --- */

.att-eyebrow {
  font-family: var(--att-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--att-gold-text);
}

.att-eyebrow--dark {
  color: var(--att-ink);
  letter-spacing: .08em;
  font-size: 13px;
}


/* --- Buttons --- */

.att-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--att-font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--att-radius-btn);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s, box-shadow 0.2s;
}

.att-btn-primary {
  background: var(--att-ink);
  color: #ffffff;
}
.att-btn-primary:hover {
  opacity: 0.88;
}

.att-btn-secondary {
  background: transparent;
  color: var(--att-ink);
  border: 1px solid var(--att-ink);
}
.att-btn-secondary:hover {
  background: var(--att-ink);
  color: #ffffff;
}

.att-btn-ghost {
  background: transparent;
  color: var(--att-gold);
  padding: 8px 0;
  border-radius: 0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.att-btn-ghost:hover {
  color: var(--att-ink);
}

.att-btn-disabled,
.att-btn[disabled] {
  background: #bdb8ae;
  color: #ffffff;
  cursor: not-allowed;
  pointer-events: none;
}

.att-btn-sm {
  font-size: 13px;
  padding: 10px 20px;
}

.att-btn-pill {
  border-radius: var(--att-radius-pill);
}


/* --- Inputs --- */

.att-input {
  font-family: var(--att-font-body);
  font-size: 14px;
  color: var(--att-ink);
  background: #ffffff;
  border: 1px solid var(--att-border-dark);
  border-radius: var(--att-radius-input);
  padding: 12px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}
.att-input:focus {
  border-color: var(--att-ink);
}
.att-input::placeholder {
  color: var(--att-text-placeholder);
}

.att-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #6f6b63;
  margin-bottom: 6px;
}
.att-label .att-required {
  color: var(--att-gold-bright);
}

.att-select {
  font-family: var(--att-font-body);
  font-size: 14px;
  color: var(--att-ink);
  background: #ffffff;
  border: 1px solid var(--att-border-dark);
  border-radius: var(--att-radius-input);
  padding: 12px 14px;
  padding-right: 36px;
  width: 100%;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231b1b1b' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.2s;
}
.att-select:focus {
  border-color: var(--att-ink);
}


/* --- Custom Checkbox --- */

.att-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--att-text-body);
}
.att-checkbox input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--att-border-dark);
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}
.att-checkbox input[type="checkbox"]:checked {
  background: var(--att-ink);
  border-color: var(--att-ink);
}
.att-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


/* --- Custom Radio --- */

.att-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--att-ink);
}
.att-radio input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid #cfc9bd;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s;
}
.att-radio input[type="radio"]:checked {
  border-color: var(--att-ink);
}
.att-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--att-ink);
  transform: translate(-50%, -50%);
}


/* --- Cards / Surfaces --- */

.att-card {
  background: #ffffff;
  border: 1px solid var(--att-border);
  border-radius: var(--att-radius-card);
  overflow: hidden;
}

.att-surface-warm {
  background: var(--att-bg-warm);
}

.att-surface-beige {
  background: var(--att-bg-beige);
}


/* --- Product Card --- */

.att-product-card {
  position: relative;
  cursor: pointer;
}

.att-product-card__image {
  position: relative;
  aspect-ratio: 1 / 1.12;
  border-radius: var(--att-radius-product);
  overflow: hidden;
  background: #f5f3ef;
}
.att-product-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.att-product-card:hover .att-product-card__image img {
  transform: scale(1.04);
}

.att-product-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
  text-decoration: none;
  z-index: 1;
}
.att-product-card:hover .att-product-card__overlay {
  opacity: 1;
}
.att-product-card__overlay-btn {
  background: rgba(255,255,255,0.95);
  color: var(--att-ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 10px 22px;
  border-radius: var(--att-radius-btn);
  border: none;
  cursor: pointer;
  box-shadow: var(--att-shadow-sm);
}

.att-product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 6px;
  z-index: 2;
}
.att-product-card__badge--new {
  background: var(--att-bg-badge);
  border: 1px solid var(--att-border-dark);
  color: var(--att-ink);
}
.att-product-card__badge--sale {
  background: var(--att-sale);
  color: #ffffff;
}
.att-product-card__badge--sold {
  position: absolute;
  inset: 0;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  color: var(--att-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 0;
  border: none;
}

.att-product-card__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: box-shadow 0.2s;
}
.att-product-card__wishlist:hover {
  box-shadow: var(--att-shadow-sm);
}
.att-product-card__wishlist svg {
  width: 17px;
  height: 17px;
  stroke: var(--att-ink);
  stroke-width: 1.6;
  fill: none;
  transition: fill 0.2s, stroke 0.2s;
}
.att-product-card__wishlist.is-active svg,
.att-product-card__wishlist.active svg {
  fill: var(--att-sale);
  stroke: var(--att-sale);
}

.att-product-card__brand {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--att-gold-text);
  margin-top: 10px;
}

.att-product-card__name {
  font-size: 14px;
  line-height: 1.35;
  min-height: 38px;
  margin-top: 3px;
  color: var(--att-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.att-product-card__condition {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--att-text-muted-3);
  margin-top: 2px;
}

.att-condition-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.att-cond-new        { background: var(--att-trust); }
.att-cond-verygood   { background: var(--att-success); }
.att-cond-good       { background: var(--att-gold-bright); }
.att-cond-vintage    { background: var(--att-vintage); }

.att-product-card__price {
  font-size: 14.5px;
  font-weight: 500;
  margin-top: 6px;
  color: var(--att-ink);
}
.att-product-card__price--sale {
  color: var(--att-sale);
}
.att-product-card__price-old {
  font-size: 12.5px;
  color: var(--att-text-muted-4);
  text-decoration: line-through;
  margin-left: 6px;
}


/* --- Announcement Bar --- */

.att-announcement {
  background: var(--att-ink);
  color: #f2efe9;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .att-announcement {
    padding: 8px 14px;
    font-size: 10.5px;
    letter-spacing: .05em;
  }
}


/* --- Header --- */

.att-header {
  border-bottom: 1px solid var(--att-border);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  position: relative;
  z-index: 100;
}

.att-header__left {
  display: flex;
  align-items: center;
  gap: 44px;
}

.att-wordmark {
  font-family: var(--att-font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 0.86;
  letter-spacing: .06em;
  color: var(--att-ink);
  text-decoration: none;
  display: block;
}

.att-nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--att-text-body);
}
.att-nav a,
.att-nav span {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.att-nav a:hover,
.att-nav span:hover {
  color: var(--att-ink);
}
.att-nav a.is-active::after,
.att-nav span.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--att-ink);
}

.att-header__right {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--att-ink);
}

.att-header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}
.att-header__icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

/* Account dropdown menu */
.att-header__icon > .sub-menu {
  pointer-events: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  min-width: 200px;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  border: 1px solid var(--att-border);
  border-radius: var(--att-radius-sm);
  box-shadow: 0 8px 24px rgba(20,17,13,0.12);
  padding: 8px 0;
  margin-top: 8px;
}
.att-header__icon:hover > .sub-menu {
  pointer-events: all;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.att-header__icon > .sub-menu .menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.att-header__icon > .sub-menu .menu-list li {
  display: block !important;
}
.att-header__icon > .sub-menu .menu-list li a {
  display: block !important;
  padding: 8px 20px;
  font-size: 13.5px;
  color: var(--att-text-body);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.att-header__icon > .sub-menu .menu-list li a:hover {
  background: var(--att-bg-warm);
  color: var(--att-ink);
}

.att-header__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--att-ink);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Nav dropdown (Service menu) */
.att-nav__dropdown-trigger {
  position: relative;
}
.att-nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 14px;
  background: #ffffff;
  border: 1px solid var(--att-border);
  border-radius: var(--att-radius-btn);
  box-shadow: var(--att-shadow-md);
  padding: 10px 0;
  min-width: 220px;
  z-index: 200;
}
.att-nav__dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.att-nav__dropdown-trigger:hover .att-nav__dropdown,
.att-nav__dropdown-trigger:focus-within .att-nav__dropdown {
  display: block;
}
.att-nav__dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--att-text-body);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.att-nav__dropdown a:hover {
  color: var(--att-ink);
  background: var(--att-bg-warm);
}

.att-lang-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--att-text-body);
  cursor: pointer;
  padding-left: 8px;
  border-left: 1px solid var(--att-border);
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
}
.att-lang-switch svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

@media (max-width: 1150px) {
  .att-header {
    padding: 14px 16px;
  }
  .att-nav {
    display: none;
  }
  .att-lang-switch {
    display: none;
  }
  .att-header__left {
    gap: 0;
  }
}


/* --- Footer --- */

.att-footer {
  background: var(--att-bg-warm);
  border-top: 1px solid var(--att-border);
  padding: 56px 40px 30px;
}

.att-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
}

.att-footer__heading {
  font-family: var(--att-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--att-ink);
  margin-bottom: 18px;
}

.att-footer__link {
  display: block;
  font-size: 13.5px;
  color: var(--att-text-muted);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}
.att-footer__link:hover {
  color: var(--att-ink);
}

.att-footer__info {
  font-size: 13.5px;
  color: var(--att-text-muted);
  line-height: 1.7;
}

.att-footer__newsletter {
  display: flex;
  gap: 0;
  margin-top: 12px;
}
.att-footer__newsletter input {
  flex: 1;
  border: 1px solid var(--att-border-dark);
  border-radius: 8px 0 0 8px;
  padding: 11px 13px;
  font-size: 13px;
  outline: none;
  background: #ffffff;
  color: var(--att-ink);
}
.att-footer__newsletter input::placeholder {
  color: var(--att-text-placeholder);
}
.att-footer__newsletter button {
  background: var(--att-ink);
  color: #ffffff;
  border: none;
  border-radius: 0 8px 8px 0;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.att-footer__newsletter button:hover {
  opacity: 0.88;
}

.att-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--att-border);
}

.att-footer__copyright {
  font-size: 12px;
  color: var(--att-text-muted-4);
}

.att-footer__payments {
  display: flex;
  gap: 8px;
}
.att-footer__payment-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--att-text-muted-3);
  border: 1px solid var(--att-border);
  border-radius: 4px;
  padding: 4px 10px;
  background: #ffffff;
}

@media (max-width: 767px) {
  .att-footer {
    padding: 34px 20px 24px;
  }
  .att-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .att-footer__bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}


/* --- Mobile Bottom Tab Bar --- */

.att-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 66px;
  background: #ffffff;
  border-top: 1px solid var(--att-border);
  z-index: 1000;
  padding-bottom: 4px;
  align-items: center;
  justify-content: space-around;
}

.att-mobile-bar__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  color: var(--att-text-muted-3);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
}
.att-mobile-bar__tab svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}
.att-mobile-bar__tab.is-active {
  color: var(--att-ink);
}

@media (max-width: 1150px) {
  .att-mobile-bar {
    display: flex;
  }
  body.att-redesign {
    padding-bottom: 66px;
  }
}


/* --- Mobile Menu Sheet --- */

.att-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}
.att-mobile-menu.is-open {
  display: block;
}
.att-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,17,13,0.4);
}
.att-mobile-menu__sheet {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 88vw;
  max-width: 360px;
  background: #ffffff;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.att-mobile-menu.is-open .att-mobile-menu__sheet {
  transform: translateX(0);
}
.att-mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--att-border);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  margin-bottom: 28px;
}
.att-mobile-menu__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.att-mobile-menu__nav li {
  border-bottom: 1px solid var(--att-border);
}
.att-mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-family: var(--att-font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--att-ink);
  text-decoration: none;
}
.att-mobile-menu__nav a svg {
  width: 18px;
  height: 18px;
  stroke: var(--att-text-muted-3);
  stroke-width: 1.5;
  fill: none;
}


/* --- Mega Menu --- */

.att-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: var(--att-shadow-mega);
  z-index: 99;
  display: none;
  border-top: 1px solid var(--att-border);
}
.att-mega-menu.is-open {
  display: block;
}

.att-mega-menu__panel {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 40px 48px;
  gap: 48px;
}
.att-mega-menu__panel.is-active {
  display: grid;
}

.att-mega-menu__panel--brands {
  grid-template-columns: 230px 1fr 460px;
}
/* The middle column is as wide as its category columns need; the picture tiles take what is left. */
.att-mega-menu__panel--categories {
  grid-template-columns: 230px auto minmax(0, 1fr);
}

.att-mega-menu__intro {
  max-width: none;
}
.att-mega-menu__intro-title {
  font-family: var(--att-font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
}
.att-mega-menu__intro-text {
  font-size: 13.5px;
  color: var(--att-text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.att-mega-menu__intro-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--att-gold);
  text-decoration: none;
}
.att-mega-menu__intro-link:hover {
  text-decoration: underline;
}

.att-mega-menu__brands-grid {
  column-count: 3;
  column-gap: 28px;
}
.att-mega-menu__brand-link {
  font-size: 13.5px;
  color: var(--att-text-body);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s;
}
.att-mega-menu__brand-link:hover {
  color: var(--att-gold);
}

.att-mega-menu__featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.att-mega-menu__featured-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 230px;
  background: linear-gradient(120deg, #efe9e0, #e6ddd2);
}
.att-mega-menu__featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.att-mega-menu__featured-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #ffffff;
  color: var(--att-ink);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--att-radius-pill);
}

.att-mega-menu__cat-group-title {
  font-family: var(--att-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--att-text-muted-3);
  margin-bottom: 10px;
  margin-top: 18px;
}
.att-mega-menu__cat-group-title:first-child {
  margin-top: 0;
}

/* Each main category (e.g. Fatnaður, Fylgihlutir) is a column of its own, side by side. */
.att-mega-menu__cat-groups {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  column-gap: 40px;
  align-items: start;
}
.att-mega-menu__cat-group .att-mega-menu__brand-link {
  white-space: nowrap;
}

/* The tile pictures are 135 x 295 with the category name written down their length. The tiles keep
   that shape, so the whole picture and its text show; 150px wide is close to the picture's real size. */
.att-mega-menu__cat-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 16px;
  justify-content: end;
  align-items: start;
}
.att-mega-menu__cat-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 135 / 295;
  background: linear-gradient(120deg, #efe9e0, #e6ddd2);
}
.att-mega-menu__cat-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* --- Basket Drawer --- */

.att-basket-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 100vw;
  background: #ffffff;
  /* No shadow while closed: the drawer sits just off screen and its shadow would show as a grey band on the right edge of every page. */
  box-shadow: none;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.att-basket-drawer.is-open {
  transform: translateX(0);
  box-shadow: var(--att-shadow-drawer);
}
.att-basket-drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20,17,13,0.4);
  z-index: 2999;
  display: none;
}
.att-basket-drawer__backdrop.is-open {
  display: block;
}

.att-basket-drawer__header {
  padding: 22px 26px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--att-border);
}
.att-basket-drawer__title {
  font-family: var(--att-font-display);
  font-size: 26px;
  font-weight: 600;
}
.att-basket-drawer__count {
  font-size: 13px;
  color: var(--att-text-muted-2);
  margin-left: 10px;
}
.att-basket-drawer__close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--att-border);
  border-radius: 50%;
  background: none;
  cursor: pointer;
}

.att-basket-drawer__trust {
  padding: 12px 26px;
  background: var(--att-bg-warm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--att-text-body);
}
.att-basket-drawer__trust svg {
  width: 16px;
  height: 16px;
  stroke: var(--att-trust);
  stroke-width: 1.6;
  fill: none;
  flex-shrink: 0;
}

.att-basket-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 0 26px;
}

.att-basket-drawer__item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--att-border);
}
.att-basket-drawer__item-img {
  width: 78px;
  height: 92px;
  border-radius: var(--att-radius-sm);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.att-basket-drawer__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.att-basket-drawer__item-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--att-trust);
  padding: 2px 6px;
  border-radius: 3px;
}

.att-basket-drawer__item-info {
  flex: 1;
  min-width: 0;
}
.att-basket-drawer__item-brand {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--att-text-muted-2);
}
.att-basket-drawer__item-name {
  font-size: 14px;
  line-height: 1.35;
  margin-top: 3px;
  color: var(--att-ink);
}
.att-basket-drawer__item-scarcity {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--att-sale);
  background: rgba(155,28,49,0.06);
  padding: 3px 9px;
  border-radius: var(--att-radius-pill);
  margin-top: 6px;
}
.att-basket-drawer__item-price {
  font-size: 14.5px;
  font-weight: 600;
  margin-top: 6px;
}
.att-basket-drawer__item-remove {
  align-self: flex-start;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--att-text-muted-3);
  padding: 4px;
  transition: color 0.2s;
}
.att-basket-drawer__item-remove:hover {
  color: var(--att-sale);
}

.att-basket-drawer__footer {
  border-top: 1px solid var(--att-border);
  padding: 20px 26px 24px;
}
.att-basket-drawer__urgency {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  color: var(--att-gold);
  margin-bottom: 16px;
  line-height: 1.4;
}
.att-basket-drawer__urgency svg {
  width: 15px;
  height: 15px;
  stroke: var(--att-gold);
  stroke-width: 1.6;
  fill: none;
  flex-shrink: 0;
  margin-top: 1px;
}
.att-basket-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.att-basket-drawer__subtotal-label {
  font-size: 14px;
  color: var(--att-text-muted);
}
.att-basket-drawer__subtotal-value {
  font-family: var(--att-font-display);
  font-size: 26px;
  font-weight: 600;
}
.att-basket-drawer__vat-note {
  font-size: 11.5px;
  color: var(--att-text-muted-3);
  margin-bottom: 18px;
}
.att-basket-drawer__cta-primary {
  width: 100%;
  margin-bottom: 10px;
}
.att-basket-drawer__cta-secondary {
  width: 100%;
}

.att-basket-drawer__trust-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--att-text-muted-2);
}
.att-basket-drawer__trust-row span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.att-basket-drawer__trust-row svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

.att-basket-drawer__bnpl {
  text-align: center;
  font-size: 11px;
  color: var(--att-text-muted-3);
  margin-top: 14px;
}

/* Drawer empty state */
.att-basket-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 26px;
  text-align: center;
}
.att-basket-drawer__empty-icon {
  width: 30px;
  height: 30px;
  color: var(--att-gold-bright);
  margin-bottom: 18px;
}
.att-basket-drawer__empty-title {
  font-family: var(--att-font-display);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}
.att-basket-drawer__empty-text {
  font-size: 14px;
  color: var(--att-text-muted);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 24px;
}


/* --- Trust Strip (Home) --- */

.att-trust-strip {
  background: var(--att-bg-warm);
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 44px;
  font-size: 13px;
  color: var(--att-text-body);
  border-bottom: 1px solid var(--att-border);
}
.att-trust-strip__item {
  display: flex;
  align-items: center;
  gap: 9px;
}
.att-trust-strip__item svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.6;
  fill: none;
}
.att-trust-strip__divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--att-border-divider);
}

@media (max-width: 767px) {
  .att-trust-strip {
    padding: 14px 16px;
    gap: 16px;
    font-size: 11.5px;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .att-trust-strip__item {
    white-space: nowrap;
  }
}


/* --- Section Helpers --- */

.att-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 40px;
}
.att-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}
.att-section-title {
  font-family: var(--att-font-display);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
}
.att-section-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--att-gold);
  text-decoration: none;
}
.att-section-link:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .att-section {
    padding: 38px 16px;
  }
  .att-section-title {
    font-size: 28px;
  }
}


/* --- Product Grid --- */

.att-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 26px;
}
.att-product-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.att-product-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1024px) {
  .att-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 16px;
  }
}
@media (max-width: 767px) {
  .att-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }
  .att-product-card__image {
    aspect-ratio: 1 / 1.14;
  }
  .att-product-card__brand {
    font-size: 9.5px;
  }
  .att-product-card__name {
    font-size: 12.5px;
    min-height: 33px;
  }
  .att-product-card__price {
    font-size: 13px;
  }
}


/* --- BNPL Band --- */

.att-bnpl-band {
  background: var(--att-ink);
  color: #fdfcf9;
  padding: 50px 40px;
  text-align: center;
}
.att-bnpl-band__title,
.att-redesign .att-bnpl-band__title {
  font-family: var(--att-font-display);
  font-size: 32px;
  font-weight: 600;
  color: #fdfcf9 !important;
}
.att-bnpl-band__icon {
  display: inline-block;
  margin-bottom: 12px;
}
.att-bnpl-band__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--att-gold-bright);
  stroke-width: 1.5;
  fill: none;
}
.att-bnpl-band__text {
  font-size: 14px;
  color: #c9c3b8;
  margin-top: 10px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .att-bnpl-band {
    padding: 34px 20px;
  }
  .att-bnpl-band__title {
    font-size: 25px;
  }
  .att-bnpl-band__text {
    font-size: 12.5px;
  }
}


/* --- Editorial / Blog Grid --- */

.att-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.att-editorial-card__image {
  position: relative;
  aspect-ratio: 1.5 / 1;
  border-radius: var(--att-radius-sm);
  overflow: hidden;
}
.att-editorial-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.att-editorial-card__author {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(20,17,13,0.72);
  color: #fdfcf9;
  font-size: 10.5px;
  padding: 5px 12px;
  border-radius: var(--att-radius-pill);
  z-index: 1;
  text-transform: lowercase;
}
.att-editorial-card__title {
  font-family: var(--att-font-display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 14px;
}
.att-editorial-card__link {
  font-size: 13px;
  color: var(--att-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 10px;
  display: inline-block;
}

@media (max-width: 767px) {
  .att-editorial-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .att-editorial-card__image {
    aspect-ratio: 1.6 / 1;
  }
  .att-editorial-card__title {
    font-size: 20px;
  }
}


/* --- Sale Section --- */

.att-sale-section {
  background: var(--att-bg-warm);
  border-top: 1px solid var(--att-border);
  border-bottom: 1px solid var(--att-border);
}


/* --- Hero Section --- */

.att-hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.att-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.att-hero__gradient {
  position: absolute;
  inset: 0;
}
.att-hero__gradient--left {
  background: linear-gradient(90deg, rgba(20,17,13,0.62) 0%, rgba(20,17,13,0.34) 45%, rgba(20,17,13,0.08) 100%);
}
.att-hero__gradient--center {
  background: linear-gradient(180deg, rgba(20,17,13,0.30) 0%, rgba(20,17,13,0.66) 100%);
}
.att-hero__content {
  position: relative;
  z-index: 1;
  padding: 0 40px;
  max-width: 560px;
}
.att-hero__eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--att-gold-light);
  margin-bottom: 12px;
}
/* Colour only: the .att-redesign prefix lets the light colour win over the global ".att-redesign h1" ink colour
   without outranking the smaller font sizes set for .att-hero__title in the media queries. */
.att-redesign .att-hero__title {
  color: #fdfcf9;
}
.att-hero__title {
  font-family: var(--att-font-display);
  font-size: 56px;
  font-weight: 600;
  line-height: 1.05;
  color: #fdfcf9;
  margin-bottom: 16px;
}
.att-hero__text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(253,252,249,0.82);
  margin-bottom: 28px;
}

@media (max-width: 767px) {
  .att-hero {
    min-height: 480px;
    align-items: flex-end;
  }
  /* On phones the text sits at the bottom of the photo, so use the top-to-bottom overlay
     (same values as .att-hero__gradient--center) instead of the left-to-right one. */
  .att-hero__gradient--left {
    background: linear-gradient(180deg, rgba(20,17,13,0.30) 0%, rgba(20,17,13,0.66) 100%);
  }
  .att-hero__content {
    padding: 0 20px 40px;
  }
  .att-hero__title {
    font-size: 38px;
  }
  .att-hero__text {
    font-size: 14px;
  }
}


/* --- Status Pills --- */

.att-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--att-radius-pill);
}
.att-pill--active {
  background: rgba(31,81,51,0.10);
  color: var(--att-trust);
}
.att-pill--pending {
  background: rgba(165,132,62,0.10);
  color: var(--att-gold);
}
.att-pill--inactive {
  background: rgba(138,131,119,0.10);
  color: var(--att-text-muted-2);
}


/* --- Hamburger Button --- */

.att-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--att-ink);
}
.att-hamburger svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

@media (max-width: 1150px) {
  .att-hamburger {
    display: flex;
  }
}

/* Custom mobile menu overlay (replaces Bootstrap offcanvas) */
.att-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.att-mobile-overlay.is-open {
  display: block;
}
.att-mobile-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,17,13,0.45);
}
.att-mobile-overlay__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 4px 0 24px rgba(20,17,13,0.15);
}

/* Mobile submenu (accordion inside overlay) */
.att-mobile-submenu {
  display: none;
  padding: 0 0 14px;
}
.att-mobile-menu__nav li.is-expanded .att-mobile-submenu {
  display: block;
}
.att-mobile-menu__nav li.is-expanded > a svg {
  transform: rotate(90deg);
}
.att-mobile-submenu a,
.att-mobile-submenu .sub-nav-link {
  display: block;
  padding: 7px 0;
  font-family: var(--att-font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--att-text-body);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}
.att-mobile-submenu a:hover,
.att-mobile-submenu .sub-nav-link:hover {
  color: var(--att-gold);
}
/* Hide Bootstrap collapse markup inside our custom submenu */
.att-mobile-submenu .collapse,
.att-mobile-submenu .sub-nav-menu {
  display: block !important;
  height: auto !important;
}
.att-mobile-submenu li {
  list-style: none;
}
.att-mobile-submenu .btn-open-sub {
  display: none;
}


/* --- Utility --- */

.att-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ============================================================
   Ecomus Theme Overrides (att-redesign body class)
   Apply new design tokens to existing Ecomus components
   ============================================================ */

/* Global font override */
.att-redesign,
.att-redesign .font-poppins,
.att-redesign .fw-5,
.att-redesign .fw-6,
.att-redesign .fw-8,
.att-redesign .top-bar-text,
.att-redesign .item-link,
.att-redesign .footer-menu_item,
.att-redesign .card-product-info .title,
.att-redesign .card-product-info .price {
  font-family: var(--att-font-body);
}

.att-redesign h1,
.att-redesign h2,
.att-redesign h3,
.att-redesign h4,
.att-redesign .heading,
.att-redesign .tf-product-title,
.att-redesign .demo-title {
  font-family: var(--att-font-display);
  font-weight: 600;
}

/* Remove preloader */
.att-redesign .preload-wrapper .preload { display: none; }

/* Product page overrides */
.att-redesign .tf-product-title {
  font-size: 40px;
  line-height: 1.1;
  color: var(--att-ink);
}
.att-redesign .tf-product-subtitle {
  font-family: var(--att-font-body);
  font-size: 15px;
  color: var(--att-text-secondary);
  font-weight: 400;
  margin-top: 4px;
}
.att-redesign .tf-product-info-price .price,
.att-redesign .tf-product-info-price .price-on-sale {
  font-size: 28px;
  font-weight: 600;
  color: var(--att-ink);
}
.att-redesign .tf-product-info-price .compare-at-price {
  color: var(--att-text-muted-4);
}
.att-redesign .tf-product-info-price .badges-on-sale {
  background: var(--att-sale);
  border-radius: 6px;
}

/* Product buy button */
.att-redesign .btn-add-to-cart,
.att-redesign .tf-product-info-buy-button .tf-btn.btn-fill {
  background: var(--att-ink);
  color: #ffffff;
  border-radius: var(--att-radius-btn);
  font-family: var(--att-font-body);
  font-size: 15px;
  font-weight: 500;
}
.att-redesign .tf-product-info-buy-button .tf-btn.btn-fill:hover {
  opacity: 0.88;
}

/* Product bundle section */
.att-redesign .tf-product-bundle-wrap .title {
  font-family: var(--att-font-display);
  font-size: 22px;
  font-weight: 600;
}

/* Product tabs */
.att-redesign .widget-tabs .widget-menu-tab .item-title {
  font-family: var(--att-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--att-text-muted-2);
}
.att-redesign .widget-tabs .widget-menu-tab .item-title.active {
  color: var(--att-ink);
  border-bottom-color: var(--att-ink);
}

/* Product info badges */
.att-redesign .tf-product-info-badges .badges {
  background: var(--att-sale);
  border-radius: 6px;
}

/* Wishlist button on product page */
.att-redesign .tf-product-btn-wishlist {
  border: 1px solid var(--att-border);
  border-radius: var(--att-radius-btn);
}

/* Breadcrumb override */
.att-redesign .tf-breadcrumb {
  padding: 14px 40px;
  background: transparent;
}
.att-redesign .tf-breadcrumb-list .text {
  font-family: var(--att-font-body);
  font-size: 13px;
  color: var(--att-text-muted-3);
}

/* Page title override */
.att-redesign .tf-page-title {
  padding: 10px 40px 28px;
}
.att-redesign .tf-page-title .heading {
  font-size: 48px;
}
.att-redesign .tf-page-title.style-2 {
  background: var(--att-bg-beige);
  padding: 56px 40px 48px;
}

/* Card product override for existing Ecomus cards */
.att-redesign .card-product .card-product-wrapper {
  border-radius: var(--att-radius-product);
  overflow: hidden;
}
.att-redesign .card-product-info .title {
  font-size: 14px;
  color: var(--att-ink);
}
.att-redesign .card-product-info .price {
  font-size: 14.5px;
  font-weight: 500;
}

/* Accordion / flat-toggle overrides (FAQ and elsewhere) */
.att-redesign .flat-accordion .toggle-title {
  font-family: var(--att-font-body);
  font-size: 15px;
  font-weight: 500;
}
.att-redesign .flat-accordion .toggle-content p {
  font-size: 14px;
  color: var(--att-text-secondary);
  line-height: 1.7;
}

/* Button overrides */
.att-redesign .tf-btn.btn-fill {
  background: var(--att-ink);
  border-radius: var(--att-radius-btn);
  font-family: var(--att-font-body);
}
.att-redesign .tf-btn.btn-line {
  color: var(--att-gold);
  font-family: var(--att-font-body);
}

/* Form field overrides */
.att-redesign .tf-field-input,
.att-redesign .tf-field .tf-input {
  border-radius: var(--att-radius-input);
  border-color: var(--att-border-dark);
  font-family: var(--att-font-body);
}
.att-redesign .tf-field .tf-input:focus {
  border-color: var(--att-ink);
}

/* Modal overrides */
.att-redesign .modal-part-content .modal-content {
  border-radius: var(--att-radius-card);
}
.att-redesign .modal-part-content .header .demo-title {
  font-size: 20px;
}

/* Section spacing overrides */
.att-redesign .flat-spacing-11 {
  padding-top: 40px;
  padding-bottom: 60px;
}
.att-redesign .flat-spacing-18 {
  padding-top: 50px;
  padding-bottom: 50px;
}

/* On-sale badge override */
.att-redesign .on-sale-item {
  background: var(--att-sale);
  border-radius: 6px;
  font-family: var(--att-font-body);
  font-size: 11px;
}

/* Related products section */
.att-redesign .flat-title .title {
  font-family: var(--att-font-display);
  font-weight: 600;
}

/* Pagination override */
.att-redesign .tf-pagination-list li a {
  border-radius: var(--att-radius-btn);
  font-family: var(--att-font-body);
}
.att-redesign .tf-pagination-list li.active a {
  background: var(--att-ink);
  color: #ffffff;
}

/* Search canvas override */
.att-redesign .canvas-search .tf-search-head .title {
  font-family: var(--att-font-display);
  font-weight: 600;
}
/* Idea links under "Need some inspiration?": same spacing as the quick links above them. */
.att-redesign .canvas-search #searchIdeaLinks {
  margin-bottom: 16px;
}
.att-redesign .canvas-search #searchIdeaLinks .tf-quicklink-item a {
  display: inline-block;
  padding: 4px 0;
  line-height: 22.4px;
}

/* Mini cart / shopping cart modal override */
.att-redesign .tf-mini-cart-items .tf-mini-cart-item .tf-mini-cart-item-title {
  font-family: var(--att-font-body);
}

/* Hide Ecomus-specific elements that conflict */
.att-redesign .preload { display: none !important; }
.att-redesign .progress-wrap { display: none; }


/* --- Product Detail Page - Enhanced Overrides --- */

.att-redesign .tf-product-info-wrap {
  font-family: var(--att-font-body);
}
.att-redesign .tf-product-info-price {
  margin: 16px 0;
}
.att-redesign .tf-product-info-liveview {
  background: var(--att-bg-warm);
  border: 1px solid var(--att-border);
  border-radius: var(--att-radius-btn);
  padding: 8px 14px;
  font-size: 13px;
}
.att-redesign .tf-product-info-liveview .liveview-count {
  background: var(--att-trust);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

/* Condition stars - gold */
.att-redesign .list-star .icon-star {
  color: var(--att-gold-bright);
}

/* Bundle section restyle */
.att-redesign .tf-product-bundle-wrap {
  border: 1px solid var(--att-border);
  border-radius: var(--att-radius-card);
  padding: 24px;
  margin: 24px 0;
}
.att-redesign .tf-product-bundle-wrap .title {
  font-size: 20px;
  margin-bottom: 18px;
}
.att-redesign .tf-product-bundle-total-submit {
  padding: 16px 0;
  border-top: 1px solid var(--att-border);
  margin-top: 16px;
}
.att-redesign .btn-add-bundle-to-cart {
  background: var(--att-ink) !important;
  border-color: var(--att-ink) !important;
  border-radius: var(--att-radius-btn) !important;
  font-family: var(--att-font-body) !important;
}

/* Delivery/auth trust cards */
.att-redesign .tf-product-info-delivery-return {
  background: var(--att-bg-warm);
  border-radius: var(--att-radius-card);
  padding: 20px;
  margin: 20px 0;
}
.att-redesign .tf-product-delivery {
  font-size: 13.5px;
  color: var(--att-text-secondary);
  line-height: 1.6;
}

/* Trust seal restyle */
.att-redesign .tf-product-info-trust-seal {
  padding: 16px 0;
}
.att-redesign .tf-product-trust-mess {
  font-size: 13px;
  color: var(--att-text-muted);
}
.att-redesign .tf-product-info-trust-seal .tf-payment img {
  max-height: 20px;
}

/* Sticky add-to-cart bar */
.att-redesign .tf-sticky-btn-atc {
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--att-border);
  box-shadow: 0 -4px 16px rgba(20,17,13,0.06);
}
.att-redesign .tf-sticky-atc-title {
  font-family: var(--att-font-body);
  font-size: 14px;
}

/* Tab styling - Redesigned */
.att-redesign .widget-tabs.style-has-border {
  border: none;
}
.att-redesign .widget-menu-tab {
  border-bottom: 2px solid var(--att-border);
  gap: 0;
}
.att-redesign .widget-menu-tab .item-title {
  padding: 12px 24px;
  font-family: var(--att-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--att-text-muted-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.att-redesign .widget-menu-tab .item-title.active,
.att-redesign .widget-menu-tab .item-title:hover {
  color: var(--att-ink);
  border-bottom-color: var(--att-ink);
}

/* Related products section title */
.att-redesign section.flat-spacing-1 .flat-title .title {
  font-family: var(--att-font-display);
  font-size: 28px;
  font-weight: 600;
}

/* Product info extra link */
.att-redesign .tf-product-info-extra-link {
  border-top: 1px solid var(--att-border);
  padding-top: 16px;
}
.att-redesign .tf-product-extra-icon .text {
  font-family: var(--att-font-body);
  font-size: 13px;
}

/* Gallery thumbnails restyle */
.att-redesign .tf-product-media-thumbs .item {
  border-radius: var(--att-radius-product);
  overflow: hidden;
  border: 1px solid var(--att-border);
}
.att-redesign .tf-product-media-thumbs .swiper-slide-thumb-active .item {
  border-color: var(--att-ink);
}

/* Gallery main image */
.att-redesign .tf-product-media-main .item {
  border-radius: var(--att-radius-sm);
  overflow: hidden;
}


/* ============================================================
   Checkout Page Overrides
   ============================================================ */

.att-redesign .checkout-form .fieldset label,
.att-redesign .form-checkout .fieldset label,
.att-redesign .checkout-form .form-label-sm {
  font-family: var(--att-font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: #6f6b63;
  margin-bottom: 6px;
}

.att-redesign .checkout-form .fieldset input,
.att-redesign .checkout-form .fieldset select,
.att-redesign .checkout-form .fieldset textarea,
.att-redesign .form-checkout input.form-control,
.att-redesign .form-checkout select.form-control,
.att-redesign .checkout-form input[type="text"],
.att-redesign .checkout-form input[type="email"],
.att-redesign .checkout-form input[type="tel"],
.att-redesign .checkout-form select,
.att-redesign .tf-select {
  font-family: var(--att-font-body);
  font-size: 14px;
  border: 1px solid var(--att-border-dark);
  border-radius: var(--att-radius-input);
  padding: 12px 14px;
  color: var(--att-ink);
  outline: none;
  transition: border-color 0.2s;
}
.att-redesign .checkout-form input:focus,
.att-redesign .checkout-form select:focus {
  border-color: var(--att-ink);
}

/* Checkout page title */
.att-redesign .tf-page-title .heading {
  font-family: var(--att-font-display);
  font-size: 36px;
  font-weight: 600;
}

/* Checkout section headers */
.att-redesign .checkout-form h5,
.att-redesign .checkout-form h6,
.att-redesign .tf-page-cart-checkout h5,
.att-redesign .tf-page-cart-checkout h6 {
  font-family: var(--att-font-body);
  font-weight: 600;
}

/* Delivery option radio cards */
.att-redesign .fieldset-radio .tf-check,
.att-redesign .wd-check-payment .tf-check {
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid #cfc9bd;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s;
}
.att-redesign .fieldset-radio .tf-check:checked,
.att-redesign .wd-check-payment .tf-check:checked {
  border-color: var(--att-ink);
}
.att-redesign .fieldset-radio .tf-check:checked::after,
.att-redesign .wd-check-payment .tf-check:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--att-ink);
  transform: translate(-50%, -50%);
}

/* Checkout summary sidebar */
.att-redesign .tf-page-cart-footer,
.att-redesign .widget-wrap-checkout {
  background: var(--att-bg-warm);
  border-radius: var(--att-radius-card);
  border: 1px solid var(--att-border);
}

/* Checkout totals */
.att-redesign .tf-cart-totals-discounts h6,
.att-redesign .tf-page-cart-checkout .total {
  font-family: var(--att-font-body);
}

/* Checkout button */
.att-redesign .checkout-form .tf-btn.btn-fill,
.att-redesign #btnCheckout {
  background: var(--att-ink);
  color: #ffffff;
  border-radius: var(--att-radius-btn);
  font-family: var(--att-font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
}

/* Discount/giftcard input */
.att-redesign .checkout-form .ip-discount input {
  border-radius: var(--att-radius-input) 0 0 var(--att-radius-input);
  border: 1px solid var(--att-border-dark);
}

/* Checkbox styling in checkout */
.att-redesign .checkout-form .box-checkbox .tf-check {
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--att-border-dark);
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  position: relative;
}
.att-redesign .checkout-form .box-checkbox .tf-check:checked {
  background: var(--att-ink);
  border-color: var(--att-ink);
}
.att-redesign .checkout-form .box-checkbox .tf-check:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Checkout product items in summary */
.att-redesign .wrap-checkout-product .checkout-product-item {
  border-bottom: 1px solid var(--att-border);
  padding: 12px 0;
}
.att-redesign .wrap-checkout-product .checkout-product-item .name {
  font-family: var(--att-font-body);
  font-size: 13.5px;
}

/* Free delivery highlight */
.att-redesign .delivery-option .free-label {
  color: var(--att-trust);
  font-weight: 600;
}


/* ============================================================
   Legacy _LayoutNew Class Overrides
   Pages migrated to _LayoutEC that still use old CSS classes
   ============================================================ */

/* Old layout containers */
.att-redesign .container.margin_30 {
  padding-top: 40px;
  padding-bottom: 40px;
}
.att-redesign .container.margin_60,
.att-redesign .container.margin_60_35 {
  padding-top: 50px;
  padding-bottom: 50px;
}
.att-redesign .container.margin_90_0 {
  padding-top: 60px;
  padding-bottom: 40px;
}

/* Old page header */
.att-redesign .page_header {
  text-align: center;
  margin-bottom: 30px;
}
.att-redesign .page_header h1 {
  font-family: var(--att-font-display);
  font-size: 36px;
  font-weight: 600;
}
.att-redesign .page_header .breadcrumbs ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--att-text-muted-3);
  margin-bottom: 10px;
}
.att-redesign .page_header .breadcrumbs ul li + li::before {
  content: '\203A';
  margin-right: 8px;
}
.att-redesign .page_header .breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

/* Old main_title */
.att-redesign .main_title {
  text-align: center;
  margin-bottom: 30px;
}
.att-redesign .main_title h1,
.att-redesign .main_title h2 {
  font-family: var(--att-font-display);
  font-size: 32px;
  font-weight: 600;
}
.att-redesign .main_title p {
  color: var(--att-text-muted);
  margin-top: 8px;
}

/* Old box_account */
.att-redesign .box_account {
  background: #ffffff;
  border: 1px solid var(--att-border);
  border-radius: var(--att-radius-card);
  padding: 24px;
  margin-bottom: 20px;
}
.att-redesign .box_account h3,
.att-redesign .box_account h4 {
  font-family: var(--att-font-display);
  font-weight: 600;
}

/* Old form controls */
.att-redesign .form-control {
  font-family: var(--att-font-body);
  border: 1px solid var(--att-border-dark);
  border-radius: var(--att-radius-input);
  padding: 10px 12px;
  font-size: 14px;
}
.att-redesign .form-control:focus {
  border-color: var(--att-ink);
  box-shadow: none;
}

/* Old buttons */
.att-redesign .btn_1 {
  font-family: var(--att-font-body);
  background: var(--att-ink);
  color: #ffffff;
  border: none;
  border-radius: var(--att-radius-btn);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}
.att-redesign .btn_1:hover {
  opacity: 0.88;
  color: #ffffff;
}
.att-redesign .btn_1.outline {
  background: transparent;
  border: 1px solid var(--att-ink);
  color: var(--att-ink);
}
.att-redesign .btn_1.full-width {
  width: 100%;
  text-align: center;
}

/* Old tables */
.att-redesign .table-striped,
.att-redesign .cart-list {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--att-font-body);
  font-size: 14px;
}
.att-redesign .table-striped thead tr {
  border-bottom: 2px solid var(--att-border);
}
.att-redesign .table-striped th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--att-text-muted-3);
  padding: 10px 8px;
}
.att-redesign .table-striped td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--att-border-light);
}
.att-redesign .table-striped tbody tr:nth-child(even) {
  background: var(--att-bg-warm);
}

/* Old checkbox containers */
.att-redesign .container_check {
  font-family: var(--att-font-body);
  font-size: 14px;
}

/* Old dividers */
.att-redesign .divider {
  border-top: 1px solid var(--att-border);
  margin: 16px 0;
  text-align: center;
}
.att-redesign .divider span {
  background: #ffffff;
  padding: 0 12px;
  font-size: 13px;
  color: var(--att-text-muted-3);
  position: relative;
  top: -10px;
}

/* Old box_contacts */
.att-redesign .box_contacts {
  text-align: center;
  padding: 24px;
  margin-bottom: 20px;
}
.att-redesign .box_contacts h2 {
  font-family: var(--att-font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0;
}
.att-redesign .box_contacts i {
  font-size: 32px;
  color: var(--att-gold);
}


/* ============================================================
   Global Responsive Overrides
   Ensure inline-styled grid layouts collapse on mobile
   ============================================================ */

@media (max-width: 900px) {
  /* All 2-column grids become single column */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns: 1fr 1.5fr"],
  [style*="grid-template-columns:1fr 1.5fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Form + sidebar layouts */
  [style*="grid-template-columns: 1fr 360px"],
  [style*="grid-template-columns:1fr 360px"] {
    grid-template-columns: 1fr !important;
  }

  /* Sticky sidebars shouldn't be sticky on mobile */
  [style*="position: sticky"],
  [style*="position:sticky"] {
    position: static !important;
  }

  /* Reduce padding on mobile */
  [style*="padding: 60px 40px"],
  [style*="padding:60px 40px"],
  [style*="padding: 56px 40px"],
  [style*="padding:56px 40px"],
  [style*="padding: 48px 40px"],
  [style*="padding:48px 40px"],
  [style*="padding: 50px 40px"],
  [style*="padding:50px 40px"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Header font sizes scale down */
  h1[style*="font-size: 48px"],
  h1[style*="font-size:48px"] {
    font-size: 32px !important;
  }
  h1[style*="font-size: 42px"],
  h1[style*="font-size:42px"] {
    font-size: 30px !important;
  }
  h1[style*="font-size: 46px"],
  h1[style*="font-size:46px"] {
    font-size: 30px !important;
  }
  h1[style*="font-size: 50px"],
  h1[style*="font-size:50px"] {
    font-size: 32px !important;
  }
}

@media (max-width: 640px) {
  /* 3-column grids become 1 column */
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  /* 4-column grids become 2 columns */
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* 5-column grids become 2 columns */
  [style*="grid-template-columns: repeat(5"],
  [style*="grid-template-columns:repeat(5"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* 6-column grids become 3 columns */
  [style*="grid-template-columns: repeat(6"],
  [style*="grid-template-columns:repeat(6"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Subscription plan comparison becomes scrollable */
  [style*="grid-template-columns: 1.4fr"],
  [style*="grid-template-columns:1.4fr"] {
    grid-template-columns: 0.6fr 1fr 1fr 1fr !important;
    font-size: 11px !important;
    overflow-x: auto;
  }
}


/* --- Override Ecomus theme red on checkboxes & radios --- */

.tf-check:checked {
  border-color: var(--att-ink);
  background-color: var(--att-ink);
}

.tf-page-cart-checkout .cart-checkbox .tf-check:checked {
  border-color: var(--att-ink);
  background-color: var(--att-ink);
}

.tf-cart-checkbox .tf-checkbox-wrapp input:checked + div {
  background-color: var(--att-ink);
}

.tf-bundle-check input:checked + label {
  background-color: var(--att-ink);
  border-color: var(--att-ink);
}

.button-style-arrow:hover {
  background-color: var(--att-ink);
}

/* Swiper 12: nav arrows are an injected SVG (.swiper-navigation-icon) instead of the
   old swiper-icons font glyph, so carry the theme's ::after colour/size over to it. */
.button-style-arrow {
  color: var(--main);
}
.button-style-arrow:hover {
  color: var(--white);
}
.button-style-arrow .swiper-navigation-icon {
  width: auto;
  height: 11px;
  transition: all 0.3s ease;
}


/* --- Legal documents (Terms, Privacy, Seller Terms) --- */

.att-redesign .att-legal {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 40px;
  font-family: var(--att-font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--att-text-body);
  counter-reset: att-legal-section;
}

.att-redesign .att-legal__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-bottom: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--att-border);
}

.att-redesign .att-legal__updated {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--att-text-muted-2);
}

.att-redesign .att-legal__intro {
  margin: 0 0 32px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--att-text-secondary);
  background: var(--att-bg-warm);
  border-left: 3px solid var(--att-gold);
  border-radius: var(--att-radius-sm);
}

.att-redesign .att-legal h2 {
  font-family: var(--att-font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--att-ink);
}

.att-redesign .att-legal h3 {
  font-family: var(--att-font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  margin: 36px 0 10px;
  color: var(--att-ink);
  counter-increment: att-legal-section;
}

.att-redesign .att-legal h3::before {
  content: counter(att-legal-section) ". ";
  color: var(--att-gold);
  font-variant-numeric: tabular-nums;
}

.att-redesign .att-legal h3:target {
  scroll-margin-top: 120px;
}

.att-redesign .att-legal p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--att-text-body);
}

.att-redesign .att-legal p:last-child {
  margin-bottom: 0;
}

.att-redesign .att-legal ul,
.att-redesign .att-legal ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.att-redesign .att-legal li {
  margin-bottom: 6px;
}

.att-redesign .att-legal strong {
  font-weight: 600;
  color: var(--att-ink);
}

.att-redesign .att-legal a {
  color: var(--att-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--att-gold);
}

.att-redesign .att-legal a:hover {
  color: var(--att-gold-dark);
}

@media (max-width: 767px) {
  .att-redesign .att-legal {
    font-size: 14px;
  }
  .att-redesign .att-legal h2 {
    font-size: 24px;
  }
  .att-redesign .att-legal h3 {
    font-size: 16px;
    margin-top: 28px;
  }
}

/* Legal documents: markup that arrives inside localized resource strings */

.att-redesign .att-legal .pull-right {
  float: none;
}

.att-redesign .att-legal > h2.title {
  margin-bottom: 8px;
}

.att-redesign .att-legal h5 {
  margin: 0 0 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--att-border);
  font-family: var(--att-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--att-text-muted-2);
}

.att-redesign .att-legal h6 {
  font-family: var(--att-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin: 20px 0 6px;
  color: var(--att-ink);
}

.att-redesign .att-legal small,
.att-redesign .att-legal .small {
  font-size: 13px;
  line-height: 1.6;
  color: var(--att-text-secondary);
}

.att-redesign .att-legal ul[style] {
  font-size: inherit !important;
}

.att-redesign .att-legal table {
  width: 100%;
  margin: 16px 0 24px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.att-redesign .att-legal table td,
.att-redesign .att-legal table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--att-border);
  text-align: left;
  vertical-align: top;
}

.att-redesign .att-legal table thead td,
.att-redesign .att-legal table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--att-text-muted);
  border-bottom: 1px solid var(--att-border-divider);
}

.att-redesign .att-legal table tbody tr:nth-child(even) td {
  background: var(--att-bg-warm);
}

.att-redesign .att-legal__actions {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 767px) {
  .att-redesign .att-legal table {
    display: block;
    overflow-x: auto;
    font-size: 13px;
  }
}
