/* YMM Shortcode Search Form - Clean input only, no button */
.ymm-search-shortcode {
    position: relative !important;
    width: 100% !important;
}

.ymm-search-shortcode-field {
    position: relative !important;
    width: 100% !important;
}

/* Search Icon - Must be visible! */
.ymm-search-shortcode-field > .ymm-search-icon,
.ymm-header-search .ymm-search-shortcode .ymm-search-icon,
.site-header .ymm-search-icon {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    color: #94a3b8 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
    z-index: 10 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ymm-search-shortcode-field > .ymm-search-icon svg,
.ymm-header-search .ymm-search-shortcode .ymm-search-icon svg,
.site-header .ymm-search-icon svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    stroke: #94a3b8 !important;
    fill: none !important;
    stroke-width: 2 !important;
    width: 18px !important;
    height: 18px !important;
}

/* Ensure input has left padding for icon */
.ymm-search-shortcode-input {
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 5px;
    color: #1a202c;
    font-size: 15px;
    min-height: 44px;
    padding: 10px 14px;
    padding-left: 42px;
    width: 100%;
    box-sizing: border-box;
}

.ymm-search-shortcode-input:focus {
    outline: none;
    border-color: #3b5bdb;
    box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.1);
}

/* Header search panel with icon */
.ymm-header-search-panel .ymm-search-shortcode-field {
    position: relative;
}

.ymm-header-search-panel .ymm-search-shortcode-field > .ymm-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    color: #94a3b8;
    z-index: 2;
}

.ymm-search-suggestions {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    left: 0;
    margin-top: 8px;
    max-height: 320px;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 50;
}

.ymm-search-suggestion {
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    color: #1a202c;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 14px;
    text-decoration: none;
}

.ymm-search-suggestion:last-child {
    border-bottom: 0;
}

.ymm-search-suggestion:hover,
.ymm-search-suggestion.is-active {
    background: #f7fafc;
    color: #2b56f5;
}

.ymm-search-suggestion-label {
    font-size: 14px;
    font-weight: 600;
}

.ymm-search-suggestion-type {
    color: #64748b;
    flex-shrink: 0;
    font-size: 12px;
}

.ymm-search-shortcode.is-loading .ymm-search-shortcode-input {
    background-image: linear-gradient(90deg, transparent, rgba(59, 91, 219, 0.08), transparent);
    background-size: 200% 100%;
    animation: ymm-search-loading 1s linear infinite;
}

@keyframes ymm-search-loading {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

/* Kadence header: collapsible catalog search (icon toggles the field) */
.ymm-header-search {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    position: relative;
    vertical-align: middle;
    z-index: 100020;
}

.ymm-header-search-toggle {
    align-items: center;
    appearance: none;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    line-height: 0;
    min-height: 40px;
    min-width: 40px;
    padding: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ymm-header-search-toggle:hover,
.ymm-header-search-toggle:focus-visible {
    border-color: #ced4da;
    color: #3b5bdb;
    outline: none;
}

.ymm-header-search-icon {
    display: inline-flex;
}

/* Kadence: primary nav links pick up theme colors; plain <button> defaults can look invisible on dark bars. */
.site-header-item-main-navigation:has(.ymm-header-catalog-search-slot),
.site-header-item-secondary-navigation:has(.ymm-header-catalog-search-slot) {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.35rem;
}

.site-header-item-main-navigation .ymm-header-catalog-search-slot,
.site-header-item-secondary-navigation .ymm-header-catalog-search-slot {
    flex: 0 0 auto;
}

.site-main-header-inner-wrap .dfl-header-tools .ymm-header-search-toggle {
	color: inherit;
}

.site-main-header-inner-wrap .dfl-header-tools .ymm-header-search-toggle:hover,
.site-main-header-inner-wrap .dfl-header-tools .ymm-header-search-toggle:focus-visible {
	border-color: rgba(255, 255, 255, 0.35);
	color: #ffffff;
}

#masthead.site-header .site-main-header-inner-wrap .ymm-header-catalog-search-slot .ymm-header-search-toggle {
    color: var(--navigation-color, var(--global-palette5, inherit));
}

.site-main-header-inner-wrap .ymm-header-catalog-search-slot .ymm-header-search-toggle:hover,
.site-main-header-inner-wrap .ymm-header-catalog-search-slot .ymm-header-search-toggle:focus-visible {
    color: var(--global-palette-highlight-alt, var(--global-palette-highlight, #3b5bdb));
    border-color: rgba(255, 255, 255, 0.35);
}

/* Header search panel styling */
.ymm-header-search-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
    box-sizing: border-box;
    max-width: min(420px, calc(100vw - 32px));
    min-width: 260px;
    padding: 12px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
}

.ymm-header-search-panel .ymm-search-shortcode {
    width: 100%;
}

.ymm-header-search-panel .ymm-search-shortcode-field {
    position: relative;
}

.ymm-header-search-panel .ymm-search-shortcode-field .ymm-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    color: #94a3b8;
    background: none;
    border: none;
    padding: 0;
    pointer-events: none;
    z-index: 1;
}

.ymm-header-search-panel .ymm-search-shortcode-input {
    padding-left: 42px;
}

.ymm-header-search-panel .ymm-search-suggestions {
    z-index: 100021;
}

/* Header right position - ensure search appears on right side */
.ymm-header-catalog-search-slot {
    display: flex;
    align-items: center;
}

.ymm-header-catalog-search-slot .ymm-header-search {
    position: relative;
}

/* Site header item adjustments for right-side placement */
.site-header-section-right .ymm-header-catalog-search-slot {
    justify-content: flex-end;
}

/* Block header specific positioning */
.wp-block-kadence-header {
    position: relative;
}

.wp-block-kadence-header .ymm-header-kadence-block-slot {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    max-width: min(420px, calc(100vw - 32px));
    min-height: 100%;
    pointer-events: none;
    position: absolute;
    right: max(12px, var(--global-content-edge-padding, 15px));
    top: 0;
    z-index: 10050;
}

.wp-block-kadence-header .ymm-header-kadence-block-slot .ymm-header-search {
    pointer-events: auto;
}

.wp-block-kadence-header .ymm-header-kadence-block-slot .ymm-header-search-toggle {
    color: var(--navigation-color, var(--global-palette5, rgba(255, 255, 255, 0.95)));
}

@media (min-width: 1025px) {
    .wp-block-kadence-header .ymm-header-kadence-block-slot {
        height: 100%;
    }

    .wp-block-kadence-header .wp-block-kadence-header-desktop .ymm-header-kadence-block-slot {
        height: auto;
        top: 50%;
        transform: translateY(-50%);
    }
}

#mobile-header .site-header-section-right,
#mobile-header .site-header-section-left {
    position: relative;
}

/* Responsive styles for header search */
@media (max-width: 782px) {
    .ymm-header-search-panel {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
        left: 0;
        margin-top: 0;
        max-width: none;
        min-width: 0;
        padding: 12px 16px 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        position: fixed;
        right: 0;
        width: 100%;
        z-index: 100025;
    }

    .ymm-header-search-panel .ymm-search-suggestions {
        left: 16px;
        right: 16px;
    }

    body:not(.admin-bar) .ymm-header-search-panel {
        top: 56px;
    }

    body.admin-bar .ymm-header-search-panel {
        top: calc(56px + 46px);
    }
}

@media (max-width: 480px) {
    body:not(.admin-bar) .ymm-header-search-panel {
        top: 52px;
    }

    body.admin-bar .ymm-header-search-panel {
        top: calc(52px + 46px);
    }
}

.site-mobile-header-wrap .ymm-header-search-panel {
    transform: translateZ(0);
}

.ymm-filter-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}

.ymm-filter-dropdowns {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.ymm-column {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ymm-btn-column {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ymm-label-placeholder {
    font-size: 13px;
    margin-bottom: 6px;
    display: block;
}

.ymm-filter-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.ymm-remove-filters {
    font-size: 12px;
    color: #3b5bdb;
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
}

.ymm-remove-filters:hover {
    color: #2b45a2;
}

.ymm-column label {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 6px;
    font-weight: 500;
}

.ymm-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
    color: #495057;
    appearance: none;
    cursor: pointer;
}

.ymm-select:disabled {
    background-color: #e9ecef;
    opacity: 0.7;
    cursor: not-allowed;
}

.ymm-button {
    background-color: #3b5bdb;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0;
    width: 48px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.ymm-button svg {
    width: 18px;
    height: 18px;
}

.ymm-button:hover:not(:disabled) {
    background-color: #2b45a2;
}

.ymm-button:disabled {
    background-color: #c4b5fd; /* Light purple to match screenshot */
    cursor: not-allowed;
}

/* Hide WooCommerce Catalog Ordering and Grid/List Toggles */
.kadence-shop-toolbar,
.woocommerce-ordering,
.kadence-grid-list-toggle,
.kadence-shop-top-filters {
    display: none !important;
}

/* Shop Layout */
.ymm-shop-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
}

.ymm-shop-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.ymm-shop-main-content {
    flex: 1;
    min-width: 0;
}

/* Sidebar Widgets */
.ymm-sidebar-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.ymm-sidebar-header {
    background: #e2e8f0;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.ymm-sidebar-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
}

.ymm-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ymm-sidebar-list li {
    border-bottom: 1px solid #edf2f7;
}

.ymm-sidebar-list li:last-child {
    border-bottom: none;
}

.ymm-sidebar-filter-item {
    display: block;
    padding: 12px 15px;
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.ymm-sidebar-filter-item:hover, .ymm-sidebar-filter-item.active {
    background: #f7fafc;
    color: #2b56f5;
    font-weight: 500;
}

/* Product Card Modifications */
.woocommerce ul.products li.product {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    padding-bottom: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ymm-marca-badge {
    display: inline-block;
    background-color: #0d1b2a;
    color: #ffffff;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    margin: 0 20px 10px 20px;
    align-self: flex-start;
}

.woocommerce ul.products li.product img {
    margin-bottom: 0px;
    padding: 30px;
    background: transparent;
    width: 100%;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0 20px;
    margin-bottom: 8px;
    color: #1a202c;
}

.ymm-card-short-desc {
    font-size: 13px;
    color: #718096;
    padding: 0;
    line-height: 1.5;
    margin-bottom: 15px;
}

.ymm-card-attributes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 12px;
    color: #4a5568;
    padding: 0;
    margin-bottom: 15px;
    margin-top: auto;
}

.woocommerce ul.products li.product .button.ymm-view-detail-btn {
    background-color: #3b5bdb !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    transition: background 0.2s;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #2b45a2 !important;
}

/* Force action wrapper to always show (override Kadence hover effects) */
.woocommerce ul.products li.product .product-action-wrap,
.woocommerce ul.products li.product .kadence-loop-product-action-wrap {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: relative !important;
    display: block !important;
    margin-top: 15px !important;
    padding-top: 15px !important;
    border-top: 1px solid #edf2f7;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    bottom: auto !important;
}

/* Force 2 columns grid */
.ymm-shop-main-content ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

.ymm-shop-main-content ul.products::before,
.ymm-shop-main-content ul.products::after {
    display: none !important;
}

.ymm-shop-main-content ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
}

/* Results Header */
.ymm-results-header {
    margin-bottom: 20px;
}

.ymm-results-header h2 {
    font-size: 24px;
    color: #1a202c;
    font-weight: 600;
    margin: 0;
}

/* Hide default pricing and add to cart elements if they interfere, depending on Kadence */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .ajax_add_to_cart {
    display: none !important;
}

/* Hide duplicate descriptions (Kadence or WC defaults) */
.woocommerce ul.products li.product .kadence-product-excerpt,
.woocommerce ul.products li.product .woocommerce-product-details__short-description,
.woocommerce ul.products li.product .product-short-description {
    display: none !important;
}

.loading-overlay {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s;
}

.ymm-load-more-status {
    color: #64748b;
    font-size: 14px;
    padding: 18px 0;
    text-align: center;
}

.woocommerce-order-received .woocommerce-order-overview,
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
    display: none !important;
}

.ymm-quote-thankyou {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin: 28px 0;
    max-width: 760px;
    padding: 34px;
}

.ymm-quote-thankyou h2 {
    color: #111827;
    font-size: 26px;
    margin: 0 0 12px;
}

.ymm-quote-thankyou p {
    color: #475569;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.ymm-quote-continue-button {
    background: #3f5efb !important;
    border-radius: 5px !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    text-decoration: none;
}

/* Single Product Detail */
.single-product .woocommerce-breadcrumb,
.single-product .kadence-breadcrumbs,
.single-product .product-title .kadence-breadcrumbs,
.single-product .entry-hero .kadence-breadcrumbs {
    display: none !important;
}

.ymm-single-product {
    color: #111827;
    font-family: inherit;
    max-width: 100%;
    overflow-wrap: break-word;
}

.ymm-single-product::before,
.ymm-single-product::after {
    display: none !important;
}

.ymm-single-navigation {
    margin-bottom: 32px;
}

.ymm-single-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2f55f6 !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 28px;
    text-decoration: none;
}

.ymm-single-back-link span {
    font-size: 22px;
    line-height: 1;
}

.ymm-single-breadcrumb {
    align-items: center;
    color: #6f7b8d;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 8px;
    line-height: 1.35;
    margin: 0;
}

.ymm-single-breadcrumb a {
    color: #6f7b8d;
    font-weight: 400;
    text-decoration: none;
}

.ymm-single-breadcrumb a[aria-current="page"] {
    color: #2f55f6;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ymm-single-breadcrumb span {
    color: #6f7b8d;
}

.ymm-single-breadcrumb a:hover {
    color: #2f55f6;
    text-decoration: none;
}

.ymm-single-detail-card {
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
    gap: 42px;
    align-items: start;
    margin-bottom: 36px;
}

.ymm-single-gallery-main {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e1e6ef;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    min-height: 430px;
    padding: 44px;
}

.ymm-single-main-image {
    display: block;
    height: auto;
    max-height: 320px;
    max-width: 100%;
    object-fit: contain;
    transition: opacity 0.18s ease;
    width: auto;
}

.ymm-single-thumbnails {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 12px;
}

.ymm-single-thumbnail {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e1e6ef;
    border-radius: 9px;
    cursor: pointer;
    display: flex;
    height: 82px;
    justify-content: center;
    padding: 10px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ymm-single-thumbnail:hover,
.ymm-single-thumbnail.is-active {
    border-color: #3f5efb;
    box-shadow: 0 0 0 2px rgba(63, 94, 251, 0.1);
}

.ymm-single-thumbnail img {
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.ymm-single-summary-column {
    padding-top: 22px;
}

.ymm-single-title {
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.35;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.ymm-single-brand-badge {
    background: #0d1b4c;
    border-radius: 14px;
    color: #ffffff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 14px;
    padding: 7px 12px;
}

.ymm-single-short-description {
    color: #657083;
    font-size: 13px;
    line-height: 1.48;
    margin: 0 0 18px;
    max-width: 420px;
}

.ymm-single-short-description p {
    margin: 0 0 8px;
}

.ymm-single-attributes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
}

.ymm-single-attribute {
    align-self: flex-start;
    background: #f6f7fb;
    border-radius: 3px;
    color: #1f2937;
    font-size: 12px;
    line-height: 1;
    padding: 8px 10px;
}

.ymm-single-attribute span {
    font-weight: 600;
}

.ymm-single-summary-divider {
    border-top: 1px solid #e7ebf2;
    margin: 0 0 22px;
    width: 100%;
}

.ymm-single-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.ymm-single-product .yith-wcwl-add-to-wishlist {
    margin: 0;
    width: 100%;
}

.ymm-single-product .yith-wcwl-add-to-wishlist a {
    align-items: center;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
    justify-content: center;
    min-height: 42px;
    text-decoration: none;
    width: 100%;
}

.ymm-catalog-results .yith-wcwl-add-to-wishlist {
    margin-top: 8px;
    text-align: center;
    width: 100%;
}

.ymm-catalog-results .yith-wcwl-add-to-wishlist a {
    align-items: center;
    display: inline-flex;
    font-size: 13px;
    gap: 6px;
    justify-content: center;
    text-decoration: none;
}

.ymm-single-quote-button,
.ymm-single-product .button.ymm-single-quote-button {
    align-items: center;
    background: #3f5efb !important;
    border: 0;
    border-radius: 5px !important;
    color: #ffffff !important;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    justify-content: center;
    line-height: 1;
    min-height: 42px;
    padding: 13px 18px !important;
    text-decoration: none;
    width: 100%;
}

.ymm-single-quote-button:hover,
.ymm-single-product .button.ymm-single-quote-button:hover {
    background: #2f48d8 !important;
    color: #ffffff !important;
}

.ymm-single-tabs {
    margin-top: 24px;
}

.ymm-single-tab-list {
    align-items: flex-end;
    border-bottom: 1px solid #1f2937;
    display: flex;
    gap: 18px;
}

.ymm-single-tab {
    background: transparent;
    border: 0;
    color: #2f55f6;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
    padding: 0 0 10px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ymm-single-tab.is-active {
    background: transparent;
    border: 0;
    color: #2f55f6;
    margin-bottom: 0;
}

.ymm-single-tab-panel {
    color: #111827;
    font-size: 13px;
    line-height: 1.42;
    padding: 16px 0 0;
}

.ymm-single-tab-panel p {
    margin: 0 0 12px;
}

.ymm-single-tab-panel ul {
    margin: 0;
    padding-left: 18px;
}

.ymm-single-tab-panel li {
    margin-bottom: 6px;
}

.ymm-reference-list a {
    color: #2f55f6;
    text-decoration: none;
}

@media (max-width: 900px) {
    .ymm-single-detail-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ymm-single-summary-column {
        padding-top: 0;
    }
}

@media (max-width: 782px) {
    .ymm-catalog-content-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ymm-filter-container {
        padding: 20px;
        margin-bottom: 24px;
    }

    .ymm-filter-header h2 {
        font-size: 21px;
        line-height: 1.25;
    }

    .ymm-filter-dropdowns,
    .ymm-shop-layout {
        flex-direction: column;
    }

    .ymm-filter-dropdowns {
        gap: 14px;
        align-items: stretch;
    }

    .ymm-filter-dropdowns > .ymm-column {
        flex: 0 0 auto;
    }

    .ymm-column,
    .ymm-btn-column,
    .ymm-shop-sidebar,
    .ymm-shop-main-content,
    .ymm-catalog-results {
        width: 100%;
    }

    .ymm-btn-column {
        flex-direction: row;
    }

    .ymm-button {
        flex: 1;
        height: 42px;
    }

    .ymm-shop-layout {
        gap: 24px;
    }

    .ymm-shop-sidebar {
        flex-shrink: 1;
    }

    .ymm-shop-main-content ul.products {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .woocommerce ul.products li.product img {
        padding: 22px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 15px;
        line-height: 1.35;
    }

    .ymm-card-attributes-grid {
        grid-template-columns: 1fr;
    }

    .single-product div.product:not(.ymm-single-product) div.images,
    .single-product div.product:not(.ymm-single-product) div.summary {
        clear: both;
        float: none;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .ymm-filter-container {
        padding: 18px;
        border-radius: 7px;
    }

    .ymm-filter-header h2,
    .ymm-results-header h2 {
        font-size: 19px;
    }

    .ymm-select {
        min-height: 42px;
    }

    .ymm-sidebar-filter-item {
        padding: 11px 14px;
    }

    .ymm-single-gallery-main {
        min-height: 300px;
        padding: 28px;
    }

    .ymm-single-thumbnails {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ymm-single-tab-list {
        overflow-x: auto;
    }

    .ymm-single-tab {
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .ymm-catalog-content-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ymm-filter-container {
        padding: 16px;
    }

    .ymm-single-gallery-main {
        min-height: 250px;
        padding: 20px;
    }

    .ymm-single-thumbnails {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ymm-single-thumbnail {
        height: 74px;
    }

    .ymm-single-quote-button,
    .ymm-single-product .button.ymm-single-quote-button {
        min-height: 44px;
    }
}
