@charset "UTF-8";

/*
Theme Name: Pillarofashion
Theme URI: https://wordpress.org/themes/twentytwentyone/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Twenty Twenty-One is a blank canvas for your ideas and it makes the block editor your best brush. With new block patterns, which allow you to create a beautiful layout in a matter of seconds, this theme’s soft colors and eye-catching — yet timeless — design will let your work shine. Take it for a spin! See how Twenty Twenty-One elevates your portfolio, business website, or personal blog.
Requires at least: 5.3
Tested up to: 6.3
Requires PHP: 5.6
Version: 1.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyone
Tags: one-column, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready

Twenty Twenty-One WordPress Theme, (C) 2020 WordPress.org
Twenty Twenty-One is distributed under the terms of the GNU GPL.
*/

/**
 * SETTINGS
 * File-header..........The file header for the themes style.css file.
 * Fonts................Any font files, if the project needs specific fonts.
 * Global...............Project-specific, globally available variables.
 *
 * TOOLS
 * Functions............Global functions.
 * Mixins...............Global mixins.
 *
 * GENERIC
 * Normalize.css........Normalise browser defaults.
 * Breakpoints..........Mixins and variables for responsive styles
 * Vertical-margins.....Vertical spacing for the main components.
 * Reset................Reset specific elements to make them easier to style in other contexts.
 * Clearings............Clearings for the main components.
 *
 * ELEMENTS
 * Blockquote...........Default blockquote.
 * Forms................Element-level form styling.
 * Headings.............H1–H6
 * Links................Default links.
 * Lists................Default lists.
 * Media................Images, Figure, Figcaption, Embed, iFrame, Objects, Video.
 *
 * BLOCKS
 * Audio................Specific styles for the audio block.
 * Button...............Specific styles for the button block.
 * Code.................Specific styles for the code block.
 * Columns..............Specific styles for the columns block.
 * Cover................Specific styles for the cover block.
 * File.................Specific styles for the file block.
 * Gallery..............Specific styles for the gallery block.
 * Group................Specific styles for the group block.
 * Heading..............Specific styles for the heading block.
 * Image................Specific styles for the image block.
 * Latest comments......Specific styles for the latest comments block.
 * Latest posts.........Specific styles for the latest posts block.
 * Legacy...............Specific styles for the legacy gallery.
 * List.................Specific styles for the list block.
 * Media text...........Specific styles for the media and text block.
 * Navigation...........Specific styles for the navigation block.
 * Paragraph............Specific styles for the paragraph block.
 * Pullquote............Specific styles for the pullquote block.
 * Quote................Specific styles for the quote block.
 * Search...............Specific styles for the search block.
 * Separator............Specific styles for the separator block.
 * Table................Specific styles for the table block.
 * Verse................Specific styles for the verse block.
 * Video................Specific styles for the video block.
 * Utilities............Block alignments.
 *
 * COMPONENTS
 * Header...............Header styles.
 * Footer...............Footer styles.
 * Comments.............Comment styles.
 * Archives.............Archive styles.
 * 404..................404 styles.
 * Search...............Search styles.
 * Navigation...........Navigation styles.
 * Footer Navigation....Footer Navigation styles.
 * Pagination...........Pagination styles.
 * Single...............Single page and post styles.
 * Posts and pages......Misc, sticky post styles.
 * Entry................Entry, author biography.
 * Widget...............Widget styles.
 * Editor...............Editor styles.
 *
 * UTILITIES
 * A11y.................Screen reader text, prefers reduced motion etc.
 * Color Palette........Classes for the color palette colors.
 * Editor Font Sizes....Editor Font Sizes.
 * Measure..............The width of a line of text, in characters.
 */

 .product_meta
 {
	display: none;
 }
 .woocommerce div.product
 {
	 margin-bottom: 58px !important;
 }
.price
{
 margin-bottom: 15px;
}
.yith-wcwl-add-to-wishlist-button
{
	display: block !important;
}
/* YITH wishlist icon + text alignment */
.yith-wcwl-add-to-wishlist-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Ensure icon stays on the left */
.yith-wcwl-add-to-wishlist-button svg {
    order: 1;
}

/* Text on the right */
.yith-wcwl-add-to-wishlist-button__label {
    order: 2;
}
.yith-wcwl-add-to-wishlist-button__label {
    font-size: 0;
}

.yith-wcwl-add-to-wishlist-button__label::after {
    content: "הוסף לרשימת משאלות";
    font-size: 14px;
}

.yith-wcwl-add-to-wishlist-button {
    direction: ltr !important;
}
/*.compare
{
display: none;	
}
.share-area .compare
{
display: block !important;	
}*/
/* Compare button layout fix for RTL */
.woocommerce .compare-button a.compare {
    display: inline-flex;
    align-items: center;
    direction: ltr; /* force icon on left */
    gap: 6px;
}

/* Icon before text */
.woocommerce .compare-button a.compare .label::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("../pillarofashion/images/refresh-icon.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Keep text Hebrew RTL */
.woocommerce .compare-button a.compare .label {
    direction: rtl;
}
.woocommerce .compare-button a.compare:hover .label::before {
    transform: rotate(180deg);
    transition: 0.3s;
}

.unq-wishlist-btn .yith-wcwl-add-to-wishlist-button__label
{
	display: none;
}
.unq-home-fashion_sec2 .yith-wcwl-add-to-wishlist-button__label
{
	display: none;
}
.wishlist-title h2
{
	display: none;
}
/* =====================================
   FIRST ATTRIBUTE – BUTTON SWATCH STYLE
   ===================================== */

/* Wrapper */
.variable-items-wrapper.button-variable-items-wrapper {
    display: flex;
    gap: 10px;
}

/* Button shape */
.variable-items-wrapper.button-variable-items-wrapper
.variable-item.button-variable-item {
    min-width: 48px;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px !important;
    border: 1px solid #d5d5d5;
    background: #ffffff;
    font-size: 14px !important;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    transition: all 0.25s ease;
}
.unq-sale .wishlist-btn .yith-wcwl-add-to-wishlist-button__label
{
 display: none;	
}
.unq-new_product .wishlist-btn .yith-wcwl-add-to-wishlist-button__label
{
 display: none;	
}
/* Contact Form Start */

.contact-box {
    max-width: 850px;
    margin: auto;
    background: #fff;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-radius: 10px;
}

.contact-box input,
.contact-box textarea {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}

.contact-box textarea {
    min-height: 150px;
    resize: none;
}

.btn-submit {
    background: #000;
    color: #fff;
    padding: 14px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.btn-submit:hover {
    background: #333;
}

.form-response {
    margin-top: 15px;
    font-weight: 600;
}
.validation-error
{
 color: red;
}

/* Contact Form End */
/* Start Header Mini Cart */

.cart_icon {
    position: relative;
    display: inline-block;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #212529;
    color: #fff;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-weight: 600;
}


/* End Header Mini Cart */
.wp-block-woocommerce-cart .wc-block-product-new
{
	display: none;
}
.wp-block-woocommerce-empty-cart-block .has-text-align-center
{
	display: none;
}
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title
{
   display: block !important;
}

/* =========================
   CHECKOUT FORM – INPUT TEXT & PLACEHOLDER (RTL)
========================= */

/* =========================
   WOOCOMMERCE BLOCKS – FORCE RTL INPUT BEHAVIOR
   (TEXT + PLACEHOLDER)
========================= */

/* ======================================
   WOO BLOCKS – FLOATING LABELS RTL FIX
   Move labels to RIGHT side
====================================== */

/* Force RTL container */
body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-blocks-components-select__container {
    direction: rtl !important;
}

/* INPUTS aligned right */
body.woocommerce-checkout 
.wc-block-components-text-input input,
body.woocommerce-checkout 
.wc-block-components-address-form textarea {
    text-align: right !important;
    direction: rtl !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
}

/* EMAIL & PHONE keep LTR typing but label RTL */
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"] {
    direction: ltr !important;
    text-align: right !important;
}

/* 🔥 FLOATING LABEL POSITION FIX */
body.woocommerce-checkout 
.wc-block-components-text-input label,
body.woocommerce-checkout 
.wc-blocks-components-select__label {
    right: 14px !important;
    left: auto !important;
    text-align: right !important;
    transform-origin: right top !important;
    direction: rtl !important;
}

/* When label is floating (active / filled) */
body.woocommerce-checkout 
.wc-block-components-text-input.is-active label,
body.woocommerce-checkout 
.wc-block-components-text-input.has-value label {
    transform: translateY(-1.2em) scale(0.85) !important;
}

/* SELECT (Country) */
body.woocommerce-checkout 
.wc-blocks-components-select__select {
    text-align: right !important;
    direction: rtl !important;
    padding-right: 14px !important;
}

/* Move dropdown arrow to LEFT (RTL correct) */
body.woocommerce-checkout 
.wc-blocks-components-select__expand {
    right: auto !important;
    left: 10px !important;
}

/* Validation error text RTL */
body.woocommerce-checkout 
.wc-block-components-validation-error {
    text-align: right !important;
    direction: rtl !important;
}

/* ======================================
   FORCE LABEL TOP POSITION (OVERRIDE INLINE)
====================================== */

/* Default label position */
body.woocommerce-checkout 
.wc-block-components-text-input label,
body.woocommerce-checkout 
.wc-blocks-components-select__label {
    /*top: 50% !important;*/
    transform: translateY(-50%) !important;
    right: 14px !important;
    left: auto !important;
    text-align: right !important;
    direction: rtl !important;
}

/* Floating label (when input active or has value) */
body.woocommerce-checkout 
.wc-block-components-text-input.is-active label,
body.woocommerce-checkout 
.wc-block-components-text-input.has-value label {
    top: 6px !important;
    transform: translateY(0) scale(0.85) !important;
    right: 14px !important;
    left: auto !important;
}



/* Address 2 toggle (+ הוסף דירה...) */
body.woocommerce-checkout 
.wc-block-components-address-form__address_2-toggle {
    direction: rtl !important;
    text-align: right !important;
    display: block;
}

/* Phone & email – keep numbers LTR but aligned right */
body.woocommerce-checkout 
input[type="email"],
body.woocommerce-checkout 
input[type="tel"] {
    direction: ltr !important;
    text-align: right !important;
}


/* =========================
   ADDRESS 2 TOGGLE – RIGHT SIDE
========================= */

body.woocommerce-checkout 
.wc-block-components-address-form__address_2-toggle {
    text-align: right !important;
    direction: rtl !important;
    display: block;
}


/* Start hide specific marketing opt-in text(checkout : I want to receive exclusive emails with discounts and product information or אני רוצה לקבל מיילים בלעדיים עם הנחות ומידע על מוצרים) */
/* Hide marketing emails opt-in checkbox on checkout */
body.woocommerce-checkout 
.wc-block-checkout__contact-fields 
.wc-block-components-checkbox {
    display: none !important;
}

/* End hide specific marketing opt-in text*/
.woocommerce-cart .entry-title {
    text-align: center;
}
.woocommerce-checkout .entry-title {
    text-align: center;
}
.footer-box .footer-social
{
	text-align: center;
}


/* =====================================
   COUPON TOGGLE – RTL (REAL FIX)
   Arrow LEFT | Text RIGHT
===================================== */

.wc-block-components-totals-coupon 
.wc-block-components-panel__button {
    position: relative;
    width: 100%;
    min-height: 56px;

    padding-right: 16px;
    padding-left: 48px; /* space for arrow */

    border: 1.5px solid #1e1e1e;
    border-radius: 8px;
    background: #fff;

    direction: rtl;
    text-align: right;

    display: flex;
    align-items: center;

    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

/* TEXT stays right naturally (RTL) */

/* ARROW → FORCE LEFT */
.wc-block-components-panel__button-icon {
    position: absolute !important;
    left: 16px;
    right: auto;

    width: 20px;
    height: 20px;

    transform: rotate(0deg);
}

/* Arrow rotate when open */
.wc-block-components-panel__button[aria-expanded="true"] 
.wc-block-components-panel__button-icon {
    transform: rotate(180deg);
}

/* Remove Woo focus styles */
.wc-block-components-panel__button:focus {
    outline: none;
    box-shadow: none;
}
/* =================================================
   FORCE COUPON DROPDOWN ICON → LEFT (RTL SAFE)
   Checkout + Cart
================================================= */

/* Button container */
.wc-block-components-totals-coupon 
.wc-block-components-panel__button {
    position: relative !important;
    padding-left: 50px !important;   /* space for icon */
    padding-right: 16px !important;

    direction: rtl !important;
    text-align: right !important;

    display: block !important;
}

/* FORCE SVG ICON LEFT */
.wc-block-components-totals-coupon 
.wc-block-components-panel__button 
svg.wc-block-components-panel__button-icon {
    position: absolute !important;
    left: 16px !important;
    right: auto !important;

    top: 50% !important;
    transform: translateY(-50%) rotate(0deg) !important;

    pointer-events: none;
}

/* Rotate arrow when open */
.wc-block-components-totals-coupon 
.wc-block-components-panel__button[aria-expanded="true"] 
svg.wc-block-components-panel__button-icon {
    transform: translateY(-50%) rotate(180deg) !important;
}
.wc-block-cart__totals-title
{
	text-align: right !important;
}
.product-area.p-70 .yith-wcwl-add-to-wishlist-button__label {
    display: none !important;
}
