/*
   OtakuOshi Shop — estilo de la tienda de Shopify (página de tienda, fichas y colecciones)
   con la misma estética oscura que tenía la tienda de WooCommerce (oo-shop.css de OtakuOshi Fans).
*/

body.oo-shopify,
body.oo-shopify-shop{background:#08080d!important}

body.oo-shopify #page,
body.oo-shopify-shop #page,
body.oo-shopify .inside-article,
body.oo-shopify-shop .inside-article{background:transparent!important}

body.oo-shopify .site-main,
body.oo-shopify-shop .site-main{display:block!important;grid-template-columns:none!important;max-width:1240px!important;margin:0 auto!important;padding:24px 24px 72px!important}

body.oo-shopify-shop .entry-title{font-family:var(--oo-font,inherit);color:#f0edf8!important;font-size:2rem;font-weight:800;letter-spacing:-.02em;line-height:1.15;margin:0 0 22px}

/* ---------- Listado (bloque de colección) ---------- */
.wp-block-shopify-collection-shopify-collection-block .collection-grid__grid{gap:22px!important}
.product-card{background:#15151f!important;border:1px solid #262636!important;border-radius:18px!important;overflow:hidden;box-shadow:none!important;transition:transform .2s ease,border-color .2s ease}
.product-card:hover{transform:translateY(-3px);border-color:rgba(214,95,160,.55)!important}
.product-card__image-container{background:#0b0b12!important;border-radius:0!important}
.product-card__image-container img{border-radius:0!important}
.product-card__details{padding:14px 16px 18px!important;background:transparent!important}
.product-card__title,
.product-card__title a{font-family:var(--oo-font,inherit);color:#f0edf8!important;font-size:1rem!important;font-weight:700!important;line-height:1.3!important;opacity:1!important}
.product-card__price,
.product-card__price *{color:#ffb3d9!important;font-weight:800!important;opacity:1!important}
.product-card__hover-button{background:var(--oo-grad,linear-gradient(135deg,#d65fa0,#7d197f))!important;color:#fff!important;border:0!important;border-radius:999px!important;font-weight:800}

/* ---------- Ficha de producto ---------- */
.single-product__container{background:transparent!important;gap:32px}
.single-product__main-image img{border-radius:18px}
.single-product__details{background:#15151f!important;border:1px solid #262636!important;border-radius:18px!important;color:#f0edf8!important}
.single-product__title{font-family:var(--oo-font,inherit);color:#f0edf8!important;font-size:2rem!important;font-weight:800!important;line-height:1.15!important;letter-spacing:-.02em}
.single-product__price,
.single-product__price shopify-money{color:#ffb3d9!important;font-size:1.6rem!important;font-weight:800!important}
.single-product__compare-price{color:#8e8aa2!important;font-size:1rem!important;text-decoration:line-through}
.single-product__add-button{background:var(--oo-grad,linear-gradient(135deg,#d65fa0,#7d197f))!important;color:#fff!important;border:0!important;border-radius:999px!important;font-weight:800!important;box-shadow:0 6px 20px rgba(214,95,160,.3)}
.single-product__add-button:hover{filter:brightness(1.08)}
.single-product__buy-button{background:transparent!important;color:#f0edf8!important;border:1px solid #33334a!important;border-radius:999px!important;font-weight:700!important}
.single-product__add-button[disabled],
.single-product__buy-button[disabled]{opacity:.45;box-shadow:none}
.single-product__incrementor{background:#0b0b12!important;border:1px solid #262636!important;border-radius:999px!important}
.single-product__incrementor button,
.single-product__count{color:#f0edf8!important;background:transparent!important}
.single-product__accordion,
.single-product__accordion__item{background:transparent!important;border-color:#262636!important}
.single-product__accordion__header{color:#f0edf8!important}
.single-product__accordion__content,
.single-product__description-text{color:#cfcbe0!important}

shopify-variant-selector::part(label){color:#f0edf8;font-weight:700}
shopify-variant-selector::part(radio){background:#0b0b12;border:1px solid #262636;color:#f0edf8;border-radius:999px}
shopify-variant-selector::part(radio-selected){border-color:#d65fa0;background:rgba(214,95,160,.15)}

@media (max-width:768px){
    body.oo-shopify .site-main,
    body.oo-shopify-shop .site-main{padding:16px 14px 56px!important}
    .single-product__title{font-size:1.5rem!important}
    .wp-block-shopify-collection-shopify-collection-block .collection-grid__grid{gap:14px!important}
}

/* ---------- Menú de categorías ---------- */
.oo-shop-cats{max-width:1240px;margin:24px auto 0;padding:0 24px}
.oo-shop-cats ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.oo-shop-cats li{margin:0}
.oo-shop-cats a{display:inline-block;padding:8px 16px;border:1px solid #262636;border-radius:999px;background:#15151f;color:#f0edf8!important;font-weight:700;font-size:.9rem;text-decoration:none;line-height:1.2;transition:border-color .2s ease,background .2s ease}
.oo-shop-cats a:hover{border-color:rgba(214,95,160,.55)}
.oo-shop-cats a.is-active{background:var(--oo-grad,linear-gradient(135deg,#d65fa0,#7d197f));border-color:transparent;color:#fff!important}
body.oo-shopify-shop .site-main,
body.oo-shopify-collection .site-main{padding-top:16px!important}
@media (max-width:768px){
    .oo-shop-cats{margin-top:14px;padding:0 14px}
    .oo-shop-cats ul{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px}
    .oo-shop-cats a{white-space:nowrap}
}

/* El menú va dentro de #content (flex en fila del tema): ocupa toda la fila y el listado va debajo. */
body.oo-shopify-shop #content,
body.oo-shopify #content{flex-wrap:wrap!important}
body.oo-shopify-shop .oo-shop-cats,
body.oo-shopify .oo-shop-cats{flex:0 0 100%;width:100%;box-sizing:border-box}
body.oo-shopify-shop #primary,
body.oo-shopify-collection #primary{flex:1 1 100%;width:100%}
