@font-face {
    font-family: 'DIN Condensed Bold';
    src: url('/wp-content/uploads/fonts/DINCondensed-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
/*
Theme Name: child twenty twenty five
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: child-twenty-twenty-five
Tags: 
*/

/* Custom wrapper for catalog sorting */
.custom-catalog-sorting {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px; /* Space below the dropdown */
    gap: 10px; /* Space between items */
}

/* Style the dropdown itself */
.custom-catalog-sorting select {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text */
    border: 2px solid #ff6600; /* Orange border */
    border-radius: 5px; /* Rounded corners */
    padding: 5px 10px; /* Inner padding */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Pointer cursor */
    outline: none; /* Remove focus outline */
}

/* Dropdown hover effect */
.custom-catalog-sorting select:hover {
    background-color: #f9f9f9; /* Light gray on hover */
    border-color: #ff9900; /* Darker orange border */
}

/* Style dropdown options */
.custom-catalog-sorting select option {
    padding: 5px; /* Space inside options */
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text */
}

/* Highlight the selected option */
.custom-catalog-sorting select option:checked {
    background-color: #ff6600; /* Highlight background */
    color: #ffffff; /* White text */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-catalog-sorting {
        flex-direction: column; /* Stack vertically on small screens */
        align-items: stretch; /* Full width */
    }
}

/* Register from styles */
/* From Uiverse.io by G4b413l */ 
/* From Uiverse.io by G4b413l */ 
.group {
    position: relative;
    margin-bottom: 20px;
}

.input {
    font-size: 16px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 200px;
    border: none;
    border-bottom: 1px solid #515151;
    background: transparent;
}

.input:focus {
    outline: none;
}

.form-label {
    color: #999;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}


.input:focus ~ .form-label, .input:not(:placeholder-shown) ~ .form-label {
    top: -20px;
    font-size: 14px;
    color: #5264AE;
}

.bar {
    position: relative;
    display: block;
    width: 200px;
}

.bar:before, .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #5264AE;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.bar:before {
    left: 50%;
}

.bar:after {
    right: 50%;
}

.input:focus ~ .bar:before, .input:focus ~ .bar:after {
    width: 50%;
}

.highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

.input:focus ~ .highlight {
    animation: inputHighlighter 0.3s ease;
}

@keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}
.password-group {
    position: relative;
    margin-bottom: 20px; /* Add spacing between fields */
    
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2; /* Ensure it appears above any native browser elements */
    background: transparent;
    border: none;
    cursor: pointer;
}

.login-actions {
    /* display: flex; /* Make elements inline-flex */
    /* align-items: center; /* Vertically align items */
    justify-content: space-between; /* Add space between elements */
    /* gap: 10px; /* Add spacing between checkbox and button */
    display: flex; 
    flex-direction: column;  
    gap: 10px; 
    margin-top: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 14px; /* Adjust the font size for consistency */
    margin: 0; /* Remove any default margin */
}

.remember-me input[type="checkbox"] {
    margin-right: 5px; /* Add spacing between checkbox and label text */
}

.login-button {
    padding: 8px 16px; /* Adjust padding for the button */
    font-size: 14px;
    background-color: #000; /* Customize button color */
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.login-button:hover {
    background-color: #444; /* Add hover effect for button */
}

.woocommerce-button, .woocommerce-form-login__submit, .button {
    font-size: 18px; /* Adjust to your desired font size */
}

@media screen and (max-width: 768px) {
    .login-actions {
        display: flex;
        flex-direction: column;
        align-items: normal;
        margin-bottom: 50px;
    }

    .login-actions button {
        width: 100%; /* Ensures the button takes the full width of the container */
    }

    .login-actions div {
        margin-top: 10px; /* Adds some spacing between the button and the "Remember Me" */
    }

    .login-actions div span {
        font-size: 16px; /* Adjust font size for better readability on mobile */
    }
}

/* Desktop: narrower switch buttons */
.switch-button {
    width: calc(100% - 48px);
    box-sizing: border-box;
}

/* Mobile: full-width switch buttons */
@media (max-width: 768px) {
    .switch-button {
        width: 100%;
        box-sizing: border-box;
    }
}


/*
 * Mobile and Desktop image gallery styling
*/




/* Product variations and size block*/

.variations-whole-block {
    margin-bottom: 16px !important;
}

/* Product variations */
.variation-block {
    flex: 1 1;
    text-transform: uppercase; /* Ensure text is in all caps */
    /* width: 100px; Set a fixed width */
    height: 50px; /* Set a fixed height */
    display: flex; /* Center content inside */
    align-items: center; /* Vertically align content */
    justify-content: center; /* Horizontally align content */
    border: 1px solid #000; /* Black border for all blocks */
    cursor: pointer; /* Pointer cursor for interactivity */
    text-align: center;
    transition: all 0.3s; /* Smooth transitions for hover and selection */
    box-sizing: border-box; /* Ensure padding and border don't affect size */
    font-size: 14px;
    background-color: transparent; /* Transparent background for non-selected blocks */
    color: #000; /* Black text for non-selected blocks */
    margin: 0; /* Remove margin to ensure blocks touch each other */
}

/* size title above variation */
.variation-label {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 300;
}

/* Styling for the selected block */
.variation-block.selected {
    border-color: #000; /* Black border for the selected block */
    background-color: #000; /* Black background for the selected block */
    color: #fff; /* White text for the selected block */
}

/* Wrapper to ensure blocks touch */
.variation-options {
    display: flex;
    gap: 2px; /* No gap between blocks */
    flex-wrap: wrap; /* Allow wrapping to the next line if necessary */
    width: 100%;
}

/* add to cart single product page and wishlist wrapper*/
.single_variation_wrap {
    display: flex !important; /* Use flexbox for horizontal alignment */
    align-items: center; /* Vertically align items in the center */
    gap: 2px; /* Optional: Adds space between button and wishlist */
    width: 100%;
    height: 55px;
}

/* add to cart single product page */
.single_add_to_cart_button {
    flex: 1;
    display: block;
    box-sizing: border-box;
    display: flex;
    text-transform: uppercase;
    width: 100% !important;
    text-align: center; /* Center-align the button text */
    margin-bottom: 0px !important;
}

.added_to_cart.wc-forward {
    display: none !important;
}

.wp-block-woocommerce-add-to-cart-form .variations_button, .wp-block-woocommerce-add-to-cart-form form.cart{
    display: unset;
}

.woocommerce-variation-add-to-cart {

    display: flex !important; 
    width: 100%;
    /* justify-content: center !important; */
    /* align-items: center !important; */
    justify-content: space-between; /* Space items evenly */
    gap: 2px; /* Set a gap of 2px between items */
    /* position: absolute; */
}

/* TI Wishlist wrapper */
.tinv-wraper {
    width: 55px;
    height: 55px;
    border: 1px solid #000;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    right: 0;
}
.tinvwl_add_to_wishlist_button {
    display: flex;
    margin: 0px !important;
}
.tinvwl_add_to_wishlist_button:focus {
    outline: none;
}
/* wishlist counter header */
.ti-button-wrapper {
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center; 
}
.wishlist_products_counter_text {
    position: relative;
    text-align: center;
}
.wishlist_products_counter {
    display: flex; 
    /* align-items: center;  */
    height: auto; 
    text-align: center;
    overflow: hidden; 
}
.wishlist_products_counter img {
    max-width: 20px !important;
    max-height: 20px !important;
    top: 4px !important;
    margin-right: 0px !important;
    position: relative;
    left: 50%;
    transform: translate(-50%, 30%);
}
.tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-custom img, a.wishlist_products_counter.top_wishlist-custom img, span.wishlist_products_counter.top_wishlist-custom img {
    margin-right: 1px !important;
    height: 18px;
}
.wishlist_products_counter_number {
    align-self: center;
    position: absolute;
    top: 46.5%;
    left: 51%;
    transform: translate(-50%, -50%);
    font-size: 11px;
}

/* Product Search */
/* .search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    cursor: pointer;
    line-height: 1;
}

.search-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 1;
    color: inherit;
} */


/* Product Images */
/* Ensure gallery doesn't dominate the page */
.two-column-gallery {
    display: grid;
    grid-template-columns: repeat(2, auto); /* Two columns */ /* changed */
    gap: 2px; /* Spacing between images */
    justify-items: center; /* Center items in their cells */
    align-items: start; /* Align items at the top */
    margin: 0 auto 20px auto; /* Center the gallery and add spacing below */
    object-fit: cover;
}

/* Ensure consistent image sizing */
.two-column-gallery .gallery-item {
    /* Ensure gallery items are responsive */
    /* max-width: 300px; Limit maximum width of images */
    height: auto; /* Maintain image aspect ratio */
    overflow: hidden; /* Crop overflowing content */
    position: relative;
    object-fit: cover;
}

.two-column-gallery .gallery-item img {
    /* width: 100%; Stretch to fit the container width */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Crop image to fit the container */
    /* border: 1px solid #ddd; Optional: Add border */
    /* border-radius: 4px; Optional: Add rounded corners */
}


/* Responsive adjustments single product page*/
@media (max-width: 768px) {
    .two-column-gallery {
        grid-template-columns: 1fr; /* Single column on smaller screens */
        max-width: 90%; /* Allow images to take up more space */
        align-items: center;
    }

    .single-product-page {
        flex-direction: column; /* Stack sections vertically */
        gap: 10px; /* Reduce spacing between sections */
    }
}


/* wishlist page styling */
/* wishlist title */
.tinv-header {
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    height: 100%; /* Ensures the container has a height */
    text-align: center; /* Ensures inline elements like text are centered */
}
/* wishlist remove headding of columns */
.tinvwl-table-manage-list thead {
    display: none;
}
/* wishlist remove heading of columns */
.tinv-wishlist .product-thumbnail{
    min-width: 100px;
    max-width: 100%;
    width: 300px;
    padding: 0%;
}
/* wishlist page padding */
.wp-block-group.alignfull.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
/* wishlist page margin */
#wp--skip-link--target {
    margin-top: 0px !important;
}

/* Mini Cart */
/* Mini Cart price removal */
/* .price.wc-block-components-product-price {
    display: none;
} */
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices, table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__prices {
    line-height: 1.2;
    display: none;
}


/* quote homepage */
/* .wp-block-group.alignfull.onism-quote-box.has-base-color.has-contrast-background-color.has-text-color.has-background.has-global-padding.is-layout-constrained.wp-container-core-group-is-layout-12.wp-block-group-is-layout-constrained {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 164px !important;
    padding-right: 115px;
    padding-bottom: 164px !important;
    padding-left: 115px;
} */
.onism-quote-box {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 164px !important;
    padding-right: 115px;
    padding-bottom: 164px !important;
    padding-left: 115px;
}

/* newsletter style phone */
@media (max-width: 768px) {
    .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
}

.return-request-email.input-text {
    font-size: 16px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 200px;
    border: none;
    border-bottom: 1px solid #515151;
    background: transparent;
}

.return-request-email.input-text:focus {
    outline: none;
}

/* cookie preference style in footer */
.cookie-link {
    text-decoration: none;
    font-size: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.196), 1.125rem);
    font-weight: 300;       
} 
.cookie-link:hover {
    text-decoration: underline;
}

/* Search Bar (fibosearch) */
/* .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    top: 21px;
} */

/* language selector in footer */
/* .lang-item a {
    text-decoration: none;
    font-size: 18px;     
    font-weight: 300;   
}
.lang-item:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}
.break-word.wp-block-column {
    word-break: normal;
    overflow-wrap: normal;
}
.lang-item {
    list-style: none;
    display: flex;
    height: fit-content;
}
.custom-language-switcher {
    padding: 0%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
} */


/* language selector in footer with dropdown*/
.language-switcher-wrapper {
    position: relative;
    display: inline-block;
    font-family: inherit;
}

  
.language-switcher-toggle {
    background: none;
    border: 0px solid #e0e0e0;
    border-radius: 6px;
    /* padding: 0.3rem 0.8rem; */
    padding: 0;
    padding-left: 10px !important;
    justify-content: flex-start;
    font-size: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.196), 1.125rem);
    font-weight: 300; 
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    margin-right: 5px;
}

.language-dropdown-wrapper {
    position: absolute;
    min-width: 115px;
    top: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 999;
}
  

.language-dropdown {
    display: none;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
  
.language-dropdown.show {
    display: block;
}
  
.language-dropdown li {
    margin: 0;
    padding: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
  
.language-dropdown li a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: 300; 
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
  
.language-dropdown li a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}



/* Utility class to use DIN Condensed Bold font and adjustments */
.use-din-condensed {
    font-family: 'DIN Condensed Bold', sans-serif;
    transform: scaleY(0.8);
    display: inline-block;
}

footer {
    word-break: keep-all;
    white-space: nowrap;
}

.wp-block-site-title a {
    text-decoration: none;
}

.wp-block-site-title a:hover {
    text-decoration: none;
}

.has-din-condensed-font-family {
    position: relative;
    top: 2px;
    transform: scaleY(0.8);
}

/* header icons */
.header-account-icon-mobile {
    display: none !important;
}
.fibosearch-mobile {
    display: none !important;
}

/* Header icons mobile layout */
@media (max-width: 768px) {
    /* Make site title smaller on mobile */
    .wp-block-site-title {
        font-size: 2.0rem !important;
    }
    .header-group {
        padding-top: 13px !important;
        word-break: keep-all;
        white-space: nowrap;
    }
    .header-account-icon-desktop {
        display: none;
    }
    .header-account-icon-mobile {
        display: block !important;
    }
    .fibosearch-desktop {
        display: none !important;
    }
    .fibosearch-mobile {
        display: block !important;
    }
}

.wp-block-navigation .wp-block-navigation-item a[href*="my-account"]::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1.2em;
    background-image: url('/wp-content/uploads/account-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 6px;
    transform: scale(1.3);
    vertical-align: middle;
}

/* @media (max-width: 768px) {
    .wp-block-navigation__responsive-container {
      display: none !important;
    }
  
    .wp-block-navigation__responsive-container-open {
      display: block !important;
    }
  
    .wp-block-navigation__toggle {
      display: flex !important;
    }
}
  
@media (min-width: 769px) {
    .wp-block-navigation__responsive-container {
      display: flex !important;
    }
  
    .wp-block-navigation__toggle {
      display: none !important;
    }
} */


/* footer */
.legal-nav-footer-mobile {
    display: none;
}
.customer-service-nav-footer-mobile {
    display: none;
}
.social-nav-footer-mobile {
    display: none !important;
}
.legal-separator {
    display: none;
}

.footer-link-mobile {
    text-decoration: none;
}
.footer-link-mobile:hover {
    text-decoration: underline;
}


/* stack footer for mobile */
@media (max-width: 768px) {
    .footer-pages {
      flex-direction: column;
      align-items: flex-start; /* optional: aligns items nicely */
    }
    .footer-columns-right {
        width: 100%;
    }
    body .legal-nav-footer-desktop {
        display: none !important;
    }
    .social-nav-footer-desktop {
        display: none !important;
    }
    .customer-service-nav-footer-desktop {
        display: none !important;
    }

    .legal-nav-footer-mobile {
        display: block;
        width: 100%;
    }
    .customer-service-nav-footer-mobile {
        display: block;
        width: 100%;
    }
    .social-nav-footer-mobile {
        display: block !important;
        align-items: flex-end !important;
    }
    .legal-separator {
        display: block;
        width: 100% !important;
    }

    .footer-navigation-legal-mobile {
        margin-bottom: 19.9px;
    }
    .customer-service-stack-language {
        align-items: flex-start;
        width: 100%;
    }
    .language-switcher-wrapper {
        margin-top: 2px !important;
        height: 26.78125px;
    }

    .footer-group-2 {
        margin-bottom: 0px;
    }
    .legal-stack {
        width: 100%;
    }
    .customer-service-stack {
        width: 100%;
    }
    .wc-block-catalog-sorting {
        margin-bottom: 0 !important;
    }
}

.footer-pages {
    display: flex;
    justify-content: flex-end; /* 👈 pushes all columns to the right */
}


a[href^="mailto:support@onism-studio.com"] {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .wp-site-blocks {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    main {
        flex: 1;
    }
}