/* 
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
*/

/* Add your custom styles here */

/* Hide "no results" message by default, show only when search has no results */
.no-results-show {
	display: none;
}
body.search-no-results .no-results-show {
	display: block;
}

/* My Account → Addresses: keep the "להוסיף כתובת משלוח" link on one line.
   The Elementor Pro widget sets the .edit link to position:absolute, which
   collapses long Hebrew text into per-word vertical wraps. */
.shooka-account-wrap a.edit,
.woocommerce-Address-title .edit {
	white-space: nowrap;
}

/* Extra shipping addresses — list, cards, picker, form */
.shooka-addresses {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.shooka-addresses .shooka-address-card {
	width: 100%;
	flex: 1 1 auto;
	background: #fff;
	border: 1px solid #e6e6ee;
	border-radius: 8px;
	padding: 20px 40px 10px;
}
.shooka-addresses .shooka-address-card address {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	font-style: normal !important;
	background: transparent !important;
	border-radius: 0 !important;
}
/* Address card header: title hugs the right edge with the action links
   (edit/delete) sitting immediately to its left. Use text-align + inline-block
   children instead of flex to avoid a 12px gap the flexbox engine inserts at
   the start edge in some layouts. */
.shooka-addresses .woocommerce-Address-title {
	display: block;
	text-align: right;
	margin: 0 0 6px !important;
	padding: 0;
	position: relative;
}
.shooka-addresses .woocommerce-Address-title h2 {
	display: inline-block;
	margin: 0 !important;
	padding: 0 !important;
	vertical-align: middle;
}
.shooka-addresses .woocommerce-Address-title .shooka-account-wrap,
.shooka-addresses .woocommerce-Address-title > .edit,
.shooka-address-card__actions {
	display: inline-block;
	vertical-align: middle;
	margin-inline-start: 12px;
}
.shooka-address-card__actions {
	display: inline-flex;
	gap: 12px;
}
.shooka-addresses .woocommerce-Address-title .edit,
.shooka-addresses .woocommerce-Address-title .delete {
	position: static !important;
	float: none !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	white-space: nowrap;
	color: #0979a5 !important;
	transition: color .15s ease;
}
.shooka-addresses .woocommerce-Address-title .edit:hover,
.shooka-addresses .woocommerce-Address-title .edit:focus,
.shooka-addresses .woocommerce-Address-title .delete:hover,
.shooka-addresses .woocommerce-Address-title .delete:focus {
	color: #59caf6 !important;
}
.shooka-addresses .woocommerce-Address-title > a.edit {
	margin-inline-start: 12px !important;
	margin-inline-end: 0 !important;
}
.shooka-address-card__actions a.delete {
	color: #b00020;
}
.shooka-address-actions {
	margin-top: 16px;
}
.shooka-add-address,
a.shooka-add-address,
.shooka-address-actions a.shooka-add-address {
	display: inline-block;
	background-color: #59caf6 !important;
	color: #fff !important;
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none !important;
	border: 1px solid #59caf6 !important;
	transition: background-color .15s ease, border-color .15s ease;
}
.shooka-add-address:hover,
.shooka-add-address:focus,
a.shooka-add-address:hover,
a.shooka-add-address:focus,
.shooka-address-actions a.shooka-add-address:hover,
.shooka-address-actions a.shooka-add-address:focus {
	background-color: #51bbe5 !important;
	border-color: #51bbe5 !important;
	color: #fff !important;
}
.shooka-cart-address-picker {
	margin: 16px 0;
	/* own card with a light-blue fill so the white select field stands out */
	padding: 36px 18px;
	background: #e7f4fd;
	border-radius: 8px;
}
.shooka-cart-address-picker label {
	display: block;
	font-weight: 600;
	margin-bottom: 12px;
}
.shooka-cart-address-picker select {
	width: 100%;
	max-width: 420px;
	/* extra left padding (RTL) leaves room for the custom arrow */
	padding: 10px 12px 10px 40px;
	border: 1px solid #c9c9d6;
	border-radius: 8px;
	background-color: #fff !important;
	color: #333;
	font-size: 1.2rem !important;
	line-height: 1.3;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	/* custom chevron, kept off the left edge so it isn't flush against the side */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%230979a5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M2 4.5l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 14px center;
	background-size: 12px;
}
.shooka-cart-address-picker select:hover {
	border-color: #59caf6;
}
.shooka-cart-address-picker select:focus {
	border-color: #59caf6;
	outline: none;
	box-shadow: 0 0 0 3px rgba(89, 202, 246, .25);
}
.shooka-address-help {
	margin-top: 10px;
	margin-bottom: 0;
	font-size: .9em;
}
.shooka-address-help a {
	text-decoration: underline;
}
/* Thank-you page: chosen shipping address card (matches the cart picker). */
.shooka-thankyou-shipping {
	background: #e7f4fd;
	border-radius: 8px;
	padding: 20px 24px;
	margin: 0 0 24px;
}
.shooka-thankyou-shipping h2 {
	margin: 0 0 10px;
	font-size: 1.1rem;
	font-weight: 600;
}
.shooka-thankyou-shipping address {
	margin: 0;
	font-style: normal;
	line-height: 1.6;
}

.shooka-notice {
	padding: 10px 14px;
	border-radius: 6px;
	margin-bottom: 16px;
}
.shooka-notice--success { background: #e8f5e9; color: #1b5e20; }
.shooka-notice--error   { background: #fdecea; color: #b00020; }

/* Wrap the add/edit form in a white card, matching the address cards. */
.shooka-extra-address-form {
	background: #fff;
	border: 1px solid #e6e6ee;
	border-radius: 8px;
	padding: 24px 28px;
}
.shooka-extra-address-form .shooka-form-actions {
	margin-top: 16px;
	display: flex;
	align-items: center;
	gap: 18px;
	line-height: 1;
}
.shooka-extra-address-form .shooka-form-actions button,
.shooka-extra-address-form .shooka-form-actions .shooka-cancel-link {
	margin: 0 !important;
}
.shooka-extra-address-form .shooka-cancel-link {
	color: #6c757d !important;
	text-decoration: none;
	transition: color .15s ease;
	line-height: 1;
}
.shooka-extra-address-form .shooka-cancel-link:hover,
.shooka-extra-address-form .shooka-cancel-link:focus {
	color: #0979a5 !important;
}

/* Single-product gallery zoom trigger (the magnifying-glass icon) ships with
   z-index:99 and was painting on top of the header's open nav dropdown at the
   top of the page — there the sticky header isn't active yet, so it has no
   z-index of its own. Give the header location its own stacking context above
   the trigger. */
.elementor-location-header {
	position: relative;
	z-index: 999;
}

/* WooCommerce success notice — blue theme (overrides WC core green #8fae1b on grey #f6f5f8) */
.woocommerce-message {
	border-top-color: #59caf6 !important;
	background-color: #e7f4fd !important;
}
.woocommerce-message::before {
	color: #59caf6 !important;
}

