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

/* ==========================================================================
   Contact Us page (page 73) – HTML Forms form "contact" (ID 34922)
   Matches the Shopify contact page layout.
   ========================================================================== */
.hf-form-34922 .hf-fields-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.hf-form-34922 .hf-fields-wrap > p { margin: 0; }
.hf-form-34922 .hf-full { grid-column: 1 / -1; }
.hf-form-34922 input[type="text"],
.hf-form-34922 input[type="email"],
.hf-form-34922 input[type="tel"],
.hf-form-34922 textarea {
	width: 100%;
	height: 47px;
	padding: 0 20px;
	border: 1px solid rgba(18, 18, 18, 0.75);
	border-radius: 0;
	background: #fff;
	color: #121212;
	font-size: 16px;
	letter-spacing: 0.04em;
	box-shadow: none;
}
.hf-form-34922 textarea {
	height: 102px;
	min-height: 102px;
	padding: 14px 20px;
	resize: vertical;
}
.hf-form-34922 input::placeholder,
.hf-form-34922 textarea::placeholder { color: rgba(18, 18, 18, 0.75); opacity: 1; }
.hf-form-34922 input:focus,
.hf-form-34922 textarea:focus { border-color: #121212; outline: 1px solid #121212; outline-offset: 0; }
.hf-form-34922 .hf-submit { margin-top: 20px; }
.hf-form-34922 input[type="submit"] {
	min-width: 122px;
	height: 47px;
	padding: 0 40px;
	border: 0;
	border-radius: 0;
	background: #121212;
	color: #fff;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: none;
	cursor: pointer;
}
.hf-form-34922 input[type="submit"]:hover { background: #333; }
.hf-form-34922 .hf-message { margin-top: 20px; }

.eshore-contact-info p { margin-bottom: 14px; color: rgba(18, 18, 18, 0.75); letter-spacing: 0.06em; }
.eshore-contact-info strong { color: rgba(18, 18, 18, 0.85); }
.eshore-contact-info a { color: inherit; }
.eshore-contact-info a:hover { text-decoration: underline; }

@media (max-width: 749px) {
	.hf-form-34922 .hf-fields-wrap { grid-template-columns: 1fr; }
}

/* Tunnel Rentals page (page 37615, /tunnel-rental/) */
.eshore-tunnel .eshore-tunnel-rent img { border: 1px solid rgba(18, 18, 18, 0.08); padding: 0; }
.eshore-tunnel .elementor-widget-image img { max-width: 100%; height: auto; }

/* Homepage (page 120): collection list under the brand logos (Shopify collection_list section) */
.e-con.eshore-home-collections { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 1100px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.eshore-coll-card > .elementor-widget { align-self: stretch !important; width: auto !important; min-width: 0; max-width: 100%; }
.eshore-coll-card .elementor-widget-container { min-width: 0; }
.eshore-coll-card .elementor-widget-image { margin: 0 35px; }
.eshore-coll-card .elementor-widget-image a { display: block; line-height: 0; }
.eshore-coll-card .elementor-widget-image img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #f3f3f3; }
.eshore-coll-card .elementor-widget-heading { margin: 17px 35px 0; }
.eshore-coll-card .elementor-heading-title a { color: inherit; }
.eshore-coll-card .elementor-heading-title a:hover { text-decoration: underline; }
@media (max-width: 749px) {
	.e-con.eshore-home-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Shopify keeps 35px image padding on phones (106px images); smaller here so the titles fit and the images are bigger */
	.eshore-coll-card .elementor-widget-image { margin: 0 15px; }
	.eshore-coll-card .elementor-widget-heading { margin: 12px 15px 0; }
}

/* Shop + category pages (woodmart_layout 1048 "Products archive - EDC", loop = "base" hover): look like the Shopify collection page.
   Shopify: 4 cols desktop (8px gap) / 2 on tablet / 2 on phone (4px gap), card = image, title 18px, price, no hover effects, no sidebar. */
.eshore-coll-grid .products.wd-grid-g { --wd-gap-lg: 8px !important; --wd-gap-md: 8px !important; --wd-gap-sm: 4px !important; --wd-gap-xs: 4px !important; gap: 8px; }
@media (max-width: 768.98px) { .eshore-coll-grid .products.wd-grid-g { gap: 4px; } }
.eshore-coll-grid .wd-product .wd-product-card-bg { display: none; }
.eshore-coll-grid .wd-product .wd-product-wrapper,
.eshore-coll-grid .wd-product .product-element-bottom,
.eshore-coll-grid .wd-product .wd-entities-title { text-align: left; }
.eshore-coll-grid .wd-product .wd-product-wrapper { box-shadow: none; background: none; }
.eshore-coll-grid .wd-product .product-element-bottom { padding: 17px 10px 0 0; }
.eshore-coll-grid .wd-product .wd-entities-title { font-size: 18px; font-weight: 400; }
.eshore-coll-grid .wd-product .price { color: #121212; font-size: 16px; }
.eshore-coll-grid .wd-product .price del { color: rgba(18, 18, 18, .6); }
.eshore-coll-grid .wd-product .fade-in-block,
.eshore-coll-grid .wd-product .wd-buttons,
.eshore-coll-grid .wd-product .wd-bottom-actions { display: none !important; }
.eshore-coll-grid .wd-product .product-element-top, .eshore-coll-grid .wd-product .product-element-top a { border-radius: 0 !important; }
.eshore-coll-grid .wd-product .product-image-link img { width: 100%; display: block; border-radius: 0; }
/* Shopify crops every card to the ratio of the first image of the collection ("adapt"); only the mixed-ratio STREETWEAR collection needs it here */
body.term-eshore-streetwear .eshore-coll-grid .wd-product .product-image-link img { aspect-ratio: 817 / 961; object-fit: cover; }
.eshore-coll-grid .wd-product .wrapp-product-price { align-items: flex-start !important; text-align: left !important; }
body.woodmart-archive-shop .main-page-wrapper { background-color: #fff !important; }
@media (max-width: 576px) { .eshore-coll-grid .wd-product .wd-entities-title { font-size: 17px; } }

/* Main navigation (header_423087, menu 73): look like the Shopify header menu.
   Shopify: 13px, weight 400, letter-spacing .6px, no text-transform (labels are typed as on Shopify), white 75% (current/hover 100%); square white dropdowns with 13px links. */
.whb-header-bottom .wd-nav-main > li > a { font-size: 13px; font-weight: 400; letter-spacing: .6px; text-transform: none; color: rgba(255, 255, 255, .75); }
.whb-header-bottom .wd-nav-main > li:hover > a,
.whb-header-bottom .wd-nav-main > li.current-menu-item > a,
.whb-header-bottom .wd-nav-main > li.current-menu-ancestor > a { color: #fff; }
.wd-nav-main .wd-dropdown-menu, .wd-nav-main .sub-sub-menu.wd-dropdown { border-radius: 0; }
.wd-nav-main .wd-sub-menu > li > a, .wd-nav-main .sub-sub-menu > li > a { font-size: 13px; font-weight: 400; letter-spacing: .6px; text-transform: none; color: rgba(18, 18, 18, .75); }
.wd-nav-main .wd-sub-menu > li > a:hover, .wd-nav-main .sub-sub-menu > li > a:hover { color: #121212; text-decoration: underline; }
/* Mobile drawer (burger, single list = menu 73): Shopify drawer = links as typed, no tabs */
.mobile-nav .wd-nav-mobile > li > a { text-transform: none; letter-spacing: .6px; }
.mobile-nav .wd-nav-mobile > li.current-menu-item > a { color: inherit; }
.mobile-nav .wd-nav-mobile .wd-nav-opener.wd-active { background-color: transparent; color: inherit; }

/* Header top bar (header_423087 row top-bar): Shopify announcement bar (bg #444, white text, link to Team Packages) + Facebook/Instagram icons. Markup = two Text/HTML header elements. */
.whb-row.whb-top-bar.whb-color-dark:not(.whb-with-bg) { background-color: #444; }
.whb-top-bar .eshore-topbar-social { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.whb-top-bar .eshore-topbar-social a { display: flex; align-items: center; padding: 6px; color: #fff; }
.whb-top-bar .eshore-topbar-social a:hover { color: rgba(255, 255, 255, .75); }
.whb-top-bar .eshore-topbar-social svg { width: 20px; height: 20px; }
.whb-top-bar .eshore-topbar-announce { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; letter-spacing: .6px; text-decoration: none; }
.whb-top-bar .eshore-topbar-announce:hover span { text-decoration: underline; }
.whb-top-bar .eshore-topbar-announce svg { width: 14px; height: 10px; flex: none; }
.whb-top-bar .whb-column6, .whb-top-bar .whb-column_mobile1 { justify-content: center; }
.whb-top-bar .whb-column6 .eshore-topbar-el, .whb-top-bar .whb-column_mobile1 .eshore-topbar-el { width: 100%; text-align: center; }

/* ==========================================================================
   Single product: variation text swatches as Shopify Dawn "pills"
   (task swatches-20261119; term meta not_dropdown=on on all variation pa_* terms,
   backup + scripts ~/backups/swatches-20261119/)
   ========================================================================== */
.single-product form.variations_form table.variations tr,
.single-product form.variations_form table.variations .cell { display: block; }
.single-product form.variations_form table.variations .label { padding: 0 0 4px; }
.single-product form.variations_form table.variations .value { width: 100%; padding-bottom: 14px; }
.single-product form.variations_form table.variations label { font-size: 13px; font-weight: 400; letter-spacing: .4px; color: rgba(18,18,18,.75); }
.single-product form.variations_form table.variations label:after { content: none; }
.single-product form.variations_form .wd-swatches-product { gap: 9px 5px; }
.single-product form.variations_form .wd-swatches-product .wd-swatch.wd-text {
	min-width: 0; min-height: 0; height: auto; padding: 10px 20px;
	border: 1px solid rgba(18,18,18,.55); border-radius: 40px; background: #fff;
	color: #121212; font-size: 14px; font-weight: 400; letter-spacing: 1px; line-height: 1;
	transition: border-color .1s ease;
}
.single-product form.variations_form .wd-swatches-product .wd-swatch.wd-text .wd-swatch-text { padding: 0; font-size: 14px; }
.single-product form.variations_form .wd-swatches-product .wd-swatch.wd-text:after { content: none; }
@media (hover: hover) {
	.single-product form.variations_form .wd-swatches-product .wd-swatch.wd-text:hover:not(.wd-disabled) { border-color: #121212; }
}
.single-product form.variations_form .wd-swatches-product .wd-swatch.wd-text.wd-active { background: #121212; border-color: #121212; color: #fff; }
.single-product form.variations_form .wd-swatches-product .wd-swatch.wd-text.wd-disabled {
	opacity: 1; border-color: rgba(18,18,18,.1); color: rgba(18,18,18,.6); text-decoration: line-through;
}
.single-product form.variations_form .wd-swatches-product .wd-swatch.wd-text.wd-disabled.wd-active { background: rgba(18,18,18,.6); color: #fff; }

/* ==========================================================================
   Single product: personalization fields (Name, Number ...) by product tag
   (task personalization-20261119; code woodmart-child/inc/eshore-personalization.php,
   backup ~/backups/personalization-20261119/)
   ========================================================================== */
.eshore-pf { width: 100%; max-width: 440px; margin: 0 0 14px; }
.eshore-pf .eshore-pf-field { margin: 0 0 12px; }
.eshore-pf label { display: block; padding: 0 0 4px; font-size: 13px; font-weight: 400; letter-spacing: .4px; color: rgba(18,18,18,.75); }
.eshore-pf input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid rgba(18,18,18,.55); border-radius: 0; background: #fff; color: #121212; font-size: 15px; box-shadow: none; }
.eshore-pf input:focus { border-color: #121212; outline: none; box-shadow: 0 0 0 1px #121212; }
form.cart:not(.variations_form) .eshore-pf { flex: 0 0 100%; }

/* ==========================================================================
   Single product: Add to cart button like Shopify Dawn (white, 1px #121212
   outline, 2px on hover, square corners), quantity + button stay on one row,
   button stretched to the end of the row (task swatches-20261119, backup
   ~/backups/swatches-20261119/style.css.before-atc)
   ========================================================================== */
.single-product .entry-summary form.cart .single_add_to_cart_button {
	flex: 1 1 0; min-width: 0;
	background-color: #fff; color: #121212;
	box-shadow: inset 0 0 0 1px #121212; border-radius: 0;
}
.single-product .entry-summary form.cart .single_add_to_cart_button:hover,
.single-product .entry-summary form.cart .single_add_to_cart_button:focus-visible {
	background-color: #fff; color: #121212; box-shadow: inset 0 0 0 2px #121212;
}
.single-product .entry-summary form.cart .single_add_to_cart_button:after { color: #121212; }
