/* ZONEMODA — ZOZOTOWN-flavoured demo store for MeON marketing video.
   Mobile-first, single-page, all static. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
    color: #1a1a1a;
    background: #f7f7f8;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* ---------- Top utility bar ---------- */
.util-bar {
    background: #1a1a1a;
    color: #fff;
    font-size: 11px;
    text-align: center;
    padding: 6px 12px;
    letter-spacing: 0.02em;
}
.util-bar .sep { opacity: 0.4; margin: 0 10px; }

/* ---------- Header ---------- */
.header { background: #fff; border-bottom: 1px solid #ececec; position: sticky; top: 0; z-index: 10; }
.header__inner {
    display: flex; align-items: center; gap: 16px;
    max-width: 1280px; margin: 0 auto;
    padding: 14px 20px;
}
.logo {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 0.06em;
    color: #1a1a1a;
}
.search {
    flex: 1;
    display: flex;
    background: #f3f3f5;
    border-radius: 8px;
    overflow: hidden;
}
.search input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
}
.search__btn {
    background: transparent;
    border: 0;
    padding: 0 14px;
    font-size: 16px;
}
.header__actions { display: flex; gap: 18px; align-items: center; }
.icon {
    font-size: 12px;
    display: flex; align-items: center; gap: 4px;
    color: #555;
    position: relative;
}
.icon span { display: none; }
@media (min-width: 720px) {
    .icon span { display: inline; }
}
.icon--cart .badge {
    position: absolute; top: -6px; left: 10px;
    background: #ff3366; color: #fff;
    font-size: 9px; font-weight: 700;
    padding: 2px 5px; border-radius: 10px;
}

.cat-nav {
    display: flex; gap: 6px;
    max-width: 1280px; margin: 0 auto;
    padding: 0 20px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cat-nav__item {
    flex-shrink: 0;
    font-size: 13px; font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    color: #555;
    border: 1px solid transparent;
}
.cat-nav__item.active { color: #fff; background: #1a1a1a; }
.cat-nav__item sup { font-size: 10px; }

/* ---------- Hero ---------- */
.hero {
    max-width: 1280px; margin: 16px auto 0;
    padding: 0 20px;
}
.hero__slide {
    aspect-ratio: 16/6;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.35) 100%),
        url('https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: #fff;
    display: flex; align-items: center;
    padding: 8% 6%;
    position: relative;
}
.hero__copy { max-width: 460px; }
.hero__kicker {
    font-size: 11px; letter-spacing: 0.2em; opacity: 0.8;
    margin: 0 0 12px;
}
.hero h1 {
    font-size: clamp(22px, 4vw, 42px);
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.hero__sub {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0 0 20px;
}
.hero__cta {
    display: inline-block;
    background: #fff; color: #1a1a1a;
    font-size: 13px; font-weight: 700;
    padding: 12px 22px;
    border-radius: 999px;
}
.hero__dots {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.dot.active { background: #fff; }

/* ---------- Sub-categories ---------- */
.subcats {
    max-width: 1280px; margin: 32px auto 0;
    padding: 0 20px;
}
.section-title {
    font-size: 18px; font-weight: 700;
    margin: 0 0 16px;
}
.subcats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
@media (min-width: 720px) {
    .subcats__grid { grid-template-columns: repeat(8, 1fr); }
}
.subcat {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 18px 6px;
    background: #fff; border-radius: 12px;
    font-size: 12px; font-weight: 600;
    transition: transform 0.15s;
}
.subcat:hover { transform: translateY(-2px); }
.subcat__icon { font-size: 28px; }

/* ---------- Products ---------- */
.products {
    max-width: 1280px; margin: 40px auto 0;
    padding: 0 20px;
}
.products__header {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 16px;
}
.see-all { color: #ff3366; font-size: 13px; font-weight: 600; }
.products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 540px) {
    .products__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
    .products__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1200px) {
    .products__grid { grid-template-columns: repeat(6, 1fr); }
}

.card {
    background: transparent;
    display: block;       /* whole card behaves like a link */
    color: inherit;
    transition: transform 0.15s ease;
}
.card:hover { transform: translateY(-2px); }

.card--featured .card__media {
    box-shadow: 0 8px 24px rgba(255, 51, 102, 0.18);
    border: 2px solid #ff3366;
}
.card__tag.tag--featured {
    background: linear-gradient(135deg, #ff3366 0%, #c4267d 100%);
    color: #fff;
}
.card__media {
    aspect-ratio: 3/4;
    background: #ececec;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__fav {
    position: absolute; top: 8px; right: 8px;
    border: 0; background: rgba(255,255,255,0.85); backdrop-filter: blur(4px);
    width: 30px; height: 30px; border-radius: 50%;
    font-size: 16px; color: #ff3366;
}
.card__tag {
    position: absolute; top: 8px; left: 8px;
    background: #1a1a1a; color: #fff;
    font-size: 10px; font-weight: 800;
    letter-spacing: 0.06em;
    padding: 3px 7px; border-radius: 3px;
}
.card__tag.tag--sale { background: #ff3366; }

.card__brand {
    font-size: 11px; color: #888; margin: 8px 0 2px;
    text-transform: uppercase; letter-spacing: 0.04em;
}
.card__name {
    font-size: 12px; color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 1.4;
    overflow: hidden; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.card__price {
    font-size: 12px;
    margin: 0 0 4px;
    display: flex; align-items: baseline; gap: 6px;
    flex-wrap: wrap;
}
.card__price b { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.card__price s { color: #aaa; font-size: 11px; }
.card__price .off {
    color: #ff3366; font-weight: 700; font-size: 11px;
}
.card__meta {
    font-size: 10px; color: #999;
    margin: 0;
}

/* ---------- Brands strip ---------- */
.brands {
    max-width: 1280px; margin: 48px auto 0;
    padding: 0 20px;
}
.brands__row {
    display: flex; gap: 10px; overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.brand {
    flex-shrink: 0;
    background: #fff; border: 1px solid #ececec;
    border-radius: 10px;
    padding: 18px 22px;
    font-size: 13px; font-weight: 700;
    letter-spacing: 0.05em;
    color: #1a1a1a;
}

/* ---------- Breadcrumb ---------- */
.crumb {
    max-width: 1280px; margin: 14px auto 0;
    padding: 0 20px;
    font-size: 11px;
    color: #888;
}
.crumb a { color: #555; }
.crumb a:hover { color: #ff3366; }
.crumb span { color: #1a1a1a; }

/* ---------- Product detail ---------- */
.pd {
    max-width: 1280px; margin: 24px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 900px) {
    .pd { grid-template-columns: 1.1fr 1fr; gap: 48px; }
}

.pd__hero {
    aspect-ratio: 3/4;
    background: #ececec;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.pd__hero img { width: 100%; height: 100%; object-fit: cover; }
.pd__fav {
    position: absolute; top: 14px; right: 14px;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(4px);
    border: 0;
    width: 42px; height: 42px; border-radius: 50%;
    font-size: 22px; color: #ff3366;
}
.pd__thumbs {
    display: flex; gap: 8px;
    margin-top: 10px;
}
.pd__thumb {
    width: 64px; height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: #ececec;
}
.pd__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd__thumb--active { border-color: #1a1a1a; }

.pd__brand {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #888;
    margin: 0 0 8px;
    text-transform: uppercase;
}
.pd__name {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.4;
}
.pd__rating {
    font-size: 12px;
    color: #666;
    margin: 0 0 18px;
}
.pd__rating b { color: #1a1a1a; }

.pd__price {
    display: flex; align-items: baseline; gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 4px;
}
.pd__price-now { font-size: 28px; font-weight: 800; color: #ff3366; }
.pd__price-was { font-size: 14px; color: #aaa; }
.pd__price-off {
    background: #ff3366;
    color: #fff;
    font-size: 11px; font-weight: 700;
    padding: 3px 8px; border-radius: 4px;
}
.pd__taxnote { font-size: 11px; color: #888; margin: 0 0 24px; }

.pd__row { margin: 0 0 20px; }
.pd__label { font-size: 13px; font-weight: 700; margin: 0 0 10px; }

.pd__swatches { display: flex; gap: 10px; }
.pd__swatch {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
    padding: 0;
    cursor: pointer;
}
.pd__swatch--active { box-shadow: 0 0 0 2px #1a1a1a; }

.pd__sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.pd__size {
    min-width: 52px;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 13px; font-weight: 600;
}
.pd__size--active {
    background: #1a1a1a; color: #fff; border-color: #1a1a1a;
}
.pd__size--out {
    color: #ccc;
    text-decoration: line-through;
    cursor: not-allowed;
}
.pd__sizeguide {
    display: inline-block; margin-top: 8px;
    font-size: 11px; color: #666;
}

.pd__actions {
    display: flex; gap: 10px;
    margin: 28px 0 20px;
}
.pd__cart, .pd__buy {
    flex: 1;
    padding: 16px;
    border: 0;
    border-radius: 10px;
    font-size: 14px; font-weight: 700;
    cursor: pointer;
}
.pd__cart {
    background: #fff; color: #1a1a1a;
    border: 1px solid #1a1a1a;
}
.pd__buy {
    background: #ff3366; color: #fff;
}

.pd__benefits {
    list-style: none; padding: 16px; margin: 0;
    background: #f7f7f8;
    border-radius: 10px;
    font-size: 12px;
    color: #555;
}
.pd__benefits li {
    padding: 4px 0;
}

/* ---------- Product description ---------- */
.pd-desc {
    max-width: 1280px; margin: 48px auto 0;
    padding: 0 20px;
}
.pd-desc__body p {
    font-size: 13px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 14px;
}
.pd-desc__spec {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
    font-size: 12px;
}
.pd-desc__spec th, .pd-desc__spec td {
    text-align: left;
    padding: 12px 16px;
    border-top: 1px solid #ececec;
    vertical-align: top;
}
.pd-desc__spec th {
    width: 30%;
    color: #888;
    background: #fafafa;
}

/* ---------- Footer ---------- */
.footer {
    max-width: 1280px; margin: 64px auto 0;
    padding: 32px 20px 48px;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 1px solid #ececec;
}
.footer__col h4 { font-size: 13px; margin: 0 0 12px; }
.footer__col a {
    display: block; font-size: 12px; color: #666;
    margin-bottom: 6px;
}
.footer__copy {
    grid-column: 1 / -1;
    font-size: 10px; color: #aaa;
    margin-top: 32px; text-align: center;
}
