/* Estilos modernizados para Padeirinha do Infantado */
:root {
    /* Paleta de cores modernizada - mais vibrante mas mantendo a essência */
    --primary-color: #A05C17;
    --secondary-color: #FFF1DC;
    --accent-color: #E9A923;
    --text-color: #2D2013;
    --background-color: #FFFBF5;
    --white: #FFFFFF;
    --light-gray: #F8F8F8;
    --dark-gray: #333333;
    --light-accent: #FFE8C2;
    --dark-accent: #7A4012;
    
    /* Variáveis para animações */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Variáveis para sombras */
    --shadow-small: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.1);
    
    /* Variáveis para bordas */
    --border-radius-small: 6px;
    --border-radius-medium: 12px;
    --border-radius-large: 20px;
    --border-radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-small);
}

/* Botões modernizados */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-accent));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-small);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
    color: var(--white);
}

.btn:hover::before {
    width: 100%;
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-small);
}

/* Header modernizado */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    transition: all var(--transition-normal);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-large);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    transition: all var(--transition-normal);
}

.logo img {
    height: 65px;
    transition: all var(--transition-normal);
}

header.scrolled .logo img {
    height: 55px;
}

/* Navegação modernizada */
nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul li a {
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    font-size: 1.05rem;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: width var(--transition-normal);
}

nav ul li a.active::after,
nav ul li a:hover::after {
    width: 100%;
}

/* Menu mobile modernizado */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 200;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    border-radius: var(--border-radius-full);
    transition: all var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section modernizada */
.hero {
    background-color: var(--secondary-color);
    padding: 120px 0;
    text-align: center;
    background-image: url('../imagens/mockup.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(160, 92, 23, 0.8), rgba(233, 169, 35, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Sections modernizadas */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-full);
}

/* Products modernizados */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.product-image {
    height: 320px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    margin: 0;
    padding: 0;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.1));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
    border-radius: 0;
}

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

.product-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    transition: color var(--transition-normal);
}

.product-card:hover .product-info h3 {
    color: var(--accent-color);
}

.product-info p {
    margin-bottom: 25px;
    flex-grow: 1;
}

.product-info .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* About Section modernizada */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-image {
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-large);
    position: relative;
    transition: all var(--transition-normal);
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-image img {
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Contact Section modernizada */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-normal);
}

.contact-info:hover {
    box-shadow: var(--shadow-large);
}

.contact-info h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    margin-right: 20px;
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-top: 5px;
    transition: transform var(--transition-normal);
}

.contact-item:hover i {
    transform: scale(1.2);
}

.map {
    height: 450px;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-normal);
}

.map:hover {
    box-shadow: var(--shadow-large);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer modernizado */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-accent));
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info h3,
.footer-contact h3,
.footer-social h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.6rem;
    position: relative;
    display: inline-block;
}

.footer-info h3::after,
.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: var(--border-radius-full);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 15px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--border-radius-full);
    transition: all var(--transition-normal);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* BUDDY logo styling */
.logo_buddy {
    height: 26px;
    padding-left: 2px;
    vertical-align: middle;
    transition: all var(--transition-normal);
}

.logo_buddy:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease;
}

.fade-in-up {
    animation: fadeInUp 1s ease;
}

/* Estilos específicos para páginas modernizados */
.text-center {
    text-align: center;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.product-detail.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.product-detail.reverse .product-description {
    direction: ltr;
}

.product-description h3 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.product-description ul {
    margin-left: 25px;
    margin-bottom: 25px;
}

.product-description ul li {
    margin-bottom: 10px;
}

.order-info {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background-color: var(--light-accent);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-medium);
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.value-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: all var(--transition-normal);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.value-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    transition: transform var(--transition-normal);
}

.value-card:hover .value-icon {
    transform: scale(1.2);
}

.value-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.about-content.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.about-content.reverse .about-text {
    direction: ltr;
}

/* Responsividade modernizada */
@media (max-width: 1200px) {
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-large);
        padding: 100px 30px 30px;
        transition: right var(--transition-normal);
        z-index: 99;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .product-detail,
    .product-detail.reverse,
    .about-content.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 30px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-image {
        height: 250px;
    }
    
    .contact-info {
        padding: 30px 20px;
    }
}

/* Overlay para menu mobile */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-accent));
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-medium);
    z-index: 90;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

/* Efeitos de hover para links */
a.link-effect {
    position: relative;
    padding-bottom: 3px;
}

a.link-effect::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: width var(--transition-normal);
}

a.link-effect:hover::after {
    width: 100%;
}

/* Contact section social icons - different styling from footer */
.contact-info .social-icons a {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-info .social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* History Gallery Styles */
.history-gallery {
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-normal);
    aspect-ratio: 4/3;
    background-color: var(--light-gray);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    border-radius: var(--border-radius-medium);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item {
        aspect-ratio: 16/10;
    }
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: auto;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-large);
    background-color: var(--light-gray);
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.slide:hover img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.slide:hover .slide-overlay {
    transform: translateY(0);
}

.slide-overlay h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.slide-overlay p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Navigation dots - Hidden */
.slideshow-dots {
    display: none;
}

.dot {
    display: none;
}

/* Slideshow navigation arrows */
.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 15px 12px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: var(--border-radius-small);
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
}

.slideshow-container:hover .slideshow-nav {
    opacity: 1;
    visibility: visible;
}

.slideshow-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-nav.prev {
    left: 15px;
}

.slideshow-nav.next {
    right: 15px;
}

/* Loading animation */
.slide-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Progress bar for autoplay */
.slideshow-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: width linear;
    z-index: 5;
}

/* Responsive adjustments for slideshow */
@media (max-width: 768px) {
    .slide {
        height: 300px;
    }
    
    .slideshow-nav {
        padding: 10px 8px;
        font-size: 1rem;
    }
    
    .slide-overlay {
        padding: 20px 15px 15px;
    }
    
    .slide-overlay h4 {
        font-size: 1.1rem;
    }
    
    .slide-overlay p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .slide {
        height: 250px;
    }
    
    .dot {
        height: 10px;
        width: 10px;
        margin: 0 3px;
    }
    
    .slideshow-nav {
        opacity: 1;
        visibility: visible;
        background-color: rgba(0, 0, 0, 0.3);
    }
}

/* Estilo específico para imagens do Bolo Rei (apenas bolo-rei.html) */
/* Deteta a página específica através do title ou do body e aplica estilos */
body:has([title*="Bolo Rei"]) .product-detail .product-image,
/* Alternativa compatível com mais navegadores */
[title*="Bolo Rei"] ~ body .product-detail .product-image {
    height: auto;
    min-height: 400px;
    max-height: 500px;
}

body:has([title*="Bolo Rei"]) .product-detail .product-image img,
[title*="Bolo Rei"] ~ body .product-detail .product-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    object-position: center;
    background-color: var(--white);
}

/* Fallback mais direto - aplicar em todas as páginas que contenham "Bolo Rei" no título */
html[lang="pt"]:has(title:contains("Bolo Rei")) .product-detail .product-image {
    height: auto;
    min-height: 400px;
    max-height: 500px;
}

html[lang="pt"]:has(title:contains("Bolo Rei")) .product-detail .product-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    object-position: center;
    background-color: var(--white);
}

/* Regra mais compatível usando classe específica no body para Bolo Rei */
.bolo-rei-page .product-detail .product-image {
    height: auto;
    min-height: 400px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 20px;
}

.bolo-rei-page .product-detail .product-image img {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
