.lookbook { overflow: clip; }
.lookbook-block { position: relative; background: #f9fafb; color: #25394d; }
.lookbook-inner { max-width: 1440px; width: 90%; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5%; align-items: center; min-height: 620px; padding: 45px 0; }
.lookbook-copy { position: relative; z-index: 3; padding: 35px 0; }
.lookbook-label { font-size: .86rem; margin-bottom: 20px; opacity: .84; }
.lookbook-copy h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.6rem, 6.8vw, 7rem); font-weight: 400; line-height: .98; letter-spacing: -.055em; white-space: pre-line; margin-bottom: 28px; overflow-wrap: anywhere; }
.lookbook-copy h2 { font-size: clamp(2rem, 3.2vw, 3.4rem); line-height: 1.16; letter-spacing: -.035em; max-width: 14ch; white-space: pre-line; }
.lookbook-description { max-width: 42ch; font-size: .95rem; line-height: 1.85; white-space: pre-line; }
.lookbook-cta { display: inline-flex; align-items: center; gap: 35px; border-bottom: 1px solid currentColor; min-height: 48px; margin-top: 14px; font-weight: 700; font-size: .85rem; }
.lookbook-cta span { transition: transform .2s ease; }.lookbook-cta:hover span { transform: translate(3px,-3px); }
.lookbook-collage { min-width: 0; height: 530px; position: relative; z-index: 2; }
.lookbook-main { position: absolute; inset: -35px -10px -45px -10px; display: block; z-index: 2; transition: transform .5s ease; }
.lookbook-main img { width: 100%; height: 100%; object-fit: contain; }
.lookbook-detail { position: absolute; width: 40%; height: 45%; right: -2%; top: 48%; border-radius: 50%; overflow: hidden; z-index: 3; border: 6px solid #ffffffb0; }
.lookbook-detail img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; filter: grayscale(.65); }
.lookbook-disc { position: absolute; top: 8%; left: 2%; width: 88%; height: 88%; border-radius: 50%; background: #c6d2df; opacity: .7; }
.lookbook-caption { position: absolute; bottom: -23px; left: 0; z-index: 3; font-size: .65rem; opacity: .75; }
.layout-imageleft .lookbook-copy { order: 2; padding-left: 8%; border-left: 1px dotted #8b9cad; }
.layout-imageleft .lookbook-collage { order: 1; }
.layout-imageright .lookbook-copy { text-align: right; padding-right: 8%; border-right: 1px dotted #8b9cad; }
.layout-imageright .lookbook-copy h2, .layout-imageright .lookbook-description { margin-left: auto; }
.layout-imageright .lookbook-detail { left: -7%; right: auto; top: 35%; width: 45%; height: 58%; z-index: 3; opacity: 1; border: 8px solid #ffffffb0; }
.fit-cover .lookbook-main { inset: 0 0 0 10%; border-radius: 48% 48% 2% 2%; overflow: hidden; }
.fit-cover .lookbook-main img { object-fit: cover; object-position: 75% center; }
.theme-navy { background: #172d45; color: #fff; }
.theme-light { background: #e6ebf1; }
.theme-white { background: #fafbfc; }
.theme-slate { background: #63758b; color: white; }
.theme-slate .lookbook-disc { background: #364e69; }
.theme-navy .lookbook-disc { background: #344d68; }
.theme-navy::before { content: ''; position: absolute; inset: 0; opacity: .15; pointer-events: none; background: repeating-linear-gradient(125deg, transparent 0 3px, #a5b9d5 3px 4px); }
.layout-hero .lookbook-inner { min-height: 720px; grid-template-columns: 44% 56%; gap: 0; padding: 30px 0; }
.layout-hero .lookbook-copy { padding: 35px 0 65px; }
.layout-hero .lookbook-collage { height: 635px; }
.layout-hero .lookbook-main { inset: -20px -4% -35px 0; }
.layout-hero .lookbook-detail { width: 34%; height: 35%; top: 60%; right: -5%; border-color: #ffffff80; }
.layout-hero .lookbook-detail img { filter: grayscale(1); }
.layout-hero .lookbook-disc { opacity: .3; border-radius: 0; transform: rotate(25deg); }
.layout-hero .lookbook-caption { left: auto; right: 0; bottom: 0; }
.layout-hero .lookbook-main img { animation: lookbook-arrive .85s ease both; }
@keyframes lookbook-arrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.lookbook-promotions .promotion-carousel { min-height: 420px; }
.lookbook-promotions .promotion-slide { min-height: 0; }
.lookbook-promotions .promotion-controls { position: relative; bottom: auto; left: auto; right: auto; grid-area: 2 / 1; margin: 0 7% 24px; }
.lookbook-promotions .campaign-image { opacity: .25; object-position: right center; }
.lookbook-promotions .promotion-copy { padding: 35px 7%; max-width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 50px; }
.lookbook-promotions .promotion-copy > p.promotion-location { justify-self: start; margin: 0; grid-column: 1; }
.lookbook-promotions .promotion-copy h2 { grid-column: 1; font-size: 1.6rem; margin: 0; }
.lookbook-promotions .promotion-amount { font-size: 3.9rem; }
.lookbook-promotions .promotion-copy > p.promotion-minimum { grid-column: 1; font-size: 1rem; margin: 0; }
.lookbook-promotions .promotion-code { grid-column: 2; grid-row: 1 / 3; align-self: center; justify-self: start; }
.lookbook-promotions .promotion-copy > p.promotion-expiry { grid-column: 2; grid-row: 3; margin: 0; }
.lookbook-promotions .promotion-copy > p.promotion-terms { grid-column: 2; grid-row: 4; }
.lookbook-promotions .campaign-actions { grid-column: 1; grid-row: 4; margin: 8px 0 0; }
.landing-admin-row { display: grid; grid-template-columns: 150px minmax(0,1fr) auto; align-items: center; gap: 28px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.landing-admin-row > img { width: 150px; height: 150px; object-fit: contain; background: var(--paper); border-radius: 8px; }
.landing-admin-row h2 { font-size: 1.3rem; white-space: pre-line; margin: 8px 0; }
.landing-admin-row p { font-size: .85rem; }.landing-admin-row .muted { font-size: .8rem; }
.landing-image-editors { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.landing-image-editor { padding: 25px; border: 1px solid var(--line); border-radius: 10px; }
.landing-edit-preview { width: 100%; height: 300px; object-fit: contain; background: repeating-conic-gradient(#e5eaf0 0% 25%, #fff 0% 50%) 0 / 24px 24px; margin-bottom: 20px; }
.landing-product-picker { background: var(--paper); padding: 24px; margin: 12px 0 24px; border-radius: 8px; }
.landing-product-picker h2 { font-size: 1.2rem; }.landing-product-picker p { font-size: .85rem; }
.landing-picker-fields { display: flex; align-items: end; gap: 15px; flex-wrap: wrap; }.landing-picker-fields label { flex: 1; min-width: 170px; margin: 0; }
.landing-picker-results { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.landing-picker-results button { background: white; border: 1px solid var(--line); color: var(--ink); padding: 12px; text-align: left; border-radius: 5px; }
@media (hover: hover) and (pointer: fine) { .lookbook-main:hover { transform: translateY(-6px); } }
@media (max-width: 900px) { .lookbook-copy h1 { font-size: 4.5rem; }.lookbook-collage { height: 440px; }.lookbook-inner { min-height: 540px; }.layout-hero .lookbook-collage { height: 580px; }.landing-admin-row { grid-template-columns: 110px minmax(0,1fr); }.landing-admin-row>img { width: 110px; height: 130px; }.landing-admin-row .row-actions { grid-column: 2; align-items: start; } }
@media (max-width: 700px) {
    .lookbook-inner, .layout-hero .lookbook-inner { width: 88%; grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 35px 0; }
    .lookbook-copy, .layout-imageleft .lookbook-copy, .layout-imageright .lookbook-copy, .layout-hero .lookbook-copy { order: 1; text-align: left; padding: 18px 0 25px; border: 0; }
    .lookbook-collage, .layout-hero .lookbook-collage { order: 2; height: 410px; margin: 0 0 15px; }
    .lookbook-copy h1 { font-size: clamp(3.1rem, 13vw, 4.4rem); }.lookbook-copy h2 { font-size: 2.25rem; max-width: 17ch; }
    .lookbook-copy h2, .lookbook-description { margin-left: 0 !important; }.lookbook-label { margin-bottom: 12px; }.lookbook-description { font-size: .9rem; }
    .lookbook-main, .layout-hero .lookbook-main { inset: -15px -6% -10px; }.fit-cover .lookbook-main { inset: 0 0 0 10%; }
    .lookbook-caption { bottom: -12px; font-size: .58rem; }.layout-hero .lookbook-caption { bottom: -20px; }
    .lookbook-promotions .promotion-carousel { min-height: 590px; }
    .lookbook-promotions .promotion-copy { display: block; padding: 32px 6%; }
    .lookbook-promotions .promotion-copy h2 { margin: 12px 0; }.lookbook-promotions .promotion-amount { font-size: 3.6rem; }
    .lookbook-promotions .promotion-code { margin: 15px 0 10px; }.lookbook-promotions .promotion-copy > p.promotion-expiry { margin-bottom: 10px; }.lookbook-promotions .campaign-actions { margin-top: 16px; }
    .lookbook-promotions .campaign-image { height: 100%; }
    .landing-image-editors, .landing-picker-results { grid-template-columns: 1fr; }.landing-image-editor, .landing-product-picker { padding: 18px; }.landing-admin-row { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { .lookbook-main, .lookbook-cta span { transition: none; }.layout-hero .lookbook-main img { animation: none; } }

/* Thiết lập riêng của từng khối, giữ bảng màu cũ khi chưa bật tùy chỉnh. */
.lookbook-block.custom-colors { background: var(--block-bg); color: var(--block-text); }
.custom-colors::before { display: none; }
.custom-colors .lookbook-copy { border-color: currentColor; }
.custom-colors .lookbook-cta { background: var(--block-button); color: var(--block-button-text); border: 0; padding: 12px 22px; border-radius: 4px; }
.lookbook-copy { min-width: 0; overflow-wrap: anywhere; }
.lookbook-block.align-left .lookbook-copy { text-align: left; }
.lookbook-block.align-center .lookbook-copy { text-align: center; }
.lookbook-block.align-right .lookbook-copy { text-align: right; }
.align-left .lookbook-copy :is(h2,.lookbook-description) { margin-left: 0; margin-right: auto; }
.align-center .lookbook-copy :is(h2,.lookbook-description) { margin-left: auto; margin-right: auto; }
.align-right .lookbook-copy :is(h2,.lookbook-description) { margin-left: auto; margin-right: 0; }
.layout-centered .lookbook-inner, .layout-wide .lookbook-inner { display: flex; flex-direction: column; gap: 0; }
.layout-centered .lookbook-copy { text-align: center; width: 100%; }
.layout-centered .lookbook-copy :is(h2,.lookbook-description) { max-width: 36ch; margin-left: auto; margin-right: auto; }
.lookbook-block.align-left .lookbook-copy :is(h2,.lookbook-description) { margin-left: 0; margin-right: auto; }
.lookbook-block.align-center .lookbook-copy :is(h2,.lookbook-description) { margin-left: auto; margin-right: auto; }
.lookbook-block.align-right .lookbook-copy :is(h2,.lookbook-description) { margin-left: auto; margin-right: 0; }
.layout-centered .lookbook-collage { width: min(100%,1000px); }
.layout-wide .lookbook-inner { width: 100%; padding-top: 0; }
.layout-wide .lookbook-collage { order: -1; width: 100%; height: 560px; margin: 0; }
.layout-wide .lookbook-copy { width: 88%; max-width: 1100px; }
.layout-wide .lookbook-copy h2 { max-width: 28ch; }
.layout-wide .lookbook-main { inset: 0; border-radius: 0; }
.layout-wide .lookbook-detail { right: 5%; width: 24%; height: 50%; top: 40%; }
.layout-wide .lookbook-caption { left: 6%; bottom: 16px; background: #ffffffd9; color: #172d45; padding: 4px 8px; }
.size-compact .lookbook-inner { min-height: 440px; padding-top: 24px; padding-bottom: 24px; }
.size-compact .lookbook-collage { height: 360px; }
.size-tall .lookbook-inner { min-height: 780px; }
.size-tall .lookbook-collage { height: 670px; }
.lookbook-video-wrap { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 4; }
.lookbook-video { width: 100%; max-height: 100%; aspect-ratio: 16/9; background: #071d35; object-fit: contain; border-radius: 8px; }
.has-video .lookbook-disc { display: none; }
.fit-cover .lookbook-video { object-fit: cover; }
.video-load-error { font-size: .85rem; margin: 10px 0; }
.landing-colors { border: 1px solid var(--line); border-radius: 10px; padding: 24px; margin: 24px 0; min-width: 0; }
.landing-colors legend { padding: 0 8px; font-weight: 700; }
.landing-color-fields { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 20px 0; }
.landing-color-fields input[type=color] { width: 100%; height: 48px; padding: 4px; cursor: pointer; }
.landing-color-fields span { font-size: .8rem; font-weight: 400; }
.landing-color-preview { padding: 28px; border-radius: 8px; overflow-wrap: anywhere; }
.landing-color-preview h2 { font-size: 2rem; white-space: pre-line; margin: 14px 0; }
.landing-color-preview [data-preview-button] { display: inline-block; padding: 12px 22px; border-radius: 4px; font-weight: 700; }
.landing-admin-video { display: block; width: min(100%,800px); max-height: 400px; background: #071d35; margin: 20px 0; }
.landing-admin-video[hidden] { display: none; }
.landing-video-manager form { margin: 20px 0; }
.banner-library-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.banner-library-card { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.banner-library-card > img { width: 100%; height: 220px; object-fit: contain; background: #e6ebf1; border-radius: 8px; }
.banner-library-card h3 { margin: 16px 0 6px; }
.banner-library-card p { font-size: .85rem; }
.banner-library-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.banner-library-actions .button { padding: 10px 12px; font-size: .8rem; }
.banner-library-actions [hidden] { display: none; }
@media(max-width:700px) {
    .landing-color-fields { grid-template-columns: 1fr 1fr; }
    .landing-colors { padding: 16px; }
    .size-compact .lookbook-collage { height: 300px; }
    .size-tall .lookbook-collage { height: 520px; }
    .has-video .lookbook-collage { height: auto; min-height: 0; }
    .lookbook-video { min-height: 180px; }
    .layout-wide .lookbook-collage { height: 360px; }
    .layout-wide.has-video .lookbook-collage { height: auto; }
    .lookbook-block.align-center .lookbook-copy :is(h2,.lookbook-description), .layout-centered.align-auto .lookbook-copy :is(h2,.lookbook-description) { margin-left: auto !important; margin-right: auto; }
    .lookbook-block.align-right .lookbook-copy :is(h2,.lookbook-description) { margin-left: auto !important; margin-right: 0; }
}
