/* ---- announcement bar ---- */
.announce { background: var(--yellow); color: var(--black); height: 34px; overflow: hidden; display: flex; align-items: center; font-weight: 700; font-size: 13px; }
.announce__track { display: flex; gap: 26px; align-items: center; white-space: nowrap; animation: marquee 38s linear infinite; padding-inline-start: 26px; }
.announce__track i { font-style: normal; font-size: 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(33.333%); } }

/* ---- header ---- */
.header { position: sticky; top: 0; z-index: var(--z-header); background: var(--black); color: var(--white); transition: box-shadow var(--t); }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.header__inner { max-width: var(--container); margin-inline: auto; padding-inline: calc(var(--gutter) - 8px); height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header__start, .header__end { display: flex; align-items: center; gap: 4px; }
.header__brand { padding: 6px 8px; }
.header__nav { display: flex; gap: 4px; height: 100%; }
.header__nav a { display: flex; align-items: center; padding: 0 16px; font-weight: 700; font-size: 15px; position: relative; color: rgba(255,255,255,.82); transition: color var(--t-fast); }
.header__nav a::after { content: ""; position: absolute; inset-inline: 16px; bottom: 0; height: 4px; background: var(--yellow); transform: scaleX(0); transition: transform var(--t) var(--ease); }
.header__nav a:hover, .header__nav a.is-current { color: var(--white); }
.header__nav a:hover::after, .header__nav a.is-current::after { transform: scaleX(1); }
.icon-btn--cart .cart-count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 19px; height: 19px; padding: 0 5px; background: var(--yellow); color: var(--black); font-size: 11px; font-weight: 900; border-radius: 99px; display: grid; place-items: center; }
.icon-btn--cart .cart-count[hidden] { display: none; }
@media (max-width: 900px) { .header__nav { display: none; } .header__inner { height: 60px; } }
@media (max-width: 420px) { .header .brand { font-size: 25px; } .header__end .icon-btn[data-open="account"] { display: none; } }

/* ---- layers ---- */
.scrim { position: fixed; inset: 0; background: rgba(10,10,10,.6); backdrop-filter: blur(2px); z-index: calc(var(--z-layer) - 1); opacity: 0; pointer-events: none; transition: opacity var(--t); }
.scrim.is-open { opacity: 1; pointer-events: auto; }

.drawer { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: min(440px, 92vw); background: var(--black); color: var(--white); z-index: var(--z-layer); transform: translateX(100%); visibility: hidden; transition: transform .42s var(--ease), visibility 0s .42s; display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open { transform: none; visibility: visible; transition: transform .42s var(--ease); }
.drawer--account { inset-inline-start: auto; inset-inline-end: 0; transform: translateX(-100%); background: var(--white); color: var(--black); }
.drawer--account.is-open { transform: none; }
.drawer--account .icon-btn:hover { background: var(--gray-100); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer--account .drawer__head { border-color: var(--gray-200); font-size: 20px; }
.drawer__body { padding: 20px; display: grid; gap: 16px; }
.drawer__nav { padding: 10px 0; flex: 1; }
.nav-cat { border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-cat__link { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 22px 24px; position: relative; overflow: hidden; transition: background var(--t); }
.nav-cat__link::before { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); z-index: 0; }
.nav-cat__link > * { position: relative; z-index: 1; }
.nav-cat__link:hover::before { transform: scaleX(1); }
.nav-cat__link:hover { color: var(--black); }
.nav-cat__num { grid-row: 1 / 3; font-family: var(--f-display); font-size: 22px; color: var(--yellow); align-self: center; }
.nav-cat__link:hover .nav-cat__num { color: var(--black); }
.nav-cat__he { font-family: var(--f-display-he); font-weight: 700; font-size: 46px; line-height: .9; }
.nav-cat__en { font-family: var(--f-display); font-size: 15px; letter-spacing: .2em; opacity: .55; }
.nav-sub { padding: 0 24px 18px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-inline-start: 62px; }
.nav-sub a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.14); transition: all var(--t-fast); }
.nav-sub a:hover { border-color: var(--yellow); background: rgba(245,196,0,.08); }
.nav-sub bdi { font-family: var(--f-display); font-size: 19px; letter-spacing: .04em; }
.nav-sub small { font-size: 12px; opacity: .6; display: block; }
.nav-sub a > span { display: flex; flex-direction: column; }
.drawer__foot { display: flex; gap: 18px; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; opacity: .8; flex-wrap: wrap; }
.drawer__foot a:hover { color: var(--yellow); }

/* ---- search ---- */
.search { position: fixed; inset: 0 0 auto 0; z-index: var(--z-layer); transform: translateY(-105%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
.search.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
.search__panel { background: var(--white); box-shadow: var(--shadow-2); max-height: 88vh; overflow-y: auto; padding-bottom: 20px; }
.search__bar { display: flex; align-items: center; gap: 12px; max-width: 900px; margin: 0 auto; padding: 18px var(--gutter); border-bottom: 3px solid var(--yellow); }
.search__bar input { flex: 1; border: 0; font-size: 22px; font-weight: 600; padding: 10px 0; outline: none; background: none; }
.search__bar .icon-btn:hover { background: var(--gray-100); }
.search__quick { max-width: 900px; margin: 16px auto 0; padding-inline: var(--gutter); display: flex; flex-wrap: wrap; gap: 8px; }
.search__results { max-width: 900px; margin: 16px auto 0; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.search-hit { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--gray-200); transition: border-color var(--t-fast), background var(--t-fast); }
.search-hit:hover { border-color: var(--black); background: var(--gray-100); }
.search-hit .shirt-media { background: var(--gray-100); }
.search-hit span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search-hit small { color: var(--gray-600); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search__empty { grid-column: 1 / -1; color: var(--gray-600); padding: 10px 0; }

/* ---- toast ---- */
.toast { position: fixed; z-index: calc(var(--z-layer) + 5); bottom: 20px; inset-inline-end: 20px; width: min(420px, calc(100vw - 24px)); background: var(--black); color: var(--white); display: grid; grid-template-columns: 76px 1fr; gap: 6px 14px; padding: 14px; box-shadow: var(--shadow-2); border-top: 4px solid var(--yellow); transform: translateY(140%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.toast.is-open { visibility: visible; transition: transform .45s var(--ease); }
.toast.is-open { transform: none; }
.toast__media { background: #2a2a2a; grid-row: 1 / 3; }
.toast__body { display: flex; flex-direction: column; font-size: 14px; }
.toast__body strong { display: flex; align-items: center; gap: 6px; color: var(--yellow); font-size: 16px; }
.toast__body .icon { width: 18px; height: 18px; }
.toast__actions { display: flex; gap: 8px; }
@media (max-width: 600px) { .toast { inset-inline: 12px; bottom: 12px; width: auto; } }

/* ---- modal ---- */
.modal { position: fixed; inset: 0; z-index: var(--z-layer); display: grid; place-items: center; padding: 16px; pointer-events: none; opacity: 0; transition: opacity var(--t); }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__box { background: var(--white); width: min(640px, 100%); max-height: 86vh; overflow-y: auto; border-top: 6px solid var(--yellow); box-shadow: var(--shadow-2); transform: translateY(16px); transition: transform var(--t) var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--gray-200); }
.modal__head h2 { font-family: var(--f-display-he); font-size: 38px; line-height: 1; }
.modal__head .icon-btn:hover { background: var(--gray-100); }
.modal__body { padding: 22px; display: grid; gap: 16px; }
.table-wrap { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.size-table th, .size-table td { padding: 10px 12px; border-bottom: 1px solid var(--gray-200); text-align: start; }
.size-table th { background: var(--black); color: var(--white); font-weight: 700; font-size: 13px; }
.size-table td:first-child { font-weight: 800; }
.tips { list-style: disc; padding-inline-start: 20px; color: var(--gray-700); font-size: 14px; display: grid; gap: 4px; }

/* ---- footer ---- */
.footer { background: var(--black); color: var(--white); margin-top: 0; position: relative; }
.footer__stripe { height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--black) 18px 36px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 56px 36px; }
.footer__col h3 { font-family: var(--f-display-he); font-size: 30px; line-height: 1; color: var(--yellow); margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; font-size: 15px; }
.footer__col a { color: rgba(255,255,255,.8); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--yellow); }
.footer__col--brand p { color: rgba(255,255,255,.65); font-size: 14px; margin: 18px 0; max-width: 36ch; }
.footer__social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__social a { border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; font-size: 13px; font-weight: 700; }
.footer__social a:hover { border-color: var(--yellow); background: var(--yellow); color: var(--black); }
.footer .ph-flag { font-size: 10px; }
.footer__notice { font-size: 12px; color: rgba(255,255,255,.5); padding-bottom: 20px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.6); align-items: center; }
.footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--yellow); }
.footer__bottom .brand { vertical-align: middle; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__col--brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

.demo-bar { background: #FFF1B8; color: #5C4800; font-size: 13px; font-weight: 700; text-align: center; padding: 6px 12px; border-bottom: 1px solid #F0D466; }
.demo-bar a { text-decoration: underline; }
.footer__staff { opacity: .55; }
