/*
Theme Name: Ribbon Riot
Author: Ribbon Riot
Description: A minimal, product-first WooCommerce storefront.
Version: 0.1.0
Text Domain: ribbon-riot
Requires PHP: 8.0
*/
:root{--ink:#111;--muted:#666;--line:#e6e6e6;--paper:#fff;--accent:#a61928;--pad:40px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #777;outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;font-weight:400;line-height:1.15;text-transform:uppercase}h2{font-size:22px;font-weight:400}h3{font-weight:400}img{max-width:100%;height:auto}.screen-reader-text,.skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{clip:auto;width:auto;height:auto;left:10px;top:10px;z-index:100;padding:12px;background:#fff}.rr-header{position:sticky;top:0;background:#fff;z-index:30}.rr-header-row{height:92px;padding:0 var(--pad);display:flex;align-items:center;justify-content:space-between;gap:30px}.rr-wordmark{font-weight:800;font-size:28px;letter-spacing:-1.5px;line-height:1;white-space:nowrap}.rr-wordmark:hover{text-decoration:none}.rr-wordmark-dot{display:inline-block;font-size:10px;vertical-align:top;letter-spacing:0;margin:2px 0 0 4px}.rr-desktop-nav{display:flex;gap:28px;font-size:15px}.rr-header-actions{display:flex;gap:20px;align-items:center}.rr-icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:40px;border:0;background:none;padding:6px;position:relative;color:#111}.rr-icon{display:block;width:22px;height:22px}.rr-bag-count{font-size:11px;margin-left:5px}.rr-mobile-nav{display:none}.rr-nav-list{display:flex;list-style:none;gap:24px;margin:0;padding:0}.rr-home,.rr-store{padding:0 var(--pad) 80px;min-height:60vh}.rr-home .woocommerce ul.products,.rr-store ul.products,.related ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 8px;margin:0;padding:0;list-style:none}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:0;text-align:center;position:relative}.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1;object-fit:contain;margin:0 0 16px;transition:transform .25s ease}.woocommerce ul.products li.product a:hover img{transform:scale(1.025)}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0;margin:0 0 3px;font-size:14px;line-height:1.4;font-weight:400;text-transform:uppercase}.woocommerce ul.products li.product .price{color:#111;font-size:14px;font-weight:400;margin:0}.woocommerce ul.products li.product .star-rating{display:none}.woocommerce ul.products li.product a:hover{text-decoration:none}.woocommerce-products-header h1{margin:15px 0 35px;font-size:24px}.rr-page{max-width:1200px;margin:auto;padding:38px var(--pad) 100px;min-height:65vh}.rr-information-page{max-width:780px;padding-top:60px}.rr-information-page p{color:#555;line-height:1.8}.rr-page>h1{margin-bottom:40px}.rr-footer{padding:50px var(--pad) 24px;border-top:1px solid var(--line);font-size:13px}.rr-footer-top{display:flex;align-items:baseline;justify-content:space-between;padding-bottom:55px}.rr-footer-brand{font-size:20px;font-weight:800;letter-spacing:-1px}.rr-footer-top p{margin:0;color:#666}.rr-footer-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.rr-footer details summary{cursor:pointer;list-style:none}.rr-footer details summary::after{content:' +';margin-left:10px}.rr-footer details[open] summary::after{content:' −'}.rr-footer nav{display:flex;gap:20px;flex-wrap:wrap;padding-top:18px}.rr-footer small{white-space:nowrap;color:#666}.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.8fr);gap:60px;padding-top:24px}.woocommerce div.product div.images{width:100%!important;float:none!important;margin:0!important;align-self:start}.woocommerce div.product div.summary{width:100%!important;float:none!important;margin:0!important;padding:4px 0 0;align-self:start}.woocommerce div.product .product_title{font-size:30px;font-weight:400;margin:0 0 20px}.woocommerce div.product p.price{font-size:16px;color:#111;margin:0 0 30px;padding-bottom:30px;border-bottom:1px solid var(--line)}.woocommerce div.product form.cart{margin-bottom:28px}.woocommerce div.product form.cart table.variations{margin-bottom:22px}.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{display:block;padding:0;text-align:left}.woocommerce div.product form.cart .variations label{font-size:14px;font-weight:400;display:block;margin-bottom:12px}.woocommerce div.product form.cart .variations select{display:block;margin-bottom:10px;max-width:200px}.js .woocommerce div.product form.cart .variations select{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.rr-size-options{display:flex;flex-wrap:wrap;gap:10px}.rr-size{border:1px solid var(--line);background:white;border-radius:12px;min-width:52px;height:50px;font-size:14px}.rr-size[aria-pressed=true]{background:#111;color:white;border-color:#111}.woocommerce div.product .reset_variations{font-size:12px;display:inline-block;margin-top:10px}.woocommerce .quantity .qty{width:65px;height:49px;border:1px solid var(--line);border-radius:10px;padding:8px;background:#fff}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.button{display:inline-flex;align-items:center;justify-content:center;background:#111;color:white;border:1px solid #111;border-radius:10px;min-height:48px;padding:13px 22px;font-size:14px;font-weight:400;line-height:1.3;text-transform:uppercase;text-align:center}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.button:hover{color:#fff;background:#333;text-decoration:none}.woocommerce button.button.alt,.woocommerce a.button.alt{background:#111;color:#fff}.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:#333}.woocommerce button.button.alt.disabled{background:#111}.woocommerce div.product form.cart div.quantity{margin-right:12px}.woocommerce div.product form.cart .single_add_to_cart_button{min-width:190px;min-height:49px}.rr-product-copy{font-size:15px;line-height:1.8}.rr-product-copy p{margin-bottom:20px}.rr-product-info{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;font-size:14px}.rr-product-info summary{cursor:pointer}.rr-product-info p{margin-top:16px;color:#666}.woocommerce div.product .related.products{grid-column:1/-1;margin-top:70px}.related>h2{margin-bottom:30px}.woocommerce div.product .woocommerce-product-gallery__trigger{background:#fff!important}.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{border-top:1px solid #111;background:#f7f7f7;color:#111;padding:18px 24px;margin-bottom:30px;font-size:14px;list-style:none}.woocommerce .woocommerce-message::before,.woocommerce .woocommerce-info::before,.woocommerce .woocommerce-error::before{display:none}.woocommerce-message .button{float:right}.woocommerce table.shop_table{border:1px solid var(--line);border-radius:0;font-size:14px}.woocommerce table.shop_table th{font-weight:400;text-transform:uppercase;padding:15px 12px}.woocommerce table.shop_table td{padding:18px 12px;border-color:var(--line)}.woocommerce-cart table.cart img{width:100px}.woocommerce table.cart .product-thumbnail{width:130px}.woocommerce table.cart .product-name a{text-transform:uppercase}.woocommerce a.remove{font-weight:400;color:#111!important}.woocommerce a.remove:hover{background:#111}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,input[type=text],input[type=email],input[type=password],input[type=tel],select,textarea{border:1px solid #ccc;border-radius:5px;padding:12px;background:#fff;color:#111;min-height:46px}.woocommerce form .form-row label{font-size:14px;font-weight:400}.woocommerce form .form-row{margin-bottom:14px}.woocommerce form.login,.woocommerce form.register,.woocommerce form.checkout_coupon{border:1px solid var(--line);border-radius:0;padding:24px}.woocommerce-account .woocommerce{max-width:760px}.woocommerce-account .woocommerce h2{font-size:22px}.woocommerce-account .woocommerce-MyAccount-navigation{width:24%}.woocommerce-MyAccount-navigation ul{padding:0;list-style:none;line-height:2.6}.woocommerce-MyAccount-navigation .is-active a{text-decoration:underline}.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{float:none;width:100%}.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:25px 60px}.woocommerce-checkout #customer_details{grid-row:1/4}.woocommerce-checkout #order_review_heading{margin-bottom:0}.woocommerce-checkout #payment{background:#f7f7f7;border-radius:0}.woocommerce-checkout #payment .payment_box{background:#fff}.woocommerce-checkout #payment .place-order{padding:24px}.woocommerce .cart-collaterals .cart_totals{width:45%}.woocommerce .cart-collaterals h2{text-transform:uppercase;font-size:20px}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{font-size:14px;width:100%}.woocommerce #content table.cart td.actions .input-text,.woocommerce table.cart td.actions .input-text{width:150px;min-height:48px;margin-right:8px}.rr-preview-note{font-size:14px;background:#f6f6f6;border-left:2px solid #111;padding:15px 20px}.rr-bag{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100%);max-width:100%;height:100dvh;max-height:100dvh;border:0;padding:28px;box-shadow:-10px 0 50px #0001;color:#111;background:white}.rr-bag::backdrop{background:#0004}.rr-bag-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:24px;margin-bottom:26px;border-bottom:1px solid var(--line)}.rr-bag-heading h2{font-size:24px;text-transform:uppercase;margin:0}.rr-dialog-open{overflow:hidden}.rr-bag ul.cart_list{padding:0;list-style:none}.rr-bag ul.cart_list li{padding:0 20px 25px 0!important;margin-bottom:24px;border-bottom:1px solid var(--line);position:relative;font-size:14px}.rr-bag ul.cart_list li a{font-weight:400;text-transform:uppercase;display:block}.rr-bag ul.cart_list li img{width:90px;float:left;margin:0 18px 12px 0}.rr-bag ul.cart_list li .remove{position:absolute;right:0;top:0;font-size:22px}.rr-bag ul.cart_list li::after{content:'';display:block;clear:both}.rr-bag .variation{font-size:12px;color:#666;margin:8px 0}.rr-bag .variation dt,.rr-bag .variation dd{display:inline;margin:0 3px 0 0}.rr-bag .variation p{display:inline}.rr-bag .quantity{display:block;margin-top:8px}.rr-bag .total{display:flex;justify-content:space-between;padding:18px 0;border-top:1px solid var(--line)}.rr-bag .buttons{display:grid;gap:10px}.rr-bag .buttons a{display:block;background:#111;color:white;padding:14px;text-transform:uppercase;text-align:center;border-radius:8px;font-size:14px}.rr-bag .buttons a:first-child{background:white;border:1px solid #111;color:#111}.rr-continue{display:block;text-align:center;margin-top:24px;font-size:14px;text-decoration:underline}.woocommerce-mini-cart__empty-message{padding:40px 0;color:#666;text-align:center}.woocommerce form .show-password-input{top:12px}.woocommerce .woocommerce-breadcrumb{display:none}.rr-home>.woocommerce{margin:0}.woocommerce-store-notice,p.demo_store{display:none}
@media(min-width:1600px){.rr-home,.rr-store{max-width:1600px;margin:auto}.rr-header-row{max-width:1600px;margin:auto}}
@media(max-width:900px){:root{--pad:24px}.rr-desktop-nav{gap:18px}.rr-wordmark{font-size:25px}.woocommerce div.product{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px}.woocommerce div.product .product_title{font-size:26px}.woocommerce-checkout form.checkout{gap:25px}.woocommerce div.product form.cart .single_add_to_cart_button{min-width:160px}}
@media(max-width:600px){:root{--pad:18px}body{font-size:14px}.rr-header-row{height:64px;gap:10px}.rr-wordmark{font-size:24px}.rr-header-actions{gap:9px}.rr-icon-button{min-width:32px}.rr-desktop-nav{display:none}.rr-mobile-nav{display:flex;justify-content:center;gap:26px;padding:10px 0 19px;font-size:14px}.rr-home,.rr-store{padding-top:2px;padding-bottom:56px}.rr-home .woocommerce ul.products,.rr-store ul.products,.related ul.products{grid-template-columns:minmax(0,1fr);gap:34px}.woocommerce ul.products li.product a img{margin-bottom:15px}.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .price{font-size:14px}.rr-page{padding-top:22px;padding-bottom:60px}.rr-page>h1{font-size:26px;margin-bottom:30px}.rr-footer{padding-top:35px}.rr-footer-top{display:block;padding-bottom:38px}.rr-footer-top p{margin-top:12px}.rr-footer-bottom{align-items:flex-start;font-size:12px}.rr-footer nav{display:grid;gap:12px}.rr-footer small{font-size:11px}.woocommerce div.product{display:block;padding-top:0}.woocommerce div.product div.summary{padding:22px 0 0}.woocommerce div.product .product_title{font-size:28px;line-height:1.15;margin-bottom:18px}.woocommerce div.product p.price{margin-bottom:22px;padding-bottom:24px}.woocommerce div.product .related.products{margin-top:55px}.woocommerce div.product .related ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 8px}.related ul.products li.product:nth-child(n+3){display:none}.related .woocommerce-loop-product__title,.related .price{font-size:12px!important}.woocommerce div.product form.cart .single_add_to_cart_button{min-width:calc(100% - 82px)}.woocommerce .cart-collaterals .cart_totals{width:100%;margin-top:20px}.woocommerce-checkout form.checkout{display:block}.woocommerce-checkout #order_review_heading{margin:25px 0}.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%}.woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:6px 18px;border-bottom:1px solid var(--line);padding-bottom:15px}.woocommerce table.shop_table_responsive tr td::before{font-weight:400}.woocommerce table.shop_table_responsive tr td{background:#fff!important}.woocommerce-cart table.cart td.actions .coupon{display:flex;float:none;gap:6px}.woocommerce-cart table.cart td.actions .coupon input{width:50%!important;margin:0!important}.woocommerce-cart table.cart td.actions .coupon button{width:50%!important;font-size:12px}.rr-bag{padding:22px}.woocommerce-message .button{float:none;display:block;margin-bottom:14px}.woocommerce form.checkout_coupon p{float:none;width:100%}.woocommerce form.checkout_coupon .input-text{width:100%}.woocommerce table.shop_table td{padding:15px 10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Match the reference's header and catalog offsets. */
@media(min-width:601px){.rr-header-row{height:96px}}
@media(max-width:600px){.rr-mobile-nav{padding-bottom:21px}.rr-home{padding-top:24px}}
.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled]{color:#fff;background:#111}

/* Catalog photo swap; the primary remains visible until the alternate has loaded. */
.woocommerce ul.products li.product .rr-card-media{display:block;position:relative;aspect-ratio:1;margin:0 0 16px;overflow:hidden;background:#fff}
.woocommerce ul.products li.product a .rr-card-media img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain;margin:0;transform:none!important;transition:none}
.woocommerce ul.products li.product .rr-card-photo--alternate{position:absolute;inset:0;opacity:0;pointer-events:none}
@media(hover:hover) and (pointer:fine){
 .woocommerce ul.products li.product a:hover .rr-alternate-ready>.rr-card-photo--alternate{opacity:1}
}
.woocommerce ul.products li.product a:focus-visible .rr-alternate-ready>.rr-card-photo--alternate{opacity:1}
@media(prefers-reduced-motion:reduce){.woocommerce ul.products li.product a .rr-card-media img{transition:none}}

/* Full-size native WooCommerce gallery: paired desktop photos and a mobile strip. */
.woocommerce div.product .woocommerce-product-gallery__wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.woocommerce div.product .woocommerce-product-gallery__image{width:auto!important;float:none!important;min-width:0}
.woocommerce div.product .woocommerce-product-gallery__image:only-child{grid-column:1/-1}
.woocommerce div.product .woocommerce-product-gallery__image a{display:block}
.woocommerce div.product .woocommerce-product-gallery__image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.rr-gallery-dots{display:none}
@media(max-width:600px){
 .woocommerce div.product .woocommerce-product-gallery__wrapper{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;position:relative}
 .woocommerce div.product .woocommerce-product-gallery__wrapper::-webkit-scrollbar{display:none}
 .woocommerce div.product .woocommerce-product-gallery__image{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always}
 .rr-gallery-dots{display:flex;justify-content:center;gap:0;padding:2px 0 6px}
 .rr-gallery-dot{display:grid;place-items:center;width:32px;height:32px;border:0;padding:0;background:none}
 .rr-gallery-dot::before{content:'';width:8px;height:8px;border-radius:50%;background:#b8b8b8}
 .rr-gallery-dot[aria-current=true]::before{background:#111}
}

/* Match the reference's breathing room around the merchandise itself. */
.woocommerce ul.products li.product a .rr-card-media img{padding:5%}
.woocommerce div.product .woocommerce-product-gallery__image img{padding:4%}
.woocommerce div.product .woocommerce-product-gallery__image:only-child{width:min(100%,420px)!important;justify-self:center}

/* Original plain wordmark; typography is shared with the header/footer above. */
.rr-wordmark{flex-shrink:0}
