/*
Theme Name: Rainbows Nail Art
Theme URI: http://localhost/rainbowsnailart/
Description: Custom theme for Rainbows Nail Art, combining Rainbows Nail Art and Rainbows Nail Art functionality.
Author: Antigravity
Author URI: https://google.com
Version: 1.0.0
Text Domain: rainbowsnailart
*/

/* Set default line height for font size presets. */

body {
    -webkit-font-smoothing: antialiased;
}

/* Set default line height for font size presets. */

.has-xx-large-font-size,
.has-xxx-large-font-size {
	line-height: 1;
}

/* Add a transition state for buttons. */

.wp-element-button {
    transition: border, background-color, color, box-shadow, opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(30px);
}

/* Fields */

label,
.jetpack-field-label .rich-text.jetpack-field-label__input,
.contact-form .grunion-checkbox-multiple-options legend, 
.contact-form .grunion-radio-options legend,
.wp-block-jetpack-contact-form-container .wp-block-jetpack-contact-form label {
    display: inline-block;
    font-size: var(--wp--preset--font-size--small);
    margin-bottom: 0.25em;
    font-weight: inherit;
}

textarea,
input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=range]),
.wp-block-post-comments-form textarea,
.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.jetpack-contact-form .jetpack-field .jetpack-field__input,
.jetpack-contact-form .jetpack-field .jetpack-field__textarea {
    backdrop-filter: saturate(1.075);
    background-color: transparent;
    border-color: currentColor;
    border-style: solid;
    border-radius: 6px;
    border-width: 1px;
    box-shadow: none;
    box-sizing: border-box;
    color: currentColor;
    filter: brightness(1.05);
    font-size: var(--wp--preset--font-size--small);
    font-weight: inherit;
    line-height: 1.5;
    min-height: 42px;
    padding: 0.8rem 1rem;
    width: 100%;
}

textarea:focus,
input:not([type=submit]):focus,
.wp-block-post-comments-form textarea:focus,
.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]):not([type=radio]):focus {
    outline: 1px solid currentColor;
}

textarea::placeholder,
.input::placeholder,
.wp-block-jetpack-subscriptions__form .components-base-control__field input::placeholder {
    color: color-mix(in srgb, currentColor 60%, transparent);
}

/* Padding adjustment for input fiedls in Woo */
.wc-block-components-form .wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-form .wc-block-components-text-input.is-active input[type=email],
.wc-block-components-form .wc-block-components-text-input.is-active input[type=number],
.wc-block-components-form .wc-block-components-text-input.is-active input[type=password],
.wc-block-components-form .wc-block-components-text-input.is-active input[type=tel],
.wc-block-components-form .wc-block-components-text-input.is-active input[type=text],
.wc-block-components-form .wc-block-components-text-input.is-active input[type=url],
.wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-text-input.is-active input[type=email],
.wc-block-components-text-input.is-active input[type=number],
.wc-block-components-text-input.is-active input[type=password],
.wc-block-components-text-input.is-active input[type=tel],
.wc-block-components-text-input.is-active input[type=text],
.wc-block-components-text-input.is-active input[type=url] {
    padding: 1.5em .5em .5em;
}


/* Jetpack Forms: Clean up errors */

.contact-form__error {
    font-size: 13px;
}

.contact-form__input-error {
	font-size: 13px;
    gap: 8px;
}

.contact-form__input-error .contact-form__warning-icon {
    border-width: 0;
}

/* Jetpack Forms: Animated block style tweaks */

.contact-form .is-style-animated .grunion-field-wrap.grunion-field-select-wrap .animated-label__label label,
.contact-form .is-style-animated .grunion-field-wrap .grunion-field.has-placeholder ~ .animated-label__label label,
.contact-form .is-style-animated .grunion-field-wrap .grunion-field:focus ~ .animated-label__label label,
.contact-form .is-style-animated .grunion-field-wrap .grunion-field:not(:placeholder-shown) ~ .animated-label__label label {
	opacity: 0.7;
    font-size: 11px;
}

/* Styling for hero areas. */
.header-cover .wp-block-template-part {
    max-width: none;
}

.header-cover .wp-block-template-part > .wp-block-group {
    padding-left: 0;
    padding-right: 0;
}

/* Cover block styles */
.wp-block-cover[class*="is-style-section"]:not(.is-style-default) .wp-block-cover__image-background {
    opacity: 0.25;
}

.wp-block-cover[class*="is-style-section"]:not(.is-style-default) .wp-block-cover__background {
    opacity: 0;
}

:root :where(.wp-block-cover.is-light){
    color: var(--wp--preset--color--theme-5, #000);
}

.wp-block-cover[class*="is-style-section"]:not(.is-style-default) .wp-block-cover__background {
    opacity: 0;
}

/* Make sure footers have no margin. */
footer {
	margin-top: 0 !important;
}

/* Social Links: Better default color. */

.wp-block-social-links.is-style-logos-only li.wp-social-link {
	color: currentcolor;
}

.wp-block-social-links.is-style-logos-only .wp-social-link svg {
	height: 1em;
	width: 1em;
}

.wp-block-social-links.has-small-icon-size {
	font-size: 20px;
}

/* Navigation: Remove row gap to improve wrapping behavior */
.wp-block-navigation__container {
    row-gap: 0;
}

/* Move header core/navigation to the right on mobile. */

.order-0 {
	order: 0;
}

.order-1 {
	order: 1;
}

.grow-0 {
	flex-grow: 0;
}

.grow {
	flex-grow: 1;
}

@media (min-width: 600px) {

	.md\:order-0 {
		order: 0;
	}

	.md\:order-1 {
		order: 1;
	}

	.md\:grow-0 {
		flex-grow: 0;
	}

	.md\:grow {
		flex-grow: 1;
	}

}

.overflow-hidden {
	overflow: hidden;
}

/* Utility class for wide and full images with aspect ratios, as core does not support this yet. */
.aspect-16\/9 {
	aspect-ratio: 16/9;
}

.aspect-16\/9 img,
.aspect-16\/9 .components-placeholder {
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Ensure cropping works. */
.aspect-16\/9 .wp-block-image__crop-area,
.aspect-16\/9 .wp-block-image__crop-area img {
	aspect-ratio: unset;
}

/* WooCommerce Catalog Sorting Styles */
.wc-block-catalog-sorting {
    position: relative;
}

.wc-block-catalog-sorting > div,
.wc-block-catalog-sorting .woocommerce-ordering {
    align-items: center;
    display: flex;
    gap: 8px;
}

.wc-block-catalog-sorting > div >label,
.woocommerce .woocommerce-ordering > label {
    margin: 0;
    text-wrap: nowrap;
}

.wc-block-catalog-sorting select.orderby {
    appearance: none;
    background-color: transparent;
    border: 1px solid color-mix(in srgb, currentColor 50%, transparent);
    font-family: inherit;
    font-size: inherit;
    border-radius: 6px;
    color: currentColor;
    cursor: pointer;
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
    width: 100%;
}

/* Arrow using CSS triangle for dynamic color */
.wc-block-catalog-sorting::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 0.35em solid transparent;
    border-right: 0.35em solid transparent;
    border-top: 0.4em solid currentColor;
    pointer-events: none;
}

/* Make sure the CSS triangle stays the same when it's hovered or selected */
.is-outline-mode .block-editor-block-list__block.wc-block-catalog-sorting:not(.remove-outline):not(.rich-text):not([contenteditable=true]).is-selected:after,
.is-outline-mode .block-editor-block-list__block.wc-block-catalog-sorting:not(.remove-outline).is-hovered:not(.is-selected):after {
    left: auto;
    outline-color: transparent;
    right: 0.75rem;
    top: 50%;
}

/* Remove the paddings so the setting for sale badge is respected */
.wc-block-components-product-image__inner-container {
    padding: 0;
}

/* Remove an extra border from the qty selector */
.wc-block-components-quantity-selector input.input-text.qty.text,
input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=range]).wc-block-components-quantity-selector__input {
    border-style: none;
}

/* Reset padding for the qty selector */
input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=range]).qty {
    padding: inherit;
}

/* Remove unwated right margin the qty selector */
.woocommerce div.product form.cart div.quantity .qty {
    margin-right: 0;
}

/* Fix the qty selector height so it matches with the button next to it */
.wp-block-add-to-cart-with-options .wc-block-components-quantity-selector {
    height: 100%;
}

/* Make sure the qty selector's height is the same as the button next to it in the editor */
.wc-block-add-to-cart-with-options__quantity-selector > div,
.wc-block-add-to-cart-with-options__quantity-selector .wc-block-components-quantity-selector {
    height: 100%;
}

/* Remove unnecessary bottom margin from the variation selector labels */
.woocommerce-page label.wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute-name,
.woocommerce-page label.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill {
    margin-bottom: 0;
}

/* Remove unwanted top margin from the title of the order confirmation page template */
.wc-block-order-confirmation-status h1 {
    margin-top: 0;
}

/* Add top margin to the express checkout */
.wcpay-express-checkout-wrapper {
    margin-top: var(--wp--style--block-gap);
}

/* Remove unwanted margin from the attribute value */
.wp-block-product-specifications-item__value p {
    margin: 0;
}

/* Remove underline from the attribute value */
.wp-block-product-specifications-item__value p a {
    text-decoration: none;
}

.wp-block-woocommerce-product-specifications th,
.wp-block-woocommerce-product-specifications td {
    border-color: color-mix(in srgb, currentColor 30%, transparent);
}

/* Reset unwanted margins */
.wc-block-components-product-summary,
.wc-block-components-product-summary p {
    margin: 0;
}

/* Make sure the paragraph has a line break */
.wc-block-components-product-summary p + p {
    margin-top: var(--wp--style--block-gap);
}

/* Remove underline from the product name inside cart */
.wc-block-cart-item__wrap .wc-block-components-product-name {
    text-decoration: none;
}

/* Utility class for reversing the order of rows */
@media (min-width: 782px) {
    .wp-block-columns.row-reverse {
        flex-direction: row-reverse;
    }
}

.wp-block-woocommerce-product-collection h2.wp-block-heading {
    font-size:var(--wp--preset--font-size--large,32px);
}


/* CHILD THEME OVERRIDES */

body {
    -webkit-font-smoothing: antialiased;
}

/*
 * Link styles
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .2em;
}

/*
 * WooCommerce Product Titles
 */
.wc-block-product h2,
.wc-block-product h3 {
    font-family: var(--wp--preset--font-family--jost);
    font-size: var(--wp--preset--font-size--x-small) !important;
    font-weight: 400 !important;
}

/*
 * Button hover styles
 */
.wp-block-button__link:hover { 
	background-color: var(--wp--preset--color--theme-5); 
	color: var(--wp--preset--color--theme-1);
}

:root :where(.wp-element-button, .wp-block-button__link):hover {
	color: var(--wp--preset--color--theme-1);
}

/*
 * Sidebar Layout for Shop Page
 */
.wp-block-columns.alignwide {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 2.5rem !important;
}

@media (min-width: 782px) {
	.wp-block-columns.alignwide {
		flex-wrap: nowrap !important;
	}
	.wp-block-column[style*="flex-basis:25%"] {
		flex: 0 0 25% !important;
		max-width: 25% !important;
		min-width: 250px !important;
	}
	.wp-block-column[style*="flex-basis:75%"] {
		flex: 1 1 75% !important;
		max-width: 100% !important;
	}
}

/* Sidebar filter items styling */
.wp-block-column .wp-block-group {
	padding: 1.5rem;
	background: #fdfcfb;
	border: 1px solid #f4f0ec;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

/* Header/Titles of filters */
.wp-block-column h3,
.wp-block-column .wc-block-product-categories__title,
.wp-block-column .wc-block-product-filter__title {
	font-family: var(--wp--preset--font-family--jost) !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	margin-top: 0 !important;
	margin-bottom: 1.25rem !important;
	color: #333 !important;
	border-bottom: 2px solid var(--wp--preset--color--theme-2, #ebd6c8);
	padding-bottom: 0.5rem;
}

/* Category Filter specific styles */
.wc-block-product-categories-list {
	list-style: none !important;
	padding-left: 0 !important;
	margin: 0 !important;
}

.wc-block-product-categories-list-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0 !important;
	border-bottom: 1px dashed #e6dfd9;
	font-size: 0.9rem !important;
	color: #666;
}

.wc-block-product-categories-list-item a {
	color: #555 !important;
	text-decoration: none !important;
	font-family: var(--wp--preset--font-family--jost) !important;
}

.wc-block-product-categories-list-item a:hover {
	color: var(--wp--preset--color--theme-5, #d27d2d) !important;
	text-decoration: none !important;
}

.wc-block-product-categories-list-item-count {
	font-size: 0.75rem !important;
	background: #ebd6c8 !important;
	color: #333 !important;
	padding: 0.2rem 0.5rem !important;
	border-radius: 12px !important;
	font-weight: 500;
}

/* Interactivity API Slider/Checkboxes adjustments */
.wc-block-components-price-slider, 
.wc-block-product-filter-price-slider {
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
}

.wc-block-components-price-slider__range-input-wrapper {
	background: #ebd6c8 !important;
}

.wc-block-components-price-slider__range-input-progress {
	background: var(--wp--preset--color--theme-5, #d27d2d) !important;
}

.wc-block-components-price-slider__controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 0.75rem;
	font-size: 0.85rem;
}

.wc-block-components-price-slider__text-input {
	border: 1px solid #dcd1c4 !important;
	border-radius: 4px !important;
	padding: 0.25rem 0.5rem !important;
	max-width: 60px;
	text-align: center;
}

/* Stock status and Rating checkboxes and labels */
.wc-block-components-checkbox-list-item,
.wc-block-components-radio-control,
.wc-block-components-checkbox {
	margin-bottom: 0.5rem !important;
}

.wc-block-components-checkbox-list-item label {
	font-size: 0.9rem !important;
	color: #555 !important;
	cursor: pointer;
}

.wc-block-components-checkbox-list-item input[type="checkbox"] {
	border-color: #dcd1c4 !important;
	border-radius: 4px !important;
	cursor: pointer;
}

.wc-block-components-checkbox-list-item input[type="checkbox"]:checked {
	background-color: var(--wp--preset--color--theme-5, #d27d2d) !important;
	border-color: var(--wp--preset--color--theme-5, #d27d2d) !important;
}

/* WooCommerce Interactive Filters Desktop Inline Overrides */
@media (min-width: 782px) {
	/* Hide the mobile drawer open button */
	.wc-block-product-filters__open-overlay {
		display: none !important;
	}

	/* Reset overlay positioning to make it inline */
	.wc-block-product-filters__overlay {
		position: static !important;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		transform: none !important;
		background: transparent !important;
		width: auto !important;
		height: auto !important;
		pointer-events: auto !important;
		z-index: auto !important;
		box-shadow: none !important;
		transition: none !important;
	}

	/* Reset overlay wrapper */
	.wc-block-product-filters__overlay-wrapper {
		position: static !important;
		transform: none !important;
		width: auto !important;
		height: auto !important;
		background: transparent !important;
		padding: 0 !important;
	}

	/* Reset overlay dialog */
	.wc-block-product-filters__overlay-dialog {
		position: static !important;
		display: block !important;
		width: auto !important;
		height: auto !important;
		background: transparent !important;
		box-shadow: none !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	/* Hide close button header and apply footer on desktop */
	.wc-block-product-filters__overlay-header,
	.wc-block-product-filters__overlay-footer {
		display: none !important;
	}

	/* Ensure content behaves statically */
	.wc-block-product-filters__overlay-content {
		display: block !important;
		padding: 0 !important;
		overflow: visible !important;
	}

	/* Show hidden active/stock/rating filters if they contain data */
	.wc-block-product-filters__overlay-content .wc-block-product-filter--hidden {
		display: block !important;
	}
}

/* Specific styling for filter headers inside the interactivity wrapper */
.wc-block-product-filters__overlay-content .wc-block-product-filter h3,
.wc-block-product-filters__overlay-content .wp-block-woocommerce-product-filter-active h3,
.wc-block-product-filters__overlay-content .wp-block-woocommerce-product-filter-price h3,
.wc-block-product-filters__overlay-content .wp-block-woocommerce-product-filter-status h3,
.wc-block-product-filters__overlay-content .wp-block-woocommerce-product-filter-rating h3 {
	font-family: var(--wp--preset--font-family--jost) !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	margin-top: 1.5rem !important;
	margin-bottom: 1.25rem !important;
	color: #333 !important;
	border-bottom: 2px solid var(--wp--preset--color--theme-2, #ebd6c8);
	padding-bottom: 0.5rem;
}

/* Adjust vertical spacing between filters */
.wc-block-product-filters__overlay-content > div {
	margin-bottom: 2rem !important;
}

/* WooCommerce My Account Page Styling */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 0 8px 0 !important;
	padding: 0 !important;
	border: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li::before {
	content: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 18px;
	background: #fbf7f4;
	color: #333;
	text-decoration: none;
	font-weight: 500;
	font-family: var(--wp--preset--font-family--jost), sans-serif;
	border-radius: 6px;
	border: 1px solid #ebd6c8;
	transition: all 0.2s ease-in-out;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: #ebd6c8;
	color: #000;
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--wp--preset--color--theme-5, #d27d2d) !important;
	border-color: var(--wp--preset--color--theme-5, #d27d2d) !important;
	color: #fff !important;
}

@media (min-width: 768px) {
	.woocommerce-account .woocommerce {
		display: flex;
		gap: 3rem;
		align-items: flex-start;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation {
		flex: 0 0 240px;
		margin-bottom: 0;
	}
	.woocommerce-account .woocommerce-MyAccount-content {
		flex: 1;
	}
}

/* Account Details and Addresses Forms */
.woocommerce-account .woocommerce-MyAccount-content address {
	border: 1px solid #ebd6c8;
	border-radius: 8px;
	padding: 20px;
	background: #fbf7f4;
	font-style: normal;
	line-height: 1.6;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #ebd6c8;
	border-radius: 8px;
	overflow: hidden;
	margin-top: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table th {
	background: #fbf7f4;
	padding: 12px 16px;
	font-weight: 600;
	border-bottom: 2px solid #ebd6c8;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
	padding: 14px 16px;
	border-bottom: 1px solid #ebd6c8;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button,
.woocommerce-account .woocommerce-MyAccount-content .button {
	display: inline-block;
	background: var(--wp--preset--color--theme-5, #d27d2d);
	color: #fff;
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button:hover,
.woocommerce-account .woocommerce-MyAccount-content .button:hover {
	opacity: 0.9;
	color: #fff;
}

/* Page Spacing: Add breathing room between header, body content, and footer */
body:not(.home) .site-content {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

@media (min-width: 768px) {
	body:not(.home) .site-content {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}
}

/* Page Width Constraints: Make Cart, Checkout & My Account pages match exactly (1200px max width & centered) */
.woocommerce-account .woocommerce,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	max-width: 1200px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100% !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
	box-sizing: border-box !important;
}

@media (min-width: 768px) {
	.woocommerce-account .woocommerce,
	.wp-block-woocommerce-cart,
	.wp-block-woocommerce-checkout {
		padding-left: 40px !important;
		padding-right: 40px !important;
	}
}

@media (min-width: 1280px) {
	.woocommerce-account .woocommerce,
	.wp-block-woocommerce-cart,
	.wp-block-woocommerce-checkout {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/*
 * Header Single Row Responsive Layout
 */
.site-header-nav-wrapper {
	width: 100% !important;
	max-width: none !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

.site-header-nav-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}

.header-logo-section {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 30%;
	justify-content: flex-start;
}

.header-logo-section .wp-block-site-title {
	margin: 0 !important;
}

.header-logo-section .wp-block-site-title a {
	font-family: var(--wp--preset--font-family--jost), sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
}

.header-menu-section {
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1 1 40%;
}

.header-menu-section .wp-block-navigation {
	display: flex;
	justify-content: center;
}

.header-menu-section .wp-block-navigation__container {
	display: flex;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}

.header-right-section {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	flex: 1 1 30%;
}

.header-right-section .wc-block-customer-account {
	display: flex;
	align-items: center;
}

/* Responsiveness for tablets and mobile devices */
@media (max-width: 991px) {
	.header-menu-section .wp-block-navigation__container {
		gap: 15px;
	}
}

@media (max-width: 768px) {
	.site-header-nav-row {
		flex-wrap: wrap;
		gap: 12px;
	}
	
	.header-logo-section {
		flex: 1 1 50%;
	}
	
	.header-right-section {
		flex: 1 1 40%;
	}
	
	.header-menu-section {
		flex: 1 1 100%;
		order: 3;
		margin-top: 10px;
		justify-content: center;
	}
	
	.header-menu-section .wp-block-navigation__container {
		gap: 20px;
	}
}

/* Sticky Header styling */
.site-header {
	position: sticky !important;
	top: 0 !important;
	z-index: 9999 !important;
}

/* Adjust header top position if WordPress Admin Bar is present */
.admin-bar .site-header {
	top: 32px !important;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px !important;
	}
}

/*
 * Footer Full Width and Styles
 */
.site-footer {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

.wc-blocks-pattern-footer-large {
	width: 100% !important;
	max-width: none !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

/* Ensure inner columns block is not restricted in width, to align exactly with header */
.site-footer .wp-block-columns {
	max-width: 100% !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Ensure inner group backgrounds inside footer columns are transparent */
.site-footer .wp-block-column .wp-block-group {
	background-color: transparent !important;
	background: transparent !important;
	padding: 0 !important;
	border: none !important;
	box-shadow: none !important;
}

/* Better spacing and sizing for site-logo inside footer */
.site-footer .wp-block-site-logo img {
	max-width: 150px;
	height: auto;
}

/* Site Title styling inside footer */
.site-footer .wp-block-site-title a {
	font-family: var(--wp--preset--font-family--jost), sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
}

/* Remove padding-top from shop and product pages */
body.woocommerce-shop .site-content,
body.single-product .site-content,
body.tax-product_cat .site-content,
body.tax-product_tag .site-content {
	padding-top: 0 !important;
}

/*
 * WooCommerce Login & Register Page Custom Styles
 */

/* Container constraints and centering */
body.woocommerce-account .woocommerce {
	max-width: 1100px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 24px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* Override Gutenberg block limits on WooCommerce pages to allow wider layouts */
body.woocommerce-account .site-main > *,
body.woocommerce-cart .site-main > *,
body.woocommerce-checkout .site-main > *,
body.woocommerce-account .entry-content > *,
body.woocommerce-cart .entry-content > *,
body.woocommerce-checkout .entry-content > * {
	max-width: 1200px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.my-account-custom-wrapper {
	display: flex !important;
	flex-wrap: wrap !important;
	background: #ffffff !important;
	border: 1px solid #ebd6c8 !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
	margin-top: 2rem !important;
	margin-bottom: 4rem !important;
	max-width: 1000px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100% !important;
}

/* Columns */
.my-account-image-column {
	flex: 1 1 420px !important;
	background: #fbf7f4 !important;
	position: relative !important;
	min-height: 450px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: hidden !important;
}

.my-account-image-column img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
}

.my-account-form-column {
	flex: 1 1 420px !important;
	padding: 3rem !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	box-sizing: border-box !important;
}

/* Tabs Navigation */
.my-account-tabs {
	display: flex !important;
	border-bottom: 2px solid #ebd6c8 !important;
	margin-bottom: 2.5rem !important;
	gap: 2rem !important;
}

.my-account-tab-btn {
	background: none !important;
	border: none !important;
	padding: 0 0 10px 0 !important;
	font-family: var(--wp--preset--font-family--jost), sans-serif !important;
	font-size: 1.1rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	color: #888 !important;
	cursor: pointer !important;
	position: relative !important;
	transition: all 0.25s ease !important;
}

.my-account-tab-btn:hover {
	color: #222 !important;
}

.my-account-tab-btn.active {
	color: var(--wp--preset--color--theme-5, #405064) !important;
}

.my-account-tab-btn.active::after {
	content: '' !important;
	position: absolute !important;
	bottom: -2px !important;
	left: 0 !important;
	width: 100% !important;
	height: 2px !important;
	background: var(--wp--preset--color--theme-5, #405064) !important;
}

/* Tab panes toggling */
.my-account-tab-pane {
	display: none !important;
}

.my-account-tab-pane.active {
	display: block !important;
}

/* Reset form card styling since wrapper already handles borders/background */
.my-account-form-column form.woocommerce-form-login,
.my-account-form-column form.woocommerce-form-register {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	box-shadow: none !important;
	gap: 1.5rem !important;
	display: flex !important;
	flex-direction: column !important;
	box-sizing: border-box !important;
	width: 100% !important;
}

/* Form controls (labels & inputs) */
.my-account-form-column .woocommerce-form-row {
	margin-bottom: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 0.5rem !important;
	width: 100% !important;
}

.my-account-form-column label {
	font-family: var(--wp--preset--font-family--jost), sans-serif !important;
	font-size: 0.8rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	font-weight: 600 !important;
	color: #444 !important;
	margin-bottom: 0 !important;
}

.my-account-form-column input[type="text"],
.my-account-form-column input[type="email"],
.my-account-form-column input[type="password"] {
	background: #fbf7f4 !important;
	border: 1px solid #ebd6c8 !important;
	border-radius: 6px !important;
	padding: 0.85rem 1rem !important;
	font-size: 0.95rem !important;
	font-family: inherit !important;
	color: #333 !important;
	transition: all 0.25s ease-in-out !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.my-account-form-column input[type="text"]:focus,
.my-account-form-column input[type="email"]:focus,
.my-account-form-column input[type="password"]:focus {
	background: #ffffff !important;
	border-color: var(--wp--preset--color--theme-5, #d27d2d) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(210, 125, 45, 0.15) !important;
}

/* Password Input field alignment and eye-icon */
.my-account-form-column .woocommerce-form-row--wide {
	position: relative !important;
}

.my-account-form-column .password-input {
	display: block !important;
	position: relative !important;
	width: 100% !important;
}

.my-account-form-column .show-password-input {
	position: absolute !important;
	right: 15px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	cursor: pointer !important;
	z-index: 10 !important;
}

/* Form actions alignment: remember me and login button */
.my-account-form-column .form-row-actions {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: wrap !important;
	gap: 1rem !important;
	margin-top: 0.5rem !important;
}

.my-account-form-column .woocommerce-form-login__rememberme {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	cursor: pointer !important;
	font-size: 0.9rem !important;
	margin: 0 !important;
	color: #555 !important;
}

.my-account-form-column .woocommerce-form-login__rememberme input[type="checkbox"] {
	margin: 0 !important;
	border-radius: 4px !important;
	border: 1px solid #ebd6c8 !important;
	cursor: pointer !important;
}

.my-account-form-column .woocommerce-LostPassword a {
	color: var(--wp--preset--color--theme-5, #d27d2d) !important;
	text-decoration: none !important;
	font-weight: 500 !important;
}

.my-account-form-column .woocommerce-LostPassword a:hover {
	text-decoration: underline !important;
}

/* Submit Buttons */
.my-account-form-column button[type="submit"] {
	background: var(--wp--preset--color--theme-5, #d27d2d) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 0.9rem 2rem !important;
	font-family: var(--wp--preset--font-family--jost), sans-serif !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	cursor: pointer !important;
	transition: all 0.25s ease-in-out !important;
	width: auto !important;
	min-width: 160px !important;
	margin-top: 0 !important;
}

.my-account-form-column button[type="submit"]:hover {
	background: color-mix(in srgb, var(--wp--preset--color--theme-5) 85%, #000) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.my-account-form-column button[type="submit"]:active {
	transform: translateY(1px) !important;
}

/* Registration Form Extra text styling */
.my-account-form-column .woocommerce-privacy-policy-text,
.my-account-form-column .register p {
	font-size: 0.85rem !important;
	line-height: 1.5 !important;
	color: #666 !important;
	margin: 0 !important;
}

.my-account-form-column .woocommerce-privacy-policy-text a,
.my-account-form-column .register p a {
	color: var(--wp--preset--color--theme-5, #d27d2d) !important;
	text-decoration: none !important;
	font-weight: 500 !important;
}

.my-account-form-column .woocommerce-privacy-policy-text a:hover,
.my-account-form-column .register p a:hover {
	text-decoration: underline !important;
}

/* responsive media queries */
@media (max-width: 991px) {
	.my-account-custom-wrapper {
		flex-direction: column !important;
		margin-bottom: 2rem !important;
	}
	.my-account-image-column {
		min-height: 300px !important;
	}
	.my-account-form-column {
		padding: 2.5rem !important;
	}
}







