/* The salon shop: every item, the website included, shown as a photographed product in the selected brand. */
body[data-page=shop]{background:var(--tae-cream)}
.catalog-page{background:var(--tae-cream);color:var(--tae-ink)}
.catalog-page .edition-nav{display:flex;align-items:center;justify-content:space-between;padding:20px max(5%,calc((100% - 1200px)/2));border-bottom:1px solid var(--tae-line)}
.catalog-page .edition-nav a{color:var(--tae-ink);text-decoration:none;font:500 15px/1 var(--tae-sans)}
.catalog-page .catalog-intro{max-width:760px;margin:0 auto;padding:clamp(48px,6vw,88px) 20px 40px;text-align:center}
body .catalog-page .catalog-intro h1{font-size:var(--tae-h1)!important;line-height:1.02;margin:16px 0 20px}
.catalog-page .catalog-intro h1 em{font-style:italic;color:var(--tae-plum)}
body .catalog-page .catalog-intro>p:last-child{font-size:18px;line-height:1.6;color:var(--tae-body);max-width:560px;margin:0 auto}
.catalog-page .catalog-body{max-width:1200px;margin:0 auto;padding:0 20px var(--tae-section);box-sizing:border-box}

/* Controls: brand switch, categories, request count */
.catalog-page .catalog-controls{position:sticky;top:0;z-index:5;background:var(--tae-cream);border-block:1px solid var(--tae-line);padding:14px 0;gap:14px 24px}
.shop-brands{display:flex;flex-wrap:wrap;gap:8px}
.catalog-page .catalog-controls .shop-brands button{min-height:44px;padding:0 18px;border:1px solid #c9b3ab;border-radius:999px;font:500 14px/1 var(--tae-sans);color:var(--tae-body);background:transparent}
.catalog-page .catalog-controls .shop-brands button b{font-weight:600;color:var(--tae-ink);margin-right:4px}
.catalog-page .catalog-controls .shop-brands button[aria-pressed=true]{background:var(--tae-plum);border-color:var(--tae-plum);color:#f7e9ec}
.catalog-page .catalog-controls .shop-brands button[aria-pressed=true] b{color:#fff8f3}
.catalog-page .catalog-filters{gap:4px 20px}
.catalog-page .catalog-controls .catalog-filters button{min-height:44px;font:500 14px/1 var(--tae-sans);color:var(--tae-muted)}
.catalog-page .catalog-controls .catalog-filters button[aria-pressed=true]{color:var(--tae-ink);border-bottom:2px solid var(--tae-plum)}
.catalog-page .catalog-controls #view-request{min-height:44px;padding:0 18px;border:1px solid var(--tae-plum);color:var(--tae-plum);font:600 14px/1 var(--tae-sans)}
.catalog-page .catalog-disclosure{font-size:14px;color:var(--tae-muted);margin:16px 0 32px}
.catalog-page #collection-hero{display:none}

/* Product grid */
.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 28px}
.shop-item{display:flex;flex-direction:column;min-width:0}
.shop-photo{position:relative;display:block;width:100%;padding:0;border:0;border-radius:6px;overflow:hidden;background:#efe4dc;cursor:pointer;aspect-ratio:4/5}
.shop-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
@media(hover:hover){.shop-photo:hover img{transform:scale(1.03)}}
.shop-photo:focus-visible,.shop-add:focus-visible{outline:2px solid var(--tae-plum);outline-offset:3px}
.shop-flag{position:absolute;top:14px;left:14px;padding:8px 12px;border-radius:999px;background:var(--tae-plum);color:#fff8f3;font:600 12px/1 var(--tae-sans);letter-spacing:.08em;text-transform:uppercase}
.shop-info{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding-top:18px;flex:1}
.shop-group{font:600 12px/1.4 var(--tae-sans);letter-spacing:.16em;text-transform:uppercase;color:var(--tae-plum)}
body .catalog-page .shop-info h2{font:400 30px/1.1 var(--tae-serif);margin:0;color:var(--tae-ink)}
body .catalog-page .shop-price{font:600 16px/1.4 var(--tae-sans);color:var(--tae-ink);margin:0}
.shop-price small{display:block;font-weight:400;font-size:14px;color:var(--tae-muted)}
body .catalog-page .shop-info>p:not(.shop-price){font-size:15px;line-height:1.6;color:var(--tae-body);margin:0}
body .catalog-page .shop-add{margin-top:auto;min-height:44px;padding:0 20px;border:1px solid var(--tae-plum);border-radius:2px;background:transparent;color:var(--tae-plum);font:600 14px/1 var(--tae-sans);cursor:pointer}
body .catalog-page .shop-add:hover{background:var(--tae-plum);color:#fff8f3}

/* The website leads the shop as a wide feature */
.shop-item.is-website{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(28px,5vw,72px);align-items:center;padding-bottom:48px;border-bottom:1px solid var(--tae-line)}
.shop-item.is-website .shop-photo{aspect-ratio:4/4}
.shop-item.is-website .shop-photo img{object-position:center 60%}
body .catalog-page .shop-item.is-website h2{font-size:var(--tae-h2)}
body .catalog-page .shop-item.is-website .shop-price{font-size:20px}
body .catalog-page .shop-item.is-website .shop-info>p:not(.shop-price){font-size:17px;max-width:440px}
body .catalog-page .shop-item.is-website .shop-add{margin-top:12px;min-height:50px;padding:0 26px;background:var(--tae-plum);color:#fff8f3;font-size:15px}

/* Item dialog with its photo */
#product-dialog{max-width:920px;padding:0;background:var(--tae-paper);border:0;border-radius:8px}
#product-dialog .dialog-shop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
#product-dialog .dialog-photo{margin:0;background:#efe4dc}
#product-dialog .dialog-photo img{display:block;width:100%;height:100%;object-fit:cover}
#product-dialog .dialog-shop>div{padding:36px}
#product-dialog h2{font:400 36px/1.1 var(--tae-serif);margin:12px 0}
#product-dialog .product-close{position:absolute;top:12px;right:12px;z-index:2;width:44px;height:44px;border:0;border-radius:50%;background:#fffaf5e6;font-size:22px;cursor:pointer}
#product-dialog label{font:500 14px/1.4 var(--tae-sans);color:var(--tae-ink)}

@media(max-width:900px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 16px}}
@media(max-width:700px){
 .catalog-page .catalog-controls{position:static}
 .catalog-page .catalog-controls .shop-brands button{padding:0 14px}
 .shop-item.is-website{grid-template-columns:1fr;gap:0;padding-bottom:40px}
 body .catalog-page .shop-info h2{font-size:22px}
 .shop-price small{font-size:13px}
 body .catalog-page .shop-info>p:not(.shop-price){font-size:14px}
 .shop-item:not(.is-website) .shop-info>p:not(.shop-price){display:none}
 body .catalog-page .shop-add{width:100%;padding:0 10px}
 #product-dialog .dialog-shop{grid-template-columns:1fr}
 #product-dialog .dialog-photo img{height:34svh}
 #product-dialog .dialog-shop>div{padding:24px 20px}
}
body .catalog-page .button,body #product-dialog .button{background:var(--tae-plum);border-color:var(--tae-plum);color:#fff8f3;min-height:50px;border-radius:2px;font:600 15px/1 var(--tae-sans)}
.catalog-page .catalog-controls #view-request{margin-left:auto}
@media(max-width:700px){
 .catalog-page .catalog-filters{flex-wrap:nowrap;overflow-x:auto;width:100%;gap:18px;scrollbar-width:none}
 .catalog-page .catalog-filters button{flex:none}
 .catalog-page .catalog-controls #view-request{order:-1;margin-left:0;width:100%}
}

/* One-shot view: every item visible at once, no category filters */
.catalog-page .catalog-intro{padding:clamp(28px,3.5vw,48px) 20px 24px}
body .catalog-page .catalog-intro h1{font-size:clamp(38px,4vw,56px)!important;margin:10px 0 12px}
body .catalog-page .catalog-intro h1 br{display:none}
body .catalog-page .catalog-intro>p:last-child{font-size:16px;max-width:640px}
.catalog-page .catalog-controls{justify-content:space-between;padding:10px 0;margin-bottom:24px}
.catalog-page .catalog-controls #view-request{margin-left:0}
.shop-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 16px}
.shop-item.is-website{grid-column:auto;display:flex;padding:0;border:0;gap:0}
.shop-photo,.shop-item.is-website .shop-photo{aspect-ratio:1/1}
.shop-item.is-website .shop-photo{outline:2px solid var(--tae-plum);outline-offset:3px}
.shop-flag{top:8px;left:8px;padding:6px 9px;font-size:10px}
.shop-info{gap:4px;padding-top:12px}
.shop-group{font-size:10px;letter-spacing:.14em}
body .catalog-page .shop-info h2,body .catalog-page .shop-item.is-website h2{font-size:20px;line-height:1.15}
body .catalog-page .shop-price,body .catalog-page .shop-item.is-website .shop-price{font-size:14px}
.shop-price small{font-size:12px}
body .catalog-page .shop-info>p:not(.shop-price),body .catalog-page .shop-item.is-website .shop-info>p:not(.shop-price){display:none}
body .catalog-page .shop-add,body .catalog-page .shop-item.is-website .shop-add{margin-top:8px;min-height:40px;width:100%;padding:0 10px;font-size:13px}
@media(max-width:1180px){.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:860px){.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){
 .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
 .catalog-page .catalog-controls #view-request{order:0;width:auto}
 body .catalog-page .shop-info h2,body .catalog-page .shop-item.is-website h2{font-size:18px}
}
/* Fit both rows in one laptop screen */
.catalog-page .edition-nav{padding-top:14px;padding-bottom:14px}
.catalog-page .catalog-intro{max-width:none;padding:22px 20px 16px}
body .catalog-page .catalog-intro h1{font-size:clamp(34px,3.2vw,46px)!important;margin:6px 0 8px}
body .catalog-page .catalog-intro>p:last-child{font-size:15px;max-width:none}
.catalog-page .catalog-controls{margin-bottom:18px}
.shop-item.is-website{flex-direction:column;align-items:stretch}
.shop-photo,.shop-item.is-website .shop-photo{aspect-ratio:5/4}
.shop-group{display:none}
.shop-info{padding-top:10px}
body .catalog-page .shop-info h2,body .catalog-page .shop-item.is-website h2{font-size:19px}
body .catalog-page .shop-add,body .catalog-page .shop-item.is-website .shop-add{min-height:36px;margin-top:6px}
.shop-grid{gap:22px 16px}
@media(max-width:1180px){.shop-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:20px 12px}}
@media(max-width:1000px){.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:860px){.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-photo,.shop-item.is-website .shop-photo{aspect-ratio:1/1}}
/* 14 items: two rows of seven on laptops */
@media(min-width:1181px){.shop-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:22px 14px}body .catalog-page .shop-info h2{font-size:18px}}

/* Language switcher and translated pages */
.i18n-pending #app{visibility:hidden}
.lang-switch{min-height:40px;padding:0 30px 0 12px;border:1px solid var(--tae-line);border-radius:999px;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23652a40' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;appearance:none;-webkit-appearance:none;font:500 14px/1 var(--tae-sans);color:var(--tae-ink);cursor:pointer}
.catalog-page .edition-nav .lang-switch{margin-left:auto;margin-right:20px}
body .artwork-page .art-navigation div .lang-switch{display:inline-block}
:lang(vi) body,:lang(ko) body,:lang(zh-Hans) body{word-break:keep-all;overflow-wrap:anywhere}
:lang(ko) .artwork-page :is(h1,h2,h3),:lang(zh-Hans) .artwork-page :is(h1,h2,h3),:lang(ko) .catalog-page :is(h1,h2),:lang(zh-Hans) .catalog-page :is(h1,h2){font-family:var(--tae-serif),'Noto Serif KR','Noto Serif SC',serif;letter-spacing:0}
@media(max-width:700px){.lang-switch{min-height:36px;font-size:13px;padding-left:10px}body .artwork-page .art-navigation div{gap:8px}}
body .lang-switch,body .artwork-page .art-navigation div .lang-switch{flex:0 0 auto;width:auto!important;max-width:150px;margin:0}
body .artwork-page .art-navigation div :is(a,button),.catalog-page .edition-nav a{white-space:nowrap}
.catalog-page .edition-nav{gap:16px}.catalog-page .edition-nav .lang-switch{margin-left:auto!important}
@media(max-width:700px){
 body .artwork-page .art-navigation div{display:flex;flex-wrap:nowrap;align-items:center;gap:8px}
 body .lang-switch,body .artwork-page .art-navigation div .lang-switch{max-width:112px;padding:0 26px 0 10px;background-position:right 9px center}
 .catalog-page .edition-nav>a:last-child{display:none}
 .catalog-page .edition-nav .lang-switch{margin-right:0}
}
@media(max-width:380px){body .artwork-page .art-navigation .tae-logo b{font-size:15px;letter-spacing:.08em}}
@media(max-width:430px){
 body .artwork-page .art-navigation{padding-left:16px;padding-right:16px}
 body .artwork-page .art-navigation .tae-logo b{font-size:15px;letter-spacing:.09em}
 body .artwork-page .art-navigation div button{padding:0 12px;font-size:13px}
 body .artwork-page .art-navigation div .lang-switch{max-width:100px;font-size:12px}
}

/* Shopify-style collection grid: big portrait photos, name and starting price, whole card clickable */
.catalog-page .catalog-body{max-width:1320px}

.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:48px 24px!important}
.shop-item,.shop-item.is-website{display:flex;flex-direction:column;align-items:stretch;padding:0;border:0;gap:0}
.shop-photo,.shop-item.is-website .shop-photo{aspect-ratio:4/5!important;border-radius:4px;outline:0}
.shop-photo img{position:absolute;inset:0;transition:opacity .45s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.shop-photo .shop-photo-alt{opacity:0}
@media(hover:hover){.shop-item:hover .shop-photo-alt{opacity:1}.shop-item:hover .shop-photo img{transform:scale(1.03)}}
.shop-flag{top:12px;left:12px;padding:7px 11px;font-size:11px;letter-spacing:.08em;background:#fffaf5;color:var(--tae-plum);box-shadow:0 1px 3px rgb(40 20 20 / 10%)}
.shop-item.is-website .shop-flag{background:var(--tae-plum);color:#fff8f3}
.shop-info{padding-top:16px;gap:6px}
body .catalog-page .shop-info h2,body .catalog-page .shop-item.is-website h2{font:500 17px/1.35 var(--tae-sans)!important;letter-spacing:.01em;margin:0}
body .catalog-page .shop-info h2 button{all:unset;cursor:pointer;color:var(--tae-ink)}
body .catalog-page .shop-info h2 button:hover{text-decoration:underline;text-underline-offset:4px}
body .catalog-page .shop-info h2 button:focus-visible{outline:2px solid var(--tae-plum);outline-offset:3px}
body .catalog-page .shop-price,body .catalog-page .shop-item.is-website .shop-price{font:500 16px/1.4 var(--tae-sans)!important;color:var(--tae-ink)}
body .catalog-page .shop-price small{display:inline;margin-left:6px;font-size:13px;color:var(--tae-muted)}
body .catalog-page .shop-add{display:none}
#product-dialog .dialog-price{font:600 18px/1.4 var(--tae-sans);color:var(--tae-plum);margin:0 0 10px}
#product-dialog .dialog-price small{font-weight:400;font-size:14px;color:var(--tae-muted);margin-left:6px}
@media(max-width:1000px){.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:32px 12px!important}.shop-photo,.shop-item.is-website .shop-photo{aspect-ratio:4/5!important}body .catalog-page .shop-info h2{font-size:15px!important}body .catalog-page .shop-price{font-size:14px!important}body .catalog-page .shop-price small{display:block;margin:2px 0 0;font-size:12px}}
@media(max-width:700px){body .catalog-page .shop-item.is-website .shop-info h2{font-size:15px!important}body .catalog-page .shop-item.is-website .shop-price{font-size:14px!important}}
/* Style variants live inside the item, as photo swatches */
#product-dialog .style-swatches{border:0;padding:0;margin:0 0 20px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
#product-dialog .style-swatches legend{font:500 14px/1.4 var(--tae-sans);color:var(--tae-ink);padding:0;margin-bottom:8px}
#product-dialog .style-swatches label{display:flex;flex-direction:column;gap:6px;margin:0;cursor:pointer;font:500 13px/1.3 var(--tae-sans);color:var(--tae-body);text-align:center}
#product-dialog .style-swatches input{position:absolute;opacity:0;pointer-events:none}
#product-dialog .style-swatches img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:4px;border:2px solid transparent;background:#efe4dc}
#product-dialog .style-swatches input:checked+img{border-color:var(--tae-plum)}
#product-dialog .style-swatches input:checked~span{color:var(--tae-plum);font-weight:600}
#product-dialog .style-swatches input:focus-visible+img{outline:2px solid var(--tae-plum);outline-offset:2px}
.catalog-page .catalog-controls{justify-content:flex-end}
#product-dialog .style-swatches{min-width:0;min-inline-size:0;grid-template-columns:repeat(3,minmax(0,1fr))}
#product-dialog .dialog-shop>div,#product-dialog .dialog-photo{min-width:0}
#product-dialog .dialog-shop{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
@media(max-width:700px){#product-dialog .dialog-shop{grid-template-columns:minmax(0,1fr)}}
#product-dialog .style-swatches img{height:auto!important;aspect-ratio:1/1}
/* Designs visible from the outside: view switcher above the grid, colour dots on every card */
.swatch-dot{display:inline-block;width:18px;height:18px;border-radius:50%;border:2px solid #fffaf5;box-shadow:0 0 0 1px #c9b3ab;padding:0;cursor:pointer;flex:none}
.swatch-dot.classic{background:linear-gradient(135deg,#efdcd6 50%,#652a40 50%)}
.swatch-dot.luxury{background:linear-gradient(135deg,#f3ece2 50%,#171412 50%)}
.swatch-dot.modern{background:linear-gradient(135deg,#f6f4f0 50%,#c8102e 50%)}
.shop-swatches{display:flex;align-items:center;gap:8px;margin-top:4px}
.shop-swatches .swatch-dot[aria-pressed=true]{box-shadow:0 0 0 2px var(--tae-ink)}
.shop-swatches span{font:400 13px/1 var(--tae-sans);color:var(--tae-muted);margin-left:2px}
.catalog-page .catalog-controls{justify-content:space-between!important}
.catalog-page .shop-brands{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.shop-brands-label{font:500 14px/1 var(--tae-sans);color:var(--tae-muted);margin-right:4px}
.catalog-page .catalog-controls .shop-brands button{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 16px 0 10px;border:1px solid #c9b3ab;border-radius:999px;background:transparent;font:500 14px/1 var(--tae-sans);color:var(--tae-ink);cursor:pointer}
.catalog-page .catalog-controls .shop-brands button[aria-pressed=true]{border-color:var(--tae-ink);box-shadow:inset 0 0 0 1px var(--tae-ink);background:#fffaf5;color:var(--tae-ink)}
.catalog-page .shop-brands .swatch-dot{width:16px;height:16px;cursor:inherit}
#product-dialog .style-swatches legend{font-weight:600}
@media(max-width:700px){.shop-brands-label{width:100%;margin-bottom:2px}.catalog-page .catalog-controls .shop-brands button{padding:0 12px 0 8px}.swatch-dot{width:16px;height:16px}}
body .artwork-page .package-tier li.is-value{font-weight:700;color:var(--tae-plum);list-style:none;margin-left:-1.1em;padding:8px 12px;background:#f3e5e8;border-radius:4px;margin-bottom:6px}
body .artwork-page .package-tier li.is-value{margin-left:0;padding:9px 12px 9px 14px;display:block}
body .artwork-page .package-tier li.is-value::before{content:'✦ ';position:static;display:inline;background:none;width:auto;height:auto;color:var(--tae-plum);mask:none;-webkit-mask:none;border:0;transform:none;margin-right:4px}
/* Shop sections, each sorted from the lowest starting price */
.shop-section{grid-column:1/-1;display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 18px;padding-top:24px;border-top:1px solid var(--tae-line);margin-top:8px}
.shop-section:first-child{border-top:0;padding-top:0;margin-top:0}
body .catalog-page .shop-section h2{font:400 32px/1.1 var(--tae-serif)!important;color:var(--tae-ink);margin:0}
body .catalog-page .shop-section p{font:400 15px/1.5 var(--tae-sans);color:var(--tae-muted);margin:0}
.shop-section.is-premium{border-top:2px solid var(--tae-plum)}
body .catalog-page .shop-section.is-premium h2{color:var(--tae-plum)}
@media(max-width:700px){body .catalog-page .shop-section h2{font-size:26px!important}body .catalog-page .shop-section p{font-size:14px}}
/* Start here: the three website designs side by side */
.shop-websites{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.shop-websites .shop-item.is-website .shop-photo{aspect-ratio:4/3!important;outline:0}
.shop-websites .shop-item.is-website .shop-photo img{object-position:center 55%}
.shop-websites .shop-flag{background:var(--tae-plum);color:#fff8f3}
body .catalog-page .shop-websites .shop-info h2{font:400 26px/1.15 var(--tae-serif)!important}
body .catalog-page .shop-websites .shop-demo{font:400 14px/1.4 var(--tae-sans);color:var(--tae-muted);margin:0}
@media(max-width:860px){.shop-websites{grid-template-columns:1fr;gap:28px}}
body .catalog-page .shop-websites .shop-info>p.shop-demo{display:block!important}
.shop-websites .shop-item.is-website{position:relative}
.shop-websites .shop-item.is-chosen .shop-photo{box-shadow:0 0 0 2px var(--tae-plum)}
.shop-websites .shop-chosen{position:absolute;top:12px;right:12px;z-index:2;background:#fff8f3;color:var(--tae-plum);font:600 12px/1 var(--tae-sans);letter-spacing:.06em;text-transform:uppercase;padding:7px 10px;border-radius:999px}
