/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* ========================================
   SHADCN/UI SMALL STYLE - WOODMART
   Inputs, buttons, textarea, custom select
======================================== */

/* Hide original select after JS converts it */
select.shadcn-hidden-select {
  display: none !important;
}

/* Also hide native select arrow before/if visible */
select,
.woocommerce select,
.wpcf7 select,
.variations select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

select::-ms-expand {
  display: none !important;
}

/* Custom select wrapper */
.shadcn-select {
  position: relative !important;
  width: 100% !important;
  font-size: 13px !important;
  z-index: 20 !important;
}

.shadcn-select.open {
  z-index: 999999 !important;
}

/* Custom select trigger */
.shadcn-select-trigger {
  height: 32px !important;
  min-height: 32px !important;
  width: 100% !important;
  padding: 0 36px 0 10px !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #09090b !important;
  font-size: 13px !important;
  line-height: normal !important;
  cursor: pointer !important;
  position: relative !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
}

/* Fixed shadcn-like chevron */
.shadcn-select-trigger::after {
  content: "" !important;
  position: absolute !important;
  right: 13px !important;
  top: 50% !important;
  width: 6px !important;
  height: 6px !important;
  border-right: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: translateY(-60%) rotate(45deg) !important;
  pointer-events: none !important;
}

.shadcn-select.open .shadcn-select-trigger::after {
  transform: translateY(-35%) rotate(225deg) !important;
}

/* Dropdown popup */
.shadcn-select-menu {
  position: absolute !important;
  left: 0 !important;
  top: calc(100% + 6px) !important;
  width: 100% !important;
  z-index: 999999 !important;
  display: none !important;
  background: #ffffff !important;
  color: #09090b !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 8px !important;
  padding: 4px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,.12) !important;
  max-height: 220px !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
}

.shadcn-select.open .shadcn-select-menu {
  display: block !important;
}

/* Options */
.shadcn-select-option {
  padding: 7px 30px 7px 10px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
  position: relative !important;
  color: #09090b !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

.shadcn-select-option:hover,
.shadcn-select-option.is-selected {
  background: #f4f4f5 !important;
}

.shadcn-select-option.is-selected::after {
  content: "✓";
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 13px !important;
  color: #09090b !important;
}

/* Inputs */
input,
.woocommerce .input-text,
.wpcf7 input,
.searchform input,
.wd-search-form input,
input[type="search"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="date"],
input[type="time"] {
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 10px !important;
  font-size: 13px !important;
  line-height: 32px !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
}

/* Textarea */
textarea,
.wpcf7 textarea,
.woocommerce textarea,
textarea.input-text {
  width: 100% !important;
  height: auto !important;
  min-height: 88px !important;
  max-height: none !important;
  padding: 8px 10px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  border-radius: 6px !important;
  resize: vertical !important;
  overflow: auto !important;
  box-sizing: border-box !important;
}

/* Buttons */
button,
.button,
.btn,
.wd-button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.single_add_to_cart_button,
.checkout-button,
#place_order,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
}

/* Quantity */
.quantity input.qty {
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 8px !important;
  font-size: 13px !important;
  border-radius: 6px !important;
}

.quantity .minus,
.quantity .plus,
.quantity button {
  height: 32px !important;
  min-height: 32px !important;
  width: 32px !important;
  padding: 0 !important;
  font-size: 13px !important;
  border-radius: 6px !important;
}

/* Labels + placeholder */
label {
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-bottom: 6px !important;
}

input::placeholder,
textarea::placeholder {
  font-size: 13px !important;
}

/* WoodMart header / mobile / shop icons 12px */
.wd-tools-icon,
.wd-tools-icon:before,
.wd-tools-element .wd-tools-icon,
.wd-header-cart .wd-tools-icon,
.wd-header-my-account .wd-tools-icon,
.wd-header-search .wd-tools-icon,
.wd-header-wishlist .wd-tools-icon,
.wd-header-mobile-nav .wd-tools-icon,
.wd-nav-icon,
.wd-icon {
	font-size: 16px !important;
	width: 16px !important;
	height: 16px !important;
	line-height: 16px !important;
}

/* SVG icons only inside WoodMart icon areas */
.wd-tools-icon svg,
.wd-icon svg,
.wd-nav-icon svg,
[class*="wd-icon-"] svg {
	width: 16px !important;
	height: 16px !important;
}

.wd-tools-text {
	font-weight: 400 !important;
	text-transform: capitalize !important;
}

.searchsubmit {
	width: 20% !important;
	column-gap: 2px !important;
	border-radius: 50vw !important;
	font-size: 10px !imporant;
}

.searchform {
	border-radius: 50vw !imporant;
}
.wd-close-search.wd-style-icon{
      --wd-action-icon-size: 16px !important;
}