/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (min-width: 769px) {
    #essentiqa-search-overlay > div {
        max-width: 800px;
        margin: 0 auto;
        padding: 30px 20px !important;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    #essentiqa-search-overlay > div {
        max-width: 600px;
        margin: 0 auto;
        padding: 25px 20px !important;
    }
}

@media (max-width: 480px) {
    #essentiqa-search-overlay > div {
        padding: 20px !important;
    }
}

/* ============================================
   MOBILE MENU
   ============================================ */
#essentiqa-mobile-menu,
#essentiqa-search-overlay {
    display: none;
    overflow: hidden;
    background: #000;
    width: 100%;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid #fff;
}

#essentiqa-mobile-menu.active,
#essentiqa-search-overlay.active {
    display: block;
    max-height: 1000px;
    opacity: 1;
}

#mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobile-nav li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#essentiqa-mobile-menu.active #mobile-nav li {
    transform: translateX(0);
    opacity: 1;
}

#essentiqa-mobile-menu.active #mobile-nav li:nth-child(1) { transition-delay: 0.15s; }
#essentiqa-mobile-menu.active #mobile-nav li:nth-child(2) { transition-delay: 0.2s; }
#essentiqa-mobile-menu.active #mobile-nav li:nth-child(3) { transition-delay: 0.25s; }
#essentiqa-mobile-menu.active #mobile-nav li:nth-child(4) { transition-delay: 0.3s; }
#essentiqa-mobile-menu.active #mobile-nav li:nth-child(5) { transition-delay: 0.35s; }
#essentiqa-mobile-menu.active #mobile-nav li:nth-child(6) { transition-delay: 0.4s; }

#mobile-nav a {
    display: block;
    padding: 15px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

#mobile-nav a:hover {
    background: rgba(216, 197, 132, 0.1);
    padding-left: 25px;
    color: #D8C584;
}

.menu-buttons {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#essentiqa-mobile-menu.active .menu-buttons {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.45s;
}

#essentiqa-mobile-menu a[style*="background: #D8C584"]:hover {
    background: #c9b56d !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(216, 197, 132, 0.3);
}

/* ============================================
   LIVE SEARCH
   ============================================ */
.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    animation: fadeInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.search-result-item:hover {
    background: rgba(216, 197, 132, 0.1);
    padding-left: 20px;
}

.search-result-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 5px 0;
}

.search-result-price {
    color: #D8C584;
    font-size: 14px;
    font-weight: 600;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.search-loading {
    padding: 20px;
    text-align: center;
    color: #D8C584;
}

/* ============================================
   LOGIN/LOGOUT LINKS
   ============================================ */
.essentiqa-login-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.essentiqa-login-links a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.essentiqa-login-links a:hover {
    opacity: 0.7;
}

.essentiqa-login-links .separator {
    opacity: 0.6;
}

/* ============================================
   WISHLIST BUTTON - OGÓLNE
   ============================================ */
.essentiqa-wishlist-button {
    background: transparent;
    border: 2px solid #D8C584;
    cursor: pointer;
    padding: 8px 16px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.essentiqa-wishlist-button .heart-icon {
    stroke: #D8C584;
    fill: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.essentiqa-wishlist-button:hover {
    background: #D8C584;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(216, 197, 132, 0.3);
}

.essentiqa-wishlist-button:hover .heart-icon {
    stroke: #000;
}

.essentiqa-wishlist-button.in-wishlist {
    background: #D8C584;
    color: #000;
}

.essentiqa-wishlist-button.in-wishlist .heart-icon {
    fill: #000;
    stroke: #000;
}

.essentiqa-wishlist-button.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* ============================================
   WISHLIST BUTTON - W LOOP (karty produktów)
   ============================================ */
.essentiqa-wishlist-wrapper.loop {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.essentiqa-wishlist-button.loop-button {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    justify-content: center;
}

.essentiqa-wishlist-button.loop-button .button-text {
    display: none;
}

.essentiqa-wishlist-button.loop-button .heart-icon {
    stroke: #333;
}

.essentiqa-wishlist-button.loop-button:hover {
    background: #D8C584;
    transform: scale(1.1);
}

.essentiqa-wishlist-button.loop-button:hover .heart-icon {
    stroke: #000;
}

.essentiqa-wishlist-button.loop-button.in-wishlist {
    background: #D8C584;
}

.essentiqa-wishlist-button.loop-button.in-wishlist .heart-icon {
    fill: #000;
    stroke: #000;
}

/* ============================================
   WISHLIST BUTTON - NA STRONIE PRODUKTU
   ============================================ */
.essentiqa-wishlist-wrapper.single {
    margin-top: 15px;
}

.essentiqa-wishlist-button.single-button {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
}

/* ============================================
   WISHLIST PAGE
   ============================================ */
.essentiqa-wishlist-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.essentiqa-wishlist-page h2 {
    margin-bottom: 30px;
    font-size: 28px;
}

.wishlist-products {
    display: grid;
    gap: 20px;
}

.wishlist-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid #ffffff;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
    background: transparent;
}

.wishlist-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wishlist-item-image {
    flex: 0 0 150px;
}

.wishlist-item-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.wishlist-item-details {
    flex: 1;
}

.wishlist-item-details h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.wishlist-item-details h3 a:hover {
    color: #D8C584;
}

.wishlist-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #D8C584;
}

.wishlist-item-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    justify-content: center;
}

.wishlist-item-actions .button {
    white-space: nowrap;
}

.wishlist-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* ============================================
   NOTIFICATION TOAST
   ============================================ */
.essentiqa-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999999;
    max-width: 300px;
}

.essentiqa-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.essentiqa-notification.error {
    background: #e74c3c;
}

.essentiqa-notification.success {
    background: #27ae60;
}

/* ============================================
   WISHLIST BADGE (licznik w menu)
   ============================================ */
.wishlist-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #D8C584;
    color: #000;
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}

/* ============================================
   MENU ICONS - UNIWERSALNY DLA WSZYSTKICH
   ============================================ */

/* Container ikon */
.elementor-icon-list-item {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover na SVG */
.elementor-icon-list-item:hover svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Hover na fill icons (koszyk, serce) */
.elementor-icon-list-item:hover path[fill]:not([fill="none"]) {
    fill: #D8C584;
    transition: fill 0.3s ease;
}

/* Hover na stroke icons (lupa) */
.elementor-icon-list-item:hover path[stroke] {
    stroke: #D8C584;
    transition: stroke 0.3s ease;
}

/* Badge (licznik) */
.wishlist-badge,
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #D8C584;
    color: #000;
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
    z-index: 10;
}


/* ============================================
   PRODUCT CARD POSITIONING
   ============================================ */
.products .product {
    position: relative;
}

.products .product:hover .essentiqa-wishlist-wrapper.loop {
    opacity: 1;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    /* Wishlist Page */
    .essentiqa-wishlist-page {
        padding: 15px;
    }

    .essentiqa-wishlist-page h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .wishlist-item {
        flex-direction: column;
        padding: 15px;
    }

    .wishlist-item-image {
        flex: 0 0 auto;
        max-width: 200px;
        margin: 0 auto;
    }

    .wishlist-item-actions {
        flex-direction: row;
        width: 100%;
        align-items: stretch;
    }

    .wishlist-item-actions .button {
        flex: 1;
    }

    /* Wishlist Button */
    .essentiqa-wishlist-button.single-button .button-text {
        font-size: 13px;
    }

    .essentiqa-wishlist-button.single-button {
        padding: 10px 16px;
    }

    /* Notification */
    .essentiqa-notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}


/* ============================================
   MINI CART - OVERLAY & SIDEBAR (DARK)
   ============================================ */

/* Overlay (ciemne tło) */
.mini-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: none;
}

.mini-cart-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Sidebar (wysuwany panel - czarny) */
.mini-cart-sidebar {
    position: fixed !important;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 90%;
    height: 100%;
    background: #000;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.5);
}

.mini-cart-sidebar.active {
    right: 0 !important;
}

body.mini-cart-open {
    overflow: hidden !important;
}

/* ============================================
   MINI CART - HEADER (DARK)
   ============================================ */

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.mini-cart-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.mini-cart-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.mini-cart-close:hover {
    color: #D8C584;
}

/* ============================================
   MINI CART - BODY (DARK)
   ============================================ */

.mini-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background: #000;
}

/* Scrollbar dark */
.mini-cart-body::-webkit-scrollbar {
    width: 8px;
}

.mini-cart-body::-webkit-scrollbar-track {
    background: #111;
}

.mini-cart-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.mini-cart-body::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Loading spinner */
.mini-cart-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.mini-cart-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #222;
    border-top: 3px solid #D8C584;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Empty cart */
.mini-cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.mini-cart-empty svg {
    color: #444;
    margin-bottom: 20px;
}

.mini-cart-empty p {
    color: #999;
    margin: 0 0 20px;
    font-size: 15px;
}

.mini-cart-empty .button {
    display: inline-block;
    padding: 12px 24px;
    background: #D8C584; !important;
    color: #000;  !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #D8C584; !important;
}

.mini-cart-empty .button:hover {
    background: #c9b56d; !important;
    border-color: #c9b56d; !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(216, 197, 132, 0.3); !important;
}

/* ============================================
   MINI CART - FREE SHIPPING BAR (DARK)
   ============================================ */

.mini-cart-free-shipping {
    padding: 15px 20px;
    background: #111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-cart-body.first-load .mini-cart-free-shipping {
    animation: slideDown 0.3s ease;
}

.free-shipping-message {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.free-shipping-message.success {
    color: #27ae60;
    font-weight: 600;
}

.free-shipping-message svg {
    flex-shrink: 0;
    color: #D8C584;
}

.free-shipping-message strong {
    color: #D8C584;
}

.free-shipping-progress {
    margin-top: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #D8C584, #c9b56d);
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   MINI CART - ITEMS (DARK)
   ============================================ */

.mini-cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

.mini-cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: opacity 0.3s ease;
}

.mini-cart-item:last-child {
    border-bottom: none;
}

.mini-cart-item-image {
    flex: 0 0 80px;
}

.mini-cart-item-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.mini-cart-item-details {
    flex: 1;
    min-width: 0;
    padding-right: 25px;
}

.mini-cart-item-name {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.mini-cart-item-name a {
    color: #fff;
    text-decoration: none;
}

.mini-cart-item-name a:hover {
    color: #D8C584;
}

.mini-cart-item-quantity {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}

.mini-cart-item-total {
    font-size: 14px;
    font-weight: 600;
    color: #D8C584;
}

.mini-cart-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #666;
    transition: color 0.3s;
}

.mini-cart-item-remove:hover {
    color: #e74c3c;
}

.mini-cart-item.removing {
    opacity: 0.5;
    pointer-events: none;
}

/* ============================================
   MINI CART - SUGGESTED PRODUCTS (DARK)
   ============================================ */

.mini-cart-suggested {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0a0a;
}

.mini-cart-suggested h4 {
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.suggested-products {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.suggested-product {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #111;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-cart-body.first-load .suggested-product {
    animation: fadeInUp 0.3s ease backwards;
}

.mini-cart-body.first-load .suggested-product:nth-child(1) { animation-delay: 0.1s; }
.mini-cart-body.first-load .suggested-product:nth-child(2) { animation-delay: 0.2s; }
.mini-cart-body.first-load .suggested-product:nth-child(3) { animation-delay: 0.3s; }
.mini-cart-body.first-load .suggested-product:nth-child(4) { animation-delay: 0.4s; }

.suggested-product:hover {
    background: #1a1a1a;
    border-color: rgba(216, 197, 132, 0.2);
}

.suggested-product-image {
    flex: 0 0 60px;
}

.suggested-product-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.suggested-product-details {
    flex: 1;
    min-width: 0;
}

.suggested-product-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.suggested-product-name:hover {
    color: #D8C584;
}

.suggested-product-price {
    font-size: 14px;
    font-weight: 600;
    color: #D8C584;
}

.suggested-product-add {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D8C584;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.suggested-product-add:hover {
    background: #c9b56d;
    transform: scale(1.1);
}

.suggested-product-add svg {
    color: #000;
}

.suggested-product-add.loading {
    pointer-events: none;
    opacity: 0.7;
}

.suggested-product-add.added {
    background: #27ae60 !important;
}

.suggested-product.added-to-cart {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.mini-cart-empty + .mini-cart-suggested {
    border-top: none;
    margin-top: 20px;
}

/* ============================================
   MINI CART - FOOTER (DARK)
   ============================================ */

.mini-cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0a0a;
}

.mini-cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
    color: #fff;
}

.mini-cart-subtotal strong {
    color: #D8C584;
}

.mini-cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-cart-buttons .button {
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.mini-cart-buttons .button-cart {
    background: transparent;
    color: #D8C584;
    border: 2px solid #D8C584;
}

.mini-cart-buttons .button-cart:hover {
    background: #D8C584;
    color: #000;
}

.mini-cart-buttons .button-checkout {
    background: #D8C584 !important;
    color: #000 !important;
    border: 2px solid #D8C584;
    box-shadow: 0 0 20px rgba(216, 197, 132, 0.4);
}

.mini-cart-buttons .button-checkout:hover {
    background: #c9b56d !important;
    border-color: #c9b56d;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(216, 197, 132, 0.6);
}

/* ============================================
   MINI CART - BADGE (licznik)
   ============================================ */

.cart-count-badge {
    position: absolute;
    top: -5px;
    background: #D8C584;
    color: #000;
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    margin-left: 15px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
}

.cart-count-badge.pulse {
    animation: badgePulse 0.3s ease;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* ============================================
   MINI CART - ANIMATIONS
   ============================================ */

.mini-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   MINI CART - MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .mini-cart-sidebar {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }

    .suggested-product {
        padding: 10px;
    }

    .suggested-product-image {
        flex: 0 0 50px;
    }

    .free-shipping-message {
        font-size: 12px;
    }

    .mini-cart-item-image {
        flex: 0 0 60px;
    }
}

.mini-cart-item-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

.quantity-selector {
    display: inline-flex;
    align-items: stretch;
    background: #111;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    color: #D8C584;
    cursor: pointer;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 8px 0;
}

.quantity-btn:last-child {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.quantity-btn:hover:not(:disabled) {
    background: rgba(216, 197, 132, 0.2);
}

.quantity-btn:active:not(:disabled) {
    background: rgba(216, 197, 132, 0.3);
}

.quantity-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quantity-btn svg {
    width: 12px;
    height: 12px;
}

.quantity-input {
    width: 45px !important;
    text-align: center!important;
    border: none!important;
    background: transparent!important;
    color: #fff!important;
    font-size: 14px!important;
    font-weight: 600!important;
    font-family: inherit!important;
    -moz-appearance: textfield!important;
    padding: 8px 4px!important;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.02);
}

.mini-cart-item-price {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    margin-left: auto;
}

@media (max-width: 768px) {
    .quantity-selector {
        border-radius: 3px;
    }

    .quantity-btn {
        width: 28px;
        padding: 6px 0;
    }

    .quantity-input {
        width: 40px;
        font-size: 13px;
        padding: 6px 4px;
    }
}
