/* ==========================================================================
   GREYTON MARKETPLACE — Shop / Marketplace Page Styles
   Conditionally loaded on is_shop() and is_product_taxonomy() only.
   ========================================================================== */

/* Smooth cross-page fades via the View Transitions API (Chrome 126+, Safari 18.2+).
   Acts as a progressive enhancement — older browsers simply ignore the rule.
   Covers navigations not intercepted by shop-ajax.js (product clicks, "All" card, etc.) */
@view-transition {
    navigation: auto;
}

/* ==========================================================================
   FULL-WIDTH LAYOUT OVERRIDE
   Match the homepage edge-to-edge feel.
   Forces plain-container via PHP + overrides Astra inline max-width.
   ========================================================================== */

/* Override Astra's inline .ast-container max-width — ONLY inside .site-content,
   so the header/footer containers are not affected. */
.greyton-shop .site-content > .ast-container,
.greyton-shop.ast-plain-container .site-content > .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden;
}

/* Remove Astra's separate-container boxing if it somehow persists */
.greyton-shop.ast-separate-container .site-content > .ast-container,
.greyton-shop.woocommerce.ast-separate-container .ast-woocommerce-container {
    max-width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

.greyton-shop #primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Force-hide sidebar (belt-and-braces alongside the PHP filter) */
.greyton-shop #secondary {
    display: none !important;
}

/* Remove Astra's default top padding on the shop content area */
.greyton-shop .ast-woocommerce-container,
.greyton-shop.ast-plain-container .ast-woocommerce-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Remove any Astra site-content padding/margin */
.greyton-shop .site-content {
    padding-top: 0 !important;
}

/* Hide breadcrumbs — the hero replaces them */
.greyton-shop .woocommerce-breadcrumb,
.greyton-shop .ast-woo-breadcrumbs-wrapper,
.greyton-shop .ast-breadcrumbs-wrapper,
.woocommerce.greyton-shop .woocommerce-breadcrumb,
body.greyton-shop .woocommerce-breadcrumb,
body.greyton-shop .ast-breadcrumbs-wrapper {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove Astra archive header/title area spacing */
.greyton-shop .ast-archive-description,
.greyton-shop .ast-woocommerce-container > .woocommerce-products-header,
body.greyton-shop .ast-archive-description {
    display: none !important;
}

/* Constrain the product grid + toolbar inside the full-width layout.
   NOTE: .woocommerce is on the BODY alongside .greyton-shop, not a descendant,
   so we use body.greyton-shop (compound) not .greyton-shop .woocommerce (descendant). */
body.greyton-shop .woocommerce-result-count,
body.greyton-shop .woocommerce-ordering,
body.greyton-shop .greyton-shop-toolbar,
body.greyton-shop ul.products,
body.greyton-shop nav.woocommerce-pagination {
    max-width: var(--container-max, 1240px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(1.5rem, 4vw, 3rem);
    padding-right: clamp(1.5rem, 4vw, 3rem);
    box-sizing: border-box;
}

/* The toolbar already wraps count + ordering, so un-constrain those individually */
body.greyton-shop .greyton-shop-toolbar .woocommerce-result-count,
body.greyton-shop .greyton-shop-toolbar .woocommerce-ordering {
    max-width: none !important;
    padding-left: 0;
    padding-right: 0;
}

/* ==========================================================================
   HERO SECTION — Full-width edge-to-edge
   ========================================================================== */

.greyton-shop-hero {
    background: linear-gradient(
        135deg,
        var(--greyton-primary) 0%,
        var(--greyton-primary-dark, #1E3A0E) 50%,
        var(--greyton-primary) 100%
    );
    padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Subtle diagonal texture (matches .greyton-fp-cta pattern) */
.greyton-shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.02) 40px,
        rgba(255, 255, 255, 0.02) 80px
    );
    pointer-events: none;
}

.greyton-shop-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-narrow, 800px);
    margin: 0 auto;
}

.greyton-shop-hero-title {
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin: 0 0 var(--space-sm);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.greyton-shop-hero-subtitle {
    color: var(--greyton-secondary-light, #E8A87C) !important;
    font-family: var(--font-accent);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin: 0 0 var(--space-xl);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}

/* --- Vendor-specific hero with background image --- */

.greyton-shop-hero--vendor {
    background:
        linear-gradient(135deg, rgba(30, 58, 14, 0.85) 0%, rgba(30, 58, 14, 0.7) 100%),
        var(--hero-bg, none) center / cover no-repeat;
    padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
}

.greyton-shop-hero--vendor .greyton-shop-hero-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto var(--space-lg);
}

.greyton-shop-hero-breadcrumb {
    margin: 0 0 var(--space-md);
    font-size: 0.85rem;
}

.greyton-shop-hero-breadcrumb a {
    color: var(--greyton-secondary-light, #E8A87C);
    text-decoration: none;
    font-weight: 600;
}

.greyton-shop-hero-breadcrumb a:hover {
    color: #fff;
}

.greyton-shop-hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
    margin-left: var(--space-xs);
}

/* ==========================================================================
   SEARCH FORM
   ========================================================================== */

.greyton-shop-search {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
}

.greyton-shop-search-input {
    flex: 1;
    padding: 14px 20px !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: var(--radius-md) 0 0 var(--radius-md) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-size: 0.95rem;
    font-family: var(--font-body);
    backdrop-filter: blur(4px);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.greyton-shop-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.greyton-shop-search-input:focus {
    border-color: var(--greyton-accent) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 0 0 3px rgba(212, 160, 62, 0.2) !important;
    outline: none;
}

.greyton-shop-search-btn {
    padding: 14px 20px;
    background: var(--greyton-secondary);
    color: #fff;
    border: 2px solid var(--greyton-secondary);
    border-left: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: background var(--transition-fast);
    display: flex;
    align-items: center;
}

.greyton-shop-search-btn:hover {
    background: var(--greyton-accent);
    border-color: var(--greyton-accent);
}

/* ==========================================================================
   CATEGORY NAVIGATION GRID — Full-width edge-to-edge
   ========================================================================== */

.greyton-shop-categories {
    background: var(--greyton-white);
    padding: var(--space-2xl) var(--space-xl);
    border-bottom: 1px solid var(--greyton-border-light);
    width: 100%;
}

.greyton-shop-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: var(--container-max, 1240px);
    margin: 0 auto;
}

@media (min-width: 600px) {
    .greyton-shop-cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 900px) {
    .greyton-shop-cat-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    /* When browsing a category, accommodate the "All" card (7 items) */
    .greyton-shop-category .greyton-shop-cat-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

/* --- Card base --- */

.greyton-shop-cat-card {
    background: var(--greyton-white);
    border: 1px solid var(--greyton-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-sm);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.greyton-shop-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--greyton-secondary);
}

.greyton-shop-cat-card:hover .greyton-shop-cat-icon {
    background: var(--cat-color, var(--greyton-parchment));
    border-radius: 50%;
}

/* --- Active category --- */

.greyton-shop-cat-card--active {
    border-color: var(--greyton-secondary);
    background: var(--cat-color, var(--greyton-parchment));
    box-shadow: var(--shadow-md);
}

.greyton-shop-cat-card--active .greyton-shop-cat-icon {
    background: var(--cat-color, var(--greyton-parchment));
    border-radius: 50%;
}

.greyton-shop-cat-card--active .greyton-shop-cat-label {
    color: var(--greyton-secondary);
    font-weight: 700;
}

/* --- "All" card --- */

.greyton-shop-cat-card--all {
    border-style: dashed;
    color: var(--greyton-medium);
}

.greyton-shop-cat-card--all:hover {
    border-style: solid;
}

.greyton-shop-cat-card--all svg {
    stroke: var(--greyton-medium);
}

/* --- Icon area --- */

.greyton-shop-cat-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-base);
    padding: 8px;
}

.greyton-shop-cat-icon img,
.greyton-shop-cat-icon svg {
    width: 36px;
    height: 36px;
}

/* --- Label --- */

.greyton-shop-cat-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--greyton-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* ==========================================================================
   RESULTS / ORDERING TOOLBAR
   ========================================================================== */

.greyton-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--greyton-border-light);
}

.greyton-shop-toolbar .woocommerce-result-count {
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    color: var(--greyton-medium);
    font-weight: 500;
}

.greyton-shop-toolbar .woocommerce-ordering {
    margin: 0;
}

.greyton-shop-toolbar .woocommerce-ordering select {
    border: 1px solid var(--greyton-border);
    border-radius: var(--radius-sm);
    padding: 8px 36px 8px 14px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--greyton-dark);
    background: var(--greyton-white);
    cursor: pointer;
    transition: border-color var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B5E4F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.greyton-shop-toolbar .woocommerce-ordering select:hover,
.greyton-shop-toolbar .woocommerce-ordering select:focus {
    border-color: var(--greyton-primary-light);
    box-shadow: 0 0 0 3px rgba(123, 160, 91, 0.1);
    outline: none;
}

/* ==========================================================================
   PRODUCT IMAGE CONSISTENCY
   Enforce square thumbnails so all cards are the same height.
   ========================================================================== */

body.greyton-shop ul.products li.product .astra-shop-thumbnail-wrap {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: var(--greyton-parchment);
}

body.greyton-shop ul.products li.product .astra-shop-thumbnail-wrap img,
body.greyton-shop ul.products li.product .woocommerce-LoopProduct-link > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

/* Fallback for products without the Astra thumbnail wrapper */
body.greyton-shop ul.products li.product .woocommerce-LoopProduct-link > img {
    aspect-ratio: 1 / 1 !important;
}

/* ==========================================================================
   SHARED SECTION HEADER (Featured Vendors / Featured Products)
   ========================================================================== */

.greyton-shop-section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.greyton-shop-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--greyton-primary);
    margin: 0 0 var(--space-xs);
    line-height: 1.2;
}

.greyton-shop-section-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--greyton-secondary);
    margin: 0;
}

/* ==========================================================================
   FEATURED VENDORS — Horizontal Scroll Row
   ========================================================================== */

.greyton-shop-featured-vendors {
    background: var(--greyton-parchment);
    padding: var(--space-2xl) 0;
    width: 100%;
    border-bottom: 1px solid var(--greyton-border-light);
}

.greyton-shop-featured-vendors-inner {
    max-width: var(--container-max, 1240px);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Scroll container */
.greyton-shop-vendor-scroll {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-md);
    scrollbar-width: thin;
    scrollbar-color: var(--greyton-border) transparent;
}

.greyton-shop-vendor-scroll::-webkit-scrollbar {
    height: 6px;
}

.greyton-shop-vendor-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.greyton-shop-vendor-scroll::-webkit-scrollbar-thumb {
    background: var(--greyton-border);
    border-radius: 3px;
}

.greyton-shop-vendor-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--greyton-light);
}

/* Vendor card inside scroll */
.greyton-shop-vendor-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: var(--greyton-white);
    border: 1px solid var(--greyton-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.greyton-shop-vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Reuse existing vendor cover, avatar, info styles from vendors.css.
   The card uses .greyton-vendor-cover, .greyton-vendor-avatar, .greyton-vendor-info, etc. */

.greyton-shop-vendor-card .greyton-vendor-cover {
    height: 100px;
}

.greyton-shop-vendor-card .greyton-vendor-avatar {
    width: 66px;
    height: 66px;
    margin: -33px auto 0;
    border-width: 3px;
}

.greyton-shop-vendor-card .greyton-vendor-avatar-default {
    font-size: 1.25rem;
}

.greyton-shop-vendor-card .greyton-vendor-info {
    padding: var(--space-sm) var(--space-md) var(--space-md);
}

.greyton-shop-vendor-card .greyton-vendor-name {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--greyton-dark);
}

.greyton-shop-vendor-card:hover .greyton-vendor-name {
    color: var(--greyton-secondary);
}

.greyton-shop-vendor-card .greyton-vendor-category {
    font-size: 0.6rem;
    padding: 2px 10px;
    margin-bottom: var(--space-xs);
}

.greyton-shop-vendor-card .greyton-vendor-products {
    font-size: 0.75rem;
    display: block;
}

/* ==========================================================================
   FEATURED PRODUCTS — Curated Grid
   ========================================================================== */

.greyton-shop-featured-products {
    background: var(--greyton-white);
    padding: var(--space-2xl) 0 var(--space-xl);
    width: 100%;
    border-bottom: 1px solid var(--greyton-border-light);
}

.greyton-shop-featured-products-inner {
    max-width: var(--container-max, 1240px);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Product grid inside featured section */
.greyton-shop-featured-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (min-width: 600px) {
    .greyton-shop-featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .greyton-shop-featured-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Ensure product cards inside featured section get consistent styling */
.greyton-shop-featured-grid li.product {
    background: var(--greyton-white);
    border: 1px solid var(--greyton-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

.greyton-shop-featured-grid li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Square thumbnails inside featured grid */
.greyton-shop-featured-grid li.product .astra-shop-thumbnail-wrap {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: var(--greyton-parchment);
}

.greyton-shop-featured-grid li.product .astra-shop-thumbnail-wrap img,
.greyton-shop-featured-grid li.product .woocommerce-LoopProduct-link > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

/* ==========================================================================
   VENDOR CTA BANNER
   ========================================================================== */

.greyton-shop-vendor-cta {
    background: linear-gradient(135deg, #C4652B 0%, #A04F1F 100%);
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.greyton-shop-vendor-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.03) 40px,
        rgba(255, 255, 255, 0.03) 80px
    );
    pointer-events: none;
}

.greyton-shop-vendor-cta-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-narrow, 700px);
    margin: 0 auto;
}

.greyton-shop-vendor-cta-title {
    color: #fff !important;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 var(--space-md);
    line-height: 1.2;
}

.greyton-shop-vendor-cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
    margin: 0 0 var(--space-xl);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.greyton-shop-vendor-cta-btn {
    display: inline-block;
    background: var(--greyton-white);
    color: var(--greyton-secondary) !important;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: var(--radius-md);
    text-decoration: none !important;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.greyton-shop-vendor-cta-btn:hover {
    background: var(--greyton-accent);
    color: var(--greyton-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   PRODUCT CARD — CATEGORY BADGE + OPTIONS PILLS
   ========================================================================== */

/* Category badge — appears above the product title */
.greyton-loop-cat-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 2px 9px;
    border-radius: var(--radius-pill);
    background: rgba(45, 80, 22, 0.08);
    color: var(--greyton-primary);
    border: 1px solid rgba(45, 80, 22, 0.18);
    text-decoration: none !important;
    margin-bottom: var(--space-xs);
    line-height: 1.6;
    transition: background var(--transition-fast), color var(--transition-fast);
}

a.greyton-loop-cat-badge:hover {
    background: rgba(45, 80, 22, 0.16);
    color: var(--greyton-primary-dark, #1E3A0E);
}

/* Options pills container — unscoped for category/search pages */
ul.products li.product .greyton-product-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 0 var(--space-sm) var(--space-xs);
}

/* Plain-text fallback (e.g. "Supplier: Acme") */
ul.products li.product .greyton-product-options-text {
    font-size: 0.72rem;
    color: var(--greyton-light);
    padding: 0 var(--space-sm) var(--space-xs);
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 767px) {
    .greyton-shop-hero {
        padding: var(--space-2xl) var(--space-md) var(--space-xl);
    }

    .greyton-shop-hero-title {
        font-size: 1.75rem;
    }

    .greyton-shop-search {
        max-width: 100%;
    }

    .greyton-shop-categories {
        padding: var(--space-lg) var(--space-md);
    }

    .greyton-shop-cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }

    .greyton-shop-cat-icon {
        width: 40px;
        height: 40px;
    }

    .greyton-shop-cat-icon img,
    .greyton-shop-cat-icon svg {
        width: 28px;
        height: 28px;
    }

    .greyton-shop-cat-label {
        font-size: 0.65rem;
    }

    .greyton-shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    body.greyton-shop ul.products,
    body.greyton-shop nav.woocommerce-pagination {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .greyton-shop-vendor-cta {
        padding: var(--space-2xl) var(--space-md);
    }

    .greyton-shop-featured-vendors {
        padding: var(--space-xl) 0;
    }

    .greyton-shop-featured-vendors-inner,
    .greyton-shop-featured-products-inner {
        padding: 0 var(--space-md);
    }

    .greyton-shop-vendor-scroll {
        gap: var(--space-md);
    }

    .greyton-shop-vendor-card {
        flex: 0 0 180px;
    }

    .greyton-shop-featured-products {
        padding: var(--space-xl) 0 var(--space-lg);
    }
}

@media (max-width: 480px) {
    .greyton-shop-cat-card {
        padding: var(--space-md) var(--space-xs);
    }

    .greyton-shop-vendor-cta-btn {
        display: block;
        text-align: center;
    }

    .greyton-shop-vendor-card {
        flex: 0 0 160px;
    }

    .greyton-shop-vendor-card .greyton-vendor-cover {
        height: 80px;
    }

    .greyton-shop-vendor-card .greyton-vendor-name {
        font-size: 0.85rem;
    }

    .greyton-shop-featured-grid {
        gap: var(--space-md);
    }
}
