body {
    background: #EADECC !important;
}

/* Layout */
.shop-wrapper {
    width: 1200px;
    margin: 60px auto;
    position: relative;
}

.shop-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    transition: 0.3s ease;
}

/* 3 grid when filter open */
.shop-wrapper.filter-active .shop-products {
    grid-template-columns: repeat(3, 1fr);
}

.filter-toggle {
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-icon {
    width: 18px;
    height: 18px;
}

/* Product Card */
.product-card {
    text-align: center;
}

.arch-bg {
    background: url("http://localhost/marvwadi_tea/wp-content/uploads/2026/02/Frame-2147226615.png") no-repeat center top;
    background-size: contain;
    padding: 60px 20px 20px;
}

.product-title {
    margin: 15px 0 5px;
    font-size: 16px;
}

.price {
    font-weight: 600;
    margin-bottom: 8px;
}

.custom-btn {
    display: inline-block;
    padding: 10px 30px;
    background: #D6A97D;
    border-radius: 25px;
    border: 1px solid #000;
    font-size: 13px;
    text-decoration: none;
    color: #000;
}

.custom-btn:hover {
    background: #c89666;
}

/* Pagination */
.pagination {
    margin: 40px 0;
    text-align: center;
}

/* FILTER PANEL */
.custom-filter {
    position: fixed;
    left: -350px;
    top: 0;
    width: 320px;
    height: 100%;
    background: #EADECC;
    color: #69481E;
    padding: 20px;
    transition: 0.4s ease;
    z-index: 9999;
    overflow-y: auto;
}
div#customFilter {
    margin-top: 70px;
}
.custom-filter.active {
    left: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    margin-bottom: 15px;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section h4 {
    margin-bottom: 10px;
}

.filter-section label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

.filter-buttons {
    margin-top: 30px;
}

.apply-btn,
.clear-btn {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background: #D6A97D;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.clear-btn {
    background: #EADCC8;
}

/* Price Display */
.price-slider {
    position: relative;
    margin: 20px 0;
}

.price-slider input[type="range"] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    appearance: none;
    height: 4px;
    background: #C8A977;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #C8A977;
    border-radius: 50%;
    cursor: pointer;
}

.price-display {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.price-box {
    margin-top: 30px;
    background: #EADCC8;
    color: #000;
    padding: 12px;
    width: 48%;
    text-align: center;
    border: 1px solid #C8A977;
}

/* AJAX LOADER */
.ajax-loader {
    display: none;
    width: 50px;
    height: 50px;
    border: 4px solid #EADCC8;
    border-top: 4px solid #C8A977;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 60px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* ==============================
   CART DRAWER WRAPPER
================================= */

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: #F4E6D6;
    transition: 0.4s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0,0,0,0.18);
    font-family: Georgia, serif;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 22px 25px;
    background: #E6C9A8;
    border-bottom: 1px solid #d9c6af;
}

.cart-header h2 {
    margin: 0;
    font-size: 26px;
    color: #61330c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-btn {
    position: absolute;
    top: 22px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    color: #61330c;
    background: none;
    border: none;
}

/* ==============================
   CART CONTENT (SCROLLABLE)
================================= */

.cart-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.cart-content::-webkit-scrollbar {
    width: 6px;
}

.cart-content::-webkit-scrollbar-track {
    background: transparent;
}

.cart-content::-webkit-scrollbar-thumb {
    background: #d2b48c;
    border-radius: 3px;
}

.cart-content::-webkit-scrollbar-thumb:hover {
    background: #c9a87f;
}

/* ==============================
   HEADER
================================= */

.drawer-header {
    background: #E6C9A8;
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #d9c6af;
}

.drawer-header h2 {
    font-size: 26px;
    color: #61330c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-header .count {
    background: #61330c;
    color: #fff;
    border-radius: 50%;
    padding: 5px 9px;
    font-size: 12px;
    min-width: 22px;
    text-align: center;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
    color: #61330c;
    background: none;
    border: none;
}

/* ==============================
   FREE SHIPPING BOX
================================= */

.free-ship-box {
    background: #E6C9A8;
    margin: 15px 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.free-ship-box p {
    margin: 0;
    font-size: 14px;
    color: #61330c;
    font-weight: 600;
}

.progress-bar {
    height: 4px;
    background: #C8A977;
    margin-top: 10px;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    height: 100%;
    width: 100%;
    background: #61330c;
}

/* ==============================
   CART ITEMS
================================= */

.drawer-items {
    flex: 1;
    overflow-y: auto;
}

.drawer-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #e2d2be;
    position: relative;
}

.item-image img {
    width: 75px;
    height: 75px;
    object-fit: cover;
}

.item-info {
    flex: 1;
}

.item-info h4 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #61330c;
    font-weight: 600;
}

/* Quantity + Price row */

.qty-price {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 5px;
}

/* Quantity Box */

.qty-controls {
    display: inline-flex;
    align-items: center;
    background: #EADCC8;
    border-radius: 4px;
    overflow: hidden;
}

.qty-controls button {
    border: none;
    background: #EADCC8;
    padding: 4px 8px;
    cursor: pointer;
    font-weight: bold;
    color: #61330c;
}

.qty-controls button:hover {
    background: #D6A97D;
}

.qty-controls input {
    border: none;
    width: 32px;
    text-align: center;
    background: #EADCC8;
    font-size: 13px;
    color: #61330c;
}

/* Per Pack text */

.price-info {
    font-size: 12px;
    color: #61330c;
}

/* Right Side Item Total */

.item-total {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-weight: bold;
    font-size: 15px;
    color: #000;
}

/* Remove Button */

.remove-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #61330c;
}

/* ==============================
   FOOTER SECTION
================================= */

.drawer-footer {
    padding: 20px;
    border-top: 1px solid #d9c6af;
}

.drawer-footer .line {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 8px;
    color: #61330c;
}

.drawer-footer .shipping-info {
    font-size: 13px;
    margin: 10px 0;
    line-height: 1.4;
    color: #61330c;
}

.drawer-footer .change-address {
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 10px;
    color: #61330c;
}

.drawer-footer .total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #d9c6af;
    color: #61330c;
}

/* ==============================
   CHECKOUT BUTTON
================================= */

.checkout-btn {
    display: block;
    text-align: center;
    background: #C8A977;
    padding: 16px;
    margin-top: 18px;
    text-decoration: none;
    font-size: 14px;
    color: #3d2a18;
    border-radius: 10px;
    border: 2px solid #61330c;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
}

.checkout-btn:hover {
    background: #b8935d;
}

/* ==============================
   GUARANTEE TEXT
================================= */

.guarantee {
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    color: #61330c;
}

/* ==============================
   OVERLAY
================================= */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 9999;
}

.cart-overlay.active {
    display: block;
}

/* ==============================
   SCROLLBAR
================================= */

.drawer-items::-webkit-scrollbar {
    width: 6px;
}

.drawer-items::-webkit-scrollbar-thumb {
    background: #d2b48c;
    border-radius: 3px;
}
/* ==============================
   HEADER CART ICON
================================= */

.header-cart {
    position: fixed;
    top: 25px;
    right: 30px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
}

.header-cart svg,
.header-cart i {
    font-size: 24px;
    color: #61330c;
    transition: 0.3s;
}

/* Badge Count */

.header-cart .cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #61330c;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Hover Effect */

.header-cart:hover svg,
.header-cart:hover i {
    color: #b8935d;
    transform: scale(1.1);
}
/* ==============================
   MINI CART ITEM LAYOUT FIX
================================= */

.woocommerce-mini-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 20px;
    border-bottom: 1px solid #e2d2be;
    position: relative;
}

/* Mini Cart Wrapper */
.wpr-mini-cart-wrapper {
    background-color: #ede4d3;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Serif', Georgia, serif;
}

/* Header Section */
.wpr-mini-cart-header {
    margin-bottom: 20px;
    border-bottom: none;
}

.wpr-mini-cart-title {
    color: #61330c;
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpr-cart-badge {
    background-color: #7a5d3f;
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
}

/* Free Shipping Message */
.wpr-free-shipping-message {
    background-color: #dcc9b3;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    text-align: center;
    border-bottom: 3px solid #61330c;
}

.wpr-free-shipping-message p {
    margin: 0;
    color: #61330c;
    font-size: 14px;
    font-weight: 500;
}

/* Cart Items List */
.wpr-woo-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.woocommerce-mini-cart-item {
    border-bottom: 1px solid #d4c1a8;
    padding-bottom: 18px;
    margin-bottom: 10px;
}

/* Item Container */
.wpr-mini-cart-item-container {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* Product Image */
.wpr-mini-cart-image {
    flex-shrink: 0;
    width: 70px;
}

.wpr-mini-cart-image img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover;
    border-radius: 4px;
}

.wpr-mini-cart-image a {
    display: block;
}

/* Product Details */
.wpr-mini-cart-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

/* Product Info */
.wpr-mini-cart-product-info {
    flex: 1;
}

.wpr-mini-cart-product-name {
    font-size: 15px;
    font-weight: 500;
    color: #61330c;
    margin-bottom: 4px;
    line-height: 1.3;
}

.wpr-mini-cart-product-name a {
    text-decoration: none;
    color: #61330c;
    font-weight: 500;
}

.wpr-mini-cart-product-name a:hover {
    text-decoration: underline;
}

.wpr-mini-cart-product-meta {
    font-size: 13px;
    color: #8b7355;
    margin-bottom: 6px;
    line-height: 1.4;
}

.wpr-mini-cart-product-meta dl {
    margin: 0;
    padding: 0;
}

.wpr-mini-cart-product-meta dt,
.wpr-mini-cart-product-meta dd {
    display: inline;
    margin: 0;
    padding: 0;
}

.wpr-mini-cart-product-meta dt:after {
    content: ": ";
}

.wpr-mini-cart-product-meta dd:after {
    content: " ";
}

.wpr-mini-cart-product-meta dd:last-child:after {
    content: "";
}

.wpr-mini-cart-product-price {
    font-size: 13px;
    color: #61330c;
    font-weight: 500;
}

/* Quantity Controls */
.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #c4b1a0;
    border-radius: 4px;
    padding: 4px 8px;
    background-color: #f5f1ed;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #61330c;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    padding: 0;
}

.qty-btn:hover {
    color: #8b7355;
}

.qty-btn:active {
    transform: scale(0.95);
}

.wpr-qty-input {
    width: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 13px;
    color: #61330c;
    font-weight: 500;
    padding: 0 4px;
}

.wpr-qty-input::-webkit-outer-spin-button,
.wpr-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wpr-qty-input[type=number] {
    -moz-appearance: textfield;
}

/* Item Total */
.wpr-mini-cart-item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    white-space: nowrap;
}

.wpr-mini-cart-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #61330c;
}

.wpr-mini-cart-item-total a.remove {
    text-decoration: none;
    font-size: 24px;
    color: #d4a574;
    opacity: 0.6;
    transition: opacity 0.2s;
    cursor: pointer;
}

.wpr-mini-cart-item-total a.remove:hover {
    opacity: 1;
    color: #e74c3c;
}

/* Loading State */
.woocommerce-mini-cart-item.loading {
    opacity: 0.6;
    pointer-events: none;
}

.woocommerce-mini-cart-item.loading .qty-btn {
    cursor: not-allowed;
}

.woocommerce-mini-cart-item.loading .wpr-qty-input {
    pointer-events: none;
}

/* Separator */
.wpr-mini-cart-separator {
    border-top: 2px solid #61330c;
    margin: 16px 0;
}

/* Totals Section */
.wpr-mini-cart-totals {
    margin-bottom: 16px;
}

.wpr-mini-cart-subtotal,
.wpr-mini-cart-shipping {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.wpr-label {
    color: #61330c;
    font-weight: 500;
}

.wpr-amount {
    color: #61330c;
    font-weight: 600;
}

.wpr-mini-cart-shipping-address {
    font-size: 12px;
    color: #8b7355;
    margin-bottom: 12px;
    line-height: 1.4;
}

.wpr-change-address-link {
    color: #61330c;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.2s;
}

.wpr-change-address-link:hover {
    color: #8b7355;
    text-decoration: underline;
}

/* Total Amount */
.wpr-mini-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #61330c;
    margin-bottom: 18px;
}

/* Buttons */
.wpr-mini-cart-buttons {
    margin-bottom: 16px;
}

.wpr-mini-cart-buttons .button,
.wpr-mini-cart-buttons a.button {
    width: 100%;
    background-color: #d4a574;
    color: #61330c;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.wpr-mini-cart-buttons .button:hover,
.wpr-mini-cart-buttons a.button:hover {
    background-color: #c49461;
}

/* Guarantee Message */
.wpr-mini-cart-guarantee {
    text-align: center;
    font-weight: 800;
    padding-top: 12px;
    border-top: 1px solid #d4c1a8;
}

.wpr-mini-cart-guarantee p {
    margin: 0;
    font-size: 14px;
    color: #61330c solid;
    font-weight: 800;
}

/* Empty Cart Message */
.woocommerce-mini-cart__empty-message {
    background-color: #ede4d3;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #61330c;
    font-weight: 500;
    margin: 0;
}
.qty-controls {
    display: inline-flex;
    align-items: center;
    background: #EADCC8;
    border-radius: 4px;
    overflow: hidden;
}

.qty-controls button {
    background: #EADCC8;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.qty-controls button:hover {
    background: #D6A97D;
}

/* .wpr-qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: #EADCC8;
} */

.wpr-qty-input {
    width: 45px !important;
    height: 32px !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600;
    color: #61330c !important;
    background: #EADCC8 !important;
    border: none !important;
    outline: none !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #61330c !important;
}

/* Remove arrows if hidden */
.wpr-qty-input::-webkit-inner-spin-button,
.wpr-qty-input::-webkit-outer-spin-button {
    opacity: 1;
}
input.wpr-qty-input[type="number"] {
    all: unset;
    width: 45px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #61330c;
    background: #EADCC8;
    padding: 5px;
}
input[type=number] {
    -webkit-appearance: none;
    font-size: 0;
}
.wpr-mini-cart-item-container {
    margin-left: -34px;
}
.wpr-mini-cart-image {
    position: relative;
    background-image: url('http://localhost/marvwadi_tea/wp-content/uploads/2026/03/Vector.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10px;
}
/* Button Loader */
.custom-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-loader {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: none;
    animation: spin 0.6s linear infinite;
}

.custom-btn.loading .btn-loader {
    display: inline-block;
}

.custom-btn.loading .btn-text {
    opacity: 0.6;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* cart drawer background image css */
.wpr-empty-cart-icon {
    justify-content: center;
    display: flex;
}

.wpr-suggestion-item {
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    /* padding: 20px 15px; */
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    /* min-height: 280px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* border: 3px solid rgba(105, 72, 30, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(105, 72, 30, 0.1); */
    transition: all 0.3s ease;
}

.wpr-suggestion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(105, 72, 30, 0.2);
}

.wpr-suggestion-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.wpr-suggestion-image {
    width: 120px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease;
}

.wpr-suggestion-name {
    margin: 15px 0 0;
}

.wpr-suggestion-name a {
    text-decoration: none;
    font-weight: 700;
    color: #69481E;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Empty Cart Suggestions Container */
.wpr-empty-cart-suggestions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    width: 100%;
    background-repeat: no-repeat;

}
.wpr-empty-cart-suggestions > div,
.wpr-suggestion-item {
    background-repeat: no-repeat;
    /* background-size: cover; */
    background-position: center; /* keeps image centered */
}
.wpr-suggestion-item
{
    margin-top: 18px;
}
img.wpr-suggestion-image {
    margin-top: 50px;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .wpr-empty-cart-suggestions {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .wpr-empty-cart-suggestions {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}