/*
Theme Name: Botiga Child Jewelry
Theme URI: https://example.com/elegance-jewelry-child
Author: You
Author URI: https://example.com
Description: A WooCommerce-ready jewelry storefront child theme for Botiga. Uses primary color #7D0552.
Template: botiga
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elegance
*/

:root {
    --primary: #7D0552;
    --secondary: #f5f5f5;
    --light: #ffffff;
    --dark: #333333;
    --gold: #D4AF37;
}

body {
	background-color: #fffbde;
    font-family: 'Poppins', sans-serif !important;
    color: var(--primary);
    overflow-x: hidden;
    padding-bottom: 60px;
    /* Space for mobile bottom nav */
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Poppins', sans-serif !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    text-decoration: none;
    color: var(--light) !important;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #620441;
    border-color: #620441;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light) !important;
}

/* Header Styles */
.top-bar {
    background-color: var(--primary);
    color: white;
    font-size: 12px;
    padding: 8px 0;
}

.navbar {
/*     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
	box-shadow: 0 6px 10px rgb(125 5 77 / 30%);
}

.navbar-brand {
	font-family: 'Poppins', sans-serif !important;
    font-weight: 700;
    font-size: 28px;
    color: var(--primary);
}

.nav-link {
    font-weight: 700;
    color: var(--dark);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s;
}

.nav-link:hover:after {
    width: 80%;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    background-color: #f9f5f8;
}

.hero .carousel-item {
    background-color: #f9f5f8;
}

.hero .carousel-control-prev-icon,
.hero .carousel-control-next-icon {
    background-color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: 50%;
}

.hero .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.5;
}

.hero .carousel-indicators button.active {
    opacity: 1;
}

.hero-content {
    padding: 100px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

/* Feature Categories */
.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
/*     margin-bottom: 30px; */
    background-color: #f9f7f3;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-btn {
    padding: 5px 10px;
    font-weight: 300;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-top: 3px;
}

.feature-card img {
    transition: transform 0.5s;
}

.feature-card:hover img {
    transform: scale(1.05);
}

.feature-content {
    padding: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

/* Designer Section */
.designer-section {
    background-color: #f9f7f3;
    padding: 5px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.designer-content {
    text-align: center;
}

.designer-image {
    margin-bottom: 30px;
}

/* Product Grid */
.product-card {
    border: none;
    transition: transform 0.3s;
    margin-bottom: 0px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
/*     border-radius: 10px; */
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img-container {
    position: relative;
    overflow: hidden;
}

.product-img {
    transition: transform 0.5s;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    /* bottom: -50px; */
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    transition: bottom 0.3s;
    display: flex;
    justify-content: space-around;
}

@media (max-width: 767.98px) {
    .product-overlay {
        bottom: 0px;
    }
}

@media (min-width: 768px) {
    .product-overlay {
        bottom: -50px;
    }

    .product-card:hover .product-overlay {
        bottom: 0;
    }
}

.product-overlay-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--light) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.product-overlay-btn:hover {
    background: var(--light) !important;
    color: var(--primary) !important;
    border: 1px solid var(--primary);
}

.product-content {
    padding: 20px;
    text-align: center;
	background-color: var(--light);
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.product-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.product-rating {
    color: var(--gold);
    margin-bottom: 10px;
}

/* Promotion Section */
.promotion-section {
    padding: 0 0;
    background-color: #f9f5f8;
}

.promotion-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.9);
    height: 300px;
    margin-bottom: 30px;
}

.promotion-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.promotion-card:hover img {
    transform: scale(1.05);
}

.promotion-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 20px;
    text-align: center;
}

.promotion-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background-color: #fff;
}

.testimonial-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    background-color: #f9f7f3;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-author-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author-title {
    font-size: 0.9rem;
    color: #777;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #f9f5f8;
}

.service-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    background-color: white;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.service-title {
    margin-bottom: 15px;
    font-weight: 600;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background-color: #fff;
}

.blog-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img-container {
    position: relative;
    overflow: hidden;
}

.blog-img {
    transition: transform 0.5s;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.blog-excerpt {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background-color: #f9f5f8;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    border-radius: 30px 0 0 30px;
    padding: 15px 25px;
    border: 1px solid #ddd;
}

.newsletter-btn {
    border-radius: 0 30px 30px 0;
    padding: 15px 25px;
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Footer */
.footer {
    background-color: #f9f7f3;
    padding-top: 80px;
}

.footer-brand {
	font-family: 'Poppins', sans-serif !important;
    font-weight: 700;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-about {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: var(--dark);
    transform: translateY(-5px);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid #ddd;
    margin-top: 50px;
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--light);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    z-index: 1000;
	width: 100%;
    overflow: hidden;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
    font-size: 12px;
}

.mobile-bottom-nav .nav-item i {
    font-size: 18px;
    margin-bottom: 4px;
}

.mobile-bottom-nav .nav-item:hover {
    color: var(--primary);
}
.mobile-bottom-nav .nav-item.active{
    color: var(--primary);
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s, transform 0.8s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s, transform 0.8s;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s, transform 0.8s;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s, transform 0.8s;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 60px;
    }

/*     .top-bar {
        display: none;
    } */
	.primary-scroll {
		animation: primary 5s linear infinite !important;
	}

	.secondary-scroll {
		animation: secondary 5s linear infinite !important;
	}

    .navbar {
        padding: 10px 0;
    }

    .navbar-brand {
        font-size: 24px;
    }

    .hero .carousel-item {
        max-height: 300px;
    }

    .hero .carousel-item img {
        min-height: 300px;
        object-fit: cover;
    }

    .hero .carousel-caption {
        padding: 20px;
    }

    .hero-title {
		color: var(--light);
        font-size: 2rem;
    }

    .hero-subtitle {
		color: var(--light);
        font-size: 1rem;
    }

    .hero-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-content {
        padding: 60px 0;
    }

    .product-card .product-content {
        padding: 15px;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .promotion-card {
        height: 200px;
    }

    .promotion-title {
        font-size: 1.4rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .newsletter-section {
        padding: 60px 0;
    }

    .footer {
        padding-top: 60px;
    }

    .footer .row>div {
        margin-bottom: 30px;
    }

    .footer-bottom {
        margin-top: 30px;
    }
}

input[type="checkbox"] {
    border: 1px solid var(--primary) !important;
}

input[type="checkbox"]:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.02rem var(--primary) !important;
}

.woocommerce-notices-wrapper .woocommerce-message {
    border-radius: 10px !important;
}

.woocommerce-notices-wrapper .woocommerce-message a.button {
    padding: 5px !important;
}

img.attachment-woocommerce_thumbnail,
img.size-woocommerce_thumbnail {
    width: 100% !important;
}

ul.products li.product {
    padding: 5px !important;
}

/* @media (max-width: 767.98px) {
    .hide-mobile-flex {
        display: flex;
    }
}

@media (min-width: 768px) {
    .hide-mobile-flex {
        display: none;
    }
} */
/* Hide on mobile & tablet (<992px) */
@media (max-width: 991.98px) {
  .hide-mobile-flex {
    display: flex !important;
  }
}

/* Show on desktop (≥992px) */
@media (min-width: 992px) {
  .hide-mobile-flex {
    display: none !important;
  }
}

.scroll-parent {
  position: relative;
  width: 100vw;
  height: 25px;
  overflow: hidden;
}
.scroll-element {
  width: inherit;
  height: inherit;
  position: absolute;
  left: 0%;
  top: 0%;
/*   animation: primary 3s linear infinite; */
}

.primary-scroll {
  animation: primary 10s linear infinite;
}

.secondary-scroll {
  animation: secondary 10s linear infinite;
}

@keyframes primary {
  from {
    left: 0%;
  }
  to {
    left: -100%;
  }
}

@keyframes secondary {
  from {
    left: 100%;
  }
  to {
    left: 0%;
  }
}

/* Default hidden state */
.slide-in-right-carousel,
.slide-in-left-carousel,
.slide-in-bottom-carousel {
    opacity: 0;
    transform: translateX(0) translateY(0);
    transition: none;
}

/* Slide in from Right */
.carousel-item.active .slide-in-right-carousel {
    animation: slideInRight-carousel 2s ease forwards;
}

/* Slide in from Left */
.carousel-item.active .slide-in-left-carousel {
    animation: slideInLeft-carousel 2s ease forwards;
}

/* Slide in from Bottom */
.carousel-item.active .slide-in-bottom-carousel {
    animation: slideInBottom-carousel 2s ease forwards;
}

/* Keyframes with unique names */
@keyframes slideInRight-carousel {
    from { opacity: 0; transform: translateX(100px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft-carousel {
    from { opacity: 0; transform: translateX(-100px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInBottom-carousel {
    from { opacity: 0; transform: translateY(-100px); }
    to   { opacity: 1; transform: translateY(0); }
}

h1, h2, h3, h4, h5, h6, .site-title {
	font-style: normal;
}
.wc-forward{
	color: var(--primary) !important;
	border-color: var(--primary) !important;
}