/* Storefront proportions; admin navigation keeps its own layout. */
.shop-page .shop-category-menu { position: relative; flex-shrink: 0; text-align: left; }
.shop-page .shop-category-menu summary { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 16px; background: #17654e; color: #fff; cursor: pointer; font-size: 13px; list-style: none; }
.shop-page .shop-category-menu summary::-webkit-details-marker { display: none; }
.shop-page .shop-category-menu-items { position: absolute; left: 0; top: 100%; z-index: 60; width: min(300px, calc(100vw - 32px)); max-height: 65vh; overflow-y: auto; padding: 8px; background: #fff; border: 1px solid #ddd; box-shadow: 0 6px 16px #0001; }
.shop-page .shop-primary-nav .shop-category-menu-items a { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 8px 10px; white-space: normal; color: #242424 !important; }
.shop-page .shop-primary-nav .shop-category-menu-items a:hover { background: #f0f3f2; }
.shop-page .catalog-list-title { display: inline; margin: 0; font-size: 19px; font-weight: 400; line-height: 1.4; }
.shop-page .catalog-results-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.shop-page .catalog-results-meta > span { font-size: 12px; }
.shop-page .catalog-brand-strip { display: flex; align-items: center; gap: 24px; padding: 12px 16px; margin: 0 0 20px; background: var(--shop-panel, #171717); overflow-x: auto; }
html[data-theme="light"] .shop-page .catalog-brand-strip { background: #fff; }
.shop-page .catalog-brand-strip > span { font-size: 12px; flex-shrink: 0; }
.shop-page .catalog-brand-strip a { display: flex; align-items: center; justify-content: center; min-width: 100px; height: 58px; color: inherit; text-decoration: none; border-bottom: 2px solid transparent; }
.shop-page .catalog-brand-strip a[aria-current] { border-color: #17654e; }
.shop-page .catalog-brand-strip img { width: 100px; height: 48px; object-fit: contain; }
.shop-page .catalog-brand-strip strong { font-size: 20px; font-weight: 600; }
.shop-page .catalog-filter-title { order: -3; }
.shop-page .catalog-category-list { order: -2; }
.shop-page .catalog-filter-option { background: transparent; border: 0; border-left: 2px solid transparent; }
html[data-theme="light"] .shop-page .catalog-filter-option { color: #60666c; }
html[data-theme="light"] .shop-page .catalog-filter-option.is-active,
html[data-theme="light"] .shop-page .catalog-filter-option:hover { background: #f5f6f6; color: #172c24; border-left-color: #17654e; }
html[data-theme="light"] .shop-page .catalog-filter-option b { color: #737980; font-weight: 400; }
.shop-page .catalog-filter-option .catalog-filter-symbol { background: none; color: inherit; }
html[data-theme="light"] .shop-page .catalog-add-button { background: #fff; border: 1px solid #d8dcdf; color: #333; }
html[data-theme="light"] .shop-page .catalog-add-button:hover { background: #17654e; border-color: #17654e; color: #fff; }
.shop-page .catalog-page > .storefront-marketing { margin-top: 32px; }
.shop-body.shop-page { --storefront-max-width: 1400px; --storefront-gutter: 24px; font-family: Arial, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; padding-top: 0; }
.shop-page :is(.shop-header-inner, .shop-main) { box-sizing: border-box; width: min(calc(100% - 2 * var(--storefront-gutter)), var(--storefront-max-width)); max-width: var(--storefront-max-width); margin-inline: auto; }
.shop-page :is(h1, h2, h3, button, input, select, textarea) { font-family: inherit; letter-spacing: 0; }
html[data-theme="light"] .shop-body.shop-page { background: #f0f0f0; color: #202124; }
.shop-page .shop-header { position: sticky; top: 0; padding: 0; border-bottom: 1px solid #ddd; backdrop-filter: none; }
.shop-page .shop-header-inner { min-height: 0; padding: 18px 0 10px; gap: 12px 24px; border: 0; border-radius: 0; box-shadow: none; background: none; }
html[data-theme="light"] .shop-page :is(.shop-header, .shop-header-inner) { background: #fff; box-shadow: none; border-radius: 0; }
.shop-page .shop-brand { gap: 9px; padding: 0; border: 0; box-shadow: none; background: none; }
.shop-page .shop-header .tugs-logo-mark { width: 40px; height: 40px; box-shadow: none; }
.shop-page .shop-header .brand-name { font-family: Arial, "Segoe UI", sans-serif; font-size: 22px; font-weight: 700; letter-spacing: 0; line-height: 1.15; }
.shop-page .shop-header .brand-domain { font-size: 9px; letter-spacing: 0; }
.shop-page .storefront-search { min-width: 220px; gap: 8px; }
.shop-page .storefront-search form { border-radius: 2px; border-color: #e5e5e5; }
.shop-page .storefront-search input { height: 40px; padding: 8px 12px; font-size: 14px; }
.shop-page .storefront-search .ask-tugs { font-size: 12px; border-radius: 2px; }
.shop-page .shop-header-actions { flex-wrap: wrap; gap: 4px; }
.shop-page .shop-header-actions .btn { min-height: 40px; padding: 8px 10px; border-radius: 2px; font-size: 12px; letter-spacing: 0; box-shadow: none; }
.shop-page .shop-header .shop-cart-trigger { border-radius: 2px; min-height: 40px; padding: 8px 12px; font-size: 12px; box-shadow: none; }
.shop-page .shop-primary-nav { gap: 20px; padding-top: 8px; justify-content: space-between; }
.shop-page .shop-primary-nav a { font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.shop-page .shop-browse-inner { max-width: 1400px; padding: 0; width: calc(100% - 48px); }
.shop-page .shop-category-strip { justify-content: flex-start; gap: 8px; padding: 0; }
.shop-page .shop-category-strip a { min-height: 40px; padding: 8px 12px; font-size: 12px; font-weight: 400; border-radius: 0; }
.shop-page .shop-main { padding: 16px 0 40px; }
.shop-page .catalog-page { width: 100%; margin: 0; padding: 0; }
.shop-page .shop-breadcrumb { padding: 0; margin: 0 0 16px; font-size: 12px; flex-wrap: wrap; }
.shop-page .catalog-page-heading { padding: 12px 0 18px; margin-bottom: 0; min-height: 0; box-shadow: none; background: none; border: 0; border-radius: 0; }
.shop-page .catalog-page-heading::after { display: none; }
html[data-theme="light"] .shop-page .catalog-page-heading { background: none; box-shadow: none; }
.shop-page .catalog-page-heading h1 { font-family: inherit; font-size: 22px; font-weight: 500; line-height: 1.35; letter-spacing: 0; margin: 0; }
.shop-page .catalog-page-heading p { margin-top: 6px; font-size: 12px; }
.shop-page .catalog-featured { max-width: 320px; padding: 8px; border-radius: 3px; box-shadow: none; }
.shop-page .catalog-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
.shop-page .catalog-sidebar { top: 150px; padding: 18px; border: 0; border-radius: 0; box-shadow: none; }
html[data-theme="light"] .shop-page .catalog-sidebar { background: #fff; box-shadow: none; }
.shop-page .catalog-filter-title strong { font-size: 18px; font-weight: 600; }
.shop-page .catalog-filter-form { gap: 18px; }
.shop-page .catalog-sidebar legend { font-size: 13px; font-weight: 600; letter-spacing: 0; }
.shop-page .catalog-collection-filter { padding: 0; background: none; border: 0; border-radius: 0; }
.shop-page .catalog-filter-option { border-radius: 2px; padding: 7px 9px; font-size: 13px; font-weight: 400; }
.shop-page .catalog-sidebar :is(input, select) { font-size: 13px; border-radius: 2px; }
.shop-page .catalog-results-toolbar { margin-bottom: 16px; min-height: 40px; }
.shop-page .catalog-sort select { border-radius: 0; font-size: 12px; }
.shop-page .catalog-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.shop-page .catalog-product-grid > .catalog-product-card { border: 0; border-radius: 0; box-shadow: none; min-width: 0; }
.shop-page .catalog-product-grid > .catalog-product-card:hover { transform: none; box-shadow: 0 0 0 1px #b9c1ca; }
html[data-theme="light"] .shop-page .catalog-product-grid > .catalog-product-card { background: #fff; }
.shop-page .catalog-product-image { background: #fff; border-radius: 0; aspect-ratio: 1; }
.shop-page .catalog-product-image img { object-fit: contain; padding: 12px; }
.shop-page .catalog-product-body { padding: 14px; gap: 14px; grid-template-rows: minmax(min-content, 1fr) auto auto; }
.shop-page .catalog-product-body h2 { font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1.4; min-height: 4.2em; max-height: 4.2em; }
.shop-page .catalog-product-price { font-size: 15px; font-weight: 700; }
.shop-page .catalog-product-pricing del { font-size: 12px; }
.shop-page .catalog-add-button { border-radius: 2px; min-height: 40px; font-size: 12px; font-weight: 600; }
.shop-page .product-detail-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.shop-page :is(.product-gallery-stage, .product-purchase-panel, .product-spec-card, .product-resource-copy, .product-video-card) { border-radius: 3px; box-shadow: none; }
.shop-page .product-gallery-stage { aspect-ratio: 1; }
.shop-page .product-gallery-image { padding: 24px; }
.shop-page .product-purchase-panel { padding: 24px; min-width: 0; }
.shop-page .product-purchase-panel h1 { font-family: inherit; font-size: 24px; line-height: 1.35; font-weight: 500; letter-spacing: 0; overflow-wrap: anywhere; }
.shop-page .product-detail-description { font-size: 14px; line-height: 1.65; }
.shop-page .product-price-block > strong { font-size: 26px; }
.shop-page .product-service-notes { font-size: 13px; }
@media (min-width: 1051px) and (max-width: 1250px) {
    .shop-page .catalog-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 20px; }
    .shop-page .catalog-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .shop-page .storefront-search { order: 3; flex-basis: 100%; }
    .shop-page .shop-header-actions { margin-left: auto; }
}
@media (max-width: 1050px) {
    .shop-page .shop-category-menu-items { position: static; width: 100%; box-shadow: none; }
    .shop-page .catalog-results-toolbar { flex-wrap: wrap; }
    .shop-page .catalog-layout { grid-template-columns: minmax(0, 1fr); }
    .shop-page .catalog-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .shop-page .catalog-sidebar { position: static; }
    .shop-page .catalog-filter-form { grid-template-columns: minmax(0, 1fr); }
    .shop-page .storefront-search { order: 3; flex-basis: 100%; }
    .shop-page .shop-header-actions { margin-left: auto; }
    .shop-page .shop-header-inner { gap: 10px; padding: 12px 0; }
    .shop-page .product-detail-hero { gap: 20px; }
}
@media (max-width: 760px) {
    .shop-page .product-detail-hero { grid-template-columns: minmax(0, 1fr); }
    .shop-page .product-purchase-panel { padding: 16px; }
    .shop-page .product-purchase-panel h1 { font-size: 22px; }
}
@media (max-width: 600px) {
    .shop-body.shop-page { --storefront-gutter: 12px; }
    .shop-page .shop-browse-inner { width: calc(100% - 24px); }
    .shop-page .shop-header { position: relative; }
    .shop-page .shop-brand { flex: 1 0 100%; }
    .shop-page .shop-header .brand-name { font-size: 20px; }
    .shop-page .shop-header-actions { width: 100%; justify-content: flex-end; }
    .shop-page .storefront-search { min-width: 0; }
    .shop-page .storefront-search input { font-size: 16px; }
    .shop-page .shop-primary-nav { gap: 12px; }
    .shop-page .catalog-page-heading h1 { font-size: 20px; }
    .shop-page .catalog-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .shop-page .catalog-product-body { padding: 10px; gap: 10px; }
    .shop-page .catalog-product-image img { padding: 6px; }
    .shop-page .catalog-product-body h2 { font-size: 13px; }
    .shop-page .catalog-product-price { font-size: 14px; }
    .shop-page .catalog-add-button { min-height: 44px; }
}
