/* V86 — scoped homepage layout only. No other page styles replaced. */
/* Six categories share ONE single desktop line; smaller displays scroll horizontally. */
#explore-categories .category-grid {display:grid !important;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;align-items:stretch;justify-content:stretch;overflow:visible;}
#explore-categories .category-grid .category-card,
#explore-categories .category-grid[data-expanded="false"] .category-card:nth-child(n+4),
#explore-categories .category-grid[data-expanded="true"] .category-card {display:flex !important;min-width:0;width:auto;max-width:none;flex:none;}
#explore-categories .category-card-picture {aspect-ratio:1280/720;overflow:hidden;background:#fff5f4;}
#explore-categories .category-card-picture img {width:100%;height:100%;object-fit:cover;}
#explore-categories .category-card-body {padding:13px 10px 12px;}
#explore-categories .category-card h3 {font-size:clamp(15px,1.35vw,21px);line-height:1.15;}
#explore-categories .category-card-body>p {font-size:11px;line-height:1.5;margin:8px 0 12px;}
#explore-categories .category-card-cta {font-size:10px;min-height:39px;padding:9px 5px;margin-top:auto;}
#explore-categories .category-actions {display:none !important;}
/* Nail Care and Pedicure products use the same card measurements and image framing. */
#catalog .catalog-grid .catalog-card {display:flex;flex-direction:column;border-radius:9px;overflow:hidden;background:#fff;}
#catalog .catalog-grid .catalog-photo {aspect-ratio:16/9;overflow:hidden;background:#fff4f4;}
#catalog .catalog-grid .catalog-photo img {width:100%;height:100%;object-fit:cover;}
#catalog .catalog-grid .catalog-card-body {flex:1;display:flex;flex-direction:column;}
#catalog .catalog-grid .catalog-card .catalog-description {flex:1;}
/* Latest posts — same elegant editorial palette as NailShopHub. */
.nsh-latest-posts {max-width:1280px;width:calc(100% - 32px);margin:62px auto 78px;color:#28171e;}
.nsh-latest-heading {text-align:center;max-width:790px;margin:0 auto 31px;}
.nsh-latest-eyebrow {font-size:10px;letter-spacing:.18em;font-weight:750;color:#8a3159;margin:0 0 11px;}
.nsh-latest-heading h2 {font:400 clamp(34px,4vw,55px)/1.12 Georgia,'Times New Roman',serif;letter-spacing:-.035em;margin:0 0 12px;color:#301523;}
.nsh-latest-heading h2 em {font-weight:400;color:#791c44;}
.nsh-latest-heading>p:last-child {font-size:14px;line-height:1.7;color:#675960;margin:0;}
.nsh-latest-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.nsh-latest-card {min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #eadde2;border-radius:11px;overflow:hidden;box-shadow:0 4px 15px rgba(86,26,53,.04);transition:transform .2s ease,box-shadow .2s ease;}
.nsh-latest-card:hover {transform:translateY(-3px);box-shadow:0 12px 30px rgba(86,26,53,.1);}
.nsh-latest-media {display:block;aspect-ratio:16/9;overflow:hidden;background:#fff0f3;}
.nsh-latest-media img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.nsh-latest-card:hover .nsh-latest-media img {transform:scale(1.025);}
.nsh-latest-body {padding:19px 20px 20px;display:flex;flex-direction:column;flex:1;}
.nsh-latest-category {color:#8a3159;font-size:10px;text-transform:uppercase;font-weight:750;letter-spacing:.11em;margin:0 0 9px;}
.nsh-latest-card h3 {font:400 clamp(19px,2vw,26px)/1.18 Georgia,'Times New Roman',serif;letter-spacing:-.018em;margin:0 0 12px;}
.nsh-latest-card h3 a {color:#321522;text-decoration:none;}
.nsh-latest-card h3 a:hover {color:#822249;}
.nsh-latest-excerpt {font-size:12px;line-height:1.75;color:#62575d;margin:0 0 17px;flex:1;}
.nsh-latest-read {align-self:flex-start;text-decoration:none;color:#802248;font-size:12px;font-weight:750;border-bottom:1px solid #ba7893;padding-bottom:5px;}
.nsh-latest-read:hover {color:#3f1027;}
.nsh-latest-more {display:flex;justify-content:center;margin-top:30px;}
.nsh-latest-more a {display:inline-flex;justify-content:center;align-items:center;gap:13px;background:#111;color:#fff;text-decoration:none;border-radius:5px;padding:15px 28px;font-weight:700;font-size:13px;min-height:48px;}
.nsh-latest-more a:hover {background:#782244;}
@media(max-width:1100px){
 #explore-categories .category-grid{display:flex!important;flex-wrap:nowrap!important;gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:0 2px 12px;justify-content:flex-start;scrollbar-width:thin;scrollbar-color:#d8a0b8 transparent;}
 #explore-categories .category-grid .category-card {flex:0 0 210px!important;scroll-snap-align:start;}
 #explore-categories .category-grid .category-card h3{font-size:20px;}
 #explore-categories .category-card-body>p {font-size:11px;}
}
@media(max-width:700px){
 #explore-categories .category-grid .category-card{flex-basis:235px!important;}
 .nsh-latest-posts{width:calc(100% - 24px);margin:42px auto 54px;}
 .nsh-latest-heading{margin-bottom:20px;padding:0 8px;}
 .nsh-latest-heading h2{font-size:33px;}
 .nsh-latest-heading>p:last-child{font-size:12px;}
 .nsh-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;}
 .nsh-latest-card:nth-child(n+5){display:none;}
 .nsh-latest-card{border-radius:8px;}
 .nsh-latest-body{padding:12px 11px 15px;}
 .nsh-latest-category{font-size:8px;margin-bottom:8px;letter-spacing:.06em;}
 .nsh-latest-card h3{font-size:19px;line-height:1.16;margin-bottom:9px;}
 .nsh-latest-excerpt{font-size:10px;line-height:1.52;margin-bottom:11px;}
 .nsh-latest-read{font-size:11px;}
 .nsh-latest-more{margin-top:23px;}
 .nsh-latest-more a{width:min(100%,270px);}
}
@media(max-width:370px){.nsh-latest-card h3{font-size:17px}.nsh-latest-body{padding:11px 9px}.nsh-latest-category{font-size:7.5px}}
@media(prefers-reduced-motion:reduce){.nsh-latest-card,.nsh-latest-media img{transition:none!important}}

/* V88 - Latest posts: three desktop / four mobile, using original 3- and 2-column grid */
@media (min-width:701px){.nsh-latest-grid>.nsh-latest-card:nth-child(n+4){display:none!important}}
@media (max-width:700px){
 .nsh-latest-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .nsh-latest-grid>.nsh-latest-card:nth-child(-n+4){display:flex!important}
 .nsh-latest-grid>.nsh-latest-card:nth-child(n+5){display:none!important}
}
