/* V16 rental page corrections · 2026-10-25
 * One desktop sidebar, honest SKU variants, native-size gallery and two-row actions.
 */
body[data-site-page="rent"] .site-rent-page .rent-guide{
  max-width:none;width:100%;font-size:13px;line-height:1.7;letter-spacing:0;
  margin-top:12px;margin-bottom:17px;text-wrap:pretty;
}
@media(min-width:760px){
 body[data-site-page="rent"] #bo-suu-tap{
   display:grid;grid-template-columns:minmax(230px,260px) minmax(0,1fr);
   column-gap:22px;row-gap:17px;align-items:start;
 }
 body[data-site-page="rent"] #bo-suu-tap .section-top{grid-column:1/-1;grid-row:1;margin:0}
 body[data-site-page="rent"] #bo-suu-tap .catalog-toolbar{display:none}
 body[data-site-page="rent"] #bo-suu-tap .filters{
   grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:stretch;
   gap:12px;padding:17px;margin:0;min-width:0;border-radius:20px;
   background:#fff0ed;position:sticky;top:90px
 }
 body[data-site-page="rent"] #bo-suu-tap .filters label,
 body[data-site-page="rent"] #bo-suu-tap .filters label:first-child{
   display:block;width:100%;grid-column:auto;min-width:0;
 }
 body[data-site-page="rent"] #bo-suu-tap .filters label :is(input,select){
   width:100%;margin-top:7px;
 }
 body[data-site-page="rent"] #bo-suu-tap .filter-buttons{
   grid-column:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;
   width:100%;min-width:0;margin-top:4px
 }
 body[data-site-page="rent"] #bo-suu-tap .filter-buttons .button{
   width:100%;padding:9px 4px;min-height:44px;font-size:11px
 }
 body[data-site-page="rent"] #bo-suu-tap .product-grid{
   display:grid;grid-column:2;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr));
   align-content:start;gap:14px;min-width:0
 }
}
@media(min-width:760px) and (max-width:1100px){
 body[data-site-page="rent"] #bo-suu-tap .product-grid{
   grid-template-columns:repeat(2,minmax(0,1fr))
 }
}
@media(max-width:759px){
 body[data-site-page="rent"] #bo-suu-tap{display:block}
 body[data-site-page="rent"] #bo-suu-tap .catalog-toolbar{display:flex}
 body[data-site-page="rent"] #bo-suu-tap .filters{display:none}
 body[data-site-page="rent"] #bo-suu-tap .filters.is-open{
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
   gap:10px;margin-bottom:14px
 }
 body[data-site-page="rent"] #bo-suu-tap .filters.is-open label:first-child{grid-column:1/-1}
 body[data-site-page="rent"] #bo-suu-tap .filters.is-open .filter-buttons{
   grid-column:1/-1;grid-template-columns:1fr 1fr
 }
 body[data-site-page="rent"] #bo-suu-tap .product-grid{
   display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px
 }
}
.product-variations{flex-direction:column;gap:5px;min-height:28px}
.product-sizes{display:flex;gap:5px;flex-wrap:wrap;justify-content:center;align-items:center}
.product-sizes>span:not(:last-child){padding-right:6px;border-right:1px solid #e4c5bf}
.catalog-color-dots{gap:7px}
.product-variations .catalog-color-dot{width:16px;height:16px;flex-basis:16px}
/* The source photo must fit in full on first load; explicit zoom remains opt-in. */
.detail-fashion-grid .detail-photo-wrap .detail-img{
  display:flex;align-items:center;justify-content:center;
  background:#f7efe6;overflow:hidden
}
.detail-fashion-grid .detail-photo-wrap .detail-img img{
  display:block;width:auto;height:auto;max-width:86%;max-height:86%;
  object-fit:contain;object-position:center;transform:scale(1);
  margin:auto;box-shadow:0 5px 21px #3f1b2610;
}
/* Combined garment colors such as "Hồng phấn, Xanh rêu" are one physical SKU:
   separate display lines, never invent independent stock units. */
.detail-color-stack,.detail-size-stack{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.detail-color-stack .detail-color-name{display:inline-flex;align-items:center;gap:6px}
.detail-size-stack span{display:block;white-space:nowrap}
.detail-fashion-grid .detail-table{min-width:470px}
.detail-fashion-grid .detail-table td{line-height:1.45}
/* ID selector wins over earlier #productDetail .detail-actions{display:flex}. */
#productDetail .detail-fashion-grid .detail-actions{
 display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;
 margin:11px 0;align-items:stretch
}
#productDetail .detail-fashion-grid .detail-actions .button{
 display:flex;align-items:center;justify-content:center;
 grid-column:span 2;margin:0;padding:9px 7px;width:100%;min-width:0;
 min-height:39px;height:auto;font:700 11px/1.35 var(--boutique-ui);
 text-align:center;flex:initial;white-space:normal
}
#productDetail .detail-fashion-grid .detail-actions .button:nth-child(4),
#productDetail .detail-fashion-grid .detail-actions .button:nth-child(5){grid-column:span 3}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Public status icon and compact status query dialog. */
.site-header .order-status-icon{display:grid;place-items:center;width:37px;height:39px;border:0;background:transparent;color:#501634;padding:5px;border-radius:10px;flex-shrink:0}
.site-header .order-status-icon:hover,.site-header .order-status-icon:focus-visible{background:#fdeee6;outline:1px solid #cb996f}
.order-status-icon svg{width:25px;height:25px}
.order-status-dialog{width:min(490px,calc(100% - 26px));max-height:90dvh;overflow:auto;padding:27px 29px 25px;border:1px solid #e1be97;background:#fffaf5;border-radius:20px;color:#4e223a;box-shadow:0 26px 70px #31142944}
.order-status-dialog::backdrop{background:#2c1027a8}
.order-status-dialog h2{font:700 28px/1.22 var(--boutique-display);margin:0 38px 13px 0}
.order-status-dialog>p{font:400 12px/1.8 var(--boutique-ui);color:#7a6070;margin-bottom:19px}
.order-status-dialog form{display:grid;gap:13px}
.order-status-dialog label{display:grid;gap:6px;font:700 12px var(--boutique-ui)}
.order-status-dialog input{width:100%;min-height:45px;padding:9px 12px;border-radius:10px;background:#fff;border:1px solid #e0c6b3;font:500 13px var(--boutique-ui)}
.order-status-dialog button[type=submit]{background:#fc5039;color:white;border:none;border-radius:11px;padding:12px 14px;font:700 13px var(--boutique-ui)}
.order-status-dialog .drawer-close{position:absolute;right:17px;top:12px}
.order-status-result{font:600 12px/1.75 var(--boutique-ui);padding:12px;border-radius:10px;background:#fff1e2;border:1px solid #f0d4b0;margin:15px 0 0}
.order-status-result[data-status="success"]{background:#e9f9ee;border-color:#a4d8b4;color:#21613f}
.order-status-result[data-status="error"]{background:#fff0ef;border-color:#e7b4b9;color:#982c40}
.order-status-result[data-status="neutral"]{background:#fff6ea;border-color:#e1c8a7;color:#744b38}
@media(max-width:740px){
 #productDetail .detail-fashion-grid .detail-actions{grid-template-columns:repeat(6,minmax(0,1fr))}
 #productDetail .detail-fashion-grid .detail-actions .button{grid-column:span 2}
 #productDetail .detail-fashion-grid .detail-actions .button:nth-child(4),
 #productDetail .detail-fashion-grid .detail-actions .button:nth-child(5){grid-column:span 3}
 .site-header .order-status-icon{width:34px}
}
@media(max-width:400px){
 #productDetail .detail-fashion-grid .detail-actions .button{font-size:10px;padding:8px 4px}
}


/* V16.0 website refinement #2: orderly footer, elegant hero, one line per displayed choice */
:root{--nhaoc-style-font:"Cormorant Garamond",Georgia,serif}
.hero .hero-copy h1{
 font-family:var(--nhaoc-style-font)!important;
 font-weight:700!important;
 font-size:clamp(48px,4.05vw,68px)!important;
 letter-spacing:-.029em!important;
 line-height:1.13!important;
 margin:14px 0 23px!important;
}
.hero .hero-copy h1 .hero-line{line-height:1.19;white-space:nowrap;letter-spacing:-.03em}
.hero .hero-copy>p{
 max-width:560px!important;
 font:400 14px/1.8 "Be Vietnam Pro",system-ui,sans-serif!important;
 color:#664455;
 text-align:left;text-wrap:pretty;
 margin-bottom:23px
}
.footer .footer-columns{
 display:grid;grid-template-columns:minmax(0,1.17fr) minmax(0,1.58fr) minmax(0,1.11fr);
 gap:clamp(16px,2.7vw,42px);align-items:start
}
.footer .footer-columns>div{min-width:0;display:flex;flex-direction:column;align-items:stretch}
.footer .footer-intro .footer-brand{min-height:72px;justify-content:flex-start}
.footer .footer-visit>h3,.footer .footer-social>h3{
 display:flex;align-items:center;min-height:72px;
 font:700 17px/1.35 "Be Vietnam Pro",sans-serif!important;
 letter-spacing:.075em!important;
 text-transform:uppercase;white-space:nowrap;
 color:#ffdb9d;margin:0 0 10px
}
.footer .footer-contact-line{
 min-height:33px;align-items:center;margin:0 0 12px;
 font:600 12px/1.65 "Be Vietnam Pro",sans-serif;
}
.footer .footer-intro>p{
 width:100%;max-width:370px;
 font:500 13px/1.7 "Be Vietnam Pro",sans-serif;text-align:left
}
.footer .footer-hours{margin-inline:0;width:100%;max-width:395px}
.footer .footer-hours-times>div{font:500 12px/1.65 "Be Vietnam Pro",sans-serif}
.footer .footer-hours-times time{font-weight:700}
.footer .footer-brand h2{font:700 33px/1.22 var(--nhaoc-style-font)!important;white-space:nowrap}
.footer .footer-visit .footer-contact-line,.footer .footer-social .footer-contact-line{white-space:nowrap}
.detail-fashion-grid .detail-table tbody tr{border-bottom:1px solid #edd7c7}
.detail-fashion-grid .detail-table tbody tr:last-child{border-bottom:0}
.detail-fashion-grid .detail-table td{vertical-align:middle;padding:13px 7px}
.detail-fashion-grid .detail-color-name{white-space:normal}
.detail-fashion-grid .detail-size-stack,.detail-fashion-grid .detail-color-stack{display:flex;flex-direction:column;gap:0}
.detail-fashion-grid .detail-color-name .catalog-color-dot{width:15px;height:15px;flex-basis:15px}
.detail-fashion-grid .row-selected{background:#fff0d6}
.detail-fashion-grid .shared-stock-note{
 margin:8px 2px 0;color:#846a62;font:500 10.5px/1.65 "Be Vietnam Pro",sans-serif
}
.detail-fashion-grid .variant-select.selected{background:#9d7330}
@media(max-width:1180px){
 .footer .footer-columns{grid-template-columns:1fr 1.35fr 1fr;gap:18px}
 .footer .footer-visit>h3,.footer .footer-social>h3{font-size:14px}
 .footer .footer-contact-line{font-size:11px;white-space:normal}
 .footer .footer-brand h2{font-size:30px!important}
 .hero .hero-copy h1{font-size:clamp(38px,4.1vw,56px)!important}
}
@media(max-width:760px){
 .hero .hero-copy h1{font-size:clamp(35px,7.4vw,53px)!important}
 .hero .hero-copy h1 .hero-line{white-space:normal}
 .hero .hero-copy>p{font-size:13px!important}
 .footer .footer-columns{grid-template-columns:1fr;gap:20px}
 .footer .footer-columns>div{display:block}
 .footer .footer-visit>h3,.footer .footer-social>h3{min-height:0;font-size:16px;margin:0 0 16px}
 .footer .footer-contact-line{white-space:normal;font-size:12px}
 .footer .footer-brand h2{font-size:29px!important}
}


/* Rent catalog density: four cards on laptops, five on wide desktops (2026-10-28). */
@media (min-width:760px){
  body[data-site-page="rent"] #bo-suu-tap{
    width:min(calc(100% - 40px),max(980px,66vw));
    grid-template-columns:minmax(205px,220px) minmax(0,1fr);
    column-gap:17px;
    row-gap:14px;
  }
  body[data-site-page="rent"] #bo-suu-tap .filters{
    grid-column:1;
    grid-row:2;
    padding:14px 13px;
    gap:10px;
  }
  body[data-site-page="rent"] #bo-suu-tap .product-grid{
    grid-column:2;
    grid-row:2;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  body[data-site-page="rent"] #bo-suu-tap .product-photo{
    height:auto;
    aspect-ratio:3 / 4.15;
  }
  body[data-site-page="rent"] #bo-suu-tap .product-info{
    gap:3px;
    padding:10px 9px 11px;
  }
  body[data-site-page="rent"] #bo-suu-tap .product-info h3{
    font-size:clamp(15px,1.1vw,18px);
    line-height:1.18;
    min-height:2.36em;
    max-height:2.36em;
    margin:0;
  }
  body[data-site-page="rent"] #bo-suu-tap .product-info .product-meta{
    font-size:10px;
    line-height:1.3;
  }
  body[data-site-page="rent"] #bo-suu-tap .product-variations{
    gap:3px;
    min-height:20px;
    font-size:10px;
  }
  body[data-site-page="rent"] #bo-suu-tap .product-info .product-price{
    font-size:16px;
    line-height:1.3;
    margin:3px 0 0;
  }
  body[data-site-page="rent"] #bo-suu-tap .product-info .product-more{
    margin-top:5px;
    padding:8px 5px;
    border-radius:9px;
    line-height:1.3;
  }
  body[data-site-page="rent"] #bo-suu-tap .category-tag{
    top:9px;
    left:9px;
    padding:4px 8px;
    font-size:10px;
  }
  body[data-site-page="rent"] #bo-suu-tap .favorite-toggle{
    top:8px;
    right:8px;
    width:34px;
    height:34px;
  }
  body[data-site-page="rent"] #bo-suu-tap .catalog-color-picks{
    gap:8px;
    margin:7px 6px 10px;
  }
}
@media (min-width:980px){
  body[data-site-page="rent"] #bo-suu-tap .product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (min-width:1100px){
  body[data-site-page="rent"] #bo-suu-tap .product-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media (min-width:1560px){
  body[data-site-page="rent"] #bo-suu-tap .product-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
/* Cormorant Garamond draws an old-style 4 below the heading baseline. */
#cam-ket .rent-step-number{
  display:inline-block;
  font-family:"Lora",Georgia,serif;
  font-size:.8em;
  font-weight:500;
  font-variant-numeric:lining-nums;
  font-feature-settings:"lnum" 1,"onum" 0;
  line-height:1;
  vertical-align:.06em;
}


/* V16 rental catalog: five cards and shared title alignment (2026-10-28). */
body[data-site-page="rent"] .site-rent-page h1{
  font:700 clamp(30px,3vw,40px)/1.18 var(--boutique-display)!important;
  letter-spacing:-.028em!important;
}
@media(min-width:760px){
  body[data-site-page="rent"] #bo-suu-tap{
    width:min(calc(100% - 52px),max(1120px,70vw));
  }
  body[data-site-page="rent"] #bo-suu-tap .section-top{
    width:min(1220px,calc(100vw - 46px));
    justify-self:center;
  }
}
@media(min-width:1250px){
  body[data-site-page="rent"] #bo-suu-tap .product-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
}
