/* ==========================================================================
   Mad Alice shop restyle — category grids, product pages, cart & checkout.
   Looks only (fonts, colours, outlines, buttons). No layout or behaviour changes.
   Ink #1B1035 · cream #FFF4E4 · yellow #FFD447 · hot pink #FF3D9A · berry #C2156A
   ========================================================================== */

/* ---------- Category / shop pages ---------- */
body.woocommerce .shoptimizer-category-banner{background:#FFE27A!important;border-bottom:4px solid #1B1035;position:relative;overflow:hidden}
body.woocommerce .shoptimizer-category-banner::after{content:"";position:absolute;left:0;right:0;bottom:0;height:10px;background-image:repeating-conic-gradient(#1B1035 0 25%,#FFF4E4 0 50%);background-size:10px 10px}
body.woocommerce .shoptimizer-category-banner h1{font-family:Oswald,sans-serif!important;text-transform:uppercase;font-size:clamp(40px,5vw,68px)!important;line-height:1!important;color:#1B1035!important;letter-spacing:.01em}
body.woocommerce .shoptimizer-category-banner .taxonomy-description,body.woocommerce .shoptimizer-category-banner .taxonomy-description *{font-family:Outfit,sans-serif!important;color:#1B1035!important;font-size:18px!important;font-weight:500!important;line-height:1.5!important}

/* wedding categories get the soft bridal palette */
body.term-wedding .shoptimizer-category-banner{background:#F6E3E0!important;border-bottom-color:#4A3A4C}
body.term-wedding .shoptimizer-category-banner::after{background-image:repeating-conic-gradient(#E9C8C1 0 25%,#FFFDF9 0 50%)}
body.term-wedding .shoptimizer-category-banner h1{font-family:Fraunces,Georgia,serif!important;text-transform:none;font-weight:500!important;color:#3A2E3C!important}

/* product cards */
body.woocommerce ul.products li.product{background:#fff;border:3px solid #1B1035;border-radius:16px;box-shadow:5px 5px 0 #1B1035;overflow:hidden;padding-bottom:14px!important;transition:transform .25s,box-shadow .25s}
body.woocommerce ul.products li.product:hover{transform:translateY(-5px);box-shadow:7px 9px 0 #1B1035}
body.woocommerce ul.products li.product .woocommerce-image__wrapper{border-bottom:3px solid #1B1035;margin-bottom:12px}
body.woocommerce ul.products li.product .woocommerce-card__header{padding:0 14px!important}
body.woocommerce ul.products li.product .woocommerce-loop-product__title,body.woocommerce ul.products li.product .woocommerce-loop-product__title a{font-family:Oswald,sans-serif!important;text-transform:uppercase;font-size:17px!important;line-height:1.15!important;color:#1B1035!important;letter-spacing:.01em}
body.woocommerce ul.products li.product .price{font-family:Fraunces,Georgia,serif!important;font-style:italic;font-weight:800;font-size:19px!important;color:#C2156A!important}
body.woocommerce ul.products li.product .price del{color:#8a7f95!important;font-weight:400}
body.term-wedding ul.products li.product{border-color:#4A3A4C;box-shadow:5px 5px 0 #E9C8C1}
body.term-wedding ul.products li.product .woocommerce-image__wrapper{border-bottom-color:#4A3A4C}
body.term-wedding ul.products li.product .woocommerce-loop-product__title,body.term-wedding ul.products li.product .woocommerce-loop-product__title a{font-family:Fraunces,serif!important;text-transform:none;font-weight:500;font-size:18px!important;color:#3A2E3C!important}
body.term-wedding ul.products li.product .price{font-family:Outfit,sans-serif!important;font-style:normal;font-weight:500;color:#B9827A!important}

/* sorting + pagination */
body.woocommerce .woocommerce-ordering select{border:2px solid #1B1035!important;border-radius:999px!important;padding-left:16px!important;font-family:Outfit,sans-serif;background-color:#fff}
body.woocommerce .woocommerce-result-count{font-family:Outfit,sans-serif;color:#1B1035}
body.woocommerce nav.woocommerce-pagination ul li .page-numbers{border:2px solid #1B1035!important;border-radius:999px!important;font-family:Oswald,sans-serif;min-width:40px;color:#1B1035}
body.woocommerce nav.woocommerce-pagination ul li .page-numbers.current,body.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover{background:#1B1035!important;color:#FFF4E4!important}

/* ---------- Single product page ---------- */
body.single-product .product_title{font-family:Oswald,sans-serif!important;text-transform:uppercase;font-size:clamp(30px,3.2vw,46px)!important;line-height:1.02!important;color:#1B1035!important;letter-spacing:.01em}
body.single-product .summary .price{font-family:Fraunces,Georgia,serif!important;font-style:italic;font-weight:800;font-size:28px!important;color:#C2156A!important}
body.single-product #commercegurus-pdp-gallery .cg-main-swiper{border:3px solid #1B1035;border-radius:18px;overflow:hidden;box-shadow:6px 6px 0 #1B1035}
body.single-product .variations select,body.single-product .summary select{border:2px solid #1B1035!important;border-radius:12px!important;font-family:Outfit,sans-serif;background-color:#fff}
body.single-product .variations label,body.single-product .variations th{font-family:Oswald,sans-serif!important;text-transform:uppercase;letter-spacing:.03em;color:#1B1035}
body.single-product .quantity .qty{border:2px solid #1B1035!important;border-radius:12px!important}
body.single-product .single_add_to_cart_button{background:#1B1035!important;color:#FFF4E4!important;border-radius:999px!important;font-family:Oswald,sans-serif!important;text-transform:uppercase;letter-spacing:.04em;font-size:19px!important;box-shadow:5px 5px 0 #FF3D9A;transition:transform .2s,box-shadow .2s,background .2s}
body.single-product .single_add_to_cart_button:not(.disabled):hover{background:#FFD447!important;color:#1B1035!important;transform:translate(-2px,-2px);box-shadow:7px 7px 0 #FF3D9A}
body.single-product .single_add_to_cart_button.disabled{opacity:.55}
body.single-product .woocommerce-tabs ul.tabs li a{font-family:Oswald,sans-serif!important;text-transform:uppercase;letter-spacing:.03em;font-size:17px!important;color:#1B1035!important}
body.single-product .woocommerce-tabs ul.tabs li.active a{background:#1B1035;color:#FFF4E4!important;padding:6px 14px!important;border-radius:6px;display:inline-block;transform:rotate(-1.5deg);box-shadow:3px 3px 0 #FFD447}
body.single-product .related.products>h2,body.single-product .upsells.products>h2,body.single-product section.related>h2{display:inline-block;background:#1B1035;color:#FFF4E4!important;font-family:Oswald,sans-serif!important;text-transform:uppercase;font-size:26px!important;padding:8px 18px;transform:rotate(-2deg);box-shadow:4px 4px 0 #FFD447}
body.single-product ul.products li.product{background:#fff;border:3px solid #1B1035;border-radius:16px;box-shadow:5px 5px 0 #1B1035;overflow:hidden;padding-bottom:14px!important}
body.single-product ul.products li.product .woocommerce-loop-product__title,body.single-product ul.products li.product .woocommerce-loop-product__title a{font-family:Oswald,sans-serif!important;text-transform:uppercase;font-size:16px!important;color:#1B1035!important}
body.single-product ul.products li.product .woocommerce-card__header{padding:0 12px!important}
body.single-product ul.products li.product .price{font-family:Fraunces,serif!important;font-style:italic;font-weight:800;color:#C2156A!important}

/* ---------- Cart & checkout (buttons and headings only) ---------- */
body.woocommerce-cart .checkout-button,body.woocommerce-checkout #place_order,body.woocommerce-cart .button.alt{background:#1B1035!important;color:#FFF4E4!important;border-radius:999px!important;font-family:Oswald,sans-serif!important;text-transform:uppercase;letter-spacing:.04em;box-shadow:5px 5px 0 #FF3D9A}
body.woocommerce-cart .checkout-button:hover,body.woocommerce-checkout #place_order:hover{background:#FFD447!important;color:#1B1035!important}
body.woocommerce-cart .cart_totals>h2,body.woocommerce-checkout #order_review_heading,body.woocommerce-checkout .woocommerce-billing-fields>h3,body.woocommerce-checkout .woocommerce-shipping-fields>h3{font-family:Oswald,sans-serif!important;text-transform:uppercase;color:#1B1035!important;letter-spacing:.02em}

@media (prefers-reduced-motion:reduce){body.woocommerce ul.products li.product{transition:none}}
