/* ==========================================================================
   Fashion Two — section skin ("Street Minimal")
   --------------------------------------------------------------------------
   Loaded once per request by partials/section-skin.blade.php whenever a
   fashion-two section or the fashion-two-grid card renders. Scoped under .f2.

   Shape language: heavy uppercase geometric type, 2px ink outlines with hard
   offset shadows, 12px corners, acid-lime accent on sage, bento deal grid.
   ========================================================================== */

.f2 {
    --f2-font: 'Urbanist', var(--primary-font, 'Public Sans'), sans-serif;
    --f2-sage: var(--primary-color, #434f43);
    --f2-sage-deep: color-mix(in srgb, var(--f2-sage) 82%, #0b0f0b);
    --f2-sage-soft: color-mix(in srgb, var(--f2-sage) 14%, #f3f1ec);
    --f2-ink: #0f1210;
    --f2-muted: #6a716a;
    --f2-bone: #f3f1ec;
    --f2-white: #fffefb;
    --f2-acid: #d8f26b;
    --f2-line: color-mix(in srgb, var(--f2-ink) 12%, transparent);
    --f2-radius: 12px;
    --f2-shadow-hard: 5px 5px 0 var(--f2-ink);
    --f2-ease: cubic-bezier(.2, .8, .2, 1);

    /* Shape language of this skin, but the Appearance settings win whenever an
       admin actually sets a radius (--ui-* is emitted only when configured). */
    --appearance-card-border-radius: var(--ui-card-radius, var(--f2-radius));
    --appearance-product-card-border-radius: var(--ui-product-card-radius, var(--f2-radius));
    --appearance-button-border-radius: var(--ui-button-radius, 8px);
    --appearance-input-border-radius: var(--ui-input-radius, 8px);

    position: relative;
    font-family: var(--f2-font);
    color: var(--f2-ink);
}
body[data-theme="dark"] .f2 {
    --f2-ink: #eef0ea;
    --f2-muted: #a2a99f;
    --f2-bone: #171a17;
    --f2-white: #101210;
    --f2-sage-soft: color-mix(in srgb, var(--f2-sage) 26%, #171a17);
    --f2-line: color-mix(in srgb, #ffffff 14%, transparent);
    --f2-shadow-hard: 5px 5px 0 var(--f2-acid);
}

.f2 *, .f2 *::before, .f2 *::after { box-sizing: border-box; }
.f2 a { color: inherit; text-decoration: none; }
.f2 img { max-width: 100%; }
.f2 h1, .f2 h2, .f2 h3, .f2 h4 { font-family: var(--f2-font) !important; color: inherit; margin: 0; font-weight: 800; letter-spacing: -.02em; }

/* ---- Section header --------------------------------------------------- */
.f2-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.f2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 2px solid var(--f2-ink);
    border-radius: 999px;
    background: var(--f2-acid);
    color: #0f1210;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1;
}
.f2-title {
    margin-top: 12px;
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: .96;
    text-transform: uppercase;
}
.f2-title mark {
    background: linear-gradient(transparent 55%, var(--f2-acid) 55%);
    color: inherit;
    padding: 0 .08em;
}

/* ---- Buttons ----------------------------------------------------------- */
.f2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border: 2px solid var(--f2-ink);
    border-radius: var(--appearance-button-border-radius, 8px) !important;
    background: var(--f2-ink);
    color: var(--f2-bone) !important;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .2s var(--f2-ease), box-shadow .2s var(--f2-ease), background .2s, color .2s;
}
.f2-btn:hover { transform: translate(-3px, -3px); box-shadow: var(--f2-shadow-hard); }
.f2-btn i { font-size: 12px; }
.f2-btn--ghost { background: transparent; color: var(--f2-ink) !important; }
.f2-btn--ghost:hover { background: var(--f2-white); }
.f2-btn--acid { background: var(--f2-acid); color: #0f1210 !important; }
.f2-btn--bone { background: var(--f2-bone); color: #0f1210 !important; border-color: var(--f2-bone); }
.f2-btn--bone:hover { box-shadow: 5px 5px 0 rgba(0, 0, 0, .35); }
.f2-btn--sm { padding: 10px 16px; font-size: 12px; }
body[data-theme="dark"] .f2-btn { background: var(--f2-acid); color: #0f1210 !important; border-color: var(--f2-acid); }
body[data-theme="dark"] .f2-btn--ghost { background: transparent; color: var(--f2-ink) !important; border-color: var(--f2-ink); }

/* ---- Hero -------------------------------------------------------------- */
.f2-hero { background: var(--f2-bone); overflow: hidden; }
.f2-hero .swiper { overflow: hidden; }
.f2-hero__item { position: relative; padding: 56px 0 72px; }
.f2-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.f2-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 2px solid var(--f2-ink);
    border-radius: 999px;
    background: var(--f2-white);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.f2-hero__tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--f2-acid); box-shadow: 0 0 0 2px var(--f2-ink); }
.f2-hero__title {
    font-size: clamp(46px, 7.6vw, 112px);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: .9;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.f2-hero__title mark { background: linear-gradient(transparent 58%, var(--f2-acid) 58%); color: inherit; padding: 0 .06em; }
.f2-hero__desc { max-width: 48ch; margin: 0 0 30px; font-size: 17px; font-weight: 500; line-height: 1.6; color: var(--f2-muted); }
.f2-hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.f2-hero__media { position: relative; display: flex; justify-content: center; }
.f2-hero__frame {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 4 / 5;
    border: 2px solid var(--f2-ink);
    border-radius: 24px;
    background: var(--f2-sage-soft);
    box-shadow: 10px 10px 0 var(--f2-sage);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.f2-hero__frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(var(--f2-line) 1px, transparent 1px) 0 0 / 100% 48px,
        linear-gradient(90deg, var(--f2-line) 1px, transparent 1px) 0 0 / 48px 100%;
    opacity: .6;
}
.f2-hero__frame img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; padding: 6% 4% 0; }
.f2-hero__sticker {
    position: absolute;
    top: 22px; right: -12px;
    padding: 10px 14px;
    border: 2px solid var(--f2-ink);
    border-radius: 999px;
    background: var(--f2-acid);
    color: #0f1210;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    transform: rotate(6deg);
    box-shadow: 3px 3px 0 var(--f2-ink);
    z-index: 2;
}
.f2-hero__counter {
    position: absolute;
    left: 18px; top: 18px;
    padding: 6px 10px;
    border: 2px solid var(--f2-ink);
    border-radius: 8px;
    background: var(--f2-white);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    z-index: 2;
}
.f2-hero .swiper-pagination {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    width: auto;
    z-index: 3;
}
.f2-hero .swiper-pagination-bullet {
    width: 12px; height: 12px;
    margin: 0 !important;
    border: 2px solid var(--f2-ink);
    border-radius: 3px;
    background: transparent;
    opacity: 1;
    transition: background .2s, width .2s;
}
.f2-hero .swiper-pagination-bullet-active { width: 30px; background: var(--f2-acid); }

/* ---- Deals bento (discount-banner) ------------------------------------- */
.f2-deals__grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .f2-deals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .f2-deals__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 22px; } .f2-deal--tall { grid-row: span 2; } }
.f2-deal {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 210px;
    padding: 24px;
    border: 2px solid var(--f2-ink);
    border-radius: var(--f2-radius);
    background: var(--f2-white);
    overflow: hidden;
    transition: transform .25s var(--f2-ease), box-shadow .25s var(--f2-ease);
}
.f2-deal:hover { transform: translate(-3px, -3px); box-shadow: var(--f2-shadow-hard); }
.f2-deal:nth-child(3n+1) { background: var(--f2-sage-soft); }
.f2-deal:nth-child(3n) { background: color-mix(in srgb, var(--f2-acid) 28%, var(--f2-white)); }
.f2-deal__copy { position: relative; z-index: 1; flex: 1 1 52%; min-width: 0; }
.f2-deal__badge { display: inline-block; padding: 5px 10px; border: 2px solid var(--f2-ink); border-radius: 999px; background: var(--f2-acid); color: #0f1210; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.f2-deal__title { font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 8px; }
.f2-deal__price { font-size: 14px; font-weight: 600; color: var(--f2-muted); margin: 0 0 16px; }
.f2-deal__img { flex: 1 1 44%; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; min-height: 160px; }
.f2-deal__img img { max-height: 200px; width: 100%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .18)); transition: transform .5s var(--f2-ease); }
.f2-deal:hover .f2-deal__img img { transform: translateY(-6px) rotate(-2deg); }
.f2-deal--tall { flex-direction: column; align-items: stretch; text-align: center; padding-top: 30px; }
.f2-deal--tall .f2-deal__copy { flex: 0 0 auto; }
.f2-deal--tall .f2-deal__img { flex: 1 1 auto; min-height: 260px; }
.f2-deal--tall .f2-deal__img img { max-height: 380px; }

/* ---- Product grid ------------------------------------------------------ */
.f2-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px)  { .f2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .f2-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; } }
.f2 .qv-card-wrap { height: 100%; }
.f2-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid var(--f2-ink);
    border-radius: var(--f2-radius) !important;
    background: var(--f2-white);
    overflow: hidden;
    transition: transform .25s var(--f2-ease), box-shadow .25s var(--f2-ease);
}
.f2-card:hover { transform: translate(-3px, -3px); box-shadow: var(--f2-shadow-hard); }
.f2-card__media { position: relative; aspect-ratio: 4 / 5; background: var(--f2-bone); border-bottom: 2px solid var(--f2-ink); overflow: hidden; }
.f2-card__media > a { display: block; width: 100%; height: 100%; }
.f2-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--f2-ease); }
.f2-card:hover .f2-card__media img { transform: scale(1.06); }
.f2-card__tag { position: absolute; top: 10px; left: 10px; padding: 5px 9px; border: 2px solid var(--f2-ink); border-radius: 999px; background: var(--f2-acid); color: #0f1210; font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; z-index: 2; }
.f2-card__add {
    position: absolute;
    right: 10px; bottom: 10px;
    width: 40px; height: 40px;
    border: 2px solid var(--f2-ink);
    border-radius: 10px !important;
    background: var(--f2-white);
    color: var(--f2-ink);
    display: grid; place-items: center;
    font-size: 14px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, background .2s, color .2s;
    z-index: 2;
}
.f2-card:hover .f2-card__add { opacity: 1; transform: none; }
.f2-card__add:hover { background: var(--f2-ink); color: var(--f2-acid); }
@media (hover: none) { .f2-card__add { opacity: 1; transform: none; } }
.f2-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.f2-card__name { font-size: 14.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.f2-card__price { display: flex; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 900; }
.f2-card__price del { font-size: 12.5px; font-weight: 600; color: var(--f2-muted); }

/* ---- Look grid (banner-area) ------------------------------------------- */
.f2-looks__grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 992px) { .f2-looks__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } .f2-look:nth-child(even) { margin-top: 28px; } }
.f2-look { position: relative; display: block; aspect-ratio: 1; border: 2px solid var(--f2-ink); border-radius: var(--f2-radius); overflow: hidden; background: var(--f2-bone); transition: transform .25s var(--f2-ease), box-shadow .25s var(--f2-ease); }
.f2-look:hover { transform: translate(-3px, -3px); box-shadow: var(--f2-shadow-hard); }
.f2-look img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--f2-ease); }
.f2-look:hover img { transform: scale(1.05); }
.f2-look__num { position: absolute; top: 12px; left: 12px; padding: 5px 9px; border: 2px solid var(--f2-ink); border-radius: 8px; background: var(--f2-white); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.f2-look__cta { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border: 2px solid var(--f2-ink); border-radius: 8px; background: var(--f2-acid); color: #0f1210; font-size: 11.5px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; text-align: center; transform: translateY(calc(100% + 16px)); transition: transform .3s var(--f2-ease); }
.f2-look:hover .f2-look__cta { transform: none; }
@media (hover: none) { .f2-look__cta { transform: none; } }

/* ---- CTA band (banner-two) --------------------------------------------- */
.f2-cta {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: end;
    padding: 0 clamp(22px, 4vw, 56px);
    border: 2px solid var(--f2-ink);
    border-radius: 24px;
    background: var(--f2-sage);
    color: #fff;
    overflow: hidden;
    box-shadow: 10px 10px 0 var(--f2-ink);
}
@media (min-width: 992px) { .f2-cta { grid-template-columns: .9fr 1.1fr; gap: 40px; } }
.f2-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 100% 56px,
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 56px 100%;
    pointer-events: none;
}
.f2-cta__media { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 260px; padding-top: 30px; }
.f2-cta__media img { max-height: 460px; width: auto; max-width: 100%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .35)); }
.f2-cta__copy { position: relative; padding: clamp(36px, 5vw, 72px) 0; }
.f2-cta__small { display: inline-block; padding: 6px 12px; border: 2px solid var(--f2-acid); border-radius: 999px; color: var(--f2-acid); font-size: 11.5px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.f2-cta__title { font-size: clamp(32px, 4.4vw, 64px); font-weight: 900; letter-spacing: -.04em; line-height: .94; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.f2-cta__desc { max-width: 52ch; margin: 0 0 26px; font-size: 16px; font-weight: 500; line-height: 1.65; color: rgba(255, 255, 255, .8); }

/* ---- Newsletter ---------------------------------------------------------- */
.f2-news__box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: center;
    padding: clamp(24px, 3.5vw, 44px);
    border: 2px solid var(--f2-ink);
    border-radius: 20px;
    background: var(--f2-white);
    box-shadow: 8px 8px 0 var(--f2-acid), 8px 8px 0 2px var(--f2-ink);
}
@media (min-width: 992px) { .f2-news__box { grid-template-columns: 1fr 1fr; gap: 48px; } }
.f2-news__title { font-size: clamp(26px, 3vw, 40px); font-weight: 900; letter-spacing: -.035em; line-height: 1; text-transform: uppercase; }
.f2-news__desc { margin: 12px 0 0; font-size: 15px; font-weight: 500; color: var(--f2-muted); line-height: 1.6; }
.f2-news__form { display: flex; gap: 10px; }
.f2-news__input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border: 2px solid var(--f2-ink);
    border-radius: 8px !important;
    background: var(--f2-bone);
    color: var(--f2-ink);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    outline: 0;
    transition: box-shadow .2s;
}
.f2-news__input:focus { box-shadow: 4px 4px 0 var(--f2-acid); }
.f2-news__input::placeholder { color: var(--f2-muted); font-weight: 500; }
@media (max-width: 480px) { .f2-news__form { flex-direction: column; } }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 991.98px) {
    .f2-hero__item { padding: 40px 0 68px; }
    .f2-hero__grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .f2-hero__desc { margin-left: auto; margin-right: auto; }
    .f2-hero__actions { justify-content: center; }
    .f2-hero__frame { width: min(100%, 400px); box-shadow: 6px 6px 0 var(--f2-sage); }
    .f2-hero__sticker { right: 0; }
    .f2-cta { box-shadow: 6px 6px 0 var(--f2-ink); }
    .f2-cta__media { min-height: 0; order: 2; }
    .f2-cta__copy { order: 1; }
}
@media (max-width: 575.98px) {
    .f2-head { margin-bottom: 18px; }
    .f2-deal { flex-direction: column; align-items: stretch; text-align: center; }
    .f2-deal__img { min-height: 140px; }
    .f2-card__body { padding: 10px 12px 12px; }
    .f2-card__name { font-size: 13.5px; }
}
