/*
 Theme Name: Storefront Child
 Template: storefront
 Text Domain: storefront-child
*/

/* Ejemplo: Sobrescribir colores de Bootstrap (si usas variables CSS de Bootstrap v5+) */
:root {
    --bs-primary: #b77a96;
    --bs-secondary: #6fc3b2;
    --bs-success: #ECA163;
    --bs-info: #BC79A2;
    --bs-warning: #6EC8AC;
    --bs-danger: #CB1D59;
    --bs-light: #B779A0;
    --bs-dark: #000000;
    --bs-white: #ffffff;


    /* También puedes definir tus propias variables para usarlas luego */
    --color-marca-principal: #005A8D;
    --color-marca-acento: #FFA500;
    /* Naranja para acentos */
    --color-texto-base: #333333;
    
    --rik-purple: #b77a96;     /* fondo / marca */
    --rik-mint: #6fc3b2;       /* producto */
    --rik-cream: #f5e6d3;      /* suavidad */
    --rik-cherry: #e24b5b;     /* CTA fuerte */
    --rik-white: #ffffff;
    --rik-text: #4a2c36;
}

html {
     background-color: #C67E80 !important; 
}

body {
    font-family: 'Quicksand', sans-serif;
    word-break: normal;
    overflow-wrap: normal;
    white-space: normal;
}

a {
    font-family: 'Readex Pro', sans-serif;
    color: var(--bs-dark) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Fredoka', sans-serif !important;
    font-weight: 600 !important;
}

/* Quitar contenedor y hacer full width */
.site-content .col-full {
    max-width: 100% !important;
    padding-left: 0em !important;
    padding-right: 0em !important;
    margin: 0em !important;
}

/* Evitar overflow horizontal */
body {
    overflow-x: hidden;
}

.fas {
    font-size: 1.5em !important;
}

.contenedor-particulas {
    displey:none;
}

/* Header container */
.rk-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5em 1em;
    gap: 1.5em;
    background-color: var(--bs-primary);
}

.custom-logo {
    max-width: 80px !important;
    height: auto !important;
}

/* Left, Center, Right */
.rk-header-left,
.rk-header-center,
.rk-header-right {
    display: flex;
    align-items: center;
}

/* Center grow for menu */
.rk-header-center {
    flex-grow: 1;
    justify-content: center;
}

/* Right items */
.rk-header-right {
    display: flex;
    align-items: center;
    gap: 1em;
}

/* Menu: horizontal */
.rk-header-center .primary-navigation {
    display: flex;
    gap: 1.5em;
}

.site-header-cart .widget_shopping_cart {
    background-color: var(--rik-white) !important;
    border: 1px solid var(--rik-purple) !important;
}

.site-header-cart .widget_shopping_cart .buttons, .site-header-cart .widget_shopping_cart .total {
    background-color: var(--rik-white) !important;
}

.added_to_cart.alt, .added_to_cart, .widget a.button.checkout{
    background-color: var(--rik-cherry) !important;
}

@media(max-width: 768px) {
    .rk-header-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .rk-header-center {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: .5em;
    }
}


.parallax-circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    z-index: 0;
    /* detrás de todo */
    pointer-events: none;
    overflow: hidden;
}

.parallax-circles::before,
.parallax-circles::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.2) 10px, transparent 11px),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.15) 8px, transparent 9px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 12px, transparent 13px),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.15) 10px, transparent 11px);
    background-repeat: repeat;
    background-size: 300px 300px;
    animation: moveParallax 60s linear infinite;
}

.parallax-circles::after {
    animation-direction: moveParallaxReverse 60s linear infinite;
    opacity: 0.7;
}

@keyframes moveParallax {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-200px, -200px);
    }
}

@keyframes moveParallaxReverse {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(200px, 200px);
    }
}

.main-title-rikitish {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 5em;
}

footer {
    background-color: #B47DA6 !important;
}

.btn {
    border-radius: 25px;
}

.btn-primary {
    background-color: var(--bs-primary);
    color: var(--bs-white) !important;
    border-color: var(--bs-primary);

}

.hero-section {
    position: relative;
    background-color: #C67E80;
    overflow: hidden;
    height: auto;
}

.hero-section .container {
    z-index: 1;
}

.hero-section-footer {
    position: relative;
    background-color: #C67E80;
    overflow: hidden;
    height: auto;
}

.header-rikitish {
    background-color: #b57a9f !important;
    font-weight: bold;
}

ul>li>a {
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}

ul>li>a:hover {
    color: var(--bs-white) !important;
}

.main-navigation ul.menu ul.sub-menu, .main-navigation ul.nav-menu ul.children {
    background-color: var(--bs-white) !important;
}

.main-navigation ul.menu ul.sub-menu, .main-navigation ul.nav-menu ul.children:hover {
    background-color: var(--bs-success) !important;
    color: var(--bs-dark) !important;
}

/* Máscara decorativa */
.mask-overlay {
    position: absolute;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 300px;
    background-color: #B47DA6;
    -webkit-mask-image: var(--theme-img-url);
    mask-image: var(--theme-img-url);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center bottom;
    mask-position: center bottom;
    -webkit-mask-size: contain;
    mask-size: contain;
    pointer-events: none;
    z-index: 1;
}

.mask-overlay-inverted {
    position: absolute;
    top: 0;
    bottom: auto;
    width: 100%;
    height: 300px;
    background-color: #B47DA6;
    -webkit-mask-image: var(--theme-img-url);
    mask-image: var(--theme-img-url);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center bottom;
    mask-position: center bottom;
    -webkit-mask-size: contain;
    mask-size: contain;
    pointer-events: none;
    rotate: 180deg;
    z-index: 1;
}

.mask-overlay-footer {
    position: absolute;
    top: auto;
    bottom: 0;
    width: 100%;
    min-height: 300px;
    background-color: #B47DA6;
    -webkit-mask-image: var(--theme-img-url);
    mask-image: var(--theme-img-url);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center bottom;
    mask-position: center bottom;
    -webkit-mask-size: contain;
    mask-size: contain;
    pointer-events: none;
    z-index: 1;
}

/* GRID RESPONSIVO */
.rikitish-category-grid {
     display: grid!important;
    grid-auto-flow: row dense;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* CARD GENERAL */
.rikitish-card {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    background: #faf7f4;
}

.rikitish-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.rikitish-card .rikitish-btn:hover {
    background-color: #1e8256 !important;
    color: #fff !important;
}

/* CONTENIDO */
.rikitish-card a {
    display: flex;
    flex-direction: column;
    text-align: center;
    text-decoration: none!important;
    padding: 1rem;
    gap: 1rem;
}

/* IMAGEN */
.rikitish-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    height: auto;
    min-height: 200px; /* fallback */
    overflow: hidden;
    border-radius: 12px;
}


.rikitish-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.section-categorias .products:before,
.section-categorias .products:after {
    content: none !important;
    display: none !important;
}

.rikitish-card:hover .rikitish-thumb img {
    transform: scale(1.1);
}

/* TITULO */
.rikitish-card .woocommerce-loop-category__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    margin-top: 0.5em;
    color: #333;
}

/* BOTON */
.rikitish-btn {
    border-radius: 50px !important;
    padding: 10px 18px !important;
    display: inline-block;
    margin-top: auto;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background-color: #27a06c !important;
    color: #000000!important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

/* ===============================
   RIKITISH – PRODUCTOS
   =============================== */

.rikitish-products-section {
    width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    background: transparent;
}

/* Grid responsivo sin bootstrap */
.rikitish-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Tarjeta individual */
.rikitish-product-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.rikitish-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

/* Contenedor imagen + wishlist */
.rikitish-product-media {
    position: relative;
    text-align: center;
    padding: 12px;
}

/* Imagen uniforme */
.rikitish-product-image img {
    margin-left: 0.5em;
    width: 100%;
    height: 200px;
    object-fit: contain; /* importante para tamaños uniformes */
}

/* Wishlist flotante */
.rikitish-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    cursor: pointer;
}

/* Info del producto */
.rikitish-product-info {
    text-align: center;
    margin-top: 10px;
}

.rikitish-product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.rikitish-product-price {
    font-size: 1rem;
    color: #27a06c;
    font-weight: 700;
}

/* Botón agregar al carrito */
.rikitish-product-actions {
    margin-top: auto;
    text-align: center;
}

.rikitish-product-actions .button {
    border-radius: 50px !important;
    padding: 10px 18px !important;
    font-weight: 600;
    width: auto;
    margin-top: 14px;
    background-color: #27a06c;
    color: #fff;
    text-transform: none;
    border: none;
}

.added_to_cart{
    border-radius: 50px !important;
    margin-top: 1em !important;
}

.rikitish-product-actions .button:hover {
    background-color: #1e8256;
    color: #fff !important;
}

/* Botón ver tienda */
.rikitish-products-footer {
    text-align: center;
    margin-top: 40px;
}

.rikitish-shop-button {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 30px;
    background: #27a06c;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s ease;
}

.rikitish-shop-button:hover {
    background: #1e8256;
}


.rikitish-btn:hover {
    background: #444;
}

.btn-fredoka {
    font-family: "Fredoka", sans-serif !important;
    font-weight: 500;
    font-size: 1.1em;
    color: #fff
}

/* Elementor */

.elementor-icon-list-icon {
    transform: rotate(35deg);
}

.rikitish-parallax-section {
    background-attachment: fixed;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.rikitish-parallax-content {
    width: 100%;
}

.rikitish-countdown-wrapper .sales-countdown-timer {
    font-size: 2rem;
    font-weight: bold;
    color: #ff4081;
    text-align: center;
    margin-top: 1rem;
}

.woo-sctr-shortcode-countdown-date-value span {
    font-family: "Readex Pro", sans-serif !important;
    font-size: 2rem;
}

/* Imagen en círculo a la izquierda */
.wpmtst-testimonial-image {
    height: 400px;
}

.wpmtst-testimonial-image img {
    width: 380px !important;
    height: 380px !important;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    left: 5em;
}

/* Contenido textual ocupa el resto */
.wpmtst-testimonial-content {
    flex: 1 1 auto;
}

/* Título del testimonio */
.wpmtst-testimonial-heading {
    font-family: "Readex Pro", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ff5e78;
    position: absolute;
    left: 15em;
    top: 2em;
    margin-bottom: 0.5rem;
}

/* Texto del párrafo */
.wpmtst-testimonial-content p {
    width: 50%;
    float: right;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 1rem;
    position: absolute;
    right: 3em;
    top: 10em;
}

/* Nombre del autor */
.testimonial-name {
    font-weight: 600;
    color: #ff4081;
    font-size: 1.1rem;
    position: absolute;
    right: 3em;
    bottom: 3em;
    font-family: 'Fredoka', sans-serif;
}

/* Limpieza para .clear y .maybe-clear */
.clear,
.maybe-clear {
    display: none !important;
}

.shop-container {
  max-width: var(--container-max-width, 1140px);
  margin: 0 auto;
}

.product-container {
  max-width: var(--container-max-width, 1140px);
  margin: 0 auto;
  padding: 2rem 1rem;
}

.button,
button.single_add_to_cart_button,
.woocommerce a.button.alt {
  background-color: var(--rik-cherry);
  color: var(--rik-white);
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: none;
  transition: all 0.25s ease;
}

.button:hover,
button.single_add_to_cart_button:hover {
  background-color: #c83f4e;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(226, 75, 91, 0.35);
}

.button.secondary,
.woocommerce-pagination a {
  background-color: var(--rik-mint);
  color: var(--rik-white);
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
}

.button.secondary:hover {
  background-color: #5bb1a0;
}

.woocommerce select{
  border-radius: 12px;
  padding: 0.5rem 1rem;
}

.woocommerce button:not(.single_add_to_cart_button) {
  background-color: var(--rik-purple);
  color: var(--rik-white);
  border-radius: 12px;
  padding: 0.5rem 1rem;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 999px;
  font-family: inherit;
}

.wc-block-components-button{
  background-color: var(--rik-cherry) !important;
  color: var(--rik-white) !important;
  border-radius: 999px;
  font-family: inherit;
}

.wc-block-components-button:hover {
  background-color: var(--rik-purple) !important;
  color: var(--rik-white) !important;
}

.cart-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.woocommerce-cart table.shop_table {
  width: 100%;
}

.woocommerce-cart td,
.woocommerce-cart th {
  padding: 1rem;
}

.woocommerce-cart button[name="update_cart"] {
  margin-top: 1rem;
}

.cart_totals {
  background-color: #fafafa;
  padding: 1.5rem;
  border-radius: 16px;
}

.checkout-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
  }
}

.woocommerce-checkout-review-order {
  background-color: #fafafa;
  padding: 1.5rem;
  border-radius: 16px;
}

#place_order {
  width: 100%;
  font-size: 1.1rem;
  padding: 1rem;
}


.checkout-intro {
  margin-bottom: 2rem;
  text-align: center;
}

.checkout-intro h2 {
  font-size: 1.8rem;
}

.checkout-intro p {
  color: #666;
}

.checkout-trust {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

.woocommerce-order {
  background-color: #fafafa;
  padding: 2.5rem;
  border-radius: 20px;
  margin-top: 2rem;
}

.thankyou-extra {
  margin-top: 2rem;
  text-align: center;
  color: #666;
}

.thankyou-steps ul {
  list-style: none;
  padding: 0;
}

.thankyou-steps li {
  margin-bottom: 0.5rem;
}
