/* EscalateFlow storefront blocks: styles of the shop shortcodes/blocks ([products], [product_*], hero slider...).
   Served as a static file (was ~1400 lines inlined in every shop page). Source of truth: this file. */
/* Shop Shortcode Styles - Inherits from --brand-* CSS variables set by style_config */
:root {
    /* Map brand variables to shop variables - uses style_config values if set */
    --shop-primary: var(--brand-primary, #000000);
    --shop-primary-hover: var(--brand-primary-hover, #333333);
    --shop-secondary: var(--brand-secondary, #ffffff);
    --shop-text: var(--brand-text, #111827);
    --shop-text-muted: var(--brand-text-muted, #6b7280);
    --shop-bg: var(--brand-background, #ffffff);
    --shop-bg-alt: var(--brand-background-alt, #f9fafb);
    --shop-border: var(--brand-border, #e5e7eb);

    /* Button styles from style_config */
    --shop-btn-radius: var(--btn-border-radius, 0);
    --shop-btn-transform: var(--btn-text-transform, uppercase);
    --shop-btn-spacing: var(--btn-letter-spacing, 0.1em);
    --shop-btn-weight: var(--btn-font-weight, 400);
    --shop-btn-padding: var(--btn-padding, 0.875rem 1.5rem);
    --shop-btn-size: var(--btn-font-size, 0.75rem);

    /* Typography from style_config */
    --shop-font: var(--font-font-family, inherit);
    --shop-heading-font: var(--font-heading-font, inherit);
}

/* Product Grid - CSS Grid fallback (doesn't rely on Tailwind) */
.shop-grid {
    display: grid;
    gap: 1.5rem;
    margin: 1rem 0;
    /* Default: 4 columns on desktop */
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* Responsive grid - mobile first */
@media (max-width: 1024px) {
    .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .shop-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}
/* Column overrides via data attribute */
.shop-grid[data-cols="1"] { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.shop-grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) {
    .shop-grid[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.shop-grid[data-cols="3"] { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) {
    .shop-grid[data-cols="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .shop-grid[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.shop-grid[data-cols="4"] { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) {
    .shop-grid[data-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .shop-grid[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.shop-grid[data-cols="5"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) {
    .shop-grid[data-cols="5"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .shop-grid[data-cols="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.shop-grid[data-cols="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) {
    .shop-grid[data-cols="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .shop-grid[data-cols="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.shop-empty { text-align: center; padding: 3rem; color: var(--shop-text-muted); }

/* Product Card - Clean, minimal, square */
.shop-card {
    background: var(--shop-bg);
    border: none;
    border-radius: 0;
    padding: 0;
    transition: transform 0.2s;
    text-align: var(--shop-card-text-align, center);
    /* Ensure card fills grid cell */
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.shop-card:hover {
    transform: translateY(-4px);
}
.shop-card-link { text-decoration: none; color: inherit; display: block; width: 100%; }
.shop-card-image {
    aspect-ratio: 1;
    background: var(--shop-bg-alt);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 1rem;
    /* Force image container to fill card width */
    width: 100%;
}
.shop-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-card-image.shop-no-image {
    display: flex; align-items: center; justify-content: center;
}
.shop-card-image.shop-no-image svg { width: 3rem; height: 3rem; color: var(--shop-border); }
.shop-card-title {
    font-family: var(--shop-heading-font);
    font-weight: 600;
    color: var(--shop-text);
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    text-align: var(--shop-card-text-align, center);
}
.shop-card-price {
    font-family: var(--shop-font);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--shop-text);
    margin: 0 0 0.75rem 0;
    text-align: var(--shop-card-text-align, center);
}
/* Button at bottom of card */
.shop-card .shop-btn {
    margin-top: auto;
}

/* Buttons - Uses style_config button variables */
.shop-btn {
    display: block;
    width: 100%;
    padding: var(--shop-btn-padding);
    background: var(--shop-primary);
    color: var(--shop-secondary);
    border: none;
    border-radius: var(--shop-btn-radius);
    font-weight: var(--shop-btn-weight);
    font-size: var(--shop-btn-size);
    letter-spacing: var(--shop-btn-spacing);
    text-transform: var(--shop-btn-transform);
    font-family: var(--shop-font);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.shop-btn:hover { background: var(--shop-primary-hover); }
.shop-btn-lg { padding: 1rem 2rem; font-size: 0.875rem; }

/* Pagination - Uses style_config button variables */
.shop-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.shop-page-btn {
    padding: 0.5rem 0.875rem;
    background: var(--shop-bg);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-btn-radius);
    color: var(--shop-text);
    text-decoration: none;
    font-size: var(--shop-btn-size);
    letter-spacing: var(--shop-btn-spacing);
    text-transform: var(--shop-btn-transform);
    font-family: var(--shop-font);
}
.shop-page-btn:hover { background: var(--shop-bg-alt); }
.shop-page-btn.active {
    background: var(--shop-primary);
    color: var(--shop-secondary);
    border-color: var(--shop-primary);
}
.shop-page-dots { padding: 0.5rem; color: var(--shop-text-muted); }

/* Categories - Uses style_config button variables for consistency */
.shop-cat-nav { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; justify-content: center; }
.shop-cat-pill {
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-btn-radius);
    color: var(--shop-text);
    text-decoration: none;
    font-size: var(--shop-btn-size);
    letter-spacing: var(--shop-btn-spacing);
    text-transform: var(--shop-btn-transform);
    font-family: var(--shop-font);
    transition: all 0.2s;
}
.shop-cat-pill:hover { background: var(--shop-bg-alt); border-color: var(--shop-text); }
.shop-cat-pill.active { background: var(--shop-primary); color: var(--shop-secondary); border-color: var(--shop-primary); }

.shop-cat-list { display: flex; flex-direction: column; gap: 0.25rem; }
.shop-cat-item {
    padding: 0.625rem 1rem;
    border-radius: calc(var(--shop-radius) * 0.75);
    color: var(--shop-text);
    text-decoration: none;
}
.shop-cat-item:hover { background: var(--shop-bg-alt); }
.shop-cat-item.active { background: var(--shop-primary); color: #fff; }

.shop-cat-dropdown {
    padding: 0.625rem 1rem;
    border: 1px solid var(--shop-border);
    border-radius: calc(var(--shop-radius) * 0.75);
    background: var(--shop-bg);
    color: var(--shop-text);
    font-size: 0.875rem;
}

/* Product Detail */
.shop-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 768px) {
    .shop-detail { grid-template-columns: 1fr 1fr; }
}
.shop-detail-image {
    aspect-ratio: 1;
    background: var(--shop-bg-alt);
    border-radius: 0;
    overflow: hidden;
}
.shop-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.shop-detail-image.shop-no-image {
    display: flex; align-items: center; justify-content: center;
}
.shop-detail-image.shop-no-image svg { width: 4rem; height: 4rem; color: var(--shop-border); }
.shop-detail-category {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: transparent;
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-btn-radius);
    color: var(--shop-text);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: var(--shop-btn-spacing);
    text-transform: var(--shop-btn-transform);
    font-family: var(--shop-font);
    margin-bottom: 1rem;
}
.shop-detail-title {
    font-family: var(--shop-heading-font);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--shop-text);
    margin: 0 0 0.5rem 0;
}
.shop-detail-price {
    font-family: var(--shop-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--shop-primary);
    margin: 0 0 1rem 0;
}
.shop-detail-desc {
    color: var(--shop-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.shop-detail-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.shop-qty-control {
    display: flex;
    border: 1px solid var(--shop-border);
    border-radius: 0;
    overflow: hidden;
}
.shop-qty-btn {
    width: 2.75rem;
    height: 2.75rem;
    background: var(--shop-bg);
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--shop-text);
    transition: background 0.2s;
}
.shop-qty-btn:hover { background: var(--shop-bg-alt); }
.shop-qty-input {
    width: 3.5rem;
    text-align: center;
    border: none;
    border-left: 1px solid var(--shop-border);
    border-right: 1px solid var(--shop-border);
    font-size: 0.875rem;
    color: var(--shop-text);
    background: var(--shop-bg);
}
.shop-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Cart Widget */
.shop-cart-icon {
    position: relative;
    display: inline-flex;
    padding: 0.5rem;
    color: var(--shop-text);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.shop-cart-icon:hover { color: var(--shop-primary); }
.shop-cart-icon svg { width: 1.5rem; height: 1.5rem; }
.shop-cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--shop-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mini Cart */
.shop-cart-mini {
    background: var(--shop-bg);
    border: 1px solid var(--shop-border);
    border-radius: 0;
    padding: 1rem;
    min-width: 16rem;
}
.shop-cart-mini.empty { color: var(--shop-text-muted); text-align: center; }
.shop-cart-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--shop-border);
}
.shop-cart-item-name { font-weight: 500; color: var(--shop-text); }
.shop-cart-item-qty { color: var(--shop-text-muted); font-size: 0.875rem; }
.shop-cart-more { text-align: center; padding: 0.5rem; color: var(--shop-text-muted); font-size: 0.875rem; }
.shop-cart-total {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-weight: 600;
    color: var(--shop-text);
}

/* Toast */
.shop-toast {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0;
    color: #fff;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 9999;
    animation: shopToastIn 0.3s ease;
}
.shop-toast.success { background: var(--shop-primary); }
.shop-toast.error { background: #ef4444; }
@keyframes shopToastIn {
    from { opacity: 0; transform: translateY(1rem); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Cart Sidebar - Slide-in panel from right
   ========================================================================== */

/* Overlay */
.shop-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.shop-sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Panel */
.shop-cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: var(--shop-bg);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}
.shop-cart-sidebar.open {
    transform: translateX(0);
}

/* Sidebar Header */
.shop-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--shop-border);
    flex-shrink: 0;
}
.shop-sidebar-title {
    font-family: var(--shop-heading-font);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--shop-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.shop-sidebar-count {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--shop-primary);
    color: var(--shop-secondary);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}
.shop-sidebar-close {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--shop-text-muted);
    transition: color 0.2s;
}
.shop-sidebar-close:hover { color: var(--shop-text); }
.shop-sidebar-close svg { width: 1.5rem; height: 1.5rem; }

/* Sidebar Content - Scrollable */
.shop-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

/* Empty Cart State */
.shop-sidebar-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--shop-text-muted);
    text-align: center;
    padding: 2rem;
}
.shop-sidebar-empty svg {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}
.shop-sidebar-empty p {
    margin: 0 0 1.5rem 0;
    font-size: 0.9375rem;
}

/* Cart Item in Sidebar */
.shop-sidebar-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--shop-border);
}
.shop-sidebar-item:last-child { border-bottom: none; }
.shop-sidebar-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: var(--shop-bg-alt);
    overflow: hidden;
}
.shop-sidebar-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shop-sidebar-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.shop-sidebar-item-name {
    font-family: var(--shop-font);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--shop-text);
    margin: 0 0 0.25rem 0;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.shop-sidebar-item-name:hover { color: var(--shop-primary); }
.shop-sidebar-item-price {
    font-size: 0.875rem;
    color: var(--shop-text-muted);
    margin-bottom: 0.5rem;
}
.shop-sidebar-item-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

/* Quantity Controls in Sidebar */
.shop-sidebar-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--shop-border);
}
.shop-sidebar-qty button {
    width: 1.75rem;
    height: 1.75rem;
    background: var(--shop-bg);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--shop-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.shop-sidebar-qty button:hover { background: var(--shop-bg-alt); }
.shop-sidebar-qty span {
    width: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--shop-text);
    border-left: 1px solid var(--shop-border);
    border-right: 1px solid var(--shop-border);
    padding: 0.25rem 0;
}

/* Remove Button */
.shop-sidebar-remove {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--shop-text-muted);
    transition: color 0.2s;
}
.shop-sidebar-remove:hover { color: #ef4444; }
.shop-sidebar-remove svg { width: 1.125rem; height: 1.125rem; }

/* Sidebar Footer */
.shop-sidebar-footer {
    border-top: 1px solid var(--shop-border);
    padding: 1.25rem 1.5rem;
    flex-shrink: 0;
    background: var(--shop-bg);
}
.shop-sidebar-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.shop-sidebar-subtotal-label {
    font-family: var(--shop-font);
    font-size: 0.875rem;
    color: var(--shop-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.shop-sidebar-subtotal-value {
    font-family: var(--shop-heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--shop-text);
}
.shop-sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.shop-sidebar-checkout {
    display: block;
    width: 100%;
    padding: var(--shop-btn-padding);
    background: var(--shop-primary);
    color: var(--shop-secondary);
    border: none;
    border-radius: var(--shop-btn-radius);
    font-weight: var(--shop-btn-weight);
    font-size: var(--shop-btn-size);
    letter-spacing: var(--shop-btn-spacing);
    text-transform: var(--shop-btn-transform);
    font-family: var(--shop-font);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}
.shop-sidebar-checkout:hover { background: var(--shop-primary-hover); }
.shop-sidebar-continue {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    color: var(--shop-text);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-btn-radius);
    font-size: 0.75rem;
    letter-spacing: var(--shop-btn-spacing);
    text-transform: var(--shop-btn-transform);
    font-family: var(--shop-font);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.shop-sidebar-continue:hover {
    border-color: var(--shop-text);
    background: var(--shop-bg-alt);
}

/* Loading State */
.shop-sidebar-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}
.shop-sidebar-spinner {
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--shop-border);
    border-top-color: var(--shop-primary);
    border-radius: 50%;
    animation: shopSpin 0.8s linear infinite;
}
@keyframes shopSpin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Section Shortcodes - Product Detail Page Sections
   ========================================================================== */

/* Product Header [product_header] */
.shop-product-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .shop-product-header { grid-template-columns: 1fr 1fr; }
}
.shop-header-image {
    aspect-ratio: 1;
    background: var(--shop-bg-alt);
    overflow: hidden;
}
.shop-header-image img { width: 100%; height: 100%; object-fit: cover; }
.shop-header-image.shop-no-image {
    display: flex; align-items: center; justify-content: center;
}
.shop-header-image.shop-no-image svg { width: 4rem; height: 4rem; color: var(--shop-border); }
.shop-header-info { display: flex; flex-direction: column; justify-content: center; }
.shop-header-category {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: transparent;
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-btn-radius);
    color: var(--shop-text);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: var(--shop-btn-spacing);
    text-transform: var(--shop-btn-transform);
    font-family: var(--shop-font);
    margin-bottom: 1rem;
    width: fit-content;
}
.shop-header-category:hover { border-color: var(--shop-text); }
.shop-header-title {
    font-family: var(--shop-heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--shop-text);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}
.shop-header-price {
    font-family: var(--shop-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--shop-primary);
    margin: 0 0 1rem 0;
}
.shop-header-short-desc {
    color: var(--shop-text-muted);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}
.shop-header-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* Common Section Styles */
.shop-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--shop-border);
}
.shop-section-title {
    font-family: var(--shop-heading-font);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--shop-text);
    letter-spacing: var(--shop-btn-spacing);
    text-transform: var(--shop-btn-transform);
    margin: 0 0 1.5rem 0;
}
.shop-section-content {
    font-family: var(--shop-font);
    color: var(--shop-text-muted);
    line-height: 1.8;
}

/* Features [product_features] */
.shop-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.shop-feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--shop-bg-alt);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-btn-radius);
    color: var(--shop-text);
    font-family: var(--shop-font);
    font-size: var(--shop-btn-size);
    letter-spacing: var(--shop-btn-spacing);
    text-transform: var(--shop-btn-transform);
}

/* Specifications Table [product_specs] */
.shop-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--shop-font);
}
.shop-specs-table tr {
    border-bottom: 1px solid var(--shop-border);
}
.shop-specs-table th,
.shop-specs-table td {
    padding: 0.875rem 0;
    text-align: left;
    vertical-align: top;
}
.shop-spec-key {
    width: 40%;
    font-weight: 400;
    color: var(--shop-text-muted);
    font-size: 0.875rem;
    text-transform: var(--shop-btn-transform);
    letter-spacing: var(--shop-btn-spacing);
}
.shop-spec-value {
    color: var(--shop-text);
    font-size: 0.875rem;
}

/* FAQ Accordion [product_faq] */
.shop-faq-list {
    border-top: 1px solid var(--shop-border);
}
.shop-faq-item {
    border-bottom: 1px solid var(--shop-border);
}
.shop-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--shop-text);
    font-family: var(--shop-font);
    font-size: 0.9375rem;
    font-weight: 500;
}
.shop-faq-question:hover { color: var(--shop-primary); }
.shop-faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.2s;
    color: var(--shop-text-muted);
}
.shop-faq-item.open .shop-faq-icon { transform: rotate(180deg); }
.shop-faq-answer {
    display: none;
    padding: 0 0 1.25rem 0;
    color: var(--shop-text-muted);
    line-height: 1.7;
}
.shop-faq-item.open .shop-faq-answer { display: block; }

/* Size Guide [product_size_guide] */
.shop-size-guide-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.shop-size-guide-content th,
.shop-size-guide-content td {
    padding: 0.75rem;
    text-align: center;
    border: 1px solid var(--shop-border);
}
.shop-size-guide-content th {
    background: var(--shop-bg-alt);
    font-weight: 600;
    color: var(--shop-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}
.shop-size-guide-content td {
    color: var(--shop-text-muted);
}

/* Related Products [product_related] - Full-width section */
.shop-related-section {
    /* Full viewport width - breaks out of ANY container */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    /* Styling */
    margin-top: 3rem;
    padding: 3rem 0;
    background: var(--shop-bg-alt);
    /* Inner content centering */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.shop-related-section .shop-section-title {
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 80rem;
    padding: 0 1rem;
}
.shop-related-section .shop-grid {
    margin-top: 0;
    width: 100%;
    max-width: 80rem;
    padding: 0 1rem;
}

/* ==========================================================================
   Homepage Shortcodes - Hero, Categories, Trust, Newsletter, etc.
   ========================================================================== */

/* Hero Slider [hero_slider] */
.shop-hero-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 400px;
    max-height: 700px;
    overflow: hidden;
}
.shop-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.shop-hero-slide.active { opacity: 1; }
.shop-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
.shop-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    color: #fff;
    text-align: center;
}
.shop-hero-content.left { align-items: flex-start; text-align: left; padding-left: 5%; }
.shop-hero-content.center { align-items: center; text-align: center; }
.shop-hero-content.right { align-items: flex-end; text-align: right; padding-right: 5%; }
.shop-hero-title {
    font-family: var(--shop-heading-font);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.shop-hero-subtitle {
    font-family: var(--shop-font);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin: 0 0 2rem 0;
    max-width: 600px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.shop-hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--shop-primary);
    color: var(--shop-secondary, #fff);
    text-decoration: none;
    font-family: var(--shop-font);
    font-size: var(--shop-btn-size);
    font-weight: var(--shop-btn-weight);
    letter-spacing: var(--shop-btn-spacing);
    text-transform: var(--shop-btn-transform);
    border-radius: var(--shop-btn-radius);
    border: none;
    transition: all 0.2s;
}
.shop-hero-btn:hover {
    background: var(--shop-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Hero Navigation */
.shop-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--shop-primary);
    border: none;
    border-radius: var(--shop-btn-radius);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}
.shop-hero-arrow:hover { background: var(--shop-primary-hover); }
.shop-hero-arrow svg { width: 24px; height: 24px; color: var(--shop-secondary, #fff); }
.shop-hero-arrow.prev { left: 1rem; }
.shop-hero-arrow.next { right: 1rem; }
@media (max-width: 768px) {
    .shop-hero-arrow { display: none; }
}
.shop-hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}
.shop-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--shop-primary);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}
.shop-hero-dot.active, .shop-hero-dot:hover { background: var(--shop-primary); }

/* Announcement Bar [announcement_bar] */
.shop-announcement-bar {
    background: var(--shop-primary);
    color: var(--shop-secondary);
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-family: var(--shop-font);
    letter-spacing: 0.05em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.shop-announce-content { flex: 1; }
.shop-announce-content a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.shop-announce-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.shop-announce-close:hover { opacity: 1; }

/* Category Showcase [category_showcase] */
.shop-cat-showcase {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
}
.shop-cat-showcase[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.shop-cat-showcase[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.shop-cat-showcase[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }
.shop-cat-showcase[data-cols="5"] { grid-template-columns: repeat(5, 1fr); }
.shop-cat-showcase[data-cols="6"] { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1024px) {
    .shop-cat-showcase { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .shop-cat-showcase { grid-template-columns: repeat(1, 1fr); }
}
.shop-cat-showcase-item {
    position: relative;
    aspect-ratio: var(--shop-category-aspect-ratio, 4/3);
    overflow: hidden;
    text-decoration: none;
}
.shop-cat-showcase-image {
    width: 100%;
    height: 100%;
    background: var(--shop-bg-alt);
}
.shop-cat-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.shop-cat-showcase-item:hover .shop-cat-showcase-image img {
    transform: scale(1.05);
}
.shop-cat-showcase-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.shop-cat-showcase-item:hover .shop-cat-showcase-overlay {
    background: rgba(0, 0, 0, 0.5);
}
.shop-cat-showcase-name {
    color: #fff;
    font-family: var(--shop-heading-font);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.shop-cat-showcase-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.shop-cat-showcase-placeholder svg {
    width: 3rem;
    height: 3rem;
    color: var(--shop-border);
}

/* Trust Badges [trust_badges] */
.shop-trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 1rem;
    background: var(--shop-bg-alt);
    border-top: 1px solid var(--shop-border);
    border-bottom: 1px solid var(--shop-border);
}
.shop-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}
.shop-trust-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-trust-icon svg {
    width: 100%;
    height: 100%;
    color: var(--shop-primary);
}
.shop-trust-text {
    display: flex;
    flex-direction: column;
}
.shop-trust-title {
    font-family: var(--shop-font);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--shop-text);
}
.shop-trust-desc {
    font-size: 0.75rem;
    color: var(--shop-text-muted);
}

/* Testimonials [testimonials] */
.shop-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 1024px) {
    .shop-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .shop-testimonials-grid { grid-template-columns: 1fr; }
}
.shop-testimonials-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
}
.shop-testimonials-carousel .shop-testimonial-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
}
.shop-testimonial-card {
    background: var(--shop-bg);
    border: 1px solid var(--shop-border);
    padding: 2rem;
    text-align: center;
}
.shop-testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}
.shop-testimonial-star {
    color: #f59e0b;
    font-size: 1.125rem;
}
.shop-testimonial-content {
    font-family: var(--shop-font);
    font-size: 1rem;
    font-style: italic;
    color: var(--shop-text);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
}
.shop-testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.shop-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--shop-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shop-testimonial-initials {
    font-family: var(--shop-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--shop-text-muted);
}
.shop-testimonial-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.shop-testimonial-name {
    font-family: var(--shop-font);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--shop-text);
}
.shop-testimonial-title {
    font-size: 0.75rem;
    color: var(--shop-text-muted);
}

/* Newsletter [newsletter] */
.shop-newsletter {
    background: var(--shop-primary);
    color: var(--shop-secondary);
    padding: 3rem 2rem;
    text-align: center;
}
.shop-newsletter.inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: left;
}
.shop-newsletter-content { flex: 1; min-width: 250px; }
.shop-newsletter-title {
    font-family: var(--shop-heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}
.shop-newsletter-subtitle {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin: 0;
    max-width: 500px;
}
.shop-newsletter.banner .shop-newsletter-subtitle {
    margin: 0 auto 1.5rem;
}
.shop-newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}
.shop-newsletter.inline .shop-newsletter-form {
    margin: 0;
}
.shop-newsletter-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: var(--shop-btn-radius);
    font-family: var(--shop-font);
    font-size: 0.875rem;
    background: rgba(255,255,255,0.9);
    color: var(--shop-text);
}
.shop-newsletter-input::placeholder { color: var(--shop-text-muted); }
.shop-newsletter-btn {
    padding: 0.875rem 1.5rem;
    background: var(--shop-text);
    color: var(--shop-bg);
    border: none;
    border-radius: var(--shop-btn-radius);
    font-family: var(--shop-font);
    font-size: var(--shop-btn-size);
    font-weight: var(--shop-btn-weight);
    letter-spacing: var(--shop-btn-spacing);
    text-transform: var(--shop-btn-transform);
    cursor: pointer;
    transition: opacity 0.2s;
}
.shop-newsletter-btn:hover { opacity: 0.9; }

/* Brand Story [brand_story] */
.shop-brand-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
}
.shop-brand-story.left { direction: rtl; }
.shop-brand-story.left > * { direction: ltr; }
@media (max-width: 768px) {
    .shop-brand-story { grid-template-columns: 1fr; }
    .shop-brand-story.left { direction: ltr; }
}
.shop-brand-content { max-width: 500px; }
.shop-brand-title {
    font-family: var(--shop-heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--shop-text);
    margin: 0 0 1.5rem 0;
}
.shop-brand-text {
    font-family: var(--shop-font);
    font-size: 1rem;
    color: var(--shop-text-muted);
    line-height: 1.8;
}
.shop-brand-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.shop-brand-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA Banner [cta_banner] */
.shop-cta-banner {
    background: var(--shop-primary);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 4rem 2rem;
    text-align: center;
}
.shop-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}
.shop-cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}
.shop-cta-title {
    font-family: var(--shop-heading-font);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.shop-cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 2rem 0;
}
.shop-cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: var(--shop-text);
    text-decoration: none;
    font-family: var(--shop-font);
    font-size: var(--shop-btn-size);
    font-weight: var(--shop-btn-weight);
    letter-spacing: var(--shop-btn-spacing);
    text-transform: var(--shop-btn-transform);
    border-radius: var(--shop-btn-radius);
    transition: all 0.2s;
}
.shop-cta-btn:hover { background: var(--shop-primary); color: #fff; }

/* Collection [collection] */
.shop-collection {
    padding: 2rem 0;
}

/* Sale price: struck-through compare-at price (PVPR) + % off */
.shop-price-old { color: var(--brand-text-muted, #6b7280); font-weight: 400; font-size: .85em; margin-right: .35rem; }
.shop-price-off { display: inline-block; margin-left: .35rem; padding: .1rem .45rem; border-radius: 999px; font-size: .75em;
    font-weight: 700; background: var(--brand-error, #dc2626); color: #fff; vertical-align: middle; }

/* Product gallery thumbnails under the main image */
.shop-gallery { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.shop-gallery-thumb { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: .4rem;
    overflow: hidden; background: var(--brand-background-alt, #f3f4f6); cursor: pointer; }
.shop-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-gallery-thumb.active, .shop-gallery-thumb:hover { border-color: var(--brand-primary, #111); }

/* Sort + filter bar of the shop listing / category pages */
.shop-toolbar { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; margin: 0 0 1.5rem; }
.shop-filter { display: flex; flex-direction: column; gap: .25rem; font-size: .8rem; color: var(--brand-text-muted, #6b7280); }
.shop-filter select, .shop-filter input { padding: .5rem .6rem; border: 1px solid var(--brand-border, #e5e7eb); border-radius: .4rem;
    background: var(--brand-background, #fff); color: var(--brand-text, #111827); font: inherit; font-size: .9rem; }
.shop-filter input { width: 6rem; }
.shop-filter:has(input) { flex-direction: row; align-items: center; flex-wrap: wrap; }
.shop-filter:has(input) span { width: 100%; }
.shop-toolbar .shop-btn { width: auto; padding: .55rem 1.1rem; }

/* Variant selector, stock line, sold-out button */
.shop-variant { display: flex; flex-direction: column; gap: .35rem; margin: 1rem 0 .5rem; font-size: .875rem; font-weight: 600; }
.shop-variant-select { padding: .6rem .75rem; border: 1px solid #d1d5db; border-radius: .5rem; background: #fff; font: inherit; font-weight: 400; max-width: 22rem; }
.shop-stock { margin: .5rem 0; font-size: .875rem; color: #047857; }
.shop-stock:empty { display: none; }
.shop-stock-out { color: #b91c1c; font-weight: 600; }
.shop-btn:disabled, .shop-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* Breadcrumbs (category and product pages) */
.shop-breadcrumbs { max-width: var(--layout-max-width, 1200px); margin: 0 auto 1rem; padding: 0 var(--layout-content-padding, 1rem); font-size: .8125rem; color: var(--brand-text-muted, #6b7280); }
.shop-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.shop-breadcrumbs li + li::before { content: "/"; margin-right: .25rem; opacity: .6; }
.shop-breadcrumbs a { color: inherit; text-decoration: none; }
.shop-breadcrumbs a:hover { text-decoration: underline; }
.shop-breadcrumbs [aria-current] { color: var(--brand-text, #111827); }

/* Star ratings (reviews): --shop-rating = average / 5 in % */
.shop-stars { --shop-rating: 0%; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px;
    background: linear-gradient(90deg, #f59e0b var(--shop-rating), #d1d5db var(--shop-rating));
    -webkit-background-clip: text; background-clip: text; color: transparent; vertical-align: middle; }
.shop-stars::before { content: "★★★★★"; }

/* Reviews [product_reviews] */
.shop-reviews-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .shop-reviews-layout { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); } }
.shop-reviews-avg { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1rem; }
.shop-reviews-avg strong { font-size: 2rem; line-height: 1; color: var(--shop-text); }
.shop-reviews-avg .shop-stars { font-size: 1.25rem; }
.shop-reviews-count, .shop-reviews-empty, .shop-review-meta { color: var(--shop-text-muted); font-size: .875rem; }
.shop-reviews-empty { margin: 0 0 1rem; }
.shop-reviews-list { display: flex; flex-direction: column; gap: 1.25rem; }
.shop-review { padding-bottom: 1.25rem; border-bottom: 1px solid var(--shop-border); }
.shop-review:last-child { border-bottom: 0; }
.shop-review-title { margin: .4rem 0 .25rem; font-size: 1rem; font-weight: 600; color: var(--shop-text); }
.shop-review-body { margin: .4rem 0; color: var(--shop-text); line-height: 1.6; overflow-wrap: anywhere; }
.shop-review-meta { margin: 0; }
.shop-review-form summary { list-style: none; }
.shop-review-form summary::-webkit-details-marker { display: none; }
.shop-review-form form { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; position: relative; }
.shop-review-form label { display: flex; flex-direction: column; gap: .3rem; font-size: .875rem; color: var(--shop-text); }
.shop-review-form input:not([type="radio"]), .shop-review-form textarea { padding: .6rem .75rem; border: 1px solid var(--shop-border);
    border-radius: .4rem; background: var(--shop-bg); color: var(--shop-text); font: inherit; width: 100%; box-sizing: border-box; }
.shop-stars-input { border: 0; padding: 0; margin: 0; }
.shop-stars-input legend { font-size: .875rem; padding: 0; margin-bottom: .25rem; color: var(--shop-text); }
.shop-stars-input div { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.shop-stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.shop-stars-input label { font-size: 1.6rem; line-height: 1; color: #d1d5db; cursor: pointer; display: inline; }
.shop-stars-input input:checked ~ label, .shop-stars-input label:hover, .shop-stars-input label:hover ~ label { color: #f59e0b; }
.shop-stars-input input:focus-visible + label { outline: 2px solid var(--shop-primary); outline-offset: 2px; }
.shop-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.shop-review-msg { margin: 0; font-size: .875rem; }
.shop-review-msg:empty { display: none; }
.shop-review-msg.ok { color: #047857; }
.shop-review-msg.error { color: #b91c1c; }

/* Predictive search dropdown (input[data-ef-suggest], ef-shop.js) */
.ef-suggest-wrap { position: relative; }
.ef-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 100; margin: 2px 0 0; padding: .25rem 0; list-style: none;
    max-height: 22rem; overflow-y: auto; background: var(--shop-bg); color: var(--shop-text); border: 1px solid var(--shop-border);
    border-radius: .5rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); text-align: left; min-width: 16rem; }
.ef-suggest[hidden] { display: none; }
.ef-suggest-group { padding: .5rem .75rem .25rem; font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
    color: var(--shop-text-muted); }
.ef-suggest [role="option"] a { display: flex; align-items: center; gap: .6rem; padding: .45rem .75rem; color: inherit; text-decoration: none; font-size: .9rem; }
.ef-suggest [role="option"].active a, .ef-suggest [role="option"] a:hover { background: var(--shop-bg-alt); }
.ef-suggest img, .ef-suggest-noimg { width: 40px; height: 40px; flex: 0 0 40px; object-fit: cover; border-radius: .3rem; background: var(--shop-bg-alt); }
.ef-suggest-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ef-suggest-price { font-weight: 600; white-space: nowrap; }
.ef-suggest-all a { font-weight: 600; border-top: 1px solid var(--shop-border); }
.shop-filter-search { flex: 1 1 14rem; }
.shop-filter.shop-filter-search { flex-direction: column; flex-wrap: nowrap; }
.shop-filter.shop-filter-search span { width: auto; }
.shop-filter.shop-filter-search input { width: 100%; box-sizing: border-box; }
