/* =========================================================
   PMT LUXURY CUSTOM SHOP GRID & FILTER STYLES
   - Background: Fixed Radial Gradient (#3D2310 0% -> #080300 100%)
   - Side Margins: 80px Desktop, 20px Mobile
   - Category Text: 'DM Sans' 14px Light (Mobile: 12px)
   - Title: 'DM Sans' 16px Medium, Color #FDD501 (Mobile: 14px)
   - Price: 'DM Sans' 16px Medium (Mobile: 14px)
   - Buttons: Padding 8px 10px, Radius 30px, Letter-spacing 0px
   - Clear Filter & Buy Now: Linear Gradient (#FDD501 0%, #B8860B 100%)
   - Card Background: #211811, Corner Radius: 10px, Full-width Image
   - Search Bar: Background #CFCCCC, Search Icon #B8860B
   - Desktop: 3 Column Grid | Mobile: 2 Column Grid
========================================================= */

:root {
    --pmt-shop-bg: radial-gradient(circle at 50% 50%, #3D2310 0%, #080300 100%);
    --pmt-card-bg: #211811;
    --pmt-card-border: rgba(184, 134, 11, 0.15);
    --pmt-gold-gradient: linear-gradient(90deg, #FDD501 0%, #B8860B 100%);
    --pmt-gold-solid: #FFD700;
    --pmt-gold-accent: #FDD501;
    --pmt-gold-muted: #B8860B;
    --pmt-text-white: #FFFFFF;
    --pmt-text-muted: #A0A0A0;
    --pmt-font-dmsans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Fixed Radial Gradient Background (#3D2310 0% -> #080300 100%) */
body.woocommerce-shop,
body.woocommerce-page,
body.post-type-archive-product,
body.tax-product_cat,
.pmt-shop-wrapper {
    background: radial-gradient(circle at 50% 50%, #3D2310 0%, #080300 100%) fixed !important;
    background-attachment: fixed !important;
}

.woocommerce-shop #page,
.woocommerce-shop #content,
.woocommerce-shop .site-content,
.woocommerce.archive #page,
.woocommerce.archive #content,
.woocommerce.archive .site-content {
    background: transparent !important;
}

/* Base Wrapper */
.pmt-shop-wrapper {
    width: 100%;
    color: var(--pmt-text-white);
    font-family: var(--pmt-font-dmsans);
    box-sizing: border-box;
    padding-bottom: 70px;
}

.pmt-shop-container {
    width: 100%;
    max-width: 1530px;
    box-sizing: border-box;
    padding: 0 80px;
    margin: 0 auto;
}

/* =========================================================
   2-COLUMN LAYOUT: SIDEBAR (LEFT) & CATALOG (RIGHT)
========================================================= */
.pmt-shop-layout-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* Hide Astra default WooCommerce markup on custom shop */
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-notices-wrapper,
.woocommerce > .products,
.woocommerce-page > .products {
    display: none !important;
}

/* Mobile Filter Bar (Hidden on Desktop) */
.pmt-mobile-filter-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(184, 134, 11, 0.2);
}

.pmt-mobile-filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #141414;
    border: 1px solid rgba(184, 134, 11, 0.3);
    color: var(--pmt-text-white);
    font-family: var(--pmt-font-dmsans);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.pmt-mobile-filter-trigger svg {
    width: 18px;
    height: 18px;
    color: var(--pmt-gold-solid);
}

/* =========================================================
   LEFT SIDEBAR: ACCORDION FILTERS
========================================================= */
.pmt-shop-sidebar {
    width: 100%;
}

.pmt-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Accordion Widget */
.pmt-filter-widget {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 22px;
}

.pmt-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 16px;
    cursor: pointer;
    text-align: left;
    box-shadow: none !important;
    outline: none !important;
}

.pmt-accordion-header:hover {
    background: transparent !important;
    box-shadow: none !important;
}

.pmt-accordion-title {
    font-family: var(--pmt-font-dmsans) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: var(--pmt-text-white);
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.pmt-accordion-header:hover .pmt-accordion-title {
    color: var(--pmt-gold-solid) !important;
}

.pmt-accordion-icon {
    width: 18px;
    height: 18px;
    color: var(--pmt-text-muted);
    transition: transform 0.3s ease, color 0.2s ease;
}

.pmt-accordion-header:hover .pmt-accordion-icon {
    color: var(--pmt-gold-solid);
}

.pmt-filter-widget:not(.is-open) .pmt-accordion-icon {
    transform: rotate(-180deg);
}

.pmt-filter-widget:not(.is-open) .pmt-accordion-body {
    display: none;
}

/* Filter Item List */
.pmt-filter-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pmt-filter-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.pmt-filter-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--pmt-font-dmsans);
    font-size: 14px;
    font-weight: 400;
    color: var(--pmt-text-muted);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid transparent;
    background: transparent !important;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.pmt-filter-label:hover {
    color: var(--pmt-gold-solid) !important;
    background: transparent !important;
}

/* Custom Checkbox */
.pmt-custom-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.pmt-filter-name {
    flex: 1;
    color: inherit;
}

.pmt-filter-count {
    color: #666666;
    font-size: 13px;
}

/* Active Category State (Gold Highlight Box) */
.pmt-filter-item.is-active .pmt-filter-label {
    background: rgba(184, 134, 11, 0.18) !important;
    border-color: rgba(253, 213, 1, 0.6);
    color: var(--pmt-gold-solid);
    font-weight: 500;
}

.pmt-filter-item.is-active .pmt-custom-checkbox {
    border-color: var(--pmt-gold-solid);
    background-color: var(--pmt-gold-solid);
}

.pmt-filter-item.is-active .pmt-custom-checkbox:after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

/* Real Hidden Checkbox */
.pmt-real-checkbox {
    display: none;
}

.pmt-real-checkbox:checked + .pmt-custom-checkbox {
    border-color: var(--pmt-gold-solid);
    background-color: var(--pmt-gold-solid);
}

.pmt-real-checkbox:checked + .pmt-custom-checkbox:after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

/* =========================================================
   PRICE RANGE SLIDER (MATCHING EXACT SCREENSHOT)
========================================================= */
.pmt-price-slider-wrap {
    padding: 12px 2px 5px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.pmt-price-range-slider-track {
    position: relative;
    height: 3px;
    background: var(--pmt-gold-muted);
    border-radius: 2px;
    border: none !important;
    box-shadow: none !important;
    margin: 14px 0 22px 0;
}

.pmt-price-slider-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    background: var(--pmt-gold-solid);
    border-radius: 2px;
    border: none !important;
    box-shadow: none !important;
    left: 0%;
    right: 0%;
}

.pmt-range-input,
input[type="range"].pmt-range-input {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 24px;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 5;
}

.pmt-range-input:focus,
.pmt-range-input:focus-visible,
.pmt-range-input:active,
input[type="range"].pmt-range-input:focus,
input[type="range"].pmt-range-input:focus-visible,
input[type="range"].pmt-range-input:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

.pmt-range-input::-webkit-slider-runnable-track {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    height: 24px;
    margin: 0;
    padding: 0;
}

.pmt-range-input::-moz-range-track {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    height: 24px;
}

.pmt-range-input::-webkit-slider-thumb {
    position: relative;
    height: 18px;
    width: 18px;
    margin-top: 3px;
    border-radius: 50% !important;
    background: var(--pmt-gold-muted) !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.pmt-range-input::-webkit-slider-thumb:hover,
.pmt-range-input::-webkit-slider-thumb:focus,
.pmt-range-input::-webkit-slider-thumb:active {
    transform: scale(1.15);
    background: var(--pmt-gold-solid) !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6) !important;
}

.pmt-range-input::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50% !important;
    background: var(--pmt-gold-muted) !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.pmt-range-input::-moz-range-thumb:hover,
.pmt-range-input::-moz-range-thumb:focus,
.pmt-range-input::-moz-range-thumb:active {
    transform: scale(1.15);
    background: var(--pmt-gold-solid) !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6) !important;
}

.pmt-price-values {
    display: flex;
    justify-content: space-between;
    font-family: var(--pmt-font-dmsans);
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
}

/* =========================================================
   CLEAR FILTERS BUTTON (GRADIENT FDD501 -> B8860B)
========================================================= */
.pmt-clear-filters-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--pmt-gold-gradient) !important;
    color: #000000 !important;
    font-family: var(--pmt-font-dmsans) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border: none !important;
    border-radius: 30px !important;
    letter-spacing: 0px !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.pmt-clear-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(253, 213, 1, 0.35);
    opacity: 0.95;
}

.pmt-reset-icon {
    width: 17px;
    height: 17px;
    stroke-width: 2.2;
}

/* =========================================================
   RIGHT MAIN CATALOG: TOP BAR (SEARCH & SORT)
========================================================= */
.pmt-shop-main-catalog {
    width: 100%;
    position: relative;
}

.pmt-catalog-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

/* Pill Search Bar: Background #CFCCCC, Icon #B8860B */
.pmt-search-pill-wrap {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 340px;
    width: 100%;
}

.pmt-pill-search-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: var(--pmt-gold-muted) !important;
    pointer-events: none;
}

.pmt-search-pill-input {
    width: 100%;
    background: #CFCCCC !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 9px 38px 9px 40px !important;
    color: #111111 !important;
    font-family: var(--pmt-font-dmsans) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    outline: none !important;
    transition: box-shadow 0.25s ease;
}

.pmt-search-pill-input:focus {
    box-shadow: 0 0 10px rgba(253, 213, 1, 0.4);
}

.pmt-search-pill-input::placeholder {
    color: #555555 !important;
    font-weight: 400;
}

.pmt-search-clear-btn,
button.pmt-search-clear-btn,
#pmtSearchClearBtn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #444444 !important;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.pmt-search-clear-btn:hover,
.pmt-search-clear-btn:focus,
.pmt-search-clear-btn:active,
button.pmt-search-clear-btn:hover,
button.pmt-search-clear-btn:focus,
button.pmt-search-clear-btn:active,
#pmtSearchClearBtn:hover,
#pmtSearchClearBtn:focus,
#pmtSearchClearBtn:active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    color: #000000 !important;
}

/* Meta: Items Count & Sort */
.pmt-catalog-meta-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pmt-items-count-badge {
    font-size: 14px;
    color: var(--pmt-text-muted);
    white-space: nowrap;
}

.pmt-sort-select {
    background: #111111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FFD700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center !important;
    border: 1px solid rgba(184, 134, 11, 0.3) !important;
    border-radius: 6px !important;
    padding: 8px 32px 8px 14px !important;
    color: var(--pmt-text-white) !important;
    font-family: var(--pmt-font-dmsans) !important;
    font-size: 14px !important;
    cursor: pointer;
    outline: none !important;
    -webkit-appearance: none;
    appearance: none;
}

/* =========================================================
   PRODUCTS 3-COLUMN GRID
========================================================= */
.pmt-products-grid-container {
    position: relative;
    min-height: 400px;
}

.pmt-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pmt-products-grid.is-loading {
    opacity: 0.38;
    pointer-events: none;
    transform: scale(0.996);
}

/* Subtle Loading Spinner Overlay */
.pmt-grid-loader {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.pmt-grid-loader.is-loading {
    opacity: 1;
    visibility: visible;
}

.pmt-loader-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(253, 213, 1, 0.2);
    border-top-color: var(--pmt-gold-solid);
    border-radius: 50%;
    animation: pmtSpin 0.7s linear infinite;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

@keyframes pmtSpin {
    to { transform: rotate(360deg); }
}

/* =========================================================
   INDIVIDUAL PRODUCT CARD STYLING
   - Background: #211811
   - Corner Radius: 10px
   - Full Width Image (No Padding)
   - Title: #FDD501
   - Hover: Only drop shadow & movement (NO border color change)
========================================================= */
.pmt-product-card {
    background: var(--pmt-card-bg) !important;
    border: 1px solid var(--pmt-card-border) !important;
    border-radius: 10px !important;
    padding: 0 0 16px 0 !important;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pmt-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
    /* Border color unchanged as requested */
}

/* Wishlist Button Overlay on Image Top-Left */
.pmt-card-wishlist-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.4) !important;
    border: none !important;
    color: var(--pmt-text-white) !important;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
    box-shadow: none !important;
}

.pmt-card-wishlist-btn:hover {
    background: rgba(0, 0, 0, 0.7) !important;
    color: var(--pmt-gold-solid) !important;
    transform: scale(1.15);
    box-shadow: none !important;
}

.pmt-card-wishlist-btn svg {
    width: 20px;
    height: 20px;
}

/* Full Width Square Product Image (1:1 Aspect Ratio) */
.pmt-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    background: #0d0905;
    border-radius: 10px 10px 0 0;
}

.pmt-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}

.pmt-product-thumb {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 10px 10px 0 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pmt-product-card:hover .pmt-product-thumb {
    transform: scale(1.05);
}

/* Card Content Area */
.pmt-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 0 16px;
}

/* Category: DM Sans 14px Light */
.pmt-card-category {
    font-family: var(--pmt-font-dmsans) !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    color: var(--pmt-text-muted) !important;
    margin-bottom: 6px;
    display: block;
    line-height: 1.3;
}

/* Title: DM Sans 16px Medium, Color #FDD501 */
.pmt-card-title {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    line-height: 1.35 !important;
}

.pmt-card-title a {
    font-family: var(--pmt-font-dmsans) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--pmt-gold-accent) !important;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.pmt-card-title a:hover {
    color: #FFFFFF !important;
}

/* Price: DM Sans 16px Medium */
.pmt-card-price {
    font-family: var(--pmt-font-dmsans) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--pmt-text-white) !important;
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.pmt-card-price del {
    color: #777777 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.pmt-card-price ins {
    color: var(--pmt-text-white) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.pmt-card-price .woocommerce-Price-amount {
    color: var(--pmt-text-white);
}

/* Card Actions: Padding 8px 10px, Corner Radius 30px, Letter Spacing 0px */
.pmt-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.pmt-btn {
    font-family: var(--pmt-font-dmsans) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 10px 10px !important;
    border-radius: 30px !important;
    letter-spacing: 0px !important;
    border: none !important;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Desktop Add to Cart: Dark button */
.pmt-btn-add-to-cart {
    background: #150f0a !important;
    color: var(--pmt-text-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.pmt-btn-add-to-cart:hover {
    background: #201710 !important;
    border-color: var(--pmt-gold-solid) !important;
    color: var(--pmt-gold-solid) !important;
}

/* Buy Now: Gradient FDD501 -> B8860B */
.pmt-btn-buy-now {
    background: var(--pmt-gold-gradient) !important;
    color: #000000 !important;
    font-weight: 600 !important;
}

.pmt-btn-buy-now:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(253, 213, 1, 0.3);
}

/* Select Options Button (Full Width Gradient Pill) */
.pmt-btn-select-options {
    grid-column: span 2;
    background: var(--pmt-gold-gradient) !important;
    color: #000000 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(253, 213, 1, 0.25);
}

.pmt-btn-select-options:hover {
    opacity: 0.94;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(253, 213, 1, 0.35);
    color: #000000 !important;
    text-decoration: none !important;
}

.pmt-btn-out-of-stock {
    grid-column: span 2;
    background: #1a1a1a !important;
    color: #777777 !important;
    cursor: not-allowed;
}

/* No products message */
.pmt-no-products-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #211811;
    border-radius: 10px;
    border: 1px dashed rgba(184, 134, 11, 0.3);
}

.pmt-no-products-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmt-no-products-found h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    color: var(--pmt-gold-solid);
    margin-bottom: 10px;
}

.pmt-no-products-found p {
    color: var(--pmt-text-muted);
    font-size: 15px;
}

/* =========================================================
   PAGINATION (GOLD CIRCULAR ACTIVE NUMBER)
========================================================= */
.pmt-shop-pagination-wrap {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pmt-pagination-list {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pmt-page-item {
    list-style: none !important;
    margin: 0 !important;
}

.pmt-page-btn,
button.pmt-page-btn {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--pmt-text-white) !important;
    font-family: var(--pmt-font-dmsans) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.pmt-page-btn:hover,
.pmt-page-btn:focus,
button.pmt-page-btn:hover,
button.pmt-page-btn:focus {
    background: var(--pmt-gold-solid) !important;
    background-color: var(--pmt-gold-solid) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4) !important;
    border: none !important;
}

.pmt-page-item.is-active .pmt-page-btn,
.pmt-page-item.is-active button.pmt-page-btn {
    background: var(--pmt-gold-solid) !important;
    background-color: var(--pmt-gold-solid) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3) !important;
    border: none !important;
}

.pmt-page-item.is-active .pmt-page-btn:hover,
.pmt-page-item.is-active button.pmt-page-btn:hover {
    background: var(--pmt-gold-solid) !important;
    background-color: var(--pmt-gold-solid) !important;
    color: #000000 !important;
    font-weight: 700 !important;
}

.pmt-dots-text {
    color: #666;
    letter-spacing: 2px;
    padding: 0 4px;
}

.pmt-next-btn,
button.pmt-next-btn {
    width: auto !important;
    padding: 0 16px !important;
    border-radius: 20px !important;
    background: #141414 !important;
    background-color: #141414 !important;
    border: 1px solid rgba(184, 134, 11, 0.3) !important;
    color: var(--pmt-text-white) !important;
    font-weight: 500 !important;
    outline: none !important;
}

.pmt-next-btn:hover,
.pmt-next-btn:focus,
button.pmt-next-btn:hover,
button.pmt-next-btn:focus {
    background: var(--pmt-gold-solid) !important;
    background-color: var(--pmt-gold-solid) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border-color: var(--pmt-gold-solid) !important;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4) !important;
}

/* =========================================================
   EXPLORE OUR RECOMMENDATIONS SECTION (4 STARRED PRODUCTS)
   - Heading: Playfair Display 40px Semibold (Mobile 28px)
   - 4-Column Luxury Grid with matching card styles
========================================================= */
.pmt-recommendations-section {
    margin-top: 80px;
    margin-bottom: 60px;
    width: 100%;
}

.pmt-recommendations-header {
    margin-bottom: 28px;
    max-width: fit-content;
}

.pmt-recommendations-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 40px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px;
}

.pmt-recommendations-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
   /* max-width: 260px; */
}

.pmt-recommendations-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(270deg, #FFD700 0%, rgba(255, 215, 0, 0.15) 100%);
}

.pmt-recommendations-divider-line:last-child {
    background: linear-gradient(90deg, #FFD700 0%, rgba(255, 215, 0, 0.15) 100%);
}

.pmt-recommendations-divider-gem {
    width: 6px;
    height: 6px;
    background: var(--pmt-gold-solid);
    transform: rotate(45deg);
    box-shadow: 0 0 6px rgba(253, 213, 1, 0.8);
    flex-shrink: 0;
}

.pmt-recommendations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* =========================================================
   COLLECTION INQUIRY / CTA BANNER (BELOW RECOMMENDATIONS)
   - Background: Uploadable Banner Image / Warm Gold Gradient
   - Heading: 40px Playfair Display SemiBold (Mobile: 28px)
   - Description: 16px DM Sans
   - Button: 16px DM Sans (Black pill button, white text)
   - Border Radius: 24px
========================================================= */
.pmt-inquiry-banner-section {
    position: relative;
    width: 100%;
    border-radius: 24px;
    margin-top: 60px;
    margin-bottom: 30px;
    overflow: hidden;
    background-color: #E2AD07;
    background-image: var(--pmt-inquiry-bg-desktop, linear-gradient(135deg, #ECC117 0%, #DFB62C 50%, #C99700 100%));
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    box-sizing: border-box;
    min-height: 220px;
    display: flex;
    align-items: center;
}

.pmt-inquiry-banner-inner {
    width: 100%;
    padding: 42px 48px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.pmt-inquiry-banner-content {
    max-width: 540px;
    box-sizing: border-box;
}

.pmt-inquiry-banner-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 40px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    line-height: 1.22 !important;
    letter-spacing: -0.5px !important;
    margin: 0 0 14px 0 !important;
    text-transform: none !important;
}

.pmt-inquiry-banner-desc {
    font-family: 'DM Sans', var(--pmt-font-dmsans), -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #1F1F1F !important;
    line-height: 1.5 !important;
    margin: 0 0 24px 0 !important;
    max-width: 480px;
}

.pmt-inquiry-banner-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'DM Sans', var(--pmt-font-dmsans), -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #FFFFFF !important;
    background: #000000 !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    cursor: pointer !important;
    line-height: 1.3 !important;
}

.pmt-inquiry-banner-btn:hover,
.pmt-inquiry-banner-btn:focus {
    background: #1c1c1c !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
}


/* =========================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
========================================================= */
@media (max-width: 1024px) {
    .pmt-shop-layout-grid {
        grid-template-columns: 220px 1fr;
        gap: 25px;
    }

    .pmt-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .pmt-recommendations-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }
}

@media (max-width: 820px) {
    .pmt-shop-container {
        padding: 0 20px !important;
    }

    .pmt-shop-layout-grid {
        display: block !important;
    }

    /* Hide desktop sidebar */
    .pmt-shop-sidebar {
        display: none !important;
    }

    /* Show mobile top filter bar */
    .pmt-mobile-filter-bar {
        display: flex !important;
    }

    .pmt-catalog-top-bar {
        display: none !important;
    }

    /* 2 Columns on Mobile */
    .pmt-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    .pmt-product-card {
        padding: 0 0 12px 0 !important;
    }

    .pmt-card-content {
        padding: 10px 10px 0 10px !important;
    }

    /* Category: 12px */
    .pmt-card-category {
        font-size: 12px !important;
    }

    /* Title: 14px */
    .pmt-card-title a {
        font-size: 14px !important;
    }

    /* Price: 14px */
    .pmt-card-price {
        font-size: 14px !important;
        margin-bottom: 12px !important;
    }

    /* Actions on Mobile: Add to Cart is FULL WIDTH GRADIENT */
    .pmt-card-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .pmt-btn-add-to-cart {
        width: 100% !important;
        background: var(--pmt-gold-gradient) !important;
        color: #000000 !important;
        font-weight: 600 !important;
        border: none !important;
        font-size: 14px !important;
        padding: 8px 10px !important;
        border-radius: 30px !important;
        letter-spacing: 0px !important;
    }

    .pmt-btn-buy-now {
        display: none !important;
    }

    /* Recommendations Section on Mobile */
    .pmt-recommendations-section {
        margin-top: 45px !important;
        margin-bottom: 35px !important;
    }

    .pmt-recommendations-title {
        font-size: 28px !important;
    }

    .pmt-recommendations-divider {
        margin-top: 10px !important;
        margin-bottom: 22px !important;
        max-width: 200px !important;
    }

    .pmt-recommendations-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    /* Collection Inquiry Banner on Mobile */
    .pmt-inquiry-banner-section {
        border-radius: 18px !important;
        margin-top: 35px !important;
        margin-bottom: 25px !important;
        min-height: auto !important;
        background-image: var(--pmt-inquiry-bg-mobile, var(--pmt-inquiry-bg-desktop, linear-gradient(135deg, #ECC117 0%, #DFB62C 50%, #C99700 100%))) !important;
        background-position: right center !important;
    }

    .pmt-inquiry-banner-inner {
        padding: 30px 22px !important;
    }

    .pmt-inquiry-banner-content {
        max-width: 100% !important;
    }

    .pmt-inquiry-banner-title {
        font-size: 28px !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }

    .pmt-inquiry-banner-desc {
        font-size: 15px !important;
        line-height: 1.45 !important;
        margin-bottom: 20px !important;
        max-width: 100% !important;
    }

    .pmt-inquiry-banner-btn {
        font-size: 16px !important;
        padding: 10px 24px !important;
    }
}

@media (max-width: 480px) {
    .pmt-inquiry-banner-inner {
        padding: 24px 18px !important;
    }

    .pmt-inquiry-banner-title {
        font-size: 26px !important;
    }

    .pmt-inquiry-banner-desc {
        font-size: 14px !important;
    }
}

/* =========================================================
   MOBILE OFF-CANVAS FILTER DRAWER
========================================================= */
.pmt-mobile-filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.pmt-mobile-filter-drawer.is-active {
    visibility: visible;
}

.pmt-filter-drawer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pmt-mobile-filter-drawer.is-active .pmt-filter-drawer-backdrop {
    opacity: 1;
}

.pmt-filter-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: #0c0c0c;
    border-right: 1px solid rgba(184, 134, 11, 0.3);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.pmt-mobile-filter-drawer.is-active .pmt-filter-drawer-panel {
    transform: translateX(0);
}

.pmt-filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(184, 134, 11, 0.2);
}

.pmt-drawer-title {
    font-family: var(--pmt-font-dmsans);
    font-size: 18px;
    color: var(--pmt-gold-solid);
    margin: 0;
}

.pmt-drawer-close-btn,
button.pmt-drawer-close-btn,
#pmtMobileFilterCloseBtn {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--pmt-text-muted) !important;
    padding: 4px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.pmt-drawer-close-btn:hover,
.pmt-drawer-close-btn:focus,
.pmt-drawer-close-btn:active,
button.pmt-drawer-close-btn:hover,
button.pmt-drawer-close-btn:focus,
button.pmt-drawer-close-btn:active,
#pmtMobileFilterCloseBtn:hover,
#pmtMobileFilterCloseBtn:focus,
#pmtMobileFilterCloseBtn:active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    color: var(--pmt-gold-solid) !important;
}

.pmt-drawer-close-btn svg,
#pmtMobileFilterCloseBtn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    color: inherit;
    transition: color 0.2s ease, stroke 0.2s ease;
}

.pmt-drawer-close-btn:hover svg,
#pmtMobileFilterCloseBtn:hover svg {
    color: var(--pmt-gold-solid) !important;
    stroke: var(--pmt-gold-solid) !important;
}

.pmt-filter-drawer-content {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.pmt-filter-drawer-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #080808;
}

.pmt-drawer-apply-btn {
    width: 100%;
    background: var(--pmt-gold-gradient);
    color: #000;
    font-family: var(--pmt-font-dmsans);
    font-size: 15px;
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 30px;
    letter-spacing: 0px;
    cursor: pointer;
}
