/*
Theme Name: rootinn Shop Child
Template: rootinn-shop
Version: 6.14.0
Description: Anpassungen am rootinn Shop, ohne das Haupt-Theme zu verÃ¤ndern.
Requires PHP: 8.0
Text Domain: rootinn-shop-child
*/
/* Eigene CSS-Anpassungen hier eintragen. */
.bundle-shipping-note,.e5-bundle-shipping{display:none!important;}

/* Match the product section to the existing neutral page background. */
body:has(.shop-product-line){--shop-background:#fafaf8;}
body .shop-product-line,
body .shop-product-line::before,
body .shop-product-line.oldschool-line::before{background:#fafaf8!important;}

/* Product navigation and expanded composition. */
body.single-product .woocommerce-breadcrumb,
body.single-product .ri-breadcrumb,
body.single-product .reset_variations{display:none!important;}
body .ri-ingredients-expanded h3{margin:0 0 20px;font-size:20px;line-height:1.4;}
body .ri-ingredients-expanded{border-top:1px solid #244c3624;padding-top:24px;margin-top:24px;}

/* Order confirmation: keep WooCommerce's payment hooks and order data intact. */
body.woocommerce-order-received .page-content{max-width:1100px;margin-inline:auto;}
body.woocommerce-order-received .page-content>h1{font-family:inherit;font-size:clamp(30px,4vw,48px);font-weight:600;line-height:1.15;letter-spacing:-.035em;margin:0 0 16px;}
body.woocommerce-order-received .woocommerce-order{color:#203f30;font-size:16px;line-height:1.65;}
body.woocommerce-order-received .woocommerce-thankyou-order-received{padding:18px 24px;margin:0 0 32px;background:#cefa73;border:0;border-radius:14px;color:#203f30;font-size:18px;}
body.woocommerce-order-received ul.woocommerce-order-overview,
body.woocommerce-order-received ul.wc-bacs-bank-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:24px;margin:0 0 40px;padding:24px;border:1px solid #203f3024;border-radius:18px;background:#fff;list-style:none;}
body.woocommerce-order-received ul.woocommerce-order-overview::before,
body.woocommerce-order-received ul.woocommerce-order-overview::after,
body.woocommerce-order-received ul.wc-bacs-bank-details::before,
body.woocommerce-order-received ul.wc-bacs-bank-details::after{display:none;}
body.woocommerce-order-received ul.woocommerce-order-overview li,
body.woocommerce-order-received ul.wc-bacs-bank-details li{float:none;width:auto;min-width:0;margin:0;padding:0;border:0;font-size:12px;line-height:1.5;text-transform:none;letter-spacing:.02em;color:#64756a;}
body.woocommerce-order-received ul.woocommerce-order-overview li strong,
body.woocommerce-order-received ul.wc-bacs-bank-details li strong{display:block;margin-top:6px;font-size:17px;font-weight:600;color:#203f30;letter-spacing:0;overflow-wrap:anywhere;}
body.woocommerce-order-received .woocommerce-order h2{font-family:inherit;font-size:clamp(23px,3vw,30px);font-weight:600;line-height:1.3;letter-spacing:-.025em;margin:0 0 20px;}
body.woocommerce-order-received .woocommerce-order h3{font-family:inherit;font-size:18px;font-weight:500;line-height:1.4;margin:0 0 18px;}
body.woocommerce-order-received .woocommerce-bacs-bank-details{padding:28px;border-radius:18px;border:1px solid #203f3024;margin:32px 0 40px;background:#fff;}
body.woocommerce-order-received .woocommerce-bacs-bank-details ul.wc-bacs-bank-details{padding:0;margin:0;border:0;border-radius:0;}
body.woocommerce-order-received .woocommerce-order-details{margin:40px 0;}
body.woocommerce-order-received table.shop_table{width:100%;border:1px solid #203f3024;border-spacing:0;border-radius:18px;overflow:hidden;margin:0;background:#fff;table-layout:fixed;}
body.woocommerce-order-received table.shop_table th,
body.woocommerce-order-received table.shop_table td{padding:18px 22px;border:0;border-bottom:1px solid #203f301a;vertical-align:top;line-height:1.5;overflow-wrap:anywhere;}
body.woocommerce-order-received table.shop_table th{font-weight:600;}
body.woocommerce-order-received table.shop_table th:last-child,
body.woocommerce-order-received table.shop_table td:last-child{text-align:right;width:38%;}
body.woocommerce-order-received table.shop_table thead{background:#fafaf8;}
body.woocommerce-order-received table.shop_table tfoot tr:last-child{background:#203f30;color:#fff;}
body.woocommerce-order-received table.shop_table tfoot tr:last-child th,
body.woocommerce-order-received table.shop_table tfoot tr:last-child td{border:0;font-size:20px;color:#fff;}
body.woocommerce-order-received .woocommerce-customer-details{margin:40px 0;}
body.woocommerce-order-received .woocommerce-customer-details .addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}
body.woocommerce-order-received .woocommerce-customer-details .addresses::before,
body.woocommerce-order-received .woocommerce-customer-details .addresses::after{display:none;}
body.woocommerce-order-received .woocommerce-customer-details .col-1,
body.woocommerce-order-received .woocommerce-customer-details .col-2{float:none;width:auto;min-width:0;}
body.woocommerce-order-received .woocommerce-customer-details address{padding:24px;border:1px solid #203f3024;border-radius:18px;background:#fff;font-style:normal;line-height:1.8;overflow-wrap:anywhere;}
@media(max-width:600px){
 body.woocommerce-order-received ul.woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px;gap:20px 16px;}
 body.woocommerce-order-received .woocommerce-order-overview__email{grid-column:1/-1;}
 body.woocommerce-order-received .woocommerce-bacs-bank-details{padding:20px;}
 body.woocommerce-order-received .woocommerce-customer-details .addresses{grid-template-columns:1fr;}
 body.woocommerce-order-received table.shop_table th,body.woocommerce-order-received table.shop_table td{padding:16px 12px;font-size:14px;}
 body.woocommerce-order-received table.shop_table tfoot tr:last-child th,body.woocommerce-order-received table.shop_table tfoot tr:last-child td{font-size:18px;}
}

/* Bundle product pages: complete packs instead of an empty product image. */
body .ri-elementor-product-image:has(.ri-bundle-composition){height:auto!important;min-height:0!important;padding:24px 0;}
body .ri-bundle-composition{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:14px;width:100%;}
body .ri-bundle-composition img{display:block!important;width:100%!important;height:220px!important;max-height:none!important;object-fit:contain!important;transform:none!important;position:static!important;margin:0!important;}
body .ri-bundle-information{max-width:1100px;margin:40px auto;padding:24px;}
body .ri-bundle-information h2{font-size:clamp(26px,3vw,38px);line-height:1.2;margin:0 0 18px;}
body .ri-bundle-information h3{font-size:23px;margin:32px 0 18px;}
body .ri-bundle-information>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;padding:0;margin:24px 0;gap:16px;}
body .ri-bundle-information li{padding:20px;border:1px solid #203f3024;border-radius:14px;margin:0;}
body .ri-bundle-information p{font-size:17px;line-height:1.6;margin:10px 0;}
body .ri-bundle-information .button{display:inline-block;background:#cefa73;color:#203f30;padding:16px 24px;margin-top:16px;}
@media(max-width:600px){body .ri-bundle-composition img{height:150px!important;}body .ri-bundle-information{padding:16px;}body .ri-bundle-information>ul{grid-template-columns:1fr;}}

body{padding-bottom:74px!important;}
.ri-shipping-global{position:fixed;left:16px;bottom:16px;z-index:900;max-width:calc(100vw - 100px);padding:12px 18px;background:#cefa73;color:#203f30;border:1px solid #203f3020;border-radius:12px;box-shadow:0 4px 20px #203f3012;font-size:14px;line-height:1.4;}
.ri-shipping-notice{background:#cefa73;color:#203f30;padding:16px 20px;border-radius:12px;margin:16px 0 24px;font-size:16px;line-height:1.5;}
.ri-shipping-notice small{display:block;font-size:12px;margin-top:4px;}
.e5-cart-dialog .ri-shipping-notice{text-align:center;}
@media(max-width:600px){.ri-shipping-global{left:10px;bottom:10px;font-size:12px;padding:10px 12px;}}

@media(max-width:600px){body .ri-bundle-composition{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}body .ri-bundle-composition img{height:145px!important;}body .ri-bundle-composition img:last-child{grid-column:2;}}

/* Keep navigation readable and touch targets usable on phones. */
.ri-withdrawal{margin:48px 0;padding:clamp(20px,4vw,40px);border:1px solid #203f3030;border-radius:20px;background:#fff;}
.ri-withdrawal label{display:block;margin:20px 0;font-weight:600;}
.ri-withdrawal input,.ri-withdrawal textarea{display:block;width:100%;padding:14px;margin-top:8px;border:1px solid #203f3050;border-radius:8px;font:inherit;color:#203f30;background:#fff;}
.ri-withdrawal .button{display:inline-block;padding:16px 24px;background:#cefa73;color:#203f30;border:0;border-radius:8px;font:inherit;font-weight:600;cursor:pointer;}
.ri-withdrawal-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
.ri-withdrawal-receipt{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;padding:20px;background:#f5f6f3;}
.ri-withdrawal-back{display:inline-block;margin:16px;}
.ri-withdrawal dt{font-weight:700;margin-top:16px;}.ri-withdrawal dd{margin:4px 0 20px;overflow-wrap:anywhere;}
.ri-footer-bottom nav .ri-withdraw-link{color:#cefa73!important;font-weight:700;}
@media(max-width:600px){
 body .rootyn-header-shell .desktop-nav{display:none!important;}
 body .rootyn-header-shell .site-header{justify-content:flex-start!important;padding:12px 16px!important;}
 body .rootyn-header-shell .wordmark .rootinn-logo{width:112px!important;height:24px!important;}
 body .rootyn-header-shell .rootyn-header-actions{right:12px!important;gap:6px!important;}
 body .rootyn-header-shell .mobile-toggle{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;color:inherit;}
 body .rootyn-header-shell .ri-instagram-link,body .rootyn-header-shell .shop-cart-link{min-width:36px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;}
 body .rootyn-header-shell .mobile-nav:not([hidden]){display:flex!important;flex-direction:column;gap:4px;padding:12px 16px 20px;background:#203f30;}
 body .rootyn-header-shell .mobile-nav[hidden]{display:none!important;}
 body .rootyn-header-shell .mobile-nav a{color:#fff!important;font-size:16px!important;padding:12px!important;min-height:44px;}
 body.e5-scrolled .rootyn-header-shell .site-header{justify-content:center!important;}
}

/* The 500 g source images include extra transparent margins. Compensate only for these assets. */
body .ri-bundle-composition img{height:auto!important;aspect-ratio:0.7;max-width:100%!important;}
body .ri-bundle-composition.is-xxl img{transform:scale(1.8)!important;}
body .ri-bundle-composition{padding:8px 4px!important;}

/* Quiet inline shipping information outside the WooCommerce column layout. */
body{padding-bottom:0!important;}
body:has(.ri-shipping-global){padding-bottom:74px!important;}
body.woocommerce-cart .ri-shipping-notice,body.woocommerce-checkout .ri-shipping-notice{display:block;width:auto;min-height:0;height:auto;align-self:flex-start;background:transparent;border:0;border-left:2px solid #cefa73;border-radius:0;box-shadow:none;padding:6px 12px;margin:0 0 24px;color:#355344;font-size:14px;line-height:1.5;}
body.woocommerce-checkout .ri-shipping-notice small,body.woocommerce-cart .ri-shipping-notice small{display:none;}
body.woocommerce-order-received .wc-bacs-bank-details .rootinn_reference strong{font-size:22px;letter-spacing:.03em;}
body.woocommerce-order-received .wc-bacs-bank-details .rootinn_reference{border-left:3px solid #cefa73;padding-left:14px;}
/* Product cards keep their normal colours on hover and keyboard focus. */
body .ri-shop-page .shop-catalog-card:is(:hover,:focus-within){background:transparent!important;border-color:#203f3035!important;color:#203f30!important;}
body .ri-shop-page .shop-catalog-card:is(:hover,:focus-within) :is(h2,.ri-package-size,.ri-price-controls,.ri-grid-price,.ri-grid-price *,.ri-buy-quantity,.ri-buy-quantity>label,.ri-fixed-size){color:#203f30!important;}
body .ri-shop-page .shop-catalog-card:is(:hover,:focus-within) :is(.ri-size-options,.ri-quantity-stepper){background:transparent!important;border-color:#203f3035!important;}
body .ri-shop-page .shop-catalog-card:is(:hover,:focus-within) :is(.ri-size-options button,.ri-quantity-stepper button,.ri-quantity-stepper input){color:#203f30!important;background:transparent!important;}
body .ri-shop-page .shop-catalog-card:is(:hover,:focus-within) .ri-size-options button[aria-pressed=true],body .ri-shop-page .shop-catalog-card:is(:hover,:focus-within) .ri-fixed-size{background:#cefa73!important;color:#203f30!important;}
body .ri-shop-page .shop-catalog-card:is(:hover,:focus-within)>a.button{background:transparent!important;border-color:#203f3035!important;color:#203f30!important;}
body .ri-shop-page .shop-catalog-card:is(:hover,:focus-within) .ri-cart-button{background:#cefa73!important;border-color:#cefa73!important;color:#203f30!important;}
body .ri-shop-page .shop-catalog-card:is(:hover,:focus-within) :focus-visible{outline:2px solid #203f30!important;outline-offset:3px;}
/* Two equally sized product cards per row on phones. */
@media(max-width:680px){
 body.home #main .ri-shop-page .shop-catalog-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
 body.home #main .ri-shop-page .shop-catalog-card,body.home #main .ri-shop-page .shop-catalog-card:nth-child(n){min-width:0!important;width:auto!important;padding:12px 8px 16px!important;gap:12px!important;}
 body.home #main .ri-shop-page .shop-catalog-visual{width:100%!important;height:190px!important;min-height:0!important;}
 body.home #main .ri-shop-page .shop-catalog-visual img{width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;transform:none!important;scale:1!important;}
 body.home #main .ri-shop-page .shop-catalog-card h2{font-size:16px!important;line-height:1.25!important;min-height:2.5em!important;overflow-wrap:anywhere;}
 body.home #main .ri-shop-page .shop-catalog-card .ri-price-controls{width:100%;min-width:0;}
 body.home #main .ri-shop-page .shop-catalog-card .ri-size-options{max-width:100%;padding:3px!important;gap:2px!important;}
 body.home #main .ri-shop-page .shop-catalog-card .ri-size-options button{min-width:0!important;padding:8px 9px!important;font-size:11px!important;}
 body.home #main .ri-shop-page .shop-catalog-card .ri-fixed-size{max-width:100%;}
 body.home #main .ri-shop-page .shop-catalog-card .ri-grid-price{font-size:20px!important;}
 body.home #main .ri-shop-page .shop-catalog-card .woocommerce-price-suffix{display:block;font-size:10px!important;}
 body.home #main .ri-shop-page .shop-catalog-card :is(.ri-uvp,.ri-unit-price){font-size:10px!important;line-height:1.5!important;}
 body.home #main .ri-shop-page .shop-catalog-card>a.button,body.home #main .ri-shop-page .shop-catalog-card .ri-cart-button{width:100%!important;min-height:48px!important;height:48px!important;padding:8px 4px!important;font-size:11px!important;line-height:1.3!important;white-space:normal!important;}
 body.home #main .ri-shop-page .shop-catalog-card .ri-card-cart{width:100%!important;min-width:0;}
}
@media(max-width:360px){body.home #main .ri-shop-page .shop-catalog-grid{gap:8px!important;}body.home #main .ri-shop-page .shop-catalog-visual{height:165px!important;}body.home #main .ri-shop-page .shop-catalog-card h2{font-size:14px!important;}}
body #blattspray.ri-foliar-complete{display:block;}
body #blattspray.ri-foliar-complete .info-section-title{max-width:760px;margin-bottom:32px;}
body #blattspray .ri-foliar-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0;}
body #blattspray .ri-foliar-card{min-width:0;border:1px solid #203f3026;padding:22px;display:flex;flex-direction:column;gap:14px;background:transparent;}
body #blattspray .ri-foliar-card img{width:100%;height:220px;object-fit:contain;display:block;margin:0 auto 16px;}
body #blattspray .ri-foliar-card h3{font-size:22px;line-height:1.25;min-height:2.5em;margin:0;}
body #blattspray .ri-foliar-card p{font-size:15px;line-height:1.6;margin:0;}
body #blattspray .ri-foliar-card dl{margin:0;display:grid;gap:12px;}
body #blattspray .ri-foliar-card dt{font-size:12px;color:#526459;}
body #blattspray .ri-foliar-card dd{margin:0;font-size:17px;font-weight:700;}
body #blattspray .ri-foliar-link{margin-top:auto;align-self:flex-start;background:#cefa73;padding:12px 16px;color:#203f30;font-size:14px;}
body #blattspray .ri-foliar-tips{border-top:1px solid #203f3026;padding-top:24px;margin-top:32px;}
body #blattspray .ri-foliar-tips h3{font-size:24px;margin-bottom:16px;}
body #blattspray .ri-foliar-tips li{margin-bottom:14px;padding-left:6px;}
@media(max-width:900px){body #blattspray .ri-foliar-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}}
@media(max-width:520px){body #blattspray .ri-foliar-products{grid-template-columns:1fr;}body #blattspray .ri-foliar-card img{height:230px;}body #blattspray .ri-foliar-card h3{min-height:0;}}
body #blattspray .ri-foliar-card img[src*="power-flour-500-framed"]{transform:scale(1.65);}
body #blattspray .ri-foliar-card>p:first-of-type{min-height:3.2em;}
body #blattspray .ri-foliar-card>a:first-child{display:block;overflow:hidden;}

/* WooCommerce success notices match the storefront, without changing alerts. */
body .woocommerce-message,body .woocommerce .woocommerce-message{
 position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;
 padding:22px 24px 22px 72px!important;margin:0 0 28px!important;border:1px solid #203f3020!important;border-radius:20px!important;
 background:#fff!important;color:#203f30!important;box-shadow:0 6px 24px #203f3005!important;
 font-family:"Nunito Sans",Arial,sans-serif!important;font-size:16px!important;line-height:1.6!important;list-style:none!important;min-height:92px;box-sizing:border-box;
}
body .woocommerce-message::before,body .woocommerce .woocommerce-message::before{
 content:"✓"!important;position:absolute!important;left:22px!important;top:50%!important;transform:translateY(-50%)!important;
 display:grid!important;place-items:center!important;width:32px!important;height:32px!important;border-radius:50%!important;
 background:#cefa73!important;color:#203f30!important;font-family:Arial,sans-serif!important;font-size:20px!important;font-weight:700!important;line-height:1!important;
}
body .woocommerce-message::after{display:none!important}
body .woocommerce-message a.button,body .woocommerce .woocommerce-message a.button{
 order:1;float:none!important;flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:48px!important;padding:12px 22px!important;margin:0!important;border:1px solid #cefa73!important;border-radius:13px!important;
 background:#cefa73!important;color:#203f30!important;font-family:"Nunito Sans",Arial,sans-serif!important;font-size:15px!important;line-height:1.4!important;font-weight:800!important;
 text-decoration:none!important;white-space:nowrap;box-shadow:none!important;transition:box-shadow .2s!important;
}
body .woocommerce-message a.button:hover{box-shadow:0 4px 14px #203f3018!important}
body .woocommerce-message a.button:focus-visible{outline:2px solid #203f30!important;outline-offset:4px}
@media(max-width:680px){
 body .woocommerce-message,body .woocommerce .woocommerce-message{flex-direction:column!important;align-items:stretch!important;gap:16px!important;padding:20px 18px 20px 58px!important;font-size:14px!important;border-radius:18px!important}
 body .woocommerce-message::before,body .woocommerce .woocommerce-message::before{left:16px!important;top:21px!important;transform:none!important;width:28px!important;height:28px!important;font-size:18px!important}
 body .woocommerce-message a.button,body .woocommerce .woocommerce-message a.button{white-space:normal!important;width:100%!important;font-size:14px!important;padding:12px!important}
}
