/* =====================================================================
   Скин «Гостиный двор» — dutyfreerussia.ru «Дьюти Фри Россия»
   Классический универмаг: симметричная вывеска (разделы по обе стороны от герба),
   парадный зал в двойной раме с медальонами, залы в рамах, каталог-таблица,
   римские цифры, триколор. Forum (капитель) + PT Sans.
   Цвета: полуночный синий, серебро, красный акцент.
   ===================================================================== */
:root {
    --bg: #F6F8FB;          --bg-rgb: 246, 248, 251;
    --surface: #ECF0F5;     --surface-2: #E1E7EF;
    --ink: #0E1A30;         --ink-rgb: 14, 26, 48;
    --ink-2: #45526A;       --muted: #7D889C;
    --line: rgba(14, 26, 48, .14);
    --line-strong: rgba(14, 26, 48, .36);
    --accent: #2B4C7E;
    --navy: #0E1A30;
    --silver: #C9D3E3;
    --ru-red: #C8102E;
    --ru-blue: #1C3F94;
    --sale: #C8102E;
    --radius: 0px;
    --badge-bg: var(--navy);

    --f-display: "Forum", "Trajan Pro", Georgia, serif;
    --f-ui: "PT Sans", "Helvetica Neue", Arial, sans-serif;
    --f-logo: "Forum", Georgia, serif;
    --w-thin: 400;
    --w-ui: 400;
    --w-strong: 700;
    --w-bold: 700;
    --header-h: 76px;
}
body { font-size: 16px; }
::selection { background: var(--silver); color: var(--navy); }

/* ---------- типографика: капитель Forum ---------- */
.display { font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.display em { font-style: normal; color: var(--accent); }
.eyebrow { font-family: var(--f-display); font-weight: 400; font-size: 13px; letter-spacing: .3em; color: var(--accent); }
.gd-title { display: flex; align-items: center; gap: 22px; margin: 0 0 40px; font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 3vw, 42px); letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.gd-title::before, .gd-title::after { content: ""; flex: 1; height: 5px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.gd-title span { position: relative; padding: 0 30px; }
.gd-title span::before, .gd-title span::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; background: var(--ru-red); transform: translateY(-50%) rotate(45deg); }
.gd-title span::before { left: 0; }
.gd-title span::after { right: 0; }
.gd-orn { display: flex; align-items: center; justify-content: center; gap: 14px; font-family: var(--f-display); font-size: 14px; letter-spacing: .3em; text-transform: uppercase; color: var(--silver); }
.gd-orn::before, .gd-orn::after { content: ""; width: 6px; height: 6px; border: 1px solid currentColor; transform: rotate(45deg); }
.gd-orn--dark { color: var(--accent); margin-bottom: 12px; }

/* ---------- кнопки ---------- */
.btn { font-family: var(--f-display); font-weight: 400; font-size: 15px; letter-spacing: .2em; min-height: 52px; }
.btn--ghost { border-color: currentColor; }
.btn--light { background: var(--silver); border-color: var(--silver); color: var(--navy); }
.btn--light:hover { background: transparent; color: var(--silver); }

/* ---------- вывеска ---------- */
.gd-head { position: sticky; top: 0; z-index: 40; background: var(--navy); color: #EEF2F8; transition: box-shadow .3s; }
.gd-head.is-scrolled { box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .55); }
.gd-head__stripe { height: 4px; background: linear-gradient(90deg, #F4F6FA 0 33.33%, var(--ru-blue) 33.33% 66.66%, var(--ru-red) 66.66%); }
.gd-head__grid {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 32px;
    grid-template-areas: "phone ann act" "navl logo navr";
}
.gd-head__burger { display: none; grid-area: burger; color: #EEF2F8; }
.gd-head__phone { grid-area: phone; display: flex; gap: 16px; align-items: center; min-height: 40px; font-size: 13px; color: rgba(238, 242, 248, .7); }
.gd-head__phone a { color: #EEF2F8; font-weight: 700; }
.gd-head__announce { grid-area: ann; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(238, 242, 248, .7); text-align: center; }
.gd-head__announce b { color: var(--silver); font-weight: 700; }
.gd-head__actions { grid-area: act; display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.gd-head .icon-btn { color: #EEF2F8; }
.gd-head .icon-btn__count { background: var(--ru-red); color: #fff; }
.gd-head__nav { padding: 6px 0 12px; border-top: 1px solid rgba(238, 242, 248, .14); align-self: stretch; display: flex; align-items: center; }
.gd-head__nav--l { grid-area: navl; justify-content: flex-end; }
.gd-head__nav--r { grid-area: navr; justify-content: flex-start; }
.gd-head__nav .nav__list { display: flex; flex-wrap: wrap; gap: 0 34px; list-style: none; }
.gd-head__nav--l .nav__list { justify-content: flex-end; }
.gd-head .nav__link { height: 52px; font-family: var(--f-display); font-weight: 400; font-size: 16px; letter-spacing: .2em; color: #EEF2F8; }
.gd-head .nav__link::after { background: var(--ru-red); bottom: 12px; }
.gd-head .flyout { background: #fff; color: var(--ink); top: 100%; }
.gd-head .flyout a { color: var(--ink-2); }
.gd-emblem { grid-area: logo; display: flex; flex-direction: column; align-items: center; padding: 8px 26px 12px; margin-top: -2px; border-left: 1px solid rgba(238, 242, 248, .2); border-right: 1px solid rgba(238, 242, 248, .2); color: #EEF2F8; text-align: center; line-height: 1; }
.gd-emblem__word { font-family: var(--f-display); font-size: 30px; letter-spacing: .26em; margin-right: -.26em; white-space: nowrap; }
.gd-emblem__sub { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-family: var(--f-display); font-size: 12px; letter-spacing: .5em; margin-right: -.5em; color: var(--silver); }
.gd-emblem__sub::before, .gd-emblem__sub::after { content: ""; width: 22px; height: 1px; background: currentColor; }
.gd-head--order .gd-head__grid { grid-template-areas: "phone logo act"; }
.gd-head--order .gd-emblem { border: 0; padding: 14px 0; }
@media (max-width: 1023px) {
    .gd-head__grid { grid-template-columns: auto 1fr auto; grid-template-areas: "burger logo act"; column-gap: 12px; }
    .gd-head__burger { display: inline-flex; }
    .gd-head__phone, .gd-head__announce, .gd-head__nav { display: none; }
    .gd-emblem { border: 0; padding: 12px 0; }
    .gd-emblem__word { font-size: 19px; letter-spacing: .18em; margin-right: -.18em; }
    .gd-emblem__sub { font-size: 9px; margin-top: 5px; }
    .gd-head__actions { gap: 12px; }
}
@media (max-width: 380px) { .gd-emblem__word { font-size: 16px; } .gd-emblem__sub::before, .gd-emblem__sub::after { width: 12px; } }

/* ---------- парадный зал ---------- */
.gd-hero { padding: 40px 0 72px; background: var(--navy); color: #EEF2F8; }
.gd-hero__frame {
    position: relative; padding: 64px 48px 56px; text-align: center;
    border: 1px solid rgba(201, 211, 227, .4); outline: 1px solid rgba(201, 211, 227, .2); outline-offset: 8px;
}
.gd-hero__frame::before, .gd-hero__frame::after { content: ""; position: absolute; top: -6px; width: 11px; height: 11px; background: var(--ru-red); transform: rotate(45deg); }
.gd-hero__frame::before { left: calc(50% - 6px); }
.gd-hero__frame::after { top: auto; bottom: -6px; left: calc(50% - 6px); }
.gd-hero__title { max-width: 980px; margin: 22px auto 18px; font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 5.4vw, 80px); line-height: 1.05; letter-spacing: .06em; text-transform: uppercase; }
.gd-hero__lead { max-width: 620px; margin: 0 auto 30px; font-size: 17px; color: rgba(238, 242, 248, .78); }
.gd-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.gd-hero .btn { background: var(--silver); border-color: var(--silver); color: var(--navy); }
.gd-hero .btn:hover { background: transparent; color: var(--silver); }
.gd-hero .btn--ghost { background: transparent; color: #EEF2F8; border-color: rgba(238, 242, 248, .5); }
.gd-hero .btn--ghost:hover { border-color: #EEF2F8; color: #EEF2F8; }
.gd-medals { list-style: none; display: flex; justify-content: center; gap: clamp(16px, 4vw, 64px); margin: 56px 0 0; }
.gd-medals li { flex: 0 1 240px; }
.gd-medal { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gd-medal__img {
    position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #F1F4F8;
    box-shadow: 0 0 0 6px var(--navy), 0 0 0 7px rgba(201, 211, 227, .6), 0 0 0 14px var(--navy), 0 0 0 15px rgba(201, 211, 227, .25);
    transition: transform .4s var(--ease);
}
.gd-medal__img img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; mix-blend-mode: multiply; }
.gd-medals li:nth-child(2) .gd-medal__img { transform: translateY(-18px) scale(1.08); }
.gd-medal:hover .gd-medal__img { transform: translateY(-6px); }
.gd-medals li:nth-child(2) .gd-medal:hover .gd-medal__img { transform: translateY(-24px) scale(1.08); }
.gd-medal__brand { margin-top: 18px; font-family: var(--f-display); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; }
.gd-medal__price { font-size: 14px; color: var(--silver); }
.gd-hero__facts { display: flex; justify-content: center; gap: 0; margin-top: 48px; border-top: 1px solid rgba(201, 211, 227, .25); }
.gd-hero__facts div { padding: 22px 40px 0; }
.gd-hero__facts div + div { border-left: 1px solid rgba(201, 211, 227, .25); }
.gd-hero__facts b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 24px; letter-spacing: .08em; text-transform: uppercase; color: var(--silver); }
.gd-hero__facts span { font-size: 13px; color: rgba(238, 242, 248, .7); }
@media (max-width: 760px) {
    .gd-hero { padding: 16px 0 48px; }
    .gd-hero__frame { padding: 40px 18px 36px; outline-offset: 5px; }
    .gd-medals { gap: 14px; margin-top: 40px; }
    .gd-medals li:nth-child(2) .gd-medal__img { transform: translateY(-10px) scale(1.06); }
    .gd-medal__brand { font-size: 11px; letter-spacing: .1em; margin-top: 12px; }
    .gd-medal__price { font-size: 12px; }
    .gd-hero__facts { flex-direction: column; }
    .gd-hero__facts div, .gd-hero__facts div + div { padding: 16px 0 0; border-left: 0; }
}

/* ---------- залы ---------- */
.gd-section { padding: 80px 0; }
.gd-section--alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gd-section--tight { padding: 24px 0 72px; }
.gd-halls { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.gd-hall { display: block; text-align: center; }
.gd-hall__img { position: relative; display: block; aspect-ratio: 1; background: #fff; border: 1px solid var(--line-strong); outline: 1px solid var(--line); outline-offset: -8px; }
.gd-hall__img::before, .gd-hall__img::after { content: ""; position: absolute; width: 8px; height: 8px; border: 1px solid var(--accent); background: var(--bg); transform: rotate(45deg); z-index: 1; }
.gd-hall__img::before { top: -5px; left: calc(50% - 4px); }
.gd-hall__img::after { bottom: -5px; left: calc(50% - 4px); }
.gd-hall__img img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.gd-hall:hover .gd-hall__img img { transform: scale(1.06); }
.gd-hall__name { display: block; margin-top: 16px; font-family: var(--f-display); font-size: 17px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 1100px) { .gd-halls { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
    .gd-section { padding: 56px 0; }
    .gd-halls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
    .gd-hall__name { font-size: 13px; letter-spacing: .08em; }
    .gd-title { font-size: 22px; gap: 10px; letter-spacing: .08em; }
    .gd-title span { padding: 0 18px; }
}

/* ---------- вкладки ---------- */
.gd-tabs { justify-content: center; margin: -16px 0 32px; gap: 8px 28px; }
.gd-tabs .tabs__btn { font-family: var(--f-display); font-weight: 400; font-size: 15px; letter-spacing: .2em; }
.gd-tabs .tabs__btn[aria-selected="true"] { color: var(--ru-red); border-color: var(--ru-red); }

/* ---------- каталог-таблица ---------- */
.grid { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid > .gdcard { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 18px 22px; background: #fff; }
.gdcard { text-align: center; }
.gdcard .card__media { background: transparent; }
.gdcard .card__body { align-items: center; gap: 4px; padding-top: 12px; }
.gdcard .card__brand { font-family: var(--f-display); font-weight: 400; font-size: 14px; letter-spacing: .22em; color: var(--accent); }
.gdcard .card__name { font-family: var(--f-ui); font-weight: 700; font-size: 16px; line-height: 1.3; }
.gdcard .card__meta { font-size: 13px; }
.gdcard .card__price { justify-content: center; padding-top: 10px; }
.gdcard .card__price .price { font-family: var(--f-display); font-weight: 400; font-size: 24px; letter-spacing: .02em; color: var(--navy); }
.gdcard .card__rating { justify-content: center; }
.gdcard form { width: 100%; margin-top: 12px; }
.gdcard__buy, .gdcard__buy.is-added {
    width: 100%; height: 44px; background: transparent; color: var(--navy); border: 1px solid var(--navy); border-radius: 0 !important;
    font-family: var(--f-display); font-weight: 400; font-size: 14px; letter-spacing: .2em;
}
.gdcard__buy:hover, .gdcard__buy.is-added { background: var(--navy); color: #fff; }
.gdcard .card__badges { top: 4px; left: 4px; }
.gdcard .card__fav { top: 0; right: 0; }
.badge { background: var(--badge-bg); color: #fff; font-family: var(--f-display); font-weight: 400; letter-spacing: .16em; }
.badge--sale { background: var(--ru-red); color: #fff; padding: 5px 9px 4px; }
@media (hover: none), (max-width: 760px) {
    .grid > .gdcard { padding: 10px 8px 14px; }
    .gdcard__buy { width: 100%; height: 38px; border-radius: 0 !important; background: transparent; color: var(--navy); border: 1px solid var(--navy); font-size: 12px; letter-spacing: .12em; }
    .gdcard__buy span { display: inline !important; }
    .gdcard .card__name { font-size: 14px; }
    .gdcard .card__price .price { font-size: 19px; }
}

/* ---------- о тестерах ---------- */
.gd-story { padding: 88px 0; background: var(--navy); color: #EEF2F8; }
.gd-story__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 56px; align-items: center; }
.gd-story__left { text-align: center; }
.gd-story__left .gd-orn { margin-bottom: 18px; }
.gd-story__quote { margin: 0 0 30px; font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.3; letter-spacing: .03em; }
.gd-story__axis { align-self: stretch; width: 1px; background: rgba(201, 211, 227, .3); position: relative; }
.gd-story__axis::before { content: ""; position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; background: var(--ru-red); transform: translateY(-50%) rotate(45deg); }
.gd-story__list { list-style: none; display: grid; gap: 26px; }
.gd-story__list li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: start; }
.gd-story__num { font-family: var(--f-display); font-size: 36px; line-height: 1; color: var(--silver); }
.gd-story__list b { display: block; margin-bottom: 4px; font-size: 17px; }
.gd-story__list p { margin: 0; font-size: 15px; color: rgba(238, 242, 248, .72); }
@media (max-width: 960px) { .gd-story__grid { grid-template-columns: 1fr; gap: 36px; } .gd-story__axis { display: none; } }

/* ---------- преимущества с римскими цифрами ---------- */
.gd-perks { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.gd-perks li { padding: 8px 24px; }
.gd-perks li + li { border-left: 1px solid var(--line); }
.gd-perks__num { display: block; font-family: var(--f-display); font-size: 44px; line-height: 1; color: var(--ru-red); }
.gd-perks b { display: block; margin: 14px 0 6px; font-family: var(--f-display); font-weight: 400; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; }
.gd-perks p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 960px) { .gd-perks { grid-template-columns: 1fr 1fr; gap: 28px 0; } .gd-perks li:nth-child(3) { border-left: 0; } }

/* ---------- дома ---------- */
.gd-brands { margin: 0; text-align: center; font-family: var(--f-display); font-size: clamp(18px, 2vw, 26px); line-height: 1.9; letter-spacing: .12em; text-transform: uppercase; }
.gd-brands a { color: var(--ink-2); }
.gd-brands a:hover { color: var(--ru-red); }
.gd-brands a:not(:last-child)::after { content: "◆"; margin: 0 .7em; font-size: .4em; vertical-align: .35em; color: var(--silver); }

/* ---------- подвал ---------- */
.gd-foot { background: var(--navy); color: #EEF2F8; }
.gd-foot--order { margin-top: 48px; }
.gd-foot__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; padding-top: 72px; padding-bottom: 40px; text-align: center; }
.gd-emblem--foot { border: 0; padding: 0; }
.gd-foot__about { max-width: 560px; margin: 0; font-size: 14px; color: rgba(238, 242, 248, .7); }
.gd-foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding: 20px 0; border-top: 1px solid rgba(238, 242, 248, .14); border-bottom: 1px solid rgba(238, 242, 248, .14); font-family: var(--f-display); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.gd-foot__nav a:hover { color: var(--silver); }
.gd-foot__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 14px; color: rgba(238, 242, 248, .75); }
.gd-foot__phone { font-family: var(--f-display); font-size: 24px; letter-spacing: .06em; color: #EEF2F8; }
.gd-foot__contacts a:hover { color: var(--silver); }
.gd-foot__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(238, 242, 248, .14); font-size: 12px; color: rgba(238, 242, 248, .55); }
.seo-text { margin-bottom: 40px; }

/* ---------- каталог и товар ---------- */
.category__title, .pdp__name { text-transform: uppercase; letter-spacing: .06em; font-weight: 400; }
.category__head { justify-content: center; text-align: center; }
.buy__current { font-family: var(--f-display); font-weight: 400; color: var(--navy); }
.gallery__main { background: #fff; border: 1px solid var(--line); }
.drawer__group summary, .drawer__link { font-family: var(--f-display); letter-spacing: .08em; text-transform: uppercase; font-size: 20px; }
