/*
Theme Name: Uomo
Theme URI: https://www.apusthemes.com/themes/uomo/
Author: ApusTheme
Author URI: https://apusthemes.com/
Description: Uomo is clean theme, it's used Apus Framework.
Version: 2.0.35
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: uomo

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
img{
    height: auto;
}
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    clear: both;
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 32px 2em;
}
.wp-block-image .alignright{
    margin-left: 2em;
}
.alignleft {
    float: left;
    margin: 5px 2em 32px 0;
}
.wp-block-image .alignleft{
    margin-right: 2em;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}
.gallery-caption {
    box-sizing: border-box;
}
.bypostauthor{
    box-sizing: border-box;
}
.wp-block-pullquote{
    border:none;
}
.wp-block-archives.aligncenter, .wp-block-categories.aligncenter, .wp-block-latest-posts.aligncenter {
    text-align: center;
}
.wp-block-cover{
    margin-bottom: 28px;
}
.wp-block-embed{
    margin-bottom: 30px;
}
.wp-block-cover.has-background-dim .wp-block-cover-text{
    color: #fff;
}
.wp-block-button{
    margin-top: 15px;
    margin-bottom: 15px;
}
.wp-block-button.is-style-squared .wp-block-button__link{
    border-radius: 5px;
}
.wp-block-image, .wp-block-gallery {
    margin-bottom: 28px;
}
figcaption {
    margin-top: 15px;
}
@media(min-width: 1440px){
    .blocks-gallery-grid.alignleft, .blocks-gallery-grid.alignright, .wp-block-gallery.alignleft, .wp-block-gallery.alignright{
        max-width: 500px;
    }
}
.wp-block-button {
    margin-top: 25px;
    margin-bottom: 25px;
}

body .apus-offcanvas {
    z-index: 100000;
}

.wishlist-share-wrapper #ppc-button {
    display: inline-block !important;
}
.wc-proceed-to-checkout #ppc-button {
    margin-top: 30px;
}
.testimonials-item-v2::before{
    content: '“';
}

.vertical-wrapper:hover .content-vertical {
    display: block !important;
}

/*fix woo*/
.woocommerce.single-product .cart.variations_form .tawcvs-swatches{
    gap: 12px;
}
.woocommerce.single-product .cart.variations_form .tawcvs-swatches .swatch{
    min-width: 30px !important;
}
.woocommerce.single-product .add-to-cart-bottom-wrapper .cart.variations_form .tawcvs-swatches{
    padding: 0 !important;
}
.woocommerce.single-product .add-to-cart-bottom-wrapper  .cart.variations_form .tawcvs-swatches .swatch{
    height: 20px;
    width: 20px;
  line-height: 18px;
    font-size: 12px;
    min-width: 20px !important;
}
.woocommerce.single-product .add-to-cart-bottom-wrapper .cart.variations_form .tawcvs-swatches .swatch.swatch-label{
  width: auto;
}

/* --- Product FAQ Custom Styles --- */
.product-faq-section {
    margin-top: 60px;
    margin-bottom: 60px;
}
@media (max-width: 767px) {
    .product-faq-section {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}
.faq-section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}
@media (max-width: 767px) {
    .faq-section-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
}
.faq-panel {
    border: none;
    box-shadow: none;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    border-top: 1px solid #e5e5e5;
}
.faq-panel:last-child {
    border-bottom: 1px solid #e5e5e5;
}
.faq-panel .panel-heading {
    padding: 0;
    background: transparent !important;
    border: none;
}
.faq-panel .panel-title a {
    display: block;
    padding: 25px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    padding-right: 40px;
}
.faq-panel .panel-title a::after {
    content: '\f067'; /* Plus icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    transition: all 0.3s ease;
}
.faq-panel .panel-title a:not(.collapsed)::after {
    content: '\f068'; /* Minus icon */
    transform: translateY(-50%) rotate(180deg);
}
.faq-panel .panel-title a:hover {
    color: #000;
}
.faq-panel .panel-body {
    padding: 0 0 30px 0;
    border: none !important;
    color: #777;
    font-size: 16px;
    line-height: 1.8;
}
@media (max-width: 767px) {
    .faq-section-title {
        font-size: 22px;
    }
    .faq-panel .panel-title a {
        font-size: 16px;
        padding: 20px 0;
    }
}

/* --- Product Custom Badge --- */
.product-custom-badge-wrapper {
    margin: 8px 0;
}
.product-custom-badge {
    display: inline-block;
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    text-transform: uppercase;
    border-radius: 20px;
    text-align: center;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
/* Ensure loop spacing */
.product-block .product-custom-badge-wrapper {
    margin: 5px 0;
}
/* Ensure single product spacing */
.details-product .product-custom-badge-wrapper {
    margin: 15px 0;
}

/* --- Product Highlights Bar --- */
.product-highlights-bar {
    background-color: #fce1e1; /* Pink background */
    padding: 12px 20px;
    margin: 20px 0;
    text-align: center;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #111;
    display: inline-block;
    width: 100%;
}
.product-highlights-bar .sep {
    color: #cc99a2; /* Muted pink for the pipe */
    margin: 0 15px;
    font-weight: 300;
}
@media (max-width: 767px) {
    .product-highlights-bar {
        font-size: 12px;
        padding: 10px 15px;
    }
    .product-highlights-bar .sep {
        margin: 0 8px;
    }
}

/* Ensure top badge spacing above title */
.details-product .product-top-badge-wrapper {
    margin: 0 0 10px 0;
}

/* --- Product Premium Meta (Attributes & Social Proof) --- */
.product-premium-meta {
    margin: 15px 0;
}
.product-premium-meta .meta-row {
    font-size: 15px;
    margin-bottom: 5px;
    color: #555;
}
.product-premium-meta .meta-row strong {
    color: #000;
}
.product-premium-meta .social-proof {
    margin-top: 10px;
    font-size: 16px;
}
.product-premium-meta .social-proof .fire-icon {
    margin-right: 5px;
}

/* --- Product Custom Price Section --- */
.product-custom-price-wrapper {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
@media (max-width: 767px) {
    .product-custom-price-wrapper {
        margin: 15px 0;
        gap: 10px;
    }
    .product-custom-price-wrapper .mrp-label {
        font-size: 14px;
        width: 100%; /* Force labels to stack slightly better if needed */
    }
}
.product-custom-price-wrapper .mrp-label {
    font-size: 16px;
    color: #777;
}
.product-custom-price-wrapper .current-price {
    font-size: 32px;
    font-weight: 700;
    color: #000;
}
.product-custom-price-wrapper .save-badge {
    background-color: #000;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

/* --- Product Offer Minimalist (No Box Design) --- */
.product-offer-minimalist {
    margin: 25px 0 15px 0;
    padding: 0;
}
.offer-title-minimalist {
    font-size: 16px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.offer-title-minimalist::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}
.offer-title-minimalist a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
}
.blinking-offer-title {
    animation: blinkRedMinimal 1s infinite alternate;
}
/* Stop blinking and stay solid red when open/clicked */
.offer-title-minimalist a:not(.collapsed),
.offer-title-minimalist a[aria-expanded="true"] {
    animation: none !important;
    background-color: #e62e4d !important;
    color: #fff !important;
}

@keyframes blinkRedMinimal {
    0% { color: #000; }
    100% { color: #fff; background-color: #e62e4d; }
}
.offer-points-minimalist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.offer-points-minimalist li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
    line-height: 1.4;
}
.offer-points-minimalist li::before {
    content: '\f00c'; /* Checkmark */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 12px;
    color: #000;
}

/* --- Product Info Accordion Refinement (Premium Grid) --- */
.product-info-accordions-section {
    padding: 80px 0;
    border-top: 1px solid #eee;
    margin-top: 40px;
}
.product-info-accordions-section .section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
}
.product-info-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px; /* Vertical gap 0, Horizontal gap 40 */
    align-items: start;
}

.info-accordion-item {
    border-bottom: 1px solid #000;
    margin-bottom: 0;
    transition: all 0.3s ease;
}
.info-accordion-item .accordion-title a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.info-accordion-item .accordion-title a::after {
    content: '\f067'; /* Plus */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
    color: #999;
    transition: transform 0.3s ease, color 0.3s ease;
}
.info-accordion-item .accordion-title a:not(.collapsed) {
    color: #000; /* Minimalist Black */
}
.info-accordion-item .accordion-title a:not(.collapsed)::after {
    content: '\f068'; /* Minus */
    transform: rotate(180deg);
    color: #000;
}
.info-accordion-item .accordion-body {
    padding: 0 0 30px 0;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    animation: fadeInSlideUp 0.4s ease forwards;
}

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
    .product-info-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .product-info-accordions-section {
        padding: 40px 0;
    }
    .product-info-accordions-section .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

/* --- Product A+ Content Section --- */
.product-aplus-content-section {
    margin: 60px auto;
}
@media (max-width: 767px) {
    .product-aplus-content-section {
        margin: 30px auto;
    }
}
.product-aplus-content-section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* --- Product Certificates Slider Section --- */
.product-certificates-section {
    margin: 40px auto;
    padding: 20px 0;
    border-top: 1px solid #fce1e1;
    border-bottom: 1px solid #fce1e1;
}
.product-certificates-section .certificate-item {
    text-align: center;
    padding: 0 10px;
}
.product-certificates-section .certificate-item img {
    max-height: 100px;
    width: auto;
    display: inline-block;
    transition: transform 0.3s ease;
}
.product-certificates-section .certificate-item img:hover {
    transform: scale(1.1);
}

/* Scrolling Restore Safety Hook */
body, html {
    overflow-x: hidden; /* Standard theme behavior */
    overflow-y: auto !important; /* Ensure vertical scroll is always available */
    height: auto !important;
}

/* Preloader is now handled by an inline script in header.php */
.apus-body-loading {
    /* No longer locking overflow here */
}

/* --- Premium Info Accordion Refinement --- */
/* (Merged into the main grid section above) */

/* --- Premium Size Guide Popup --- */
.zoom-sizeguides .mfp-content {
    max-width: 900px !important;
}
.apus-sizeguides {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
}
.apus-sizeguides .title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #000;
}
.apus-sizeguides .image-inner img {
    margin-bottom: 30px;
    border-radius: 4px;
}
.sizeguides-table {
    width: 100%;
    border-collapse: collapse;
}
.sizeguides-table th, .sizeguides-table td {
    padding: 15px;
    border: 1px solid #fce1e1;
    text-align: center;
}
.sizeguides-table th {
    background: #000;
    color: #fff;
    font-weight: 700;
}
.sizeguides-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #e62e4d;
    text-decoration: underline;
    margin-bottom: 15px;
    cursor: pointer;
}
.sizeguides-btn::before {
    content: '\f548'; /* Ruler icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* --- Simple Standalone Reviews Styling --- */
.product-reviews-simple {
    padding: 80px 0;
    border-top: 1px solid #eee;
    margin-top: 40px;
}
@media (max-width: 767px) {
    .product-reviews-simple {
        padding: 30px 0;
        margin-top: 20px;
    }
}
.product-reviews-simple .widget-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    text-transform: uppercase;
}
#reviews #comments {
    max-width: 1000px;
    margin: 0 auto 40px;
}
#reviews .commentlist {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}
#reviews .commentlist li {
    padding: 30px 0;
    border-bottom: 1px solid #f2f2f2;
}
#reviews .commentlist li:last-child {
    border-bottom: none;
}
#reviews .comment-text {
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
}
#reviews h3.woocommerce-Reviews-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}
#reviews #review_form_wrapper {
    max-width: 800px;
    margin: 60px auto 0;
    background: #fbfbfb;
    padding: 40px;
    border: 1px solid #eee;
}
#reviews .comment-reply-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}
#reviews .submit {
    background: #000;
    color: #fff;
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
}
#reviews .submit:hover {
    background: #e62e4d;
}

