.beauty-inner{align-items:start}
.detail-labels{width:350px;max-width:100%;justify-content:space-between}
.custom-inner{align-items:start}
.custom-copy h2{margin-top:0}
.custom-inner .inquiry-form{align-self:start;margin-top:0}
.cart-panel::before,.checkout-form::before,.wholesale-section::before{background:url('./assets/design/approved-corner-tl.svg') left top/44px 58px no-repeat,url('./assets/design/approved-corner-tr.svg') right top/44px 58px no-repeat,url('./assets/design/approved-corner-bl.svg') left bottom/44px 58px no-repeat,url('./assets/design/approved-corner-br.svg') right bottom/44px 58px no-repeat}
.wholesale-intro::before{background-image:url('./assets/design/cooperation-soft.webp');background-size:contain;width:240px;right:-24px;mask-image:linear-gradient(90deg,transparent,#000 65px,#000 calc(100% - 65px),transparent),linear-gradient(180deg,transparent,#000 60px,#000 calc(100% - 65px),transparent);mask-composite:intersect}
.product-modal{background:#fff9eb url('./assets/design/approved-modal-skin.webp') center/100% 100% no-repeat;box-shadow:0 12px 60px #170c0d70;border:0}
.product-modal,.product-modal *{font-family:'Times New Roman',serif!important}
.modal-frame-corner,.modal-info::before{display:none}
.gallery-thumb-rail{display:grid;grid-template-columns:30px minmax(0,1fr) 30px;gap:8px;align-items:center;min-width:0;min-height:0}
.thumb-scroll{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:50%;padding:4px;background:#eedfc0;color:#845b20}
.thumb-scroll svg{width:22px;height:22px}
.modal-info .spec-icon{width:34px;height:34px;grid-row:span 2;object-fit:contain}
@media(min-width:901px){
 .beauty-copy h2{margin-top:14px}
 .product-modal{container-type:inline-size;max-width:none;width:min(1395px,calc((100dvh - 32px)*1395/1028),calc(100vw - 32px));height:min(1028px,calc(100dvh - 32px),calc((100vw - 32px)*1028/1395));padding:0;grid-template-columns:minmax(0,52.83fr) minmax(0,47.17fr);border-radius:14px}
 .product-modal>.modal-gallery{padding:3.2cqw 1.85cqw 3.5cqw 3.55cqw;grid-template-rows:minmax(0,1fr) 8.8cqw;gap:1.55cqw}
 .modal-image-stage{border:2px solid #ad7c2e;border-radius:1.3cqw;outline-offset:-5px}
 .modal-image-stage::before{content:'';position:absolute;inset:5px;z-index:1;pointer-events:none;background:url('./assets/design/approved-photo-tr.svg') right top/2.3cqw 2.6cqw no-repeat,url('./assets/design/approved-photo-bl.svg') left bottom/2.4cqw 2.6cqw no-repeat,url('./assets/design/approved-photo-br.svg') right bottom/2.3cqw 2.6cqw no-repeat}
 .modal-image-stage img{object-fit:cover;padding:3px}
 .modal-image-stage video{padding:3px}
 .gallery-thumb-rail{grid-template-columns:3.6cqw minmax(0,1fr) 3.6cqw;gap:.7cqw}
 .thumb-scroll{width:3.6cqw;height:3.6cqw}.thumb-scroll svg{width:2.4cqw;height:2.4cqw}
 .gallery-thumbs{height:100%;padding:0;gap:.6cqw;align-items:stretch}
 .gallery-thumbs button{flex:0 0 8.1cqw;width:8.1cqw;height:8.8cqw;padding:3px;border-radius:.5cqw}
 .gallery-prev,.gallery-next{width:4.6cqw;height:4.6cqw;border:3px solid #fff7e5;box-shadow:0 0 0 2px #b98f4d}
 .gallery-prev svg,.gallery-next svg{width:2.7cqw;height:2.7cqw}
 .product-modal>.modal-info{position:relative;display:block;padding:0;border-left:1px solid #dccaa7;overflow:hidden}
 .modal-info>:not(.modal-brand-cross){position:absolute;left:4.3cqw;right:4.4cqw;width:auto;margin:0}
 .modal-brand-cross{position:absolute;top:2.8cqw;left:0;right:5.2cqw;height:3.1cqw;background:url('./assets/design/approved-cross.svg') center/contain no-repeat}
 .modal-info>.product-category{top:6.3cqw;height:2.1cqw;font-size:1.45cqw;font-weight:700;gap:1.8cqw;text-transform:uppercase;letter-spacing:.1em!important}
 .modal-info>.product-category::before,.modal-info>.product-category::after{height:4.2cqw;width:9cqw;background:url('./assets/design/approved-brand-flourish.svg') center/contain no-repeat}
 .modal-info>.product-category::after{transform:scaleX(-1)}
 .modal-info>.product-category{right:9.6cqw}
 .modal-info h2{top:10cqw;font-size:5.5cqw;line-height:.92;font-weight:400;height:10.4cqw;max-height:none;overflow:visible;overflow-wrap:normal}
 .modal-info>.modal-title-divider{top:20.6cqw;left:10.1cqw;right:15.4cqw;height:2.2cqw;min-height:0;background:url('./assets/design/approved-title-divider.svg') center/100% 100% no-repeat}
 .modal-info>p{top:23.1cqw;font-size:2.15cqw;line-height:1.1;max-height:3.2cqw;overflow:auto}
 .modal-info dl{top:26.4cqw;gap:0;grid-template-rows:repeat(3,5.4cqw)}
 .modal-info dl>div{grid-template-columns:4.6cqw minmax(0,1fr);grid-template-rows:1.8cqw 2.6cqw;column-gap:2.1cqw;align-content:center}
 .modal-info .spec-icon{width:4.6cqw;height:4.6cqw}
 .modal-info dt{font-size:1.45cqw;line-height:1.1;font-weight:700;margin:0;color:#b3823b}
 .modal-info dd{font-size:1.95cqw;line-height:1.1;overflow-wrap:normal}
 .modal-description-block{top:41.7cqw;height:11.1cqw;padding-top:1.9cqw;border:0;background:url('./assets/design/approved-description-divider.svg') center top/100% 2.4cqw no-repeat;overflow:auto}
 .modal-description-block h3{font-size:2.3cqw;line-height:1.2;margin:0 0 .5cqw;color:#83521b}
 .modal-description-block p{font-size:1.85cqw!important;line-height:1.08;margin:0}
 .modal-info #modalPrice{top:53.1cqw;font-size:4.8cqw;line-height:1;color:#7e0709;font-weight:700}
 .modal-info #modalCart{top:60.1cqw;height:5.6cqw;min-height:0;font-size:2.65cqw;padding:.4cqw;border-radius:1.1cqw;border:1px solid #b99652;box-shadow:inset 0 0 0 2px #b99652,inset 0 0 0 4px #fff1c2;background:linear-gradient(90deg,#183e30,#263523)}
 #modalCart svg{width:3.2cqw;height:3.2cqw;color:#cfab58}
 #modalCart::before,#modalCart::after{content:'';width:7.6cqw;height:3.6cqw;background:url('./assets/design/approved-button-flourish.svg') center/contain no-repeat;margin-inline:auto}
 #modalCart::after{transform:scaleX(-1)}
 .modal-marketplace-links{top:66.5cqw;height:4.5cqw;gap:1cqw}
 .modal-marketplace-links a{font-size:1.35cqw;min-height:0;padding:.4cqw;border-width:1px;border-radius:1cqw}
 .modal-marketplace-links svg{width:2.4cqw;height:2.4cqw}
 .close-modal{top:1.8cqw;right:1.8cqw;width:4.2cqw;height:4.2cqw;border-radius:.7cqw}
 .close-modal svg{width:2.6cqw;height:2.6cqw}
}
@media(max-width:900px){
 .product-modal{background-size:100% 100%}
 .modal-brand-cross{display:none}
 .modal-info .spec-icon{width:24px;height:24px;grid-row:auto}
 .gallery-thumb-rail{grid-template-columns:24px minmax(0,1fr) 24px;gap:4px}
 .thumb-scroll{width:24px;height:24px;padding:2px}
 .beauty-inner,.custom-inner{align-items:start}
}
