/* ===================================================================
   Tahiti.lt custom styles (Astra Child theme)
   Restored & moved from Customizer Additional CSS to an enqueued file
   (Claude for Chrome, 2026-07-15) after the CSS was lost when the
   active theme changed from Astra to Astra Child. Enqueuing this file
   directly via functions.php ensures it survives future theme mod
   resets, since it is a theme file rather than a Customizer DB value.
   =================================================================== */

.main-navigation ul ul {
    background: transparent !important;
    box-shadow: none !important;
}
/* Universalus mobile hamburger fix */
.woocommerce-page .ast-mobile-svg,
.woocommerce-page .menu-toggle svg,
.woocommerce-page .menu-toggle svg path {
    fill: #000 !important;
    stroke: #000 !important;
}

/* CART ir CHECKOUT - normalus header (ne transparent) */
.woocommerce-cart .site-header,
.woocommerce-checkout .site-header {
    position: relative !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

/* Jei tema naudoja wrapper (pvz. Astra) */
.woocommerce-cart .main-header-bar,
.woocommerce-checkout .main-header-bar {
    position: relative !important;
    background: #ffffff !important;
}

/* Kad turinys nepasisleptu po header */
.woocommerce-cart .site-content,
.woocommerce-checkout .site-content {
    padding-top: 20px !important;
}
.woocommerce-cart .main-navigation a:hover,
.woocommerce-checkout .main-navigation a:hover {
    color: #555 !important;
}
/* Nuima white teksta is transparent header butent siuose puslapiuose */
.woocommerce-cart .ast-theme-transparent-header .ast-header-navigation a,
.woocommerce-checkout .ast-theme-transparent-header .ast-header-navigation a {
    color: #000 !important;
}

/* Sentence-case fix (Claude for Chrome, 2026-07-11): removes automatic
   title-case/UPPERCASE text-transform from headings and buttons so the
   naturally-typed sentence-case content is shown. The logo is an image
   (custom-logo-link), not .site-title text, so it is unaffected. */
h1, h2, h3, h4, h5, h6,
.entry-content :where(h1, h2, h3, h4, h5, h6),
.site-title, .site-title a {
	    text-transform: none !important;
}
.wp-block-button .wp-block-button__link,
.wp-block-search .wp-block-search__button,
body .wp-block-file .wp-block-file__button,
.ast-outline-button,
.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link.wp-element-button,
.wp-block-uagb-buttons-child .uagb-buttons-repeater.ast-outline-button,
.uagb-buttons-repeater,
.menu-toggle, button, .ast-button, .ast-custom-button, .button,
input#submit, input[type="button"], input[type="submit"], input[type="reset"],
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	    text-transform: none !important;
}
.ast-shop-product-out-of-stock {
	    text-transform: none !important;
}

/* Footer & trust badges color unification (Claude for Chrome, 2026-07-12) */
.wp-block-uagb-container.uagb-block-c8ab3af7 {
	background-color: #faf7f2 !important;
}

.uagb-block-c8ab3af7 svg,
.uagb-block-c8ab3af7 svg path {
	fill: #c9a876 !important;
}

.site-primary-footer-wrap {
	background-color: #141210 !important;
}

.site-primary-footer-wrap .widget-title {
	color: #f5f0e8 !important;
}

.site-primary-footer-wrap a {
	color: #c9a876 !important;
}

.site-primary-footer-wrap a:hover,
.site-primary-footer-wrap a:focus {
	color: #f5f0e8 !important;
}

.site-below-footer-wrap {
	background-color: #141210 !important;
}

.ast-footer-copyright p {
	color: rgba(245, 240, 232, 0.65) !important;
}

/* Mobile spacing fix (Claude for Chrome, 2026-07-12): gap between product grid and next banner section on mobile */
@media only screen and (max-width: 767px) {
	.wp-block-uagb-container.uagb-block-bc4a7f45 {
		padding-bottom: 32px !important;
	}
}

/* Fix: hide author email + date meta on search results page (Claude for Chrome, 2026-07-12) */
body.search-results .entry-meta {
	  display: none !important;
}

/* Fix: align car scent banner "I parduotuve" button under text column (Claude for Chrome, 2026-07-12) */
@media (min-width: 769px) {
	.car-banner-cta-btn .uagb-buttons__wrap {
		    max-width: 480px !important;
	}
}

/* Move TranslatePress language switcher next to search/cart icons in header (Claude for Chrome, 2026-07-13) */
.ast-builder-grid-row.ast-builder-grid-row-has-sides.ast-grid-center-col-layout {
	    position: relative;
}
li.trp-language-switcher-container.trp-menu-ls-desktop {
	    position: absolute;
	    top: 50%;
	    right: -665px;
	    transform: translateY(-50%);
	    margin: 0;
	    padding: 0;
	    height: auto;
	    z-index: 5;
}
li.trp-language-switcher-container.trp-menu-ls-desktop > a.menu-link {
	    padding: 0;
	    font-size: 15px;
}
@media (max-width: 921px) {
	li.trp-language-switcher-container.trp-menu-ls-desktop {
		        position: static;
		        right: auto;
		        transform: none;
	}
}

/* Fix language switcher label showing raw locale code instead of short name (Claude for Chrome, 2026-07-13) */
.trp-language-switcher-container a.menu-link:not([href*="/en/"]) .trp-ls-language-name {
	    font-size: 0;
}
.trp-language-switcher-container a.menu-link:not([href*="/en/"]) .trp-ls-language-name:after {
	    content: "LT";
	    font-size: 15px;
}

/* Hide YITH Gift Card Delivery info fields (Message/From/To) on Dovanu kuponas product page.
   No free-version toggle exists to disable these; none of them are required for delivery
      (Message is optional, From/To are non-functional preview labels with no form input) -
         confirmed via JS DOM inspection. (Claude for Chrome, 2026-07-16) */
         form.gift-cards_form > h3,
         form.gift-cards_form .gift-card-content-editor.step-content,
         .ywgc-form-preview-from-to-container {
             display: none !important;
             }
             
             /* Also hide leftover preview separator + message-preview block on the card image
                (siblings of the from-to-container, otherwise left orphaned/visible) */
                .ywgc-form-preview-separator,
                .ywgc-form-preview-message-container {
                    display: none !important;
                    }