/*
 Theme Name:   astra child theme
 Theme URI:    https://example.com/
 Description:  Child theme for the My Parent Theme
 Author:       Your Name
 Author URI:   https://example.com/
 Template:     astra
 Version:      1.0.0
 Text Domain:  my-parent-child
*/

/* Chrome, Edge, Safari Scrollbar Styling */
::-webkit-scrollbar {
    width: 20px; /* scrollbar width */
}

::-webkit-scrollbar-track {
    background: #f5f5f5; /* light track for contrast */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #bac0ab; /* your custom color */
    border-radius: 10px;
    border: 3px solid #f5f5f5; /* space around thumb */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #a2a68f; /* slightly darker on hover */
}

.zoomImg {
  pointer-events: none !important;
}

.zoomLens{opacity:0;}

.ast-site-header-cart, .woocommerce .ast-site-header-cart {
    width: 80px;
    font-size: 24px;
    margin-left: 10px;}

.site-header .site-description {
        position: absolute;
    }


/*adjusts main img size in mobile*/

@media (max-width: 544px) {

.site .site-content #primary .ast-woocommerce-container{
padding-top: 25px;}

.menu, .widget ul {    line-height: 37px!important;}
 

body.single-product .site .site-content #primary {

       } 

 .uagb-block-184606a9.wp-block-uagb-image .wp-block-uagb-image__figure img {
    content: url('https://tropicofsaturn.com/wp-content/uploads/2025/10/cover432.webp');
        height: 235px!important;
  }

   .woocommerce-js div.product div.images img {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
  }

.wp-block-uagb-advanced-heading.uagb-block-7fe998da.wp-block-uagb-advanced-heading {
        margin-top: -90px!important;
}

.uagb-block-184606a9.wp-block-uagb-image .wp-block-uagb-image__figure img{
margin-top:20px;
}
.ast-single-post.ast-page-builder-template .site-main > article, .woocommerce.ast-page-builder-template .site-main {
    margin: 3-10px!important;
}
.woocommerce-js div.product .product_title {
    font-size: 27px;
}
.ast-shipping-text {
    font-size: 13px!important;
}
body.archive .ast-archive-description .ast-archive-title, body.archive .ast-archive-description .ast-archive-title * {
    font-size: 29px!important;
    margin-bottom: 72px!important;
}
}


@media (max-width: 768px) {
    .related.products ul.products {
        display: flex;
        flex-wrap: wrap;
        gap: 15px; /* spacing between thumbnails */
    }
    .related.products ul.products li.product {
        width: 100% !important; /* full width per product */
    }
}


/*Collections color
.ast-builder-menu-1 .menu-item > .menu-link {
    color: #7c953d;
}
*/

/*remove product count*/
.woocommerce-js ul.products li.product .woocommerce-loop-category__title .count, .woocommerce-page ul.products li.product .woocommerce-loop-category__title .count {
    display: none;
}




.ast-header-break-point .main-navigation ul .sub-menu .menu-item:not(.menu-item-has-children) .menu-link .icon-arrow:first-of-type {
    display: none;}



.woocommerce .woocommerce-result-count, .woocommerce-page .woocommerce-result-count {
    display: none;}

.woocommerce-js .variations select, .woocommerce-js .woocommerce-ordering select {
    padding: .5em;
    display: none;}

.woocommerce-js ul.products li.product .woocommerce-loop-category__title, .woocommerce-page ul.products li.product .woocommerce-loop-category__title {
    letter-spacing: .1em;
}


.woocommerce-js ul.products li.product .ast-shop-product-out-of-stock, .woocommerce-js ul.products li.product .woocommerce-loop-category__title, .woocommerce-page ul.products li.product .ast-shop-product-out-of-stock, .woocommerce-page ul.products li.product .woocommerce-loop-category__title
{
padding: .8em 0 .6em 0;
}



.woocommerce-product-gallery__image img {
  width: auto !important;       /* kills inline width=650px */
  max-width: 600px !important;  /* hard limit */
  height: auto !important;
}

.woocommerce-js div.product div.images img {
width: 100%!important;
}


.custom-logo {
  display: inline-block;
  animation: swayLogo 20s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes swayLogo {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(60deg); /* quarter turn */
  }
}

 .ast-woo-header-cart-info-wrap .woocommerce-Price-amount, .woocommerce-Price-currencySymbol {
     ont-weight: 700;
  white-space: nowrap;
    } 


.ast-site-header-cart a.cart-container  {
    transition: none;
    font-size: 0px;
}



@media (min-width: 1380px) {
  /* Styles here apply when the screen is 922px or wider */
.site-header .site-description {
width: 653px;
font-size: 17px;
}

}

.woocommerce-message, .woocommerce-info

 {
    border-top-color: #738672;
}

/*A simple green button*/

.wp-block-uagb-buttons .uagb-block-f3fc89a4 .uagb-buttons-repeater.wp-block-button__link {
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    border-bottom-left-radius: 17px;
    border-bottom-right-radius: 17px;
    border-color: #000;
    border-style: solid;
}

.uagb-buttons__outer-wrap.uagb-btn__small-btn .uagb-buttons-repeater.wp-block-button__link:not(.is-style-outline), .uagb-buttons__outer-wrap.uagb-btn__small-btn .uagb-buttons-repeater.ast-outline-button {
    padding: 10px 14px;
}

.wp-block-uagb-buttons .uagb-block-f3fc89a4 .uagb-buttons-repeater .uagb-button__link {
    color: #ffffff;
    font-size: 27px;
    line-height: 1em;
}

/*adjustments to banner width*/

.uagb-block-a925dc0d.wp-block-uagb-image .wp-block-uagb-image__figure img {
width: 1831px;
}

.ast-page-builder-template .entry-content[data-ast-blocks-layout] > *, .ast-page-builder-template .entry-content[data-ast-blocks-layout] > .alignfull:not(.wp-block-group):not(.uagb-is-root-container) > * {
	max-width: 100%; }

	/*shop now banner*/

.wp-block-uagb-container.uagb-is-root-container .uagb-block-940a7fbe {
    margin: 0px;
	height:198px;
}

.wp-block-uagb-container.uagb-is-root-container .uagb-block-d22b3ed9 {
    max-width: 27%;
    width: 100%;
}




.wp-block-uagb-container.uagb-is-root-container .uagb-block-389d11bc {
    max-width: 50%;
    width: 97%;
}

/* To hide the additional information tab 

li.additional_information_tab {

    display: none !important;

}*/
/*Spacing single product */
.ast-separate-container.single-product .ast-article-single {
    margin: auto;
    padding: 0;
    display: block;
    width: 85%;
}

.ast-separate-container.ast-single-post #primary {
margin-top: -8px; }


/*Sale*/
.woocommerce span.onsale, .wc-block-grid__product .wc-block-grid__product-onsale {
    background-color: #d1ae82;
    color: #fff;
    font-family: 'Playwrite TZ';
	  padding: 10px;
}

.woocommerce-js ul.products li.product .onsale {
	top: -10px;
}

/*Display off on main image*/
.woocommerce-js.single-product .sale>span.onsale {display:none;}

/*remove margin price*/	
.woocommerce-js ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title { margin-bottom: 0;}


/*border selection around price and size*/

.cfvsw-selected-swatch {
  border: 2px solid #00000020; }

/*Free shipping*/

.ast-shipping-text {
    font-size: 16px;
    font-family: 'Playwrite TZ', handwriting;
    padding-left: 11px;
    color: #87a162; }

/*cata page*/
.ast-archive-description{
border-bottom:none;
}


/* Contact Form 7 base styling */
.wpcf7 form {
  max-width: 730px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e5e5e5;
}


/* Labels */
.wpcf7 form p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #333;
}

/* Input fields, textareas, selects */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background: #fafafa;
  transition: border 0.3s, box-shadow 0.3s;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #28a745; /* green accent */
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
  outline: none;
}

/* Submit button */
.wpcf7 input[type="submit"] {
  background: #738672; /* green */
  color: #fff;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
}

.wpcf7 input[type="submit"]:hover {
  background: #6e8b6cd1; /* darker green */
}

/* Error messages */
.wpcf7-not-valid-tip {
  font-size: 0.85rem;
  color: #dc3545;
  margin-top: 0.25rem;
}

/* Success message */
.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #28a745;
  background: #eafbea;
  color: #155724;
  padding: 1rem;
  border-radius: 8px;
}

/* Error response */
.wpcf7 form.invalid .wpcf7-response-output {
  border: 1px solid #dc3545;
  background: #fbeaea;
  color: #721c24;
  padding: 1rem;
  border-radius: 8px;
}

.ast-single-post.ast-page-builder-template .site-main > article, .woocommerce.ast-page-builder-template .site-main{
margin:33px;}

.post-1015 page type-page status-publish ast-article-single {
    margin: 33px;
	background-color: #fff;}



/*faq page centered*/


.post-3723.page.type-page.status-publish.ast-article-single {
  margin-top: 0px;
  margin-right: 361px;
  margin-bottom: 0px;
  margin-left: 399px;
}

strong .uagb-ifb-desc {
font-size:28px;}


/*message color*/
.woocommerce-message {
	border-top-color: #8fae1b;}


@media (min-width: 544px) and (max-width: 921px) {
    .site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-tablet-stack .site-footer-section {
        margin-bottom: 26px!important;
    }

[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    width: 30px;
    height: 50px;
    fill: #26222f;
}
    .ast-above-header.ast-above-header-bar, .ast-header-break-point #masthead.site-header .ast-above-header-bar {
        margin-bottom: -74px;
    }

.site-title {
  margin-left: 14px;
    }
          body.single-product .site .site-content #primary {
       
        
        width: 100%;
    }

}

    }


.site-primary-footer-wrap[data-section="section-primary-footer-builder"]{
border:none!important;}


/* Force YouTube embed to be square */
.wp-block-embed-youtube {
    aspect-ratio: 1 / 1 !important; /* Makes the video square */
    max-width: 100% !important;
}

.wp-block-embed-youtube .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.wp-block-embed-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.post-1013 page type-page status-publish ast-article-single {
  background-color: white;
}