/*
Theme Name: Cheeky Snooze
Theme URI: https://sarasole.com
Description: 
Author: Sara Solé Studio
Author URI: https://sarasole.com
Template: kadence
Version: 1.0.0
Text Domain: cheeky-snooze
*/

.cheeky-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  width: 100%;
}

/* CARD */
.cheeky-product-card {
  position: relative;
  background: #fbf5ed;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(70, 55, 42, 0.06);
  border: 1px solid rgba(92, 76, 62, 0.08);
  display: flex;
  flex-direction: column;
}

/* IMAGE */
.cheeky-product-image-wrap {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4eadf;
  padding: 0;
}

.cheeky-product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.45s ease;
}

.cheeky-product-card:hover .cheeky-product-image-wrap img {
  transform: scale(1.03);
}

/* CONTENT */
.cheeky-product-content {
  padding: 24px 22px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* TITLE */
.cheeky-product-content h3 {
  font-size: 15px;
  line-height: 1.35;
  margin: 0 0 18px;
  color: #6b4f3b;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* DESCRIPTION */
.cheeky-product-description {
  font-size: 13px;
  line-height: 1.45;
  color: #5f5147;
  margin: 0 0 22px;
  text-align: center;
}

.cheeky-product-description p {
  margin: 0 0 18px;
}

.cheeky-product-description p:last-child {
  margin-bottom: 0;
}

/* LIST INSIDE DESCRIPTION */
.cheeky-product-description ul {
  list-style: none;
  padding: 0;
  margin: 18px auto 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  text-align: left;
}

.cheeky-product-description li {
  position: relative;
  padding-left: 0px;
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #5f5147;
}

.cheeky-product-description li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #6f5846;
}



/* PRICE */
.cheeky-product-price {
  font-size: 24px;
  line-height: 1;
  color: #2f2925;
  margin-bottom: 18px;
  font-weight: 300;
}

.cheeky-product-price del {
  opacity: 0.45;
  font-size: 14px;
}

.cheeky-product-price ins {
  text-decoration: none;
}

/* BUTTON */
.cheeky-product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: #6f5846 !important;
  background: transparent;
  border: 1px solid rgba(111, 88, 70, 0.35);
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  transition: all 0.25s ease;
}

.cheeky-product-button:hover {
  background: #6f5846;
  color: #fff !important;
  border-color: #6f5846;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .cheeky-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .cheeky-product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cheeky-product-content {
    padding: 24px 22px;
  }

  .cheeky-product-content h3 {
    font-size: 15px;
  }

  .cheeky-product-price {
    font-size: 22px;
  }
}



/* FICHA PRODUCTO ADDONS */

.single-product .cheeky-addon-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 24px 70px;
}

.cheeky-addon-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  background: #fffaf4;
  border: 1px solid rgba(111, 88, 70, 0.14);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 18px 45px rgba(70, 55, 42, 0.06);
}

.cheeky-addon-image-box {
  width: 100%;
  aspect-ratio: 1 / 1.02;
  background: #f4eadf;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cheeky-addon-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cheeky-addon-right {
  padding: 10px 8px;
}

.cheeky-addon-title {
  font-size: 42px;
  line-height: 1.08;
  font-weight: 300;
  color: #5d4334;
  margin: 0 0 18px;
}

.cheeky-addon-description {
  font-size: 16px;
  line-height: 1.6;
  color: #6b5a4d;
  margin-bottom: 24px;
}

.cheeky-addon-description p {
  margin: 0 0 14px;
}

.cheeky-addon-description p:last-child {
  margin-bottom: 0;
}

.cheeky-addon-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 28px;
}

.cheeky-addon-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6b5a4d;
  font-size: 15px;
}

.cheeky-addon-feature span,
.cheeky-svg-icon {
  width: 22px;
  min-width: 22px;
  height: 22px;
  color: #b9957b;
  text-align: center;
  font-size: 17px;
}

.cheeky-addon-feature p {
  margin: 0;
}

/* PRECIO ARRIBA */
.cheeky-addon-price-row {
  background: #fbf5ed;
  border: 1px solid rgba(111, 88, 70, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.cheeky-addon-price-row > span {
  display: block;
  font-size: 13px;
  color: #8a7869;
  margin-bottom: 6px;
}
.cheeky-addon-price {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  line-height: 1;
  color: #3f342d;
  font-weight: 400;
  margin-bottom: 8px;
}

.cheeky-addon-price del {
  opacity: 0.45;
  font-size: 18px;
}

.cheeky-addon-price ins {
  text-decoration: none;
}

.cheeky-addon-price-row small {
  display: block;
  color: #9a8675;
  font-size: 14px;
}

/* SELECTOR IDIOMA */
.cheeky-addon-step {
  font-size: 15px;
  font-weight: 500;
  color: #4f4035;
  margin: 0 0 14px;
}

.cheeky-lang-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.cheeky-lang-btn {
  min-height: 54px;
  border-radius: 12px;
  border: 1px solid rgba(111, 88, 70, 0.25);
  background: #fffaf4;
  color: #6b5a4d;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cheeky-lang-btn span {
  margin-right: 6px;
}

.cheeky-lang-btn:hover,
.cheeky-lang-btn.is-active {
  border-color: #9a6b43;
  background: #f3e6d8;
  color: #5d4334;
}

/* Ocultar desplegable original pero mantenerlo funcional */
.cheeky-addon-cart table.variations {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  margin: 0 !important;
}

.cheeky-addon-cart .reset_variations {
  display: none !important;
}

.cheeky-addon-cart form.cart {
  margin-bottom: 0 !important;
}

.cheeky-addon-cart form.cart .quantity {
  display: none !important;
}

.cheeky-addon-cart .single_variation {
  margin-bottom: 12px;
}

.cheeky-addon-cart .woocommerce-variation-price {
  display: none !important;
}

.cheeky-addon-cart .single_add_to_cart_button {
  width: 100%;
  min-height: 54px;
  border-radius: 10px !important;
  background: #9a6b43 !important;
  color: #fff !important;
  font-size: 14px !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 500 !important;
  border: 0 !important;
  margin-top: 8px;
}

.cheeky-addon-cart .single_add_to_cart_button:hover {
  background: #7b5232 !important;
}

.cheeky-addon-cart .single_add_to_cart_button.disabled {
  opacity: 0.45 !important;
}

/* PAGO DENTRO DE FICHA */
.cheeky-payment-box {
  margin-top: 18px;
  background: #fff;
  border: 1px solid rgba(111, 88, 70, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
}

.cheeky-payment-box p {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b5a4d;
  font-weight: 500;
}

.cheeky-payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cheeky-payment-methods span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #f4eadf;
  color: #6b5a4d;
  font-size: 10px;
  font-weight: 600;
}

.cheeky-addon-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.cheeky-addon-trust div {
  background: #fbf5ed;
  border: 1px solid rgba(111, 88, 70, 0.12);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}

.cheeky-addon-trust span {
  display: block;
  color: #b9957b;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 8px;
}

.cheeky-addon-trust p {
  margin: 0;
  color: #6b5a4d;
}

.cheeky-addon-trust strong {
  display: block;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
  margin-bottom: 4px;
}

.cheeky-addon-trust small {
  display: block;
  font-size: 10px;
  line-height: 1.35;
  color: #9a8675;
}

@media (max-width: 767px) {
  .cheeky-addon-trust {
    grid-template-columns: 1fr;
  }

  .cheeky-addon-trust div {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 12px;
  }

  .cheeky-addon-trust span {
    margin-bottom: 0;
    min-width: 22px;
  }
}

/* BLOQUE INFERIOR */
.cheeky-addon-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: #fffaf4;
  border: 1px solid rgba(111, 88, 70, 0.14);
  border-radius: 22px;
  padding: 26px 22px;
  margin-top: 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(70, 55, 42, 0.04);
}

.cheeky-addon-bottom span {
  display: block;
  font-size: 28px;
  color: #b9957b;
  margin-bottom: 12px;
}

.cheeky-addon-bottom p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #6b5a4d;
}

/* OCULTAR SOBRANTES */
.single-product.product_cat-addons .woocommerce-breadcrumb,
.single-product.product_cat-addons .product_meta,
.single-product.product_cat-addons .woocommerce-tabs,
.single-product.product_cat-addons .related.products {
  display: none !important;
}

/* Ocultar bloque externo de métodos de pago si el tema/plugin lo saca fuera */
.single-product.product_cat-addons .wc-stripe-payment-request-wrapper,
.single-product.product_cat-addons .wc-stripe-payment-request-button-separator,
.single-product.product_cat-addons .payment-methods,
.single-product.product_cat-addons .payment-icons,
.single-product.product_cat-addons .woocommerce-product-details__short-description + fieldset {
  display: none !important;
}
.product_cat-addons .summary, .cheeky-addon-cart .woocommerce-variation-description {
  display: none !important;
}




/* RESPONSIVE */
@media (max-width: 1024px) {
  .cheeky-addon-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cheeky-addon-title {
    font-size: 34px;
  }

  .cheeky-addon-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 767px) {
  .single-product .cheeky-addon-page {
    padding: 28px 16px 50px;
  }

  .cheeky-addon-card {
    padding: 18px;
    border-radius: 22px;
  }

  .cheeky-addon-title {
    font-size: 30px;
  }

  .cheeky-addon-description {
    font-size: 15px;
  }

  .cheeky-lang-buttons {
    grid-template-columns: 1fr;
  }

  .cheeky-addon-bottom {
    grid-template-columns: 1fr;
  }
}


/* FICHA PRODUCTO PLANES */

.single-product .cheeky-plan-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 24px 70px;
}

.cheeky-plan-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  background: #fffaf4;
  border: 1px solid rgba(111, 88, 70, 0.14);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 18px 45px rgba(70, 55, 42, 0.06);
}

.cheeky-plan-image-box {
  width: 100%;
  aspect-ratio: 1 / 1.02;
  background: #f4eadf;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cheeky-plan-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cheeky-plan-right {
  padding: 10px 8px;
}

.cheeky-plan-category {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b2937d;
  margin-bottom: 12px;
}

.cheeky-plan-title {
  font-size: 42px;
  line-height: 1.08;
  font-weight: 300;
  color: #5d4334;
  margin: 0 0 22px;
}

.cheeky-plan-price-row {
  background: #fbf5ed;
  border: 1px solid rgba(111, 88, 70, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.cheeky-plan-price-row > span {
  display: block;
  font-size: 13px;
  color: #8a7869;
  margin-bottom: 6px;
}

.cheeky-plan-price {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  line-height: 1;
  color: #3f342d;
  font-weight: 400;
  margin-bottom: 8px;
}

.cheeky-plan-price del {
  opacity: 0.45;
  font-size: 18px;
}

.cheeky-plan-price ins {
  text-decoration: none;
}

.cheeky-plan-price-row small {
  display: block;
  color: #9a8675;
  font-size: 14px;
  line-height: 1.4;
}

.cheeky-plan-description {
  font-size: 16px;
  line-height: 1.6;
  color: #6b5a4d;
  margin-bottom: 24px;
}

.cheeky-plan-description p {
  margin: 0 0 14px;
}

.cheeky-plan-description ul {
  padding-left: 18px;
  margin: 14px 0 0;
}

.cheeky-plan-description li {
  margin-bottom: 6px;
}

.cheeky-plan-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 26px;
}

.cheeky-plan-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6b5a4d;
  font-size: 15px;
}

.cheeky-plan-feature span {
  width: 22px;
  min-width: 22px;
  color: #b9957b;
  text-align: center;
  font-size: 17px;
}

.cheeky-plan-feature p {
  margin: 0;
}

.cheeky-plan-cart form.cart {
  margin-bottom: 0 !important;
}

.cheeky-plan-cart form.cart .quantity {
  display: none !important;
}

.cheeky-plan-cart .single_add_to_cart_button {
  width: 100%;
  min-height: 54px;
  border-radius: 10px !important;
  background: #9a6b43 !important;
  color: #fff !important;
  font-size: 14px !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 500 !important;
  border: 0 !important;
  margin-top: 8px;
}

.cheeky-plan-cart .single_add_to_cart_button:hover {
  background: #7b5232 !important;
}

.cheeky-plan-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.cheeky-plan-trust div {
  background: #fbf5ed;
  border: 1px solid rgba(111, 88, 70, 0.12);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}

.cheeky-plan-trust span {
  display: block;
  color: #b9957b;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 8px;
}

.cheeky-plan-trust p {
  margin: 0;
  color: #6b5a4d;
}

.cheeky-plan-trust strong {
  display: block;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
  margin-bottom: 4px;
}

.cheeky-plan-trust small {
  display: block;
  font-size: 10px;
  line-height: 1.35;
  color: #9a8675;
}

.cheeky-plan-bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: #fffaf4;
  border: 1px solid rgba(111, 88, 70, 0.14);
  border-radius: 22px;
  padding: 26px 22px;
  margin-top: 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(70, 55, 42, 0.04);
}

.cheeky-plan-bottom span {
  display: block;
  font-size: 28px;
  color: #b9957b;
  margin-bottom: 12px;
}

.cheeky-plan-bottom p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #6b5a4d;
}

/* Ocultar elementos nativos sobrantes en Planes */
.single-product.product_cat-planes .woocommerce-breadcrumb,
.single-product.product_cat-planes .product_meta,
.single-product.product_cat-planes .posted_in,
.single-product.product_cat-planes .tagged_as,
.single-product.product_cat-planes .woocommerce-tabs,
.single-product.product_cat-planes .related.products,
.single-product.product_cat-planes fieldset,
.single-product.product_cat-planes fieldset legend {
  display: none !important;
}
.product_cat-planes .summary.entry-summary{display:none;}

/* Responsive */
@media (max-width: 1024px) {
  .cheeky-plan-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cheeky-plan-title {
    font-size: 34px;
  }

  .cheeky-plan-bottom {
    grid-template-columns: repeat(2, 1fr);
  }

  .cheeky-plan-trust {
    grid-template-columns: 1fr;
  }

  .cheeky-plan-trust div {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 12px;
  }

  .cheeky-plan-trust span {
    margin-bottom: 0;
    min-width: 22px;
  }
}

@media (max-width: 767px) {
  .single-product .cheeky-plan-page {
    padding: 28px 16px 50px;
  }

  .cheeky-plan-card {
    padding: 18px;
    border-radius: 22px;
  }

  .cheeky-plan-title {
    font-size: 30px;
  }

  .cheeky-plan-description {
    font-size: 15px;
  }

  .cheeky-plan-bottom {
    grid-template-columns: 1fr;
  }
}