/*
Theme Name: Woodmart Child 02
Theme URI: https://woodmart.xtemos.com/
Template: woodmart
Author: XTemos
Author URI: http://themeforest.net/user/xtemos
Description: ThemeForest Premium Theme
Tags: one-column,two-columns,right-sidebar,custom-header,custom-menu,editor-style,featured-images,microformats,post-formats,sticky-post,translation-ready
Version: 8.2.7.1782043357
Updated: 2026-06-21 12:02:37

*/










.single-product form.variations_form .wd-swatch { width: 45px !important; height: 45px !important; min-width: 45px !important; border-radius: 50% !important; } .single-product form.variations_form .wd-swatch-bg { width: 100% !important; height: 100% !important; border-radius: 50% !important; } .size-quantity-table .qty-btn.plus{ order: 1 !important; } .size-quantity-table .qty-input{ order: 2 !important; } .size-quantity-table .qty-btn.minus{ order: 3 !important; } .size-quantity-table .quantity-controls{ display: flex; align-items: center; gap: 6px; } .size-quantity-table .qty-btn{ width: 34px; height: 34px; border-radius: 8px; border: 1px solid #e5e5e5; background: #fff; color: #111; font-size: 18px; cursor: pointer; transition: all 0.2s ease; } .size-quantity-table .qty-btn:hover{ background: #111; color: #fff; transform: scale(1.05); } .size-quantity-table .qty-input{ width: 55px; height: 34px; text-align: center; border: 1px solid #e5e5e5; border-radius: 8px; outline: none; } .size-quantity-table .qty-input:not([value="0"]){ border-color: #28a745; font-weight: 600; }
/* اگر متن طولانی بود، دایره حذف شود */
.single-product form.variations_form .wd-swatch .wd-swatch-text{
    white-space: nowrap;
}

/* وقتی متن طولانیه (مثل سایزهای پیچیده)، حالت دکمه‌ای بگیر */
.single-product form.variations_form .wd-text.wd-swatch{
    width: auto !important;
    height: auto !important;
    min-width: 60px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}