/* Five storefront identities; shared data attributes and checkout behavior are unchanged. */
body[data-store-style] { --sp-radius: 14px; }
body[data-store-style="silver"] { --sp-radius: 8px; }
body[data-store-style="fashion"] { --sp-radius: 2px; }
body[data-store-style="living"] { --sp-radius: 18px; }
body[data-store-style="industrial"] { --sp-radius: 5px; }
body[data-store-style] .store-category-links,
body[data-store-style] .store-brand-strip { display: flex; gap: 10px; overflow-x: auto; padding: 18px 0 4px; scrollbar-width: thin; }
body[data-store-style] .store-category-links a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 15px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--sp-border); border-radius: var(--sp-radius); font-size: 13px; color: var(--sp-heading); background: #fff; transition: border-color .18s, background .18s; }
body[data-store-style] .store-category-links a span { color: var(--sp-muted); font-size: 11px; }
body[data-store-style] .store-category-links a:hover { background: var(--sp-soft); border-color: var(--sp-accent); }
body[data-store-style] .catalog-page .catalog-card { border-radius: var(--sp-radius); overflow: hidden; }
body[data-store-style] .catalog-page .catalog-card .rbt-card-img,
body[data-store-style] .catalog-page .catalog-card .rbt-card-img > a { border-radius: 0; }
body[data-store-style] .catalog-page .catalog-card .prd-btn-grp button { min-height: 40px; height: auto; line-height: 1.4; white-space: normal; padding: 10px 8px; border-radius: var(--sp-radius); color: var(--sp-accent); border-color: var(--sp-accent); background: #fff; }
body[data-store-style] .catalog-page .catalog-card .prd-btn-grp button:hover:not(:disabled) { color: var(--sp-button-text); background: var(--sp-button); }
body[data-store-style] .catalog-page .catalog-card .prd-btn-grp button:disabled { color: var(--sp-muted); border-color: var(--sp-border); background: var(--sp-soft); }
body[data-store-style] .catalog-page .catalog-card .rbt-card-title { line-height: 1.5; }
body[data-store-style] .catalog-page .rbt-sidebar { border-radius: var(--sp-radius); }
body[data-store-style] .store-account-intro { margin-bottom: 24px; color: var(--sp-text); }
body[data-store-style] .store-page-eyebrow { display: block; color: var(--sp-accent); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
body[data-store-style] .store-account-heading { margin: 12px 0; color: var(--sp-heading); font-size: clamp(25px, 2.7vw, 36px); line-height: 1.2; font-weight: 500; }
body[data-store-style] .store-account-intro > p:not(.store-account-heading) { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
body[data-store-style] .store-account-intro > a { display: inline-flex; gap: 14px; align-items: center; color: var(--sp-accent); font-size: 13px; border-bottom: 1px solid var(--sp-border); padding-bottom: 6px; }
body[data-store-page="account"] .rbt-login-form { border-radius: var(--sp-radius); }
body[data-store-page="account"] .rbt-login-form .rbt-input-field { border-radius: var(--sp-radius); }
body[data-store-page="account"] .rbt-login-form .auth-page-title { font-size: 25px; line-height: 1.3; }
body[data-store-style] .store-cart-progress { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; padding: 16px 0 24px; margin-bottom: 22px; border-bottom: 1px solid var(--sp-border); }
body[data-store-style] .store-cart-progress ol { display: flex; gap: 32px; list-style: none; padding: 0; margin: 0; }
body[data-store-style] .store-cart-progress li { display: flex; align-items: center; gap: 9px; color: var(--sp-muted); font-size: 13px; margin: 0; }
body[data-store-style] .store-cart-progress li > span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--sp-border); border-radius: 50%; font-size: 11px; }
body[data-store-style] .store-cart-progress li[aria-current] { color: var(--sp-heading); font-weight: 600; }
body[data-store-style] .store-cart-progress li[aria-current] > span { color: var(--sp-button-text); background: var(--sp-button); border-color: var(--sp-button); }
body[data-store-style] .store-cart-progress > a { color: var(--sp-accent); font-size: 13px; }
body[data-store-page="cart"] .cart-summary { border-radius: var(--sp-radius); }
body[data-store-page="cart"] .cart-summary .rbt-btn { border-radius: var(--sp-radius); }
body[data-store-page="cart"] .cart-table-wrapper { border-radius: var(--sp-radius); overflow-x: auto; }

/* Classic: compact, familiar shopping cards and a single-column account. */
body[data-store-style="modern"] .catalog-title-row { padding: 24px; background: var(--sp-soft); border-left: 3px solid var(--sp-button); border-radius: 12px; }
body[data-store-style="modern"] .catalog-title-row h1 { font-size: clamp(26px, 3vw, 34px); }
body[data-store-style="modern"] .store-category-links a { border-radius: 30px; }
body[data-store-style="modern"][data-store-page="account"] .store-account-intro { padding-bottom: 20px; border-bottom: 1px solid var(--sp-border); }
body[data-store-style="modern"] .store-account-heading { font-size: 27px; }
body[data-store-style="modern"][data-store-page="cart"] .cart-summary { border-top: 3px solid var(--sp-button); }

/* Collection: narrow rules, centered catalog title, quiet borders. */
body[data-store-style="silver"] .catalog-title-row { justify-content: center; text-align: center; padding: 24px 0 26px; border-bottom: 1px solid var(--sp-border); }
body[data-store-style="silver"] .catalog-title-row h1 { font-size: clamp(29px, 3vw, 42px); font-weight: 500; }
body[data-store-style="silver"] .store-category-links { justify-content: center; }
body[data-store-style="silver"] .catalog-page .rbt-shop-tools-wrapper { border-bottom: 1px solid var(--sp-border); padding-bottom: 20px; }
body[data-store-style="silver"] .catalog-page .catalog-rating { display: none; }
body[data-store-style="silver"] .catalog-page .catalog-card { border-color: transparent; box-shadow: none; }
body[data-store-style="silver"] .catalog-page .catalog-card .rbt-card-img { aspect-ratio: 1; }
body[data-store-style="silver"][data-store-page="account"] .rbt-login-form { box-shadow: none; border: 1px solid var(--sp-border); }
body[data-store-style="silver"] .store-account-intro { text-align: center; padding-bottom: 25px; border-bottom: 1px solid var(--sp-border); }
body[data-store-style="silver"][data-store-page="cart"] .cart-summary { box-shadow: none; background: var(--sp-soft); }
body[data-store-style="silver"] .store-cart-progress li > span { border-radius: 6px; }

/* Fashion: editorial header, tall photographs and split account area. */
body[data-store-style="fashion"] .catalog-title-row { padding: 26px 0 20px; }
body[data-store-style="fashion"] .catalog-title-row h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); }
body[data-store-style="fashion"] .store-category-links a { padding-left: 0; padding-right: 22px; border: 0; border-bottom: 1px solid var(--sp-border); }
body[data-store-style="fashion"] .catalog-page .catalog-card { box-shadow: none; border: 0; }
body[data-store-style="fashion"] .catalog-page .catalog-card .rbt-card-img { aspect-ratio: 3 / 4; }
body[data-store-style="fashion"] .catalog-page .catalog-card .rbt-card-body { padding: 16px 0 8px; }
body[data-store-style="fashion"] .catalog-page .catalog-rating { display: none; }
body[data-store-style="fashion"] .catalog-page .catalog-card .prd-btn-grp button { border: 0; border-bottom: 1px solid var(--sp-accent); }
body[data-store-style="fashion"] .catalog-page .rbt-sidebar { box-shadow: none; border: 0; border-right: 1px solid var(--sp-border); }
body[data-store-style="fashion"] .store-account-heading { font-family: Georgia, serif; font-weight: 400; font-size: 40px; }
body[data-store-style="fashion"] .store-cart-progress li > span { border: 0; border-radius: 0; background: transparent; color: inherit; font-family: Georgia, serif; font-size: 22px; }
body[data-store-style="fashion"] .store-cart-progress li[aria-current] { border-bottom: 2px solid var(--sp-button); padding-bottom: 8px; }
body[data-store-style="fashion"][data-store-page="cart"] .cart-summary { border: 0; border-left: 1px solid var(--sp-border); box-shadow: none; }

/* Living: open space, soft neutral surfaces, larger product photography. */
body[data-store-style="living"] .catalog-title-row { padding: 30px 0 26px; }
body[data-store-style="living"] .catalog-title-row h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 400; }
body[data-store-style="living"] .catalog-page > .container { max-width: 1520px; }
body[data-store-style="living"] .catalog-page .catalog-card { border: 0; background: #fff; box-shadow: none; }
body[data-store-style="living"] .catalog-page .catalog-card .rbt-card-img { background: var(--sp-soft); border-radius: 14px; }
body[data-store-style="living"] .catalog-page .catalog-card .rbt-card-img { aspect-ratio: 1; }
body[data-store-style="living"] .catalog-page .catalog-card .rbt-card-body { padding: 18px 8px; }
body[data-store-style="living"] .catalog-page .catalog-card .rbt-prd-img,
body[data-store-style="living"] .catalog-page .catalog-card .rbt-hover-img { object-fit: contain; padding: 12px; }
body[data-store-style="living"] .catalog-page .rbt-sidebar { border: 0; background: var(--sp-soft); box-shadow: none; }
body[data-store-style="living"] .store-account-intro { background: var(--sp-soft); padding: 30px; border-radius: 14px; }
body[data-store-style="living"][data-store-page="cart"] .cart-summary { background: var(--sp-soft); border: 0; box-shadow: none; }
body[data-store-style="living"] .store-cart-progress { padding: 20px; background: var(--sp-soft); border-radius: 16px; border: 0; }

/* Industrial: denser technical catalog and a practical order summary. */
body[data-store-style="industrial"] .catalog-page { padding-top: 0; }
body[data-store-style="industrial"] .catalog-title-row { padding: 12px 0 16px; border-bottom: 1px solid var(--sp-border); }
body[data-store-style="industrial"] .catalog-title-row h1 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; }
body[data-store-style="industrial"] .catalog-title-row p { font-size: 13px; }
body[data-store-style="industrial"] .store-brand-link { min-width: 130px; height: 64px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--sp-border); border-radius: 5px; color: var(--sp-heading); font-size: 15px; padding: 12px 20px; }
body[data-store-style="industrial"] .store-brand-link img { max-width: 112px; max-height: 38px; object-fit: contain; }
body[data-store-style="industrial"] .store-brand-link:hover,
body[data-store-style="industrial"] .store-brand-link[aria-current] { border-color: var(--sp-accent); background: var(--sp-soft); }
body[data-store-style="industrial"] .catalog-page .rbt-shop-tools-wrapper { padding: 12px 14px; border: 1px solid var(--sp-border); border-radius: 5px; background: #fff; }
body[data-store-style="industrial"] .catalog-page .catalog-card .rbt-card-img { aspect-ratio: 1; }
body[data-store-style="industrial"] .catalog-page .catalog-card .rbt-prd-img,
body[data-store-style="industrial"] .catalog-page .catalog-card .rbt-hover-img { object-fit: contain; padding: 14px; background: #fff; }
body[data-store-style="industrial"] .catalog-page .catalog-card .rbt-card-body { padding: 14px; }
body[data-store-style="industrial"] .catalog-page .catalog-card .rbt-card-title { font-size: 13px; }
body[data-store-style="industrial"] .catalog-page .catalog-card .price-text { font-size: 16px; }
body[data-store-style="industrial"] .catalog-page .catalog-rating { display: none; }
body[data-store-style="industrial"] .catalog-page .catalog-card .prd-btn-grp button { font-size: 12px; }
body[data-store-style="industrial"] .store-account-intro { padding: 24px; background: var(--sp-soft); border-left: 3px solid var(--sp-button); }
body[data-store-style="industrial"] .store-account-heading { font-size: 30px; }
body[data-store-style="industrial"] .store-cart-progress li > span { border-radius: 3px; }
body[data-store-style="industrial"][data-store-page="cart"] .cart-table thead { background: var(--sp-soft); }
body[data-store-style="industrial"][data-store-page="cart"] .cart-summary { border-top: 4px solid var(--sp-button); box-shadow: none; }

/* Account and basket entry affordances follow the storefront's visual language. */
body[data-store-style="silver"] .sv-actions > a { transition: background .18s; }
body[data-store-style="silver"] .sv-actions > a:hover { background: var(--sp-soft); }
body[data-store-style="fashion"] .fw-actions > a { border-bottom: 1px solid transparent; transition: border-color .18s; }
body[data-store-style="fashion"] .fw-actions > a:hover { border-bottom-color: var(--sp-accent); }
body[data-store-style="industrial"] .em-actions > a { padding: 8px 10px; border: 1px solid var(--sp-border); border-radius: 5px; }
body[data-store-style="industrial"] .em-actions > a:hover { background: var(--sp-soft); }

@media (min-width: 992px) {
    body[data-store-style="fashion"][data-store-page="account"] .rbt-login-form-inner,
    body[data-store-style="living"][data-store-page="account"] .rbt-login-form-inner,
    body[data-store-style="industrial"][data-store-page="account"] .rbt-login-form-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; }
    body:is([data-store-style="fashion"], [data-store-style="living"], [data-store-style="industrial"])[data-store-page="account"] .container > .row > [class*="col-"] { width: 100%; max-width: 1000px; }
    body:is([data-store-style="fashion"], [data-store-style="living"], [data-store-style="industrial"])[data-store-page="account"] .auth-demo-main { width: 100%; }
    body:is([data-store-style="fashion"], [data-store-style="living"], [data-store-style="industrial"])[data-store-page="account"] .store-account-intro { align-self: start; margin: 0; }
    body[data-store-style="industrial"] .catalog-page > .container > .row > [class*="col-xl-3"] { width: 23%; }
    body[data-store-style="industrial"] .catalog-page > .container > .row > [class*="col-xl-9"] { width: 77%; }
}
@media (max-width: 991px) {
    body[data-store-style] .catalog-title-row { padding: 18px 0; }
    body[data-store-style="modern"] .catalog-title-row { padding: 18px; }
    body[data-store-style] .store-category-links { justify-content: flex-start; }
    body[data-store-style] .store-cart-progress { margin-bottom: 10px; }
    body[data-store-style] .store-cart-progress ol { gap: 16px; }
    body[data-store-style] .store-cart-progress li { font-size: 12px; }
    body[data-store-page="cart"] .cart-summary { margin-top: 20px; }
}
@media (max-width: 575px) {
    body[data-store-style] .store-cart-progress { gap: 12px; padding: 16px 0; }
    body[data-store-style] .store-cart-progress ol { width: 100%; justify-content: space-between; gap: 8px; }
    body[data-store-style] .store-cart-progress li { flex-direction: column; align-items: flex-start; gap: 7px; font-size: 11px; }
    body[data-store-style] .store-cart-progress > a { font-size: 12px; }
    body[data-store-style] .store-account-intro { padding: 20px 16px; }
    body[data-store-style] .store-account-heading { font-size: 28px; }
    body[data-store-style="industrial"] .catalog-page .catalog-card .rbt-card-body { padding: 10px; }
    body[data-store-style] .catalog-page .catalog-card .prd-btn-grp button { font-size: 12px; min-height: 42px; }
}
@media (prefers-reduced-motion: no-preference) {
    body[data-store-page="account"] .rbt-login-form,
    body[data-store-style] .store-cart-progress { animation: store-page-enter .28s ease-out both; }
    @keyframes store-page-enter { from { opacity: .3; transform: translateY(7px); } to { opacity: 1; transform: none; } }
}
