/* ========================================
   HOME - HERO
======================================== */

.home main.container,
.home .site-main.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.rtr-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 220px;
    margin: 0 0 46px;
    padding: 36px 20px 42px;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 74, 0, 0.24), transparent 32%),
        radial-gradient(circle at 82% 45%, rgba(255, 126, 41, 0.20), transparent 30%),
        linear-gradient(135deg, #050505 0%, #101010 48%, #000000 100%);
    border-bottom: 4px solid #ff4a00;
    box-shadow:
        inset 0 26px 70px rgba(255, 74, 0, 0.08),
        inset 0 -22px 60px rgba(255, 74, 0, 0.10),
        0 18px 46px rgba(0, 0, 0, 0.28);
}

.rtr-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 46%, transparent 58%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 94px);
    opacity: 0.68;
}

.rtr-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -46% -10%;
    height: 56%;
    z-index: -2;
    background: radial-gradient(ellipse at center, rgba(255, 74, 0, 0.32), transparent 62%);
    filter: blur(12px);
}

.rtr-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -4;
    background-image:
        linear-gradient(rgba(255, 74, 0, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 74, 0, 0.10) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 90%);
}

.rtr-hero-glow {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    z-index: -1;
    filter: blur(46px);
    opacity: 0.44;
}

.rtr-hero-glow-one {
    top: 16px;
    left: 8%;
    background: rgba(255, 74, 0, 0.34);
}

.rtr-hero-glow-two {
    right: 6%;
    bottom: 0;
    background: rgba(255, 126, 41, 0.24);
}

.rtr-hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
}

.rtr-hero h1,
.rtr-hero-title {
    position: relative;
    min-height: 82px;
    margin: 0;
    font-size: clamp(38px, 6vw, 78px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.rtr-hero-letter-stage,
.rtr-hero-title-final {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rtr-hero-letter-stage span {
    position: absolute;
    opacity: 0;
    color: #ffffff;
    text-shadow:
        0 0 12px rgba(255, 255, 255, 0.30),
        0 0 30px rgba(255, 74, 0, 0.34);
    transform: translateY(8px) scale(0.94);
    animation: rtrHeroLetter 6.2s linear infinite;
    animation-delay: calc(var(--i) * 0.22s);
}

.rtr-hero-title-final {
    opacity: 0;
    color: #ff4a00;
    text-shadow:
        0 0 8px rgba(255, 74, 0, 0.95),
        0 0 22px rgba(255, 74, 0, 0.78),
        0 0 46px rgba(255, 74, 0, 0.55);
    animation: rtrHeroFinalName 6.2s linear infinite;
}

@keyframes rtrHeroLetter {
    0%, 4% {
        opacity: 0;
        transform: translateY(8px) scale(0.94);
    }

    6%, 10% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    14%, 100% {
        opacity: 0;
        transform: translateY(-8px) scale(1.04);
    }
}

@keyframes rtrHeroFinalName {
    0%, 50% {
        opacity: 0;
        transform: scale(0.98);
    }

    56%, 86% {
        opacity: 1;
        transform: scale(1);
    }

    94%, 100% {
        opacity: 0;
        transform: scale(1.01);
    }
}

/* ========================================
   HOME - ESTRUTURA GERAL
======================================== */

.rtr-home-section {
    width: min(var(--rt-site-container), calc(100% - 40px));
    margin: 56px auto;
}

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

.rtr-section-title h2 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #111111;
}

.rtr-section-title p {
    color: var(--muted);
    font-size: 15px;
}

/* ========================================
   HOME - PRODUTOS REAIS / VITRINES
======================================== */

.rtr-product-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.rtr-product-preview-card {
    min-height: 190px;
    background: linear-gradient(145deg, #f1f1f1, #ffffff);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #111111;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.rtr-product-preview-tag {
    display: inline-flex;
    width: fit-content;
    margin-bottom: auto;
    padding: 5px 9px;
    border-radius: 4px;
    background: #ffffff;
    color: #ff4a00;
    font-size: 12px;
    font-weight: 700;
}

.rtr-product-preview-card strong {
    display: block;
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.rtr-product-preview-card p {
    color: #555555;
    font-size: 14px;
    line-height: 1.4;
}

/* ========================================
   HOME - BANNER DE OFERTAS
======================================== */

.rtr-offer-banner {
    min-height: 180px;
    border-radius: 14px;
    padding: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.10);
}

.rtr-gray-banner {
    background: linear-gradient(145deg, #eeeeee, #ffffff);
    color: #111111;
}

.rtr-offer-banner span {
    display: block;
    color: #ff4a00;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.rtr-offer-banner strong {
    display: block;
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.rtr-offer-banner p {
    color: #555555;
    font-size: 15px;
}

.rtr-offer-banner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 12px 18px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
}

/* ========================================
   HOME - BANNERS DUPLOS
======================================== */

.rtr-double-banners-section {
    display: block;
}

.rtr-double-banner-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px;
    width: 100%;
}

.rtr-double-banner {
    min-height: 190px;
    border-radius: 14px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.rtr-double-banner span {
    display: block;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: auto;
}

.rtr-double-banner strong {
    display: block;
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 8px;
}

.rtr-double-banner p {
    max-width: 440px;
    font-size: 15px;
    line-height: 1.4;
}

.rtr-banner-black {
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 74, 0, 0.28), transparent 34%),
        linear-gradient(135deg, #050505, #111111 56%, #000000) !important;
    color: #ffffff !important;
}

.rtr-banner-black p,
.rtr-banner-black span,
.rtr-banner-black strong {
    color: #ffffff !important;
}

.rtr-banner-orange {
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.24), transparent 34%),
        linear-gradient(135deg, #ff4a00, #ff7a2c) !important;
    color: #ffffff !important;
}

.rtr-banner-orange p,
.rtr-banner-orange span,
.rtr-banner-orange strong {
    color: #ffffff !important;
}

/* ========================================
   BENEFÍCIOS
======================================== */

.rtr-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 0;
}

.rtr-benefit {
    background: linear-gradient(145deg, #f1f1f1, #ffffff);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.rtr-benefit strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.rtr-benefit span {
    color: var(--muted);
}

/* ========================================
   RESPONSIVO
======================================== */

@media screen and (max-width: 1024px) {
    .rtr-product-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .rtr-hero {
        min-height: 180px;
        padding: 28px 16px 34px;
        margin-bottom: 38px;
    }

    .rtr-hero h1 {
        min-height: 58px;
        font-size: 34px;
        letter-spacing: 0.08em;
    }

    .rtr-home-section {
        width: min(100% - 24px, 100%);
        margin: 42px auto;
    }

    .rtr-section-title h2 {
        font-size: 24px;
    }

    .rtr-offer-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .rtr-double-banner-row {
        grid-template-columns: 1fr !important;
    }

    .rtr-product-preview-grid,
    .rtr-benefits {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   HOME - ESTADO SEM PRODUTOS REAIS
======================================== */

.rtr-empty-message {
    width: 100%;
    margin: 0 auto;
    padding: 22px 24px;
    border: 1px solid rgba(255, 74, 0, 0.18);
    border-radius: 14px;
    background: #f7f7f7;
    color: #555555;
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
}


/* ========================================
   HOME - OFERTAS COM CARD PADRÃO
======================================== */
.rtr-offer-banner-with-products {
    align-items: stretch;
    flex-direction: column;
}

.rtr-offer-banner-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rtr-offer-banner-with-products .rtr-offer-products {
    width: 100%;
}

.rtr-offer-banner-with-products .rtr-offer-products ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

.rtr-offer-banner-with-products .rtr-offer-products ul.products li.product {
    background: linear-gradient(145deg, #f1f1f1, #ffffff);
}

.rtr-offer-banner-footer {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 4px;
}

.rtr-offer-empty {
    margin: 4px 0 0;
    color: #555555;
    font-size: 15px;
}

.rt-offers-page .rt-page-header {
    margin-bottom: 24px;
}

.rt-offers-page .rt-page-header h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    margin-bottom: 8px;
}

.rt-offers-page .rt-page-header p {
    color: #666666;
    font-size: 16px;
}

.rt-offers-pagination {
    margin-top: 28px;
}

@media (max-width: 1180px) {
    .rtr-offer-banner-with-products .rtr-offer-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .rtr-offer-banner-with-products {
        padding: 18px;
    }

    .rtr-offer-banner-with-products .rtr-offer-products ul.products {
        grid-template-columns: 1fr !important;
    }

    .rtr-offer-banner-footer {
        justify-content: stretch;
    }

    .rtr-offer-banner-footer a {
        width: 100%;
    }
}


.rtr-offers-section > .rtr-section-title h2,
.rtr-offers-section .rtr-section-title h2{
    font-size: 30px !important;
    line-height: 1.2 !important;
    margin: 0 0 8px 0 !important;
    color: #111111 !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    text-transform: none !important;
    text-align: center !important;
}

/* Subtítulo e botão na cor exata do botão Adicionar ao carrinho */
.rtr-offers-section .rtr-offers-subtitle-row{
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.rtr-offers-section .rtr-offers-subtitle-row p{
    margin: 0 !important;
    color: var(--rt-product-accent, var(--primary, #ff4a00)) !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    text-align: left !important;
}

.rtr-offers-section .rtr-section-link,
.rtr-offers-section .rtr-section-link:visited{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 92px !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    background: var(--rt-product-accent, var(--primary, #ff4a00)) !important;
    border: 1px solid var(--rt-product-accent, var(--primary, #ff4a00)) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.rtr-offers-section .rtr-section-link:hover,
.rtr-offers-section .rtr-section-link:focus{
    background: var(--rt-product-accent-dark, var(--primary-dark, #c93a00)) !important;
    border-color: var(--rt-product-accent-dark, var(--primary-dark, #c93a00)) !important;
    color: #ffffff !important;
}

@media (max-width: 640px){
    .rtr-offers-section .rtr-offers-subtitle-row{
        align-items: flex-start !important;
        flex-direction: row !important;
    }
}


/* RT Recovery - seção Produtos em Oferta padronizada */
.rtr-offers-section{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.rtr-offers-section .rtr-section-title{
    text-align: center !important;
    margin-bottom: 14px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.rtr-offers-section .rtr-section-title h2{
    font-size: 30px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    color: #111111 !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-align: center !important;
}

.rtr-offers-section .rtr-section-title p{
    display: none !important;
}

.rtr-offers-subtitle-row{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.rtr-offers-subtitle-row p{
    margin: 0 !important;
    color: #ff4a00 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    text-align: left !important;
}

.rtr-offers-subtitle-row .rtr-section-link,
.rtr-offers-subtitle-row .rtr-section-link:visited{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 92px !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    background: #ff4a00 !important;
    border: 1px solid #ff4a00 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.rtr-offers-subtitle-row .rtr-section-link:hover,
.rtr-offers-subtitle-row .rtr-section-link:focus{
    background: #c93a00 !important;
    border-color: #c93a00 !important;
    color: #ffffff !important;
}

.rtr-offers-section .rtr-offers-products,
.rtr-offers-section .woocommerce,
.rtr-offers-section ul.products{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.rtr-offers-section ul.products li.product{
    background: #ffffff !important;
}

@media (max-width: 768px){
    .rtr-offers-section .rtr-section-title h2{
        font-size: 24px !important;
    }

    .rtr-offers-subtitle-row{
        align-items: flex-start !important;
        flex-direction: row !important;
    }

    .rtr-offers-subtitle-row p{
        font-size: 15px !important;
    }
}


/* RT Recovery - Action Figures / Games: carrosséis compactos finais */
.rtr-double-banners-section .rtr-category-carousel{
    min-height: 166px !important;
    padding: 13px 15px !important;
    justify-content: flex-start !important;
}

.rtr-double-banners-section .rtr-category-carousel-head{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 0 9px 0 !important;
}

.rtr-double-banners-section .rtr-category-carousel-head h2{
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 21px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.rtr-double-banners-section .rtr-category-more-link,
.rtr-double-banners-section .rtr-category-more-link:visited{
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.rtr-double-banners-section .rtr-category-more-link:hover,
.rtr-double-banners-section .rtr-category-more-link:focus{
    color: #ffffff !important;
    text-decoration: underline !important;
}

.rtr-double-banners-section .rtr-category-carousel-viewport{
    width: 100% !important;
    overflow: hidden !important;
}

.rtr-double-banners-section .rtr-category-carousel-track{
    display: flex !important;
    gap: 10px !important;
    width: max-content !important;
    animation: rtrCategoryCarousel 18s linear infinite !important;
}

.rtr-double-banners-section .rtr-category-carousel:hover .rtr-category-carousel-track,
.rtr-double-banners-section .rtr-category-carousel:focus-within .rtr-category-carousel-track{
    animation-play-state: paused !important;
}

.rtr-double-banners-section .rtr-category-mini-card{
    flex: 0 0 172px !important;
    width: 172px !important;
    max-width: 172px !important;
    min-width: 172px !important;
    display: grid !important;
    grid-template-columns: 130px 29px !important;
    gap: 3px !important;
    align-items: stretch !important;
    padding: 4px !important;
    border: 1px solid #ffffff !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    color: #ffffff !important;
    text-decoration: none !important;
    background: transparent !important;
}

.rtr-double-banners-section .rtr-category-mini-image{
    display: block !important;
    width: 130px !important;
    height: 130px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

.rtr-double-banners-section .rtr-action-figures-carousel .rtr-category-mini-image,
.rtr-double-banners-section .rtr-games-carousel .rtr-category-mini-image{
    border: 0 !important;
}

.rtr-double-banners-section .rtr-category-mini-image img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.rtr-double-banners-section .rtr-category-mini-card strong{
    width: 29px !important;
    min-height: 130px !important;
    margin: 0 !important;
    padding: 2px 0 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 1.12 !important;
    font-weight: 800 !important;
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    transform: none !important;
    overflow: hidden !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.rtr-double-banners-section .rtr-category-carousel-empty{
    margin: 0 !important;
    color: rgba(255,255,255,.88) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

@keyframes rtrCategoryCarousel{
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 5px)); }
}

@media screen and (max-width: 1024px){
    .rtr-double-banners-section .rtr-category-carousel{
        min-height: 158px !important;
        padding: 12px !important;
    }

    .rtr-double-banners-section .rtr-category-mini-card{
        flex-basis: 158px !important;
        width: 158px !important;
        max-width: 158px !important;
        min-width: 158px !important;
        grid-template-columns: 118px 27px !important;
    }

    .rtr-double-banners-section .rtr-category-mini-image{
        width: 118px !important;
        height: 118px !important;
    }

    .rtr-double-banners-section .rtr-category-mini-card strong{
        width: 27px !important;
        min-height: 118px !important;
    }
}

@media screen and (max-width: 768px){
    .rtr-double-banners-section .rtr-category-carousel{
        min-height: 152px !important;
        padding: 12px !important;
    }

    .rtr-double-banners-section .rtr-category-carousel-head h2{
        font-size: 19px !important;
    }

    .rtr-double-banners-section .rtr-category-mini-card{
        flex-basis: 146px !important;
        width: 146px !important;
        max-width: 146px !important;
        min-width: 146px !important;
        grid-template-columns: 108px 25px !important;
    }

    .rtr-double-banners-section .rtr-category-mini-image{
        width: 108px !important;
        height: 108px !important;
    }

    .rtr-double-banners-section .rtr-category-mini-card strong{
        width: 25px !important;
        min-height: 108px !important;
        font-size: 11px !important;
    }
}


/* RT Recovery - bloco Com base na sua navegação igual aos demais cards */
.rt-related-products,
.rt-navigation-products,
.rt-recommended-products,
.rt-products-you-may-like,
.rt-browsing-based-products{
    width:100% !important;
}

.rt-related-products ul.products,
.rt-navigation-products ul.products,
.rt-recommended-products ul.products,
.rt-products-you-may-like ul.products,
.rt-browsing-based-products ul.products{
    display:grid !important;
    grid-template-columns:repeat(auto-fill,minmax(240px,1fr)) !important;
    gap:20px !important;
}

.rt-related-products li.product,
.rt-navigation-products li.product,
.rt-recommended-products li.product,
.rt-products-you-may-like li.product,
.rt-browsing-based-products li.product{
    height:auto !important;
    min-height:0 !important;
}
