/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* =====================
   DISCOUNT BADGE
   ===================== */
.discount-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    background-color: #C3E9E5;
    border-radius: 52px;
    padding: 8px 12px 11px 12px;
}

.discount-badge {
    background-color: #2ec4b6;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Figtree', sans-serif;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.badge-regular-price {
    font-family: 'Figtree', sans-serif;
    font-size: 12px;
    color: #206E66;
    font-weight: 600;
    text-decoration: line-through;
}

.badge-regular-price .woocommerce-Price-amount {
    display: inline !important;
}

/* =====================
   HIDE DEFAULT WOOCOMMERCE ELEMENTS
   ===================== */
.woocommerce-variation-price { display: none !important; }
.price del { display: none !important; }
.variations select { display: none !important; }
.variations .label { display: none !important; }
.variations td.value { padding: 0 !important; }
.variations { width: 100% !important; }

/* =====================
   VARIATION BUTTONS
   ===================== */
.variation-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
}

.volta-variation-item {
    width: 100%;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid #EAEFEE;
    background: #ffffff;
    color: #0d2b2b;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.volta-variation-item:hover {
    border-color: #96B1AC;
}

.volta-variation-item.selected {
    border: 1px solid #96B1AC !important;
    background: #ffffff !important;
    font-weight: 500 !important;
}

/* Outer wrapper for install option + extra info */
.volta-variation-outer {
    display: flex;
    flex-direction: column;
    border: 1px solid #EAEFEE;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.volta-variation-outer.selected {
    border-color: #96B1AC;
}

.volta-variation-outer .volta-variation-item {
    border: none !important;
    border-radius: 0 !important;
}

/* Label */
.volta-swatch-label {
    flex: 1;
    text-align: left;
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #0B2522;
}

/* Price inside button */
.volta-swatch-price {
    font-family: 'Figtree', sans-serif;
    font-weight: 500;
    color: #0B2522;
    padding-left: 12px;
    white-space: nowrap;
    font-size: 16px;
}

/* Extra info row */
.volta-swatch-extra {
    font-family: 'Figtree', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #44524F;
    display: flex;
    justify-content: space-between;
    padding: 4px 16px 10px 16px;
    background: #ffffff;
}

/* =====================
   ADD TO CART BUTTON
   ===================== */
div.volta-add-to-cart {
    width: 100% !important;
    margin-top: 12px !important;
    display: block !important;
}

div.volta-add-to-cart .volta-cart-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: #206E66 !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 10px 10px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    font-family: 'Figtree', sans-serif !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    min-width: 0 !important;
}

div.volta-add-to-cart .volta-cart-btn:hover {
    background-color: #206E66 !important;
}

div.volta-add-to-cart .volta-cart-btn.loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
}

div.volta-add-to-cart .volta-cart-label {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px;
    color: white !important;
    text-align: left !important;
    flex-shrink: 0 !important;
}

div.volta-add-to-cart .volta-cart-price {
    font-family: 'Figtree', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px;
    color: white !important;
    margin: 0 12px 0 auto !important;
    text-align: right !important;
    flex-shrink: 0 !important;
}

div.volta-add-to-cart .volta-cart-icon {
    width: 36px !important;
    height: 36px !important;
    background: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

div.volta-add-to-cart .volta-cart-icon svg {
    width: 14px !important;
    height: 14px !important;
}


/* =====================
   ICON EDGE BUTTON (hero buttons)
   ===================== */
.icon-edge .elementor-button-content-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 10px !important;
}

.icon-edge .elementor-button-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    background-color: #0d2b2b !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    margin-right: -8px !important;
}

.icon-edge .elementor-button-icon svg {
    width: 16px !important;
    height: 16px !important;
    fill: white !important;
    color: white !important;
}


/* Hide the filter panel by default */
.filter-panel {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 24px;
  z-index: 999;
  min-width: 320px;
}

/* Show when active */
.filter-panel.is-open {
  display: block;
}

.sort-filter-container {
  position: relative;
}