/* Storefront refinements and native WooCommerce cart/checkout surfaces. */
.store-icon-button { display: inline-grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--control-radius); color: var(--ink); background: transparent; cursor: pointer; }
.store-icon-button .icon { width: 18px; height: 18px; }
.store-icon-button:hover { background: #f0f2f3; }
.store-icon-button:disabled { opacity: .35; cursor: default; }
.store-icon-button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.cart-is-open { overflow: hidden; scrollbar-gutter: stable; }
/* Reach the viewport edge while the page reserves its desktop scrollbar gutter. */
.cart-drawer { position: fixed; inset: 0 calc(0px - var(--panel-gutter, 0px)) 0 auto; width: min(480px, calc(100% + var(--panel-gutter, 0px))); height: 100dvh; max-height: 100dvh; max-width: calc(100% + var(--panel-gutter, 0px)); margin: 0; padding: 0; border: 0; color: var(--ink); background: #fff; box-shadow: -12px 0 48px #00000015; overflow: hidden; }
.cart-drawer::backdrop { background: #15171980; }
.cart-drawer-shell { height: 100%; display: flex; flex-direction: column; }
.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 12px; padding: 8px 20px 8px 28px; }
.cart-drawer-header > div { display: flex; align-items: baseline; gap: 10px; }
.cart-drawer-header h2 { font-size: 18px; line-height: 1.3; margin: 0; }
.cart-drawer-header .store-icon-button { width: 44px; height: 44px; }
.cart-drawer-header [data-cart-item-label] { font-size: 12px; color: var(--muted); }
.cart-drawer-content { min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; padding: 0 28px; }
.cart-loading { padding: 32px 0; font-size: 14px; color: var(--muted); }
.cart-drawer-loading { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.cart-drawer-loading[hidden], .cart-drawer-content[hidden], .cart-drawer-footer[hidden] { display: none; }
.cart-skeleton-items { flex: 1; min-height: 0; padding: 0 28px; overflow: hidden; }
.cart-skeleton-row { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.cart-skeleton { display: block; height: 12px; border-radius: 4px; background: #e6e8ea; animation: cart-skeleton-pulse 1.4s ease-in-out infinite; }
.cart-skeleton-image { width: 90px; height: 96px; }
.cart-skeleton-detail { display: grid; align-content: start; gap: 10px; min-width: 0; }
.cart-skeleton-name { width: 90%; height: 14px; }
.cart-skeleton-name-short { width: 68%; height: 14px; }
.cart-skeleton-code { width: 48%; height: 10px; margin-top: 2px; }
.cart-skeleton-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.cart-skeleton-quantity { width: 126px; height: 46px; }
.cart-skeleton-price { width: 72px; height: 15px; }
.cart-skeleton-footer { flex-shrink: 0; padding: 20px 28px max(16px, env(safe-area-inset-bottom)); }
.cart-skeleton-total { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 37px; }
.cart-skeleton-total > :first-child { width: 70px; height: 16px; }
.cart-skeleton-total > :last-child { width: 120px; height: 23px; }
.cart-skeleton-note { width: 65%; height: 11px; margin: 12px 0 24px; }
.cart-skeleton-checkout { width: 100%; height: 50px; border-radius: var(--control-radius); }
@keyframes cart-skeleton-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cart-skeleton { animation: none; } }
.cart-line { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.cart-line-image { display: block; width: 90px; height: 96px; background: #f6f7f8; border-radius: 4px; overflow: hidden; }
.cart-line-image img { width: 100%; height: 100%; object-fit: contain; }
.cart-line-detail { min-width: 0; }
.cart-line-name { display: block; font-size: 14px; line-height: 1.5; font-weight: 600; padding-right: 36px; overflow-wrap: anywhere; }
.cart-line-name:hover { text-decoration: underline; }
.cart-line-code { display: block; font-size: 11px; color: var(--muted); margin: 7px 0; }
.cart-line-unit { font-size: 12px; color: var(--muted); }
.cart-line-remove { position: absolute; top: 17px; right: -9px; width: 44px; height: 44px; color: #697078; }
.cart-line-remove .icon { width: 16px; height: 16px; }
.cart-line-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.store-quantity { display: inline-grid; grid-template-columns: 44px 36px 44px; border: 1px solid #cdd2d6; border-radius: var(--control-radius); height: 46px; flex-shrink: 0; }
.store-quantity .store-icon-button { width: 44px; height: 44px; }
.store-quantity .icon { width: 13px; height: 13px; }
.store-quantity input { width: 36px; min-width: 0; height: 44px; padding: 0; text-align: center; border: 0; background: #fff; color: var(--ink); font: 500 16px var(--font-body); appearance: textfield; -moz-appearance: textfield; }
.store-quantity input::-webkit-inner-spin-button, .store-quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.cart-line-price { font-size: 14px; line-height: 1.4; white-space: nowrap; }
.cart-drawer-footer { flex-shrink: 0; padding: 20px 28px max(16px, env(safe-area-inset-bottom)); background: #fff; }
.cart-drawer-total { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; font-size: 16px; }
.cart-drawer-total strong { font-size: 23px; }
.cart-drawer-footer > p { margin: 8px 0 20px; font-size: 12px; color: var(--muted); }
.cart-drawer a.cart-checkout { width: 100%; min-height: 50px; justify-content: space-between; font-size: 14px !important; padding: 12px 20px !important; }
.cart-checkout[aria-disabled="true"] { opacity: .5; cursor: wait; }
.cart-empty > button { border: 0; background: none; padding: 0; color: var(--muted); cursor: pointer; font: inherit; }
.cart-drawer-message { margin: 16px 28px 0; padding: 12px 14px; font-size: 13px; line-height: 1.5; background: #fff3f2; border-left: 3px solid var(--red); }
.cart-empty { min-height: 360px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 24px; padding: 35px 0; }
.cart-empty > .icon { width: 50px; height: 50px; color: #7b838a; }
.cart-empty h3 { font-size: 21px; }
.cart-empty > button { font-size: 13px; }
.cart-empty .button { font-size: 13px; }

/* Product facts and purchase controls share a single vertical rhythm. */
.woocommerce div.product div.summary { padding: 0 0 0 30px; border: 0; border-radius: 0; width: 43%; }
.woocommerce div.product div.images { width: 53%; margin-top: 0; }
.woocommerce div.product .product_title { font-size: 27px; line-height: 1.35; margin-bottom: 18px; }
.woocommerce div.product div.summary > .price { margin-bottom: 24px; font-size: 30px !important; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 14px; line-height: 1.7; margin: 24px 0; }
.product-facts { margin: 20px 0; padding: 4px 16px; background: var(--soft); border-radius: 10px; font-size: 14px; }
.product-facts > div { padding-block: 12px; grid-template-columns: 100px minmax(0, 1fr); }
.product-facts > div:last-child { border-bottom: 0; }
.availability-note { margin: 24px 0 14px; }
.woocommerce div.product form.cart { margin: 14px 0 24px; gap: 14px; }
.woocommerce div.product form.cart .button { min-height: 50px; }
.woocommerce div.product .quantity .qty { height: 50px; width: 72px; font-size: 15px; }
.product-compatibility { display: block; margin: 20px 0; padding: 0; border: 0; }
.product-compatibility p { margin: 0 0 10px; font-size: 13px; line-height: 1.65; }
.product-compatibility .product-vin-action { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px; border: 1px solid var(--red); border-radius: 6px; color: var(--red); font-size: 14px; font-weight: 600; text-decoration: none; }
.product-compatibility .product-vin-action:hover { background: #fff5f5; }
.product-vin-action .icon { width: 19px; height: 19px; }
.product-vin-action .icon:last-child { margin-left: auto; }
.product-review-disclosure { border-block: 1px solid var(--line); }
.product-review-disclosure > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 16px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 14px; }
.product-review-disclosure > summary::-webkit-details-marker { display: none; }
.product-review-disclosure > summary span { grid-column: 1; color: var(--muted); font-size: 13px; font-weight: 400; }
.product-review-disclosure > summary .icon { grid-column: 2; grid-row: 1 / 3; width: 18px; height: 18px; }
.product-review-disclosure[open] > summary .icon { transform: rotate(180deg); }
.product-review-disclosure[open] > #reviews { margin-top: 20px; }
.woocommerce .product_meta { display: flex; flex-direction: column; gap: 9px; margin-top: 0; padding-top: 0; border-top: 0; line-height: 1.5; }
.woocommerce div.product .woocommerce-tabs { padding-top: 34px; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: none; padding: 24px 0 40px; margin-bottom: 30px; }
.woocommerce #reviews { display: grid; grid-template-columns: minmax(200px, .8fr) minmax(0, 1.2fr); gap: 64px; }
.woocommerce #reviews #comments { min-width: 0; padding-right: 24px; }
.woocommerce #reviews h2 { font-size: 24px; margin-bottom: 18px; }
.woocommerce #reviews #comments > p { color: var(--muted); font-size: 14px; }
.woocommerce #reviews #review_form_wrapper { min-width: 0; }
.woocommerce #reviews .clear { display: none; }
.woocommerce #review_form #respond .comment-reply-title { display: block; font-size: 22px; font-weight: 600; line-height: 1.4; margin: 0 0 14px; }
.woocommerce #review_form #respond form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.woocommerce #review_form #respond p { margin: 0; font-size: 13px; }
.woocommerce #review_form .comment-notes, .woocommerce #review_form .comment-form-rating, .woocommerce #review_form .comment-form-comment, .woocommerce #review_form .comment-form-cookies-consent, .woocommerce #review_form .form-submit, .woocommerce #review_form .logged-in-as { grid-column: 1 / -1; }
.woocommerce #review_form .comment-notes { color: var(--muted); line-height: 1.7; }
.woocommerce #review_form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.woocommerce #review_form .required { color: var(--red); }
.woocommerce #review_form input[type="text"], .woocommerce #review_form input[type="email"], .woocommerce #review_form textarea { width: 100%; max-width: 100%; border: 1px solid #c5cbd0; border-radius: 6px; padding: 12px 14px; background: #fff; color: var(--ink); font: 400 14px/1.6 var(--font-body); min-height: 48px; box-shadow: none; }
.woocommerce #review_form textarea { min-height: 150px; height: 150px; resize: vertical; }
.woocommerce #review_form input:focus-visible, .woocommerce #review_form textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.woocommerce #review_form #respond .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; }
.woocommerce #review_form .comment-form-cookies-consent input { width: 17px; height: 17px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--red); }
.woocommerce #review_form .comment-form-cookies-consent label { font-size: 12px; line-height: 1.65; color: var(--muted); font-weight: 400; margin: 0; }
.woocommerce #review_form p.stars { padding: 4px 0 6px; }
.woocommerce #review_form p.stars a { font-size: 24px; color: #586168; margin-right: 6px; }
.woocommerce #review_form p.stars:hover a, .woocommerce #review_form p.stars.selected a { color: var(--red); }
.woocommerce #review_form #respond .form-submit .button { min-height: 48px; min-width: 190px; justify-content: space-between; padding: 12px 18px !important; margin-top: 4px; }

/* Checkout keeps the native fields, rates, validation and order submission. */
.woocommerce-checkout { background: #fff; }
.checkout-header { border: 0; background: var(--red); color: #fff; }
.checkout-header > .content-shell { min-height: 80px; max-width: 1360px; display: flex; align-items: center; gap: 32px; }
.checkout-header .brand > span { font-size: 27px; }
.checkout-header .brand small { font-size: 8px; color: #fff; }
.checkout-header .brand-dot { color: #fff; }
.checkout-header :focus-visible { outline-color: #fff; }
.checkout-header-help { margin-left: auto; display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 600; }
.checkout-header-help .icon { color: #fff; width: 19px; height: 19px; }
.woocommerce-checkout .prose-shell { max-width: 1360px; padding-block: 24px 60px; }
.woocommerce-checkout .page-heading { display: none; }
.checkout-intro { margin-bottom: 24px; }
.checkout-intro .text-link { font-size: 12px; color: var(--muted); margin-bottom: 12px; min-height: 32px; }
.checkout-intro .text-link .icon { width: 17px; height: 17px; }
.checkout-intro h1 { font-size: 26px; line-height: 1.3; margin: 0; letter-spacing: -.025em; }
.woocommerce-checkout .wp-block-woocommerce-checkout { padding: 0; margin: 0; }
.woocommerce-checkout .wc-block-components-sidebar-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; margin: 0; }
.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main { width: auto; padding: 0; margin: 0; min-width: 0; }
.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar { width: auto; padding: 0; margin: 0; min-width: 0; position: sticky; top: 28px; }
.wc-block-checkout__form .wc-block-components-checkout-step { padding: 0; margin: 0 0 32px; border: 0; }
.wc-block-checkout__form .wc-block-components-checkout-step__heading-container { margin-bottom: 16px; }
.wc-block-checkout__form .wc-block-components-checkout-step__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; width: 100%; margin: 0; }
.wc-block-checkout__form .wc-block-components-checkout-step__heading-content { display: flex; align-items: center; }
.woocommerce-checkout .wc-block-checkout__login-prompt { float: none; display: inline-flex; align-items: center; margin: 0; min-height: 32px; color: var(--red); font-size: 12px; }
/* The form's headings and whitespace replace numbered rails and section dividers. */
.woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step__heading::before,
.woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step__title::before,
.woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step__content::before,
.woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step__description::before { display: none; content: none; }
.wc-block-components-checkout-step__title { font-size: 19px !important; font-weight: 600 !important; line-height: 1.4 !important; }
.wc-block-checkout__form .wc-block-components-checkout-step__description { font-size: 13px; color: var(--muted); }
.wc-block-checkout__form .wc-block-components-checkout-step__content { margin: 0; padding: 0; }
.wc-block-checkout__form .wc-block-components-text-input input, .wc-block-checkout__form .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-block-checkout__form .wc-block-components-textarea { min-height: 54px; border-color: #c9ced3; border-radius: 6px; font-size: 14px; color: var(--ink); background: #fff; }
.wc-block-checkout__form .wc-block-components-text-input label, .wc-block-checkout__form .wc-block-components-combobox label { font-size: 14px; color: #646c73; }
/* One close-fitting focus edge replaces the global offset ring and Woo's second border. */
.woocommerce-checkout .wc-block-checkout__form.wc-block-components-form .wc-block-components-text-input input[type]:focus,
.woocommerce-checkout .wc-block-checkout__form .wc-block-components-combobox input:focus,
.woocommerce-checkout .wc-block-checkout__form .wc-blocks-components-select__select:focus,
.woocommerce-checkout .wc-block-checkout__form .wc-block-components-textarea:focus { outline: none; outline-offset: 0; border: 1px solid var(--red); box-shadow: 0 0 0 .5px var(--red); }
.wc-block-checkout__form .wc-block-components-checkbox label { font-size: 13px; line-height: 1.6; }
.wc-block-checkout__form .wc-block-components-radio-control__option { min-height: 72px; padding-block: 18px; border-radius: 6px; }
.wc-block-checkout__form .wc-block-components-radio-control__label { font-size: 14px; font-weight: 600; }
.wc-block-checkout__form .wc-block-components-radio-control__description, .wc-block-checkout__form .wc-block-components-payment-method-label { font-size: 13px; }
.wc-block-checkout__form .wc-block-components-radio-control__input:checked { border-color: var(--red); }
.wc-block-checkout__form .wc-block-components-radio-control__input:checked::before { background: var(--red); }
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 16px 20px; }
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__input { position: relative; inset: auto; transform: none; flex: 0 0 20px; margin: 0; }
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option-layout { min-width: 0; }
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content { padding: 0 20px 20px 52px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option--checked-option-highlighted { border-radius: 6px; box-shadow: inset 0 0 0 1px #c9ced3; }
body.woocommerce-checkout .wc-block-checkout__actions .wc-block-components-checkout-place-order-button { min-height: 64px; padding: 20px 24px; border: 0; font-size: 16px; font-weight: 600; box-shadow: none; }
.wc-block-checkout__form .wc-block-components-checkout-return-to-cart-button { font-size: 13px; }
.wc-block-checkout__form .wc-block-components-checkout-place-order { padding-top: 6px; gap: 24px; }
.wc-block-checkout__terms { font-size: 12px; line-height: 1.7; color: var(--muted); }
.woocommerce-checkout .wc-block-checkout__terms.wc-block-checkout__terms--with-separator { border-top: 0; }
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block { border: 0; background: var(--soft); border-radius: 12px; padding: 16px; overflow: hidden; }
.wc-block-checkout__form .wp-block-woocommerce-checkout-order-summary-block { margin-bottom: 24px; }
.woocommerce-checkout .checkout-order-summary-block-fill,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block,
.woocommerce-checkout .wc-block-components-checkout-order-summary__title,
.woocommerce-checkout .wc-block-components-checkout-order-summary__content.is-open { border: 0; }
.woocommerce-checkout .wc-block-components-order-summary__button-text { font-size: 18px; font-weight: 600; color: var(--ink); }
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text { font-size: 18px; font-weight: 600; color: var(--ink); }
/* Block paragraph margins must not inflate the native disclosure row. */
.woocommerce-checkout .wc-block-components-checkout-order-summary__title { min-height: 56px; margin: 0; padding: 12px 0; gap: 8px; }
.woocommerce-checkout .wc-block-components-checkout-order-summary__title:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; border-radius: 4px; }
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text { margin: 0; line-height: 1.4; }
.woocommerce-checkout .wc-block-components-checkout-order-summary__title-price { flex-shrink: 0; margin-left: auto; font-size: 14px; font-weight: 600; }
.woocommerce-checkout .wc-block-components-checkout-order-summary__title-icon { flex: 0 0 20px; margin: 0; }
.woocommerce-checkout .wc-block-components-checkout-order-summary__title-icon svg { width: 20px; height: 20px; }
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item { padding-block: 20px; }
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-name { font-size: 13px; line-height: 1.6; font-weight: 600; margin: 0 0 8px; }
.woocommerce-checkout .wc-block-components-product-metadata__description { display: none; }
.woocommerce-checkout .wc-block-components-order-summary-item__image { width: 64px; }
.woocommerce-checkout .wc-block-components-order-summary-item__image img { width: 64px; height: 64px; object-fit: contain; border-radius: 4px; }
.woocommerce-checkout .wc-block-components-totals-wrapper { padding-block: 14px; border: 0; }
.woocommerce-checkout .wc-block-components-order-summary-item::after { display: none; }
.woocommerce-checkout .wc-block-components-totals-wrapper:empty { display: none; }
.woocommerce-checkout .wc-block-components-totals-item { font-size: 13px; }
.woocommerce-checkout .wc-block-components-totals-footer-item { font-size: 20px; font-weight: 600; }
.wc-block-components-notice-banner { border-radius: 6px; font-size: 13px; line-height: 1.6; }
.checkout-footer { border: 0; padding: 24px 0; color: var(--muted); font-size: 11px; }
.checkout-footer > .content-shell { max-width: 1360px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.checkout-footer a:first-child { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 12px; }
.checkout-footer .icon { width: 17px; height: 17px; color: var(--red); }
.woocommerce-order-received .woocommerce-order { max-width: 1000px; margin-inline: auto; }
.woocommerce-order-received .page-heading { display: block; max-width: 1000px; margin: 0 auto 24px; }
.woocommerce-order-received .page-heading h1 { font-size: 30px; line-height: 1.3; }
.woocommerce-order-received .woocommerce-notice--success { padding: 20px; margin: 0 0 28px; background: #eef5f0; border-left: 3px solid #28634a; color: #28533d; font-size: 16px; line-height: 1.6; font-weight: 600; }
.woocommerce-order-received .woocommerce ul.order_details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 24px 0; margin: 0 0 24px; border-block: 1px solid var(--line); }
.woocommerce-order-received .woocommerce ul.order_details::before, .woocommerce-order-received .woocommerce ul.order_details::after { display: none; }
.woocommerce-order-received .woocommerce ul.order_details li { float: none; padding: 0; margin: 0; border: 0; font-size: 11px; line-height: 1.7; }
.woocommerce-order-received .woocommerce ul.order_details li strong { margin-top: 6px; font-size: 15px; }
.woocommerce-order-received .woocommerce-order > p { font-size: 14px; line-height: 1.8; }
.woocommerce-order-received .woocommerce-order h2 { font-size: 22px; margin: 30px 0 20px; }
.woocommerce-order-received .woocommerce-order address { line-height: 1.8; padding: 20px; }

/* A quiet shared footer, with the page ending before its contact and navigation rows. */
.site-footer.store-footer { padding: 0; background: #f5f5f7; color: #414145; border: 0; }
.store-footer > .content-shell { max-width: 1240px; }
.store-footer a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.store-footer a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.store-footer-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 40px; padding: 40px 0; border-bottom: 1px solid #dddde1; }
.store-footer-contact h2 { color: #1d1d1f; font-size: 24px; font-weight: 600; margin-bottom: 9px; line-height: 1.4; letter-spacing: -.025em; text-wrap: balance; }
.store-footer-contact p { font-size: 13px; color: #626266; margin: 0; }
.store-footer-contact > a:not(.button) { display: inline-flex; align-items: center; gap: 12px; color: #1d1d1f; font-size: 25px; font-weight: 600; white-space: nowrap; }
.store-footer-contact > a > .icon { width: 23px; height: 23px; }
.store-footer-contact .button { font-size: 14px; min-height: 52px; padding-inline: 22px; border-radius: var(--control-radius); color: #fff; }
.store-footer-contact .button:hover { color: #fff; text-decoration: none; }
.store-footer.booking-footer .store-footer-contact { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding-block: 28px; border-bottom: 0; }
.store-footer.booking-footer .store-footer-contact > div { grid-column: auto; }
.store-footer.booking-footer .store-footer-contact h2 { font-size: 18px; margin-bottom: 6px; }
.store-footer.booking-footer .store-footer-contact > a { font-size: 20px; }
.store-footer.booking-footer .store-footer-bottom { padding-block: 22px; }
.store-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 44px; padding: 44px 0; }
.store-footer-grid > * { min-width: 0; }
.store-footer-grid h3 { font-size: 14px; font-weight: 600; color: #1d1d1f; margin: 0 0 20px; }
.store-footer-grid nav > a { display: block; font-size: 13px; line-height: 1.6; margin: 0 0 12px; }
.store-footer .brand { color: #1d1d1f; }
.store-footer .brand > span { font-size: 27px; }
.store-footer .brand small { font-size: 8px; color: #626266; margin-top: 7px; }
.store-footer-brand p { font-size: 13px; line-height: 1.8; margin: 22px 0 14px; color: #626266; }
.store-footer-brand .footer-email { font-size: 13px; overflow-wrap: anywhere; }
.store-footer-grid .store-footer-about { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; }
.store-footer-grid .store-footer-about > a { margin: 0; }
.store-footer-workshop address { font-size: 13px; line-height: 1.9; font-style: normal; }
.store-footer-workshop > a { display: flex; align-items: center; gap: 12px; width: fit-content; font-size: 13px; margin-top: 17px; }
.store-footer-workshop > a .icon { width: 16px; height: 16px; }
.store-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; border-top: 1px solid #dddde1; padding: 24px 0; font-size: 11px; color: #626266; }
.store-footer-company, .store-footer-bottom nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.store-footer-bottom nav { font-size: 12px; }

@media (max-width: 1100px) {
  .woocommerce-checkout .wc-block-components-sidebar-layout { gap: 32px; }
  .store-footer-contact { gap: 28px; }
  .store-footer-contact h2 { font-size: 20px; }
  .store-footer-contact > a:not(.button) { font-size: 22px; }
  .store-footer-grid { gap: 26px; grid-template-columns: 1.2fr 1fr 1fr; }
  .store-footer-workshop { grid-column: 1 / -1; display: flex; align-items: center; gap: 30px; }
  .store-footer-workshop h3 { margin: 0; }
  .store-footer-workshop > a { margin: 0; }
  .woocommerce #reviews { gap: 40px; }
}
@media (max-width: 800px) {
  .woocommerce div.product div.summary { padding-left: 18px; }
  .woocommerce div.product .product_title { font-size: 22px; }
  .woocommerce #reviews { grid-template-columns: 1fr; gap: 30px; }
  .woocommerce #reviews #comments { padding: 0 0 26px; border-bottom: 1px solid var(--line); }
  .woocommerce-checkout .wc-block-components-sidebar-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar { position: static; grid-row: 1; }
  .woocommerce-checkout .wc-block-components-sidebar > .wp-block-woocommerce-checkout-order-summary-block { padding: 0 16px; border-radius: 8px; }
  .woocommerce-checkout .wc-block-components-sidebar .wc-block-components-checkout-order-summary__title-text { font-size: 14px; }
  .store-footer-contact { grid-template-columns: 1fr auto; gap: 20px 30px; }
  .store-footer-contact > div { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .woocommerce div.product div.summary { padding: 0; }
  .woocommerce div.product .product_title { font-size: 23px; }
  .woocommerce div.product div.summary > .price { font-size: 28px !important; }
  .product-facts > div { grid-template-columns: 90px minmax(0, 1fr); }
  .woocommerce div.product .woocommerce-tabs { padding-top: 14px; }
  .woocommerce #reviews h2 { font-size: 21px; }
  .woocommerce #review_form #respond form { grid-template-columns: 1fr; gap: 20px; }
  .woocommerce #review_form .form-submit .button { width: 100%; }
  .checkout-header > .content-shell { min-height: 64px; gap: 18px; }
  .checkout-header .brand > span { font-size: 22px; }
  .checkout-header-help { font-size: 12px; gap: 6px; }
  .woocommerce-checkout .prose-shell { padding-block: 12px 36px; }
  .checkout-intro { margin-bottom: 20px; }
  .checkout-intro h1 { font-size: 23px; }
  .woocommerce-order-received .page-heading h1 { font-size: 26px; }
  .woocommerce-order-received .woocommerce ul.order_details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce-order-received .woocommerce-order address { font-size: 14px; }
  .checkout-intro .text-link { margin-bottom: 8px; }
  .wc-block-checkout__form .wc-block-components-checkout-step { margin-bottom: 28px; padding-bottom: 0; }
  .woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block { padding: 8px; border-radius: 10px; }
  .wc-block-components-checkout-step__title { font-size: 18px !important; }
  .woocommerce-checkout .wc-block-components-order-summary__button-text { font-size: 16px; }
  .woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text { font-size: 14px; }
  .wc-block-checkout__form .wc-block-components-checkout-step__heading { gap: 10px; }
  .wc-block-checkout__form .wc-block-components-text-input input { font-size: 16px; }
  .checkout-footer > .content-shell { align-items: flex-start; flex-direction: column; gap: 16px; }
  .checkout-footer a:first-child { line-height: 1.6; }
  .store-footer-contact { padding-block: 30px; grid-template-columns: 1fr; gap: 22px; }
  .store-footer-contact h2 { font-size: 20px; }
  .store-footer-contact > a:not(.button) { font-size: 25px; }
  .store-footer-contact .button { justify-self: start; }
  .store-footer.booking-footer .store-footer-contact { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
  .store-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; padding-block: 32px; }
  .store-footer-brand { grid-column: 1 / -1; }
  .store-footer-brand p { margin-top: 18px; }
  .store-footer-grid h3 { margin-bottom: 18px; }
  .store-footer-workshop { display: block; }
  .store-footer-workshop > a { margin-top: 16px; }
  .store-footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; line-height: 1.6; }
  .store-footer-bottom > a { margin-left: 0; }
  .store-footer-bottom nav { gap: 8px 18px; }
  .store-footer-bottom nav > a { padding-block: 8px; }
  .store-footer-grid nav > a { padding-block: 5px; margin-bottom: 6px; }
  .store-footer-company { gap: 8px 16px; }
}

/* Official partner identities keep their native proportions and colors. */
.entry-content:has(> .gv-partner-list) { max-width: none; }
.entry-content .gv-partner-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0 0 32px;
  list-style: none;
}
.gv-partner-list > li { min-width: 0; margin: 0; }
.gv-partner-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e0e3e6;
  border-radius: 12px;
  background: #fff;
  color: #202124;
  text-decoration: none;
  transition: border-color 160ms ease;
}
.gv-partner-logo { display: flex; align-items: center; justify-content: center; height: 164px; padding: 30px 24px; }
.gv-partner-logo img { width: auto; height: auto; max-width: 100%; max-height: 76px; object-fit: contain; }
.gv-partner-wordmark { font-size: 24px; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.gv-partner-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 94px; margin-top: auto; padding: 20px; background: #f5f5f7; }
.gv-partner-caption > span:first-child { min-width: 0; }
.gv-partner-caption strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.gv-partner-domain { display: block; margin-top: 4px; color: #60666d; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.gv-partner-arrow { flex: 0 0 auto; font-size: 24px; line-height: 1; color: #60666d; }
.gv-partner-card:hover { border-color: #c92323; }
.gv-partner-card:hover .gv-partner-arrow { color: #c92323; }
.gv-partner-card:focus-visible { outline: 3px solid #c92323; outline-offset: 4px; }
@media (max-width: 1000px) {
  .entry-content .gv-partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .entry-content .gv-partner-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .gv-partner-logo { height: 148px; padding-inline: 32px; }
  .gv-partner-logo img { max-width: min(100%, 230px); width: auto; }
  .gv-partner-caption { padding: 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .gv-partner-card { transition: none; }
}

/* One closing-space token prevents each template from ending at a different distance. */
body { --page-footer-gap: 80px; }
body:not(.woocommerce-checkout) #obsah > :is(.content-shell, .home-shell):last-child { padding-bottom: var(--page-footer-gap); }
body:not(.woocommerce-checkout) #obsah > .content-shell:last-child > :last-child { margin-bottom: 0; }
#obsah > .catalog-support:last-child { width: min(var(--max), calc(100% - var(--page-gutter) * 2)); margin: 0 auto var(--page-footer-gap); border: 0; border-radius: 24px; background: #f5f5f7; }
#obsah > .catalog-support > .content-shell { width: calc(100% - 64px); }
@media (max-width: 760px) {
  body { --page-footer-gap: 56px; }
  #obsah > .catalog-support:last-child { border-radius: 20px; }
  #obsah > .catalog-support > .content-shell { width: calc(100% - 40px); }
}
@media (max-width: 400px) {
  .woocommerce-checkout .wc-block-components-order-summary__content { display: block; width: 100%; }
  .woocommerce-checkout .wc-block-components-order-summary-item__description { min-width: 0; padding-inline: 12px 8px; }
  .cart-drawer-header { padding-inline: 20px 12px; }
  .cart-drawer-content { padding: 0 20px; }
  .cart-skeleton-items { padding-inline: 20px; }
  .cart-skeleton-row { grid-template-columns: 66px minmax(0, 1fr); gap: 14px; padding-block: 22px; }
  .cart-skeleton-image { width: 66px; height: 78px; }
  .cart-skeleton-actions { gap: 10px; }
  .cart-skeleton-price { width: 56px; }
  .cart-skeleton-footer { padding-inline: 20px; }
  .cart-line { grid-template-columns: 66px minmax(0, 1fr); gap: 14px; padding-block: 22px; }
  .cart-line-image { width: 66px; height: 78px; }
  .cart-line-name { font-size: 13px; }
  .cart-line-actions { gap: 10px; }
  .cart-line-price { font-size: 13px; }
  .cart-drawer-footer { padding-inline: 20px; }
  .cart-drawer-message { margin-inline: 20px; }
  .cart-drawer a.cart-checkout { font-size: 13px !important; }
  .checkout-header-help span:not(.icon) { display: none; }
  .checkout-header-help { min-width: 40px; min-height: 40px; justify-content: center; }
  .checkout-header-help .icon { width: 23px; height: 23px; }
}
