/* Hot Deals (product + free gift) and Co-ord Sets — home sections and their pages. */

/* ---------- Hot Deals: dark band, "product + gift = price" cards ---------- */
.deals { padding-block: clamp(56px, 7vw, 104px); background: #141414; color: #fff; }
.deals .sec-head .eyebrow { color: #e3b778; }
.deals .sec-head a { color: #fff; }
.deals__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.deals__grid[data-count="1"] { grid-template-columns: minmax(0, 560px); }
.deals__grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.deal { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #1e1e1e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.deal:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(227, 183, 120, .35), 0 18px 40px rgba(0, 0, 0, .35); }
.deal__visual { position: relative; display: flex; align-items: center; gap: 10px; padding: 16px; background: radial-gradient(120% 90% at 50% 0%, #f6f1ea 0%, #e9e1d6 100%); }
.deal__item { position: relative; flex: 1; min-width: 0; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(20, 20, 20, .12); }
.deal__item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s var(--ease); }
.deal:hover .deal__item img { transform: scale(1.04); }
.deal:not(.deal--gift) .deal__item { aspect-ratio: 5 / 4; }
.deal__item--gift { flex: 0 0 38%; background: #fffaf2; }
.deal__giftbox { display: grid; place-items: center; width: 100%; height: 100%; color: #9a6b3f; }
.deal__op { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #141414; color: #fff; font-size: 20px; font-weight: 300; line-height: 1; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.deal__tag { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 999px; background: rgba(20, 20, 20, .86); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.deal__tag--free { background: #e3b778; color: #141414; letter-spacing: .12em; }
.deal__sold { position: absolute; top: 14px; right: 14px; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.deal.is-soldout .deal__visual { filter: grayscale(.6); opacity: .8; }

.deal__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 20px 22px; }
.deal__name { font-size: 16px; font-weight: 500; line-height: 1.35; }
.deal__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.deal__gift { font-size: 14px; color: #e3b778; font-weight: 500; }
.deal__gift span { color: rgba(255, 255, 255, .6); font-weight: 400; }
.deal__eq { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 4px; font-size: 15px; color: rgba(255, 255, 255, .72); }
.deal__eq i { font-style: normal; color: rgba(255, 255, 255, .4); }
.deal__eq strong { font-size: clamp(26px, 2.4vw, 32px); font-weight: 700; color: #fff; letter-spacing: -.02em; }
.deal__eq--plain del { color: rgba(255, 255, 255, .45); }
.deal__off { padding: 2px 8px; border-radius: 999px; background: #e3b778; color: #141414; font-size: 12px; font-weight: 700; }
.deal__value { font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.deal__value del { color: rgba(255, 255, 255, .55); }
.deal__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px 20px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: gap .3s var(--ease), background .2s; }
.deal__body > .deal__cta { margin-top: 14px; }
.deal__cta:hover { gap: 14px; background: #e3b778; }

/* ---------- Co-ord Sets: editorial split on a warm ground ---------- */
.coords { padding-block: clamp(56px, 7vw, 112px); background: #f3eee7; }
.coords__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; gap: clamp(28px, 5vw, 80px); }
.coords__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.coords__eyebrow { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #9a6b3f; }
.coords__title { font-size: clamp(36px, 4.4vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.coords__text { max-width: 34ch; margin: 18px 0 28px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }

.coords__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.coords__grid[data-count="1"] { grid-template-columns: minmax(0, 520px); }
/* Three sets: one hero card, two stacked beside it */
.coords__grid[data-count="3"], .coords__grid[data-count="4"] { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.coords__grid[data-count="3"] > .coord:first-child { grid-row: span 2; }
.coords__grid[data-count="4"] > .coord:first-child { grid-row: span 3; }
:is(.coords__grid[data-count="3"], .coords__grid[data-count="4"]) > .coord:not(:first-child) { flex-direction: row; }
:is(.coords__grid[data-count="3"], .coords__grid[data-count="4"]) > .coord:not(:first-child) .coord__media { flex: 0 0 46%; aspect-ratio: 4 / 5; }
:is(.coords__grid[data-count="3"], .coords__grid[data-count="4"]) > .coord:not(:first-child) .coord__body { padding: 18px; }
:is(.coords__grid[data-count="3"], .coords__grid[data-count="4"]) > .coord:first-child .coord__media { flex: 1; aspect-ratio: auto; min-height: 420px; }

.coord { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(20, 20, 20, .04); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.coord:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(60, 40, 20, .12); }
.coord__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #ece6dd; }
.coord__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.coord__img--alt { opacity: 0; }
.coord:hover .coord__img--alt { opacity: 1; }
.coord:hover .coord__img { transform: scale(1.03); }
.coord__badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.coord__off { position: absolute; top: 14px; right: 14px; padding: 6px 10px; border-radius: 999px; background: var(--sale); color: #fff; font-size: 12px; font-weight: 700; }
.coord.is-soldout .coord__media { filter: grayscale(.5); }

.coord__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 22px; }
.coord__name { font-size: 16px; font-weight: 500; line-height: 1.35; }
.coord__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.coord__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 18px; font-weight: 600; }
.coord__price ins { text-decoration: none; }
.coord__price del { font-size: 14px; font-weight: 400; color: var(--mute); }
.coord__price small { font-size: 12px; font-weight: 400; color: var(--mute); }
.coord__sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.coord__sizes li { min-width: 34px; padding: 5px 8px; border: 1px solid #ddd5ca; border-radius: 8px; font-size: 12px; font-weight: 500; text-align: center; }
.coord__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; transition: gap .3s var(--ease); }
.coord__cta:hover { gap: 12px; }

/* ---------- Dedicated pages ---------- */
.deals--page, .coords--page { padding-top: clamp(28px, 4vw, 48px); }
.picks__crumbs { margin-bottom: 18px; font-size: 12.5px; color: var(--mute); }
.deals .picks__crumbs { color: rgba(255, 255, 255, .55); }
.picks__crumbs a:hover { text-decoration: underline; }
.picks__title { font-size: clamp(36px, 4.4vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.picks__intro { max-width: 60ch; margin: 14px 0 clamp(28px, 4vw, 44px); font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .7); }
.picks__empty { padding: 40px 0; font-size: 16px; opacity: .7; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 1023px) {
    .deals__grid[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .coords__inner { grid-template-columns: minmax(0, 1fr); }
    .coords__intro { position: static; }
    .coords__text { margin-bottom: 20px; }
}
@media (max-width: 767px) {
    /* Swipeable rows of full cards */
    .deals__grid, .coords__grid,
    .deals__grid[data-count], .coords__grid[data-count] {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    }
    .deals__grid::-webkit-scrollbar, .coords__grid::-webkit-scrollbar { display: none; }
    .deal, .coord { flex: 0 0 min(84vw, 360px); scroll-snap-align: start; }
    .deals__grid[data-count="1"] > .deal, .coords__grid[data-count="1"] > .coord { flex-basis: 100%; }
    :is(.coords__grid[data-count="3"], .coords__grid[data-count="4"]) > .coord:not(:first-child) { flex-direction: column; }
    :is(.coords__grid[data-count="3"], .coords__grid[data-count="4"]) > .coord .coord__media { flex: none; aspect-ratio: 4 / 5; min-height: 0; }
    .deal__body { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .deal, .coord, .deal__item img, .coord__img { transition: none; }
}

/* Surprise gift box */
.deal__item--gift { background: linear-gradient(160deg, #2a2420 0%, #141414 100%); }
.deal__giftbox { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px; text-align: center; color: #e3b778; }
.deal__giftbox svg { width: clamp(48px, 5vw, 72px); height: auto; animation: deal-gift 3.2s var(--ease) infinite; }
.deal__giftq { position: absolute; top: 14%; right: 18%; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e3b778; color: #141414; font-size: 15px; font-weight: 700; }
.deal__giftlabel { margin-top: 4px; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.deal__giftworth { color: rgba(255, 255, 255, .65); font-size: 12px; }
.deal__free { font-style: normal; color: #e3b778; font-weight: 600; }
@keyframes deal-gift { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .deal__giftbox svg { animation: none; } }
@media (max-width: 767px) {
    .deal__giftbox { gap: 4px; padding: 10px 6px 34px; }
    .deal__giftbox svg { width: 40px; }
    .deal__giftq { top: 12%; right: 12%; width: 20px; height: 20px; font-size: 12px; }
    .deal__giftlabel { font-size: 10.5px; letter-spacing: .06em; }
    .deal__giftworth { display: none; } /* already in the text below the photos */
}
