/* SEY Active — lớp giao diện riêng, đặt sau CSS của theme nền.
   Mọi class đều có tiền tố sey- để không đụng vào class của theme. */
:root{
  --sey-ground:#F1EDE6; --sey-surface:#FAF8F4; --sey-ink:#241F1B; --sey-muted:#655C54;
  --sey-line:#D9D2C7; --sey-accent:#7A6257; --sey-logo:#9C8478; --sey-dark:#2B2520;
  --sey-dark-muted:#B9AEA2; --sey-dark-line:#4A423B;
  --sey-body:'Be Vietnam Pro',system-ui,sans-serif;
  --sey-display:'Archivo',sans-serif;
  --sey-serif:'Cormorant Garamond',serif;
}
.sey{font-family:var(--sey-body);font-size:15px;line-height:1.5;color:var(--sey-ink);background:var(--sey-ground)}
.sey *,.sey *::before,.sey *::after{box-sizing:border-box}
.sey a{color:inherit;text-decoration:none}
.sey img,.sey video{display:block;max-width:100%}
.sey-wrap{max-width:1368px;margin:0 auto;padding:0 24px}
.sey-h1,.sey-h2,.sey-name{font-family:var(--sey-display);font-stretch:125%;font-weight:600;text-transform:uppercase;margin:0}
.sey-h1{font-size:54px;line-height:1.14;letter-spacing:.01em}
.sey-h2{font-size:30px;line-height:1.3}
.sey-name{font-stretch:112%;font-size:15px;line-height:1.35;letter-spacing:.03em}
.sey-eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--sey-muted)}
.sey-script{font-family:var(--sey-serif);font-style:italic;font-weight:500;font-size:24px;color:var(--sey-accent)}
.sey-muted{color:var(--sey-muted)}
.sey-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border:1px solid var(--sey-ink);background:transparent;color:var(--sey-ink);font-size:14px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.sey-btn--solid{background:var(--sey-accent);border-color:var(--sey-accent);color:#fff}
.sey-btn--light{border-color:var(--sey-ground);color:var(--sey-ground)}
.sey-btn:hover{opacity:.82}

/* Thanh ưu đãi */
.sey-announce{background:var(--sey-ink);color:var(--sey-ground);font-size:12px;letter-spacing:.08em;text-transform:uppercase;display:flex;justify-content:center;flex-wrap:wrap;gap:4px 40px;padding:11px 16px;text-align:center}

/* Khối đầu trang chủ */
.sey-hero{display:flex;flex-wrap:wrap}
.sey-hero__text{flex:1 1 420px;min-height:640px;padding:72px 56px 72px 0;display:flex;flex-direction:column;justify-content:center;gap:28px}
.sey-hero__text p{margin:0;font-size:17px;line-height:1.6;color:var(--sey-muted);max-width:460px}
.sey-hero__media{flex:1.25 1 420px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sey-hero__media img,.sey-hero__media video{width:100%;height:640px;object-fit:cover;background:var(--sey-ink)}
.sey-row{display:flex;flex-wrap:wrap;gap:12px}

/* Dải cam kết */
.sey-values{border-top:1px solid var(--sey-line);border-bottom:1px solid var(--sey-line)}
.sey-values__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;padding-top:28px;padding-bottom:28px}
.sey-values strong{display:block;font-weight:600}
.sey-values span{font-size:13px;color:var(--sey-muted)}

/* Khung section chung */
.sey-section{padding-top:88px;padding-bottom:88px;display:flex;flex-direction:column;gap:32px}
.sey-section--flush{padding-bottom:0}
.sey-band{background:var(--sey-surface)}
.sey-head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:12px}
.sey-head a{font-size:14px;font-weight:600;border-bottom:1px solid var(--sey-ink);padding-bottom:2px}
.sey-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.sey-grid--5{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}

/* Thẻ sản phẩm */
.sey-card{display:flex;flex-direction:column;gap:12px}
.sey-card__img{position:relative;aspect-ratio:3/4;background:var(--sey-line);overflow:hidden}
.sey-card__img img{width:100%;height:100%;object-fit:cover;object-position:center 20%}
.sey-badge{position:absolute;top:12px;left:12px;background:var(--sey-surface);color:var(--sey-ink);font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:6px 10px}
.sey-card__info{display:flex;flex-direction:column;gap:4px}
.sey-card__kind{font-size:14px;color:var(--sey-muted)}
.sey-card__price{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-weight:600}
.sey-card__price s{font-weight:400;color:var(--sey-muted);margin-left:8px}
.sey-card__price small{font-size:13px;font-weight:400;color:var(--sey-muted)}

/* Ô hoạt động và ô dòng sản phẩm */
.sey-tile{display:flex;flex-direction:column;gap:14px}
.sey-tile__img{aspect-ratio:21/20;background:var(--sey-line);overflow:hidden}
.sey-tile__img img{width:100%;height:100%;object-fit:cover}
.sey-tile .sey-name{font-size:17px}
.sey-line-card{background:var(--sey-surface);border:1px solid var(--sey-line);padding:24px;display:flex;flex-direction:column;gap:10px}
.sey-line-card .sey-name{font-size:18px}
.sey-line-card p{margin:0;font-size:14px;color:var(--sey-muted);min-height:42px}
.sey-line-card em{font-style:normal;font-size:13px;font-weight:600;color:var(--sey-accent)}

/* Khối tối: chất liệu */
.sey-dark{background:var(--sey-dark);color:var(--sey-ground)}
.sey-dark .sey-eyebrow,.sey-dark p,.sey-dark small{color:var(--sey-dark-muted)}
.sey-split{display:flex;flex-wrap:wrap}
.sey-split__text{flex:1 1 420px;min-height:520px;padding:72px 56px 72px 0;display:flex;flex-direction:column;justify-content:center;gap:24px}
.sey-split__text--right{padding:64px 0 64px 56px}
.sey-split__text p{margin:0;font-size:16px;line-height:1.65;max-width:480px}
.sey-split__img{flex:1 1 420px;min-height:520px;position:relative;background:var(--sey-ink)}
.sey-split__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%}
.sey-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;border-top:1px solid var(--sey-dark-line);padding-top:24px}
.sey-facts strong{display:block;font-weight:600}
.sey-facts small{font-size:13px}
.sey-split .sey-btn{align-self:flex-start;min-height:48px;padding:0 24px;font-size:13px}

/* Lookbook */
.sey-look img{width:100%;aspect-ratio:2/3;object-fit:cover}

/* Đánh giá */
.sey-review{background:var(--sey-surface);border:1px solid var(--sey-line);padding:28px;display:flex;flex-direction:column;gap:16px;min-height:220px}
.sey-review p{margin:0;font-size:16px;line-height:1.6}
.sey-review small{font-size:13px;color:var(--sey-muted);margin-top:auto}
.sey-community{background:#E6DFD3}

/* Trang sản phẩm */
.sey-pdp{display:flex;flex-wrap:wrap;align-items:flex-start;gap:56px;padding-bottom:88px}
.sey-pdp__gallery{flex:1.35 1 480px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sey-pdp__gallery img,.sey-pdp__gallery video{width:100%;aspect-ratio:16/25;object-fit:cover;background:var(--sey-ink)}
.sey-pdp__info{flex:1 1 380px;min-width:0;position:sticky;top:24px;display:flex;flex-direction:column}
.sey-pdp__title{font-family:var(--sey-display);font-stretch:125%;font-weight:600;font-size:34px;line-height:1.2;text-transform:uppercase;margin:12px 0 0}
.sey-pdp__price{margin-top:18px;font-size:26px;font-weight:600;line-height:1.3}
.sey-pdp__price s{font-size:16px;font-weight:400;color:var(--sey-muted);margin-left:10px}
.sey-feats{list-style:none;margin:24px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.sey-feats li{display:flex;gap:12px;align-items:flex-start}
.sey-feats li::before{content:"";flex:0 0 14px;height:7px;margin-top:6px;border-left:2px solid var(--sey-accent);border-bottom:2px solid var(--sey-accent);transform:rotate(-45deg)}
.sey-opt{margin-top:24px;display:flex;flex-direction:column;gap:10px;font-size:14px}
.sey-opt__label span{color:var(--sey-muted)}
.sey-opt__label strong{font-weight:600}
.sey-pills{display:flex;flex-wrap:wrap;gap:8px}
.sey-pill{min-width:56px;height:48px;padding:0 14px;border:1px solid var(--sey-dark-muted);background:transparent;color:var(--sey-ink);font:inherit;font-size:15px;font-weight:500;cursor:pointer}
.sey-pill.is-active{background:var(--sey-ink);border-color:var(--sey-ink);color:var(--sey-ground)}
.sey-pill.is-soldout{color:var(--sey-dark-muted);text-decoration:line-through}
.sey-buy{margin-top:28px;display:flex;gap:12px}
.sey-qty{display:flex;align-items:center;border:1px solid var(--sey-dark-muted);height:56px}
.sey-qty button{width:44px;height:100%;border:0;background:transparent;font-size:18px;color:var(--sey-ink);cursor:pointer}
.sey-qty input{width:36px;border:0;background:transparent;text-align:center;font:inherit;font-weight:600;color:var(--sey-ink)}
.sey-buy .sey-btn{flex:1;min-height:56px}
.sey-assure{margin-top:24px;background:var(--sey-surface);border:1px solid var(--sey-line);padding:20px;display:flex;flex-direction:column;gap:10px;font-size:14px}
.sey-assure div{display:flex;justify-content:space-between;gap:16px}
.sey-assure span{color:var(--sey-muted)}
.sey-acc{margin-top:28px;border-top:1px solid var(--sey-ink)}
.sey-acc details{border-bottom:1px solid var(--sey-line)}
.sey-acc summary{list-style:none;cursor:pointer;min-height:56px;display:flex;align-items:center;justify-content:space-between;font-weight:600}
.sey-acc summary::-webkit-details-marker{display:none}
.sey-acc summary::after{content:"+";font-size:20px;font-weight:400}
.sey-acc details[open] summary::after{content:"−"}
.sey-acc__body{padding:0 0 20px;color:#4F4740;line-height:1.6;overflow-x:auto}
.sey-acc table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}
.sey-acc th,.sey-acc td{padding:10px 8px;border-bottom:1px solid var(--sey-line)}
.sey-fabric{padding-top:80px;padding-bottom:80px;display:flex;flex-wrap:wrap;align-items:center;gap:48px 96px}
.sey-fabric>div{flex:1 1 380px;display:flex;flex-direction:column;gap:20px}
.sey-scale{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.sey-scale span{display:block;padding-top:16px;border-top:6px solid var(--sey-dark-line);font-size:12px;color:var(--sey-dark-muted)}
.sey-scale span.is-on{border-top-color:var(--sey-ground);color:var(--sey-ground);font-weight:600}
.sey-scale-title{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}

/* Trang danh mục */
.sey-chips{display:flex;flex-wrap:wrap;gap:8px;padding-top:8px}
.sey-chip{display:inline-flex;align-items:center;height:44px;padding:0 18px;border:1px solid var(--sey-dark-muted);font-size:14px;font-weight:500}
.sey-chip.is-active{background:var(--sey-ink);border-color:var(--sey-ink);color:var(--sey-ground)}
.sey-plp{display:flex;flex-wrap:wrap;align-items:flex-start;gap:40px;padding-bottom:88px}
.sey-plp__side{flex:1 1 240px;display:flex;flex-direction:column;gap:24px}
.sey-plp__main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:24px}
.sey-plp__bar{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--sey-ink);font-size:14px}
.sey-plp__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:40px 20px}
.sey-filter{display:flex;flex-direction:column;border-top:1px solid var(--sey-line);padding-top:20px}
.sey-filter a{display:flex;align-items:center;min-height:44px}
.sey-filter a.is-active{font-weight:600}

/* Điện thoại */
@media(max-width:900px){
  .sey-h1{font-size:36px}
  .sey-h2{font-size:24px}
  .sey-section{padding-top:56px;padding-bottom:56px}
  .sey-section--flush{padding-bottom:0}
  .sey-hero__text,.sey-split__text,.sey-split__text--right{min-height:0;padding:48px 0}
  .sey-hero__media img,.sey-hero__media video{height:420px}
  .sey-split__img{min-height:360px}
  .sey-grid,.sey-plp__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}
  .sey-pdp{gap:28px}
  .sey-pdp__info{position:static}
  .sey-pdp__title{font-size:26px}
  .sey-facts{grid-template-columns:1fr}
  .sey-buy{position:sticky;bottom:0;background:var(--sey-ground);padding:12px 0;z-index:5}
}

/* === Lớp phủ lên theme nền EGA: màu, font, logo === */
:root{--text-color:#241F1B;--body-background:#F1EDE6;--text-secondary-color:#655C54;--primary-color:#241F1B;--secondary-color:#7A6257;--price-color:#241F1B;--subheader-background:#241F1B;--subheader-color:#F1EDE6;--header-category-bg:#241F1B;--header-category-color:#F1EDE6;--label-background:#FAF8F4;--label-color:#241F1B;--footer-bg:#241F1B;--footer-color:#F1EDE6;--addtocart-bg:#7A6257;--addtocart-text-color:#fff;--cta-color:#241F1B;--link-color:#7A6257;--border-color:#D9D2C7;--policies-bg:#FAF8F4;--policies-color:#241F1B;--product-promotion-bg:#7A6257;--sale-pop-color:#7A6257;--reviewBg:#7A6257}
body{font-family:'Be Vietnam Pro',system-ui,sans-serif;background:#F1EDE6;color:#241F1B}
h1,h2,h3,.product-name,.title-module,.block-title{font-family:'Archivo',sans-serif}
.ega-header{background:#FAF8F4;border-bottom:1px solid #D9D2C7}
.ega-header .logo-wrapper{display:inline-flex;align-items:center;gap:12px}
.ega-header .logo-wrapper img{height:38px;width:auto;max-width:none}
.ega-header .logo-wrapper::after{content:"";display:block;width:92px;height:15px;background:url(seyactive-wordmark.png) no-repeat center/contain}
footer .logo-wrapper img,.footer .logo-wrapper img{height:60px;width:auto}

/* === Trang danh mục trên theme nền EGA === */
.collection_banner{display:none}
.coll-head .collection-title,h1.title_page{font-family:'Archivo',sans-serif;font-stretch:125%;font-weight:600;font-size:40px;line-height:1.2;text-transform:uppercase;color:#241F1B}
.bg_collection,.wrap_background,.wrap_background_aside,.dqdt-sidebar,.category-products{background:transparent!important;box-shadow:none!important}
.dqdt-sidebar{border:0!important}
.aside-title,.dqdt-sidebar .title-head,.dqdt-sidebar h2{font-family:'Be Vietnam Pro',sans-serif;font-size:12px!important;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:#655C54}
.item_product_main{background:transparent!important;box-shadow:none!important;border:0!important}
.item_product_main .product-info{background:transparent!important;padding:12px 0 0!important}
.item_product_main .product-vendor{display:none}
.item_product_main .product-name,.item_product_main .product-name a{font-family:'Archivo',sans-serif;font-stretch:112%;font-weight:600;font-size:15px;line-height:1.35;text-transform:uppercase;letter-spacing:.03em;color:#241F1B}
.item_product_main .price-box,.item_product_main .price-box .price{font-size:15px;font-weight:600;color:#241F1B}
.item_product_main .product-thumbnail{background:#E6DFD3}
.sortPagiBar{border-bottom:1px solid #241F1B;padding-bottom:8px;margin-bottom:24px}

/* === Trang sản phẩm trên theme nền EGA === */
.details-product .bg-white,.product-detail-left.bg-white,.details-pro.bg-white,.wp_product_main{background:transparent!important}
h1.title-product{font-family:'Archivo',sans-serif;font-stretch:125%;font-weight:600;font-size:32px;line-height:1.2;text-transform:uppercase;color:#241F1B}
.details-pro .price-box,.details-pro .price-box .special-price{font-size:26px;font-weight:600;color:#241F1B}
.details-pro .swatch:not(.swatch-color) .swatch-element label{min-width:56px;height:48px;line-height:46px;padding:0 14px;border:1px solid #B9AEA2;border-radius:0;font-size:15px;font-weight:500;background:transparent;color:#241F1B}
.details-pro .swatch:not(.swatch-color) .swatch-element input:checked+label{background:#241F1B;border-color:#241F1B;color:#F1EDE6}
.details-pro .btn_add_cart{background:#7A6257!important;border-color:#7A6257!important;color:#fff!important;min-height:56px;border-radius:0!important;font-weight:600;letter-spacing:.06em}
.details-pro .buynow{background:transparent!important;border:1px solid #241F1B!important;color:#241F1B!important;min-height:52px;border-radius:0!important;font-weight:600;letter-spacing:.06em}
.details-pro .input_number_product{border-radius:0;height:56px}
#ega-salebox{border:1px solid #D9D2C7!important;background:#FAF8F4;border-radius:0!important}
.product-tabs{background:transparent!important}
.product-tabs .tab-link,.product-tabs h3,.product-tabs .title-head{font-family:'Be Vietnam Pro',sans-serif;font-weight:600}
.sey-fabric-band{margin-top:48px}

/* Lưới 4 cột cố định trên máy tính để thẻ không bị giãn khi ít sản phẩm */
@media(min-width:901px){.sey-home .sey-grid:has(> .sey-card),.sey-home .sey-grid:has(> .sey-tile){grid-template-columns:repeat(4,minmax(0,1fr))}}