.portraits-commerce{background:#f4f0e7!important;color:#352a3c!important}.portraits-commerce #rank-math-analytics-stats,.portraits-commerce .rank-math-analytics-stats{display:none!important}.portraits-commerce h1,.portraits-commerce h2,.portraits-commerce h3{font-family:Fraunces,Georgia,serif!important;font-weight:500}.commerce-main{max-width:1440px;margin:auto;padding:30px 5vw 70px}.shop-steps{display:flex;gap:24px;flex-wrap:wrap;font-size:12px;text-transform:uppercase;letter-spacing:1px;padding:10px 0 28px;border-bottom:1px solid #d1c7d6;margin-bottom:45px}.shop-steps [aria-current]{color:#352a3c;border-bottom:3px solid #a8c13d;padding-bottom:8px;font-weight:700}.commerce-intro{max-width:870px;margin-bottom:45px}.commerce-intro h1{font-size:clamp(42px,5.5vw,80px)!important;line-height:1.03;letter-spacing:-2px;margin:12px 0 24px}.commerce-intro p{font-size:19px;color:#6d6274}.commerce-content{font-family:Arial,sans-serif}.commerce-content a{text-decoration:underline;text-underline-offset:4px}.commerce-content div.product{display:grid;grid-template-columns:1fr 1fr;column-gap:5vw;align-items:start}.commerce-content div.product .woocommerce-product-gallery{float:none!important;width:100%!important;grid-column:1;grid-row:1}.commerce-content div.product .summary{float:none!important;width:100%!important;grid-column:2;grid-row:1}.commerce-content div.product .product_title{font-size:clamp(40px,4.5vw,66px)!important;line-height:1.06;letter-spacing:-1.7px;margin:12px 0 22px}.book-shop-deck{font:26px/1.35 Fraunces,Georgia,serif;color:#766082}.commerce-content div.product .price{font:500 34px Fraunces,Georgia,serif!important;color:#352a3c!important;margin:25px 0}.commerce-content .woocommerce-product-details__short-description{font-size:17px;line-height:1.7}.commerce-content .woocommerce-product-details__short-description h4{font:20px Fraunces,serif;color:#352a3c}.commerce-content .stock{color:#476034!important;font-size:13px!important}.commerce-content .product_meta{border-top:1px solid #d1c7d6;padding-top:20px;font-size:12px;color:#766082}.commerce-content .woocommerce-tabs{grid-column:1/-1;margin-top:45px;padding:35px;background:#eae4d9}.commerce-content .woocommerce-tabs .panel{max-width:850px!important}.commerce-content .woocommerce-tabs .panel h2{font-size:30px!important}.commerce-content .woocommerce-tabs ul.tabs:before{border:0!important}.commerce-content .woocommerce-tabs ul.tabs li{border:0!important;background:none!important;padding:0 20px 12px 0!important;border-radius:0!important}.commerce-content .woocommerce-tabs ul.tabs li:before,.commerce-content .woocommerce-tabs ul.tabs li:after{display:none!important}.commerce-content .woocommerce-tabs ul.tabs li.active a{border-bottom:3px solid #879b36}.commerce-content .related{grid-column:1/-1}.commerce-content .button,.commerce-content button.button,.commerce-content a.button,.commerce-content #place_order{background:#d7ed79!important;color:#352a3c!important;border:1px solid #bdce78!important;box-shadow:none!important;border-radius:3px!important;font:700 15px/1.3 Arial,sans-serif!important;padding:17px 25px!important;text-decoration:none!important}.commerce-content .button:hover{background:#cde267!important}.commerce-content button:disabled{opacity:.55!important}.commerce-content input.input-text,.commerce-content textarea,.commerce-content select,.commerce-content .select2-selection{background:#fffefa!important;border:1px solid #bfb3c6!important;border-radius:3px!important;color:#352a3c!important;box-shadow:none!important;font:16px/1.4 Arial,sans-serif!important;padding:13px 14px!important;min-height:50px}.commerce-content .quantity input{width:80px!important;min-height:55px}.commerce-content .form-row label{font-size:13px;font-weight:700;margin-bottom:7px;color:#352a3c}.commerce-content .form-row{padding:0!important;margin:0 0 18px!important}.commerce-content .select2-container .select2-selection--single{height:50px!important}.commerce-content .select2-selection__arrow{top:12px!important}.commerce-content .select2-selection__rendered{padding:0!important;line-height:24px!important}.commerce-content .woocommerce-info,.commerce-content .woocommerce-message,.commerce-content .woocommerce-error{background:#e8e0ed!important;border-top:3px solid #83738f!important;color:#352a3c!important;font:14px/1.5 Arial,sans-serif!important;padding:20px 25px 20px 45px!important}.commerce-content .woocommerce-error{border-top-color:#a7344a!important}.commerce-content form.checkout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.85fr);gap:0 5vw;align-items:start}.commerce-content form.checkout #customer_details{grid-column:1;grid-row:1/4;width:100%!important}.commerce-content #customer_details .col-1,.commerce-content #customer_details .col-2{float:none!important;width:100%!important}.commerce-content #customer_details h3{font-size:27px!important;margin:0 0 25px}.commerce-content #customer_details .col-2{margin-top:35px}.commerce-content #order_review_heading{grid-column:2;font-size:27px!important;margin:0;padding:26px;background:#e8e0ed}.commerce-content #order_review{grid-column:2;background:#e8e0ed;padding:0 26px 26px}.commerce-content #payment{background:none!important}.commerce-content #payment .form-row.place-order{padding:0!important}.commerce-content #payment ul.payment_methods{padding:15px 0!important}.commerce-content #payment .woocommerce-info{font-size:13px!important;padding:18px!important;background:#f5f0f7!important}.commerce-content #payment .woocommerce-info:before{display:none}.commerce-content .woocommerce-privacy-policy-text,.commerce-content .woocommerce-terms-and-conditions-wrapper{font-size:12px;line-height:1.65;color:#675b70}.commerce-content table.shop_table{border:0!important;border-collapse:collapse!important;border-radius:0!important;width:100%;font-size:15px!important}.commerce-content table.shop_table td,.commerce-content table.shop_table th{padding:18px 10px!important;border-bottom:1px solid #c9bdcf!important;background:none!important;text-align:left}.commerce-content table.shop_table td.product-thumbnail img{width:95px!important;max-width:95px!important}.commerce-content .woocommerce-cart-form .product-name a{font-size:22px;font-family:Fraunces,serif;text-decoration:none}.commerce-content .cart-collaterals{margin-top:35px}.commerce-content .cart_totals{padding:30px;background:#e8e0ed;width:48%!important}.commerce-content .cart_totals h2{font-size:30px!important}.commerce-content .wc-proceed-to-checkout a{width:100%}.commerce-help{border-top:1px solid #ccc0d2;margin-top:55px;padding-top:35px;display:flex;justify-content:space-between;align-items:center;gap:25px}.commerce-help h2{font-size:30px!important;margin:12px 0}.commerce-help a{white-space:nowrap;border-bottom:1px solid}.commerce-footer{padding:36px 5vw!important;background:#352a3c;color:#f4f0e7;display:flex;justify-content:space-between;align-items:center;gap:30px}.commerce-footer img{width:min(360px,80vw);height:auto}.commerce-footer p,.commerce-footer a{font-size:13px;color:#d9cfe0}.shop-preview-note{font-size:12px;padding:12px 5vw;background:#e5dfd2;color:#605366;text-align:center}.commerce-content ul.products li.product{padding:25px;background:#eae4d9}.commerce-content ul.products li.product .woocommerce-loop-product__title{font-size:30px!important;line-height:1.15}.commerce-content ul.products li.product .price{font-size:24px!important;color:#352a3c!important}.commerce-content .woocommerce-product-gallery img{height:auto!important;object-fit:contain!important}.commerce-content .woocommerce-product-gallery__wrapper{margin:0!important}.commerce-content .woocommerce-form-coupon-toggle{margin-bottom:25px}
@media(max-width:800px){.commerce-main{padding:24px 6vw 45px}.shop-steps{gap:16px;font-size:10px;margin-bottom:30px}.commerce-content div.product{display:block}.commerce-content div.product .summary{margin-top:30px}.commerce-content form.checkout{display:block}.commerce-content #order_review_heading{margin-top:35px}.commerce-content .cart_totals{width:100%!important;padding:24px}.commerce-content table.shop_table td,.commerce-content table.shop_table th{font-size:14px!important}.commerce-content .woocommerce-cart-form .product-name a{font-size:20px}.commerce-content .woocommerce-tabs{padding:22px}.commerce-content .woocommerce-product-gallery__trigger{z-index:3!important}.commerce-help,.commerce-footer{display:block}.commerce-footer>div{margin-top:24px}.commerce-help a{display:inline-block;margin-top:10px}.commerce-intro h1{letter-spacing:-1px}.commerce-content form.cart{display:flex;gap:15px}.commerce-content .form-row-first,.commerce-content .form-row-last{width:100%!important;float:none!important}}

.portraits-commerce .wpml-ls-statics-footer{display:none!important}

/* Keep full vector artwork visible and give the legal footer its own row. */
.portraits-commerce .brand-lockup{flex-shrink:0}.portraits-commerce .brand-lockup img,.commerce-footer>a>img{object-fit:contain;object-position:center;height:auto;display:block;max-width:100%}.commerce-footer{display:grid;grid-template-columns:minmax(200px,1fr) minmax(210px,1fr)}.commerce-footer .footer-maker{justify-self:end}.commerce-footer .hedonist-credit img{width:210px}.commerce-footer .footer-legal{width:100%}@media(max-width:800px){.commerce-footer{grid-template-columns:1fr}.commerce-footer .footer-maker{justify-self:start}.commerce-footer>a{max-width:100%}}

/* The main photograph must not wait for FlexSlider or external payment scripts. */
.portraits-commerce header .brand-lockup{aspect-ratio:833/171}
.commerce-content .woocommerce-product-gallery{opacity:1!important;transition:none!important}
.commerce-content .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child{width:100%;display:block}
.commerce-content .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image~.woocommerce-product-gallery__image{display:none!important}
/* Both book views share a stable frame; the wider second view remains uncropped. */
.commerce-content .woocommerce-product-gallery:has(.wp-post-image[data-large_image*="/PowerBook2023-1."]) .woocommerce-product-gallery__image>a>img{display:block;width:100%;aspect-ratio:3/2;height:auto!important;object-fit:contain}
/* Reserve both photo and selector space before any image or gallery script loads. */
.commerce-product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child{aspect-ratio:3/2;overflow:hidden}.commerce-product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child>a{display:block;width:100%;height:100%}.commerce-product .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:first-child>a>img{display:block;width:100%;height:100%!important;object-fit:contain!important}.book-gallery-controls{display:flex;gap:12px;min-height:104px;margin-top:14px}.book-gallery-controls button{display:grid;gap:5px;width:84px;padding:0 0 6px;border:0;border-bottom:3px solid transparent;background:none;color:inherit;cursor:pointer;font:12px Arial,sans-serif}.book-gallery-controls button[aria-pressed=true]{border-color:#879b36}.book-gallery-controls button:focus-visible{outline:2px solid #879b36;outline-offset:3px}.book-gallery-controls img{display:block;width:84px!important;height:84px!important;aspect-ratio:1;object-fit:cover!important}.commerce-footer>a{display:block;width:min(360px,100%);aspect-ratio:833/171}.commerce-footer>a>img{width:100%;height:100%!important}
