/* Danh mục UNIT: ảnh thời trang, khoảng thở và đường chỉ nhận diện. */
.catalog-showcase {
    --showcase-paper: #f8f8f6;
    --catalog-motion-fast: 120ms;
    --catalog-motion-base: 200ms;
    --catalog-motion-slow: 400ms;
    --catalog-ease: cubic-bezier(.22, 1, .36, 1);
}
body:has(> #main .catalog-list-first) > .shop-announcement { display: none; }

.catalog-showcase .catalog-daily-banner {
    position: relative;
    padding: 36px max(5%, calc((100% - 1440px) / 2)) 0;
    background: #edf0ee;
}
.catalog-showcase .catalog-daily-banner.has-product {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 0 7%;
}
.catalog-showcase .catalog-banner-copy { padding-block: 4px 32px; }
.catalog-showcase .catalog-breadcrumb { font-size: .75rem; color: #526677; margin-bottom: 28px; }
.catalog-edition { margin: 0 0 16px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.catalog-showcase .catalog-daily-banner :is(h1, h2) {
    font-size: clamp(2.7rem, 5.4vw, 5.8rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.055em;
    margin-bottom: 22px;
    text-wrap: balance;
}
.catalog-daily-banner :is(h1, h2) > span { display: block; }
.catalog-title-accent { color: #235784; }
.catalog-intro-note { color: #4d6375; font-size: 1rem; line-height: 1.7; margin: 0 0 30px; }
.catalog-showcase .catalog-banner-label { color: #4d6375; font-size: .73rem; margin-bottom: 6px; }
.catalog-showcase .catalog-banner-name { font-size: 1rem; margin-bottom: 10px; max-width: 34ch; }
.catalog-showcase .catalog-banner-actions { gap: 26px; }
.catalog-showcase .catalog-banner-actions strong { font-size: 1rem; }
.catalog-showcase .catalog-banner-actions .text-link { font-size: .8rem; }
.catalog-showcase .catalog-banner-image {
    position: relative;
    height: clamp(320px, 35vw, 490px);
    border-radius: 6px 6px 0 0;
    background: #e3e7e4;
    overflow: hidden;
    isolation: isolate;
}
.catalog-showcase .catalog-banner-image img {
    object-fit: contain;
    transition: transform var(--catalog-motion-slow) var(--catalog-ease);
}
.catalog-photo-mark { position: absolute; left: 18px; bottom: 10px; font-size: 3.5rem; font-weight: 800; line-height: 1; color: #102d4b; letter-spacing: -.09em; pointer-events: none; }
.catalog-photo-link { position: absolute; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 24px; padding: 10px 16px; background: #fff; color: #102d4b; border-radius: 4px; font-size: .78rem; box-shadow: 0 2px 6px #102d4b0a; }
.catalog-photo-link > span { font-size: 1.25rem; transition: transform var(--catalog-motion-base) var(--catalog-ease); }
.catalog-hero-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px 24px; border-top: 1px solid #cbd4d5; margin-top: 28px; padding: 12px 0; font-size: .76rem; color: #4d6375; }
.catalog-hero-footer > a { display: inline-flex; align-items: center; gap: 30px; color: #102d4b; font-weight: 600; min-height: 44px; }
.catalog-hero-footer > a span { font-size: 1.25rem; transition: transform var(--catalog-motion-base) var(--catalog-ease); }
.catalog-showcase .catalog-slider { padding-bottom: 14px; touch-action: pan-y pinch-zoom; }
.catalog-slider [hidden] { display: none !important; }
.catalog-slider-stage { display: grid; min-width: 0; }
.catalog-slider .catalog-slide[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
.catalog-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 0 7%;
}
.catalog-showcase .catalog-slide .catalog-slide-title {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.1;
    min-height: 2.2em;
    max-width: 17ch;
    margin: 20px 0;
    overflow-wrap: anywhere;
}
.catalog-slide .catalog-slide-note { color: #4d6375; font-size: .92rem; line-height: 1.7; margin-bottom: 28px; }
.catalog-slide .catalog-banner-copy { min-width: 0; padding-block: 10px 24px; }
.catalog-slide .catalog-banner-actions { flex-wrap: wrap; gap: 16px 24px; }
.catalog-slide .catalog-banner-actions strong { font-size: 1.3rem; }
.catalog-slide .catalog-banner-actions .button { min-height: 48px; padding: 12px 20px; font-size: .85rem; }
.catalog-slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid #cbd4d5;
}
.catalog-slider-navigation, .catalog-slider-dots { display: flex; align-items: center; gap: 6px; }
.catalog-slider-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #bdcbd2;
    border-radius: 5px;
    background: transparent;
    color: var(--ink);
    padding: 8px 12px;
}
.catalog-slider-controls button:hover { background: #ffffffa6; border-color: var(--ink); }
.catalog-slider-controls svg { width: 20px; height: 20px; }
.catalog-slider-counter { min-width: 60px; text-align: center; font-size: .8rem; font-variant-numeric: tabular-nums; }
.catalog-slider-controls .catalog-slider-dots button { border-color: transparent; border-radius: 0; font-size: .78rem; }
.catalog-slider-dots button[aria-pressed=true] { border-bottom-color: var(--ink); font-weight: 700; }
.catalog-slider-pause { font-size: .78rem; min-width: 105px !important; }
@media (prefers-reduced-motion: no-preference) {
    .catalog-slide.is-carousel-changing { animation: catalog-slide-reveal 280ms var(--catalog-ease); }
    @keyframes catalog-slide-reveal { from { opacity: .4; } to { opacity: 1; } }
}
@media (max-width: 600px) {
    .catalog-slide { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .catalog-slide .catalog-breadcrumb { margin-bottom: 12px; }
    .catalog-slide .catalog-edition { margin-bottom: 10px; }
    .catalog-showcase .catalog-slide .catalog-slide-title { font-size: 2rem; margin-block: 12px; max-width: none; }
    .catalog-slide .catalog-slide-note { margin-bottom: 18px; }
    .catalog-slide .catalog-banner-copy { padding-bottom: 8px; }
    .catalog-slide .catalog-banner-image { height: 320px; }
    .catalog-slider-controls { gap: 8px; }
    .catalog-slider-controls .catalog-slider-dots { order: 3; width: 100%; justify-content: center; }
}
.catalog-showcase .catalog-categories {
    position: sticky;
    top: var(--catalog-header-height, 88px);
    z-index: 19;
    flex-wrap: nowrap;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #b6c6d0 transparent;
    overscroll-behavior-x: contain;
    background: #fff;
}
.catalog-showcase :is(#results, [data-catalog-heading]) { scroll-margin-top: var(--catalog-anchor-offset, 170px); }
.catalog-showcase .catalog-categories a { position: relative; flex: 0 0 auto; min-height: 66px; border-bottom: 0; font-size: .83rem; transition: color var(--catalog-motion-fast); }
.catalog-categories a::after { content: ''; position: absolute; left: 0; bottom: 12px; height: 2px; width: 100%; background: var(--showcase-ink); transform: scaleX(0); transform-origin: left; transition: transform var(--catalog-motion-base) var(--catalog-ease); }
.catalog-categories a[aria-current=page]::after { transform: scaleX(1); }
.catalog-showcase .catalog-section { padding-block: 48px 80px; }
.catalog-showcase .catalog-showroom { grid-template-columns: 210px minmax(0, 1fr); gap: clamp(24px, 3.5vw, 52px); }
.catalog-showcase .catalog-filter-panel { border-radius: 8px; background: #fff; box-shadow: 0 4px 16px #102d4b03; }
.catalog-showcase .catalog-filter-panel > summary { font-size: .9rem; padding: 20px 18px; }
.catalog-showcase .catalog-filter-panel .filters { padding: 18px; gap: 18px; }
.catalog-showcase .catalog-filter-panel .filters input:not([type=checkbox]),
.catalog-showcase .catalog-filter-panel .filters select { border-radius: 5px; border-color: #ccd5dc; }
.catalog-showcase .catalog-filter-panel .filters > button { border-radius: 5px; }
.catalog-showcase .catalog-results-heading { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid #d5dde1; }
.catalog-showcase .catalog-results-heading :is(h1, h2) {
    font-size: clamp(1.75rem, 2.8vw, 2.7rem);
    line-height: 1.1;
    letter-spacing: -.035em;
    font-weight: 500;
}
.catalog-showcase .catalog-results-heading .result-count { font-size: .76rem; }
.catalog-showcase .catalog-current-sort { font-size: .75rem; }
.catalog-showcase .everyday-grid { gap: 32px 20px; }
.catalog-showcase .catalog-product-card {
    position: relative;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 6px #102d4b04;
    transition: box-shadow var(--catalog-motion-base) var(--catalog-ease), border-color var(--catalog-motion-fast);
}
.catalog-showcase .catalog-product-image { aspect-ratio: 4 / 5; border-radius: 8px 8px 0 0; overflow: hidden; background: #eceeec; }
.catalog-showcase .catalog-product-image img { transition: transform var(--catalog-motion-slow) var(--catalog-ease); }
.catalog-showcase .catalog-product-image .stock-label { top: 14px; left: 14px; padding: 6px 9px; border: 0; border-radius: 3px; background: #fffffff0; font-size: .65rem; }
.catalog-showcase .catalog-product-body { padding: 18px 18px 12px; }
.catalog-showcase .catalog-product-meta { font-size: .67rem; color: #566a78; letter-spacing: .025em; margin-bottom: 8px; }
.catalog-showcase .catalog-product-card h3 { font-size: .97rem; line-height: 1.4; font-weight: 500; margin-bottom: 16px; }
.catalog-showcase .catalog-product-price { padding-top: 0; margin-bottom: 16px; font-weight: 650; font-size: 1.04rem; }
.catalog-showcase .catalog-product-actions { border-top: 0; padding-top: 0; gap: 6px; }
.catalog-showcase .catalog-product-actions > .button { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-radius: 5px; min-height: 44px; padding: 11px 14px; font-size: .8rem; background: #102d4b; color: #fff; border: 1px solid #102d4b; transition: background var(--catalog-motion-fast); }
.catalog-product-actions > .button svg { width: 20px; height: 20px; flex: 0 0 20px; transition: transform var(--catalog-motion-base) var(--catalog-ease); }
.catalog-showcase .catalog-product-details { min-height: 44px; font-size: .73rem; text-decoration: none; }
.catalog-image-action { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #102d4b; background: #fff; transition: transform var(--catalog-motion-base) var(--catalog-ease), background var(--catalog-motion-fast), color var(--catalog-motion-fast); }
.catalog-image-action svg { width: 21px; height: 21px; }
.catalog-product-image::after { content: ''; position: absolute; inset: 10px; border: 1px solid #ffffffb3; pointer-events: none; opacity: 0; transition: opacity var(--catalog-motion-base); }
.catalog-showcase :is(a, button, summary, input, select):focus-visible { outline: 2px solid #195dc1; outline-offset: 4px; }
.catalog-product-card:focus-within { border-color: #a6bbcd; }
.catalog-showcase .empty { background: #fff; border: 1px solid #d5dde1; border-radius: 9px; padding: 44px 24px; }
.catalog-showcase .empty h2 { font-weight: 500; }
@media (hover: hover) and (pointer: fine) {
    .catalog-showcase .catalog-banner-image:hover img { transform: scale(1.035); }
    .catalog-banner-image:hover .catalog-photo-link > span { transform: translate(2px, -2px); }
    .catalog-hero-footer > a:hover span { transform: translateY(3px); }
    .catalog-categories a:hover::after { transform: scaleX(1); }
    .catalog-showcase .catalog-product-card:hover { border-color: #b7c8d6; box-shadow: 0 6px 12px #102d4b06, 0 14px 30px #102d4b09; }
    .catalog-showcase .catalog-product-card:hover .catalog-product-image img { transform: scale(1.045); }
    .catalog-product-card:hover .catalog-image-action { transform: translate(2px, -2px); color: #fff; background: #102d4b; }
    .catalog-product-card:hover .catalog-product-image::after { opacity: 1; }
    .catalog-showcase .catalog-product-actions > .button:hover { background: #235784; }
    .catalog-product-actions > .button:hover svg { transform: translateX(3px); }
}
@media (prefers-reduced-motion: no-preference) {
    .catalog-entering { animation: catalog-arrive var(--catalog-motion-slow) var(--catalog-ease) both; animation-delay: var(--catalog-delay, 0ms); }
    @keyframes catalog-arrive { from { opacity: .35; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 1100px) {
    .catalog-showcase .catalog-showroom { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
    .catalog-showcase .catalog-product-body { padding-inline: 12px; }
    .catalog-showcase .everyday-grid { gap: 24px 14px; }
}
@media (max-width: 900px) {
    .catalog-showcase .catalog-showroom { grid-template-columns: 1fr; }
    .catalog-showcase .catalog-daily-banner.has-product { gap: 0 5%; }
    .catalog-showcase .catalog-filter-panel .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-showcase .catalog-filter-panel .filters > button { grid-column: 1 / -1; }
    .catalog-showcase .catalog-filter-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .catalog-showcase .catalog-daily-banner { padding: 22px 20px 0; }
    .catalog-showcase .catalog-daily-banner.has-product { grid-template-columns: minmax(0, 1fr); }
    .catalog-showcase .catalog-breadcrumb { margin-bottom: 20px; }
    .catalog-showcase .catalog-daily-banner :is(h1, h2) { font-size: clamp(2.5rem, 11vw, 4rem); max-width: 12ch; }
    .catalog-showcase .catalog-banner-copy { padding-bottom: 24px; }
    .catalog-intro-note { margin-bottom: 24px; font-size: .9rem; }
    .catalog-showcase .catalog-banner-actions { flex-direction: row; align-items: center; gap: 26px; }
    .catalog-showcase .catalog-banner-image { height: 310px; }
    .catalog-hero-footer { margin-top: 20px; gap: 4px; font-size: .7rem; }
    .catalog-hero-footer > span { display: none; }
    .catalog-hero-footer > a { width: 100%; justify-content: space-between; }
    .catalog-showcase .catalog-categories { gap: 24px; padding-inline: 20px; }
    .catalog-showcase .catalog-categories a { min-height: 56px; font-size: .78rem; }
    .catalog-showcase .catalog-section { padding: 24px 16px 48px; }
    .catalog-showcase .catalog-showroom { gap: 28px; }
    .catalog-showcase .catalog-results-heading { gap: 12px; padding-bottom: 18px; margin-bottom: 20px; }
    .catalog-showcase .catalog-results-heading :is(h1, h2) { font-size: 1.8rem; }
    .catalog-showcase .everyday-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
    .catalog-showcase .catalog-product-body { padding: 12px 10px 6px; }
    .catalog-showcase .catalog-product-card h3 { font-size: .85rem; margin-bottom: 12px; }
    .catalog-showcase .catalog-product-price { font-size: .88rem; }
    .catalog-showcase .catalog-product-image .stock-label { left: 8px; top: 8px; font-size: .6rem; padding: 4px 6px; }
    .catalog-image-action { right: 8px; bottom: 8px; width: 32px; height: 32px; }
    .catalog-image-action svg { width: 17px; height: 17px; }
    .catalog-showcase .catalog-product-actions > .button { padding: 9px 10px; font-size: .73rem; gap: 4px; }
}
@media (max-width: 360px) {
    .catalog-showcase .catalog-filter-panel .filters, .catalog-showcase .catalog-filter-options { grid-template-columns: 1fr; }
    .catalog-showcase .catalog-current-sort { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .catalog-showcase *, .catalog-showcase *::after { animation: none !important; transition: none !important; }
    .catalog-showcase .catalog-banner-image:hover img, .catalog-showcase .catalog-product-card:hover .catalog-product-image img { transform: none; }
}
