.artspace-order-page{max-width:1160px;margin:0 auto;padding:36px 24px 64px;color:#332d40;font-size:16px;line-height:1.6;background:#fff;box-sizing:border-box}
/* Match the existing content pages: catalog sidebar and a rounded white panel. */
.artspace-cart-layout{display:grid;grid-template-columns:300px minmax(0,1fr);align-items:start;gap:30px;max-width:1270px;margin:24px auto 64px;padding:0 5px;box-sizing:border-box}
.artspace-cart-layout #sm_sidebar{float:none;position:static;width:auto;margin:0;padding:0;transform:none}
.artspace-cart-layout .artspace-cart-panel{width:100%;min-width:0;max-width:none;margin:0;padding:20px 20px 32px;border-radius:10px}
.artspace-cart-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;margin-bottom:24px}
.artspace-cart-panel .artspace-cart-heading h1{margin:0;font-size:22px;font-weight:400;line-height:1.4;color:#40394a}
.artspace-cart-panel .woocommerce .cart-empty{margin:0 0 24px}
.artspace-cart-panel .woocommerce .return-to-shop{margin:0}
.artspace-order-page .woocommerce-info::before{color:#996cac}
.artspace-order-page .woocommerce-error a:not(.button),.artspace-order-page .woocommerce-info a:not(.button),.artspace-order-page .woocommerce-message a:not(.button){color:#fff;text-decoration:underline}
.artspace-order-page .woocommerce-error a:not(.button):hover,.artspace-order-page .woocommerce-info a:not(.button):hover,.artspace-order-page .woocommerce-message a:not(.button):hover{color:#e5d4ef}
.artspace-cart-panel .artspace-checkout{gap:28px}
.artspace-cart-panel .artspace-contact-fields,.artspace-cart-panel .artspace-order-summary{min-width:0}
.artspace-cart-layout .artspace-cart-panel .woocommerce .cart_totals{width:100%;max-width:420px}
.artspace-cart-panel .woocommerce table.cart .product-thumbnail img{width:76px;float:none;display:inline-block}
.artspace-cart-layout .sm_pre-sidebar__btn:focus-visible{outline:3px solid #aa80c1;outline-offset:3px}
@media(min-width:1101px) and (max-width:1310px){.artspace-cart-layout{padding:0 20px;gap:25px}}
@media(min-width:1101px) and (max-width:1150px){.artspace-cart-layout{grid-template-columns:250px minmax(0,1fr);gap:15px}}
@media(max-width:1100px){.artspace-cart-layout{grid-template-columns:minmax(0,1fr);gap:20px;padding:0 20px}.artspace-cart-layout .sm_pre-sidebar__btn{position:static;justify-self:center;margin:0;width:300px;max-width:100%;box-sizing:border-box}.artspace-cart-layout #sm_sidebar{box-shadow:none;width:100%;left:auto}}
@media(max-width:550px){.artspace-cart-layout{padding:0 10px}.artspace-cart-layout .artspace-cart-panel{padding:20px 16px 28px}.artspace-cart-heading{align-items:flex-start;flex-direction:column;gap:10px}}
@media(max-width:768px){.artspace-cart-panel .woocommerce table.cart td.product-thumbnail{text-align:center!important}.artspace-cart-panel .woocommerce table.cart td.product-name{display:flex;justify-content:space-between;gap:12px}.artspace-cart-panel .woocommerce table.cart td.product-name a{min-width:0;overflow-wrap:anywhere}}
.artspace-order-page *{box-sizing:border-box}.artspace-order-page .woocommerce-Price-amount{white-space:nowrap}.artspace-order-page .woocommerce-cart-form td.actions{display:none}.artspace-order-page h1{font-size:30px;line-height:1.25;margin:18px 0 24px;color:#5138a3;font-weight:700}.artspace-order-page h2{font-size:21px;line-height:1.4;margin:0 0 20px;font-weight:700}
.artspace-back,.artspace-order-page a{color:#563daf}.artspace-intro{max-width:700px;margin-bottom:30px}.artspace-hint{font-size:14px;line-height:1.6;color:#655b72;margin:16px 0}
body .artspace-button,body .woocommerce .artspace-button,body .artspace-order-page .woocommerce a.button,body .artspace-order-page .woocommerce button.button,body a.button.add_to_cart_button,body a.button.add_to_cart_button:hover,body .woocommerce-message a.button,body .woocommerce-message a.button:hover{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;min-height:46px;padding:12px 22px;background:#5a44b7;border:2px solid #5a44b7;border-radius:8px;color:#fff;font:700 15px/1.35 'Gotham Pro',Arial,sans-serif;text-decoration:none;text-shadow:none;box-shadow:none;cursor:pointer;white-space:normal;text-align:center;transition:background-color .15s ease,border-color .15s ease}
body .artspace-button:hover,body .woocommerce .artspace-button:hover,body .artspace-order-page .woocommerce a.button:hover,body .artspace-order-page .woocommerce button.button:hover,body a.button.add_to_cart_button:hover,body .woocommerce-message a.button:hover{background:#996cac;color:#fff;border-color:#996cac}
/* Override the legacy theme's hover margin reset without changing the block height. */
body .artspace-order-page .woocommerce .wc-proceed-to-checkout a.checkout-button{font-size:20px;padding:20px;margin:0 0 20px}
@media(prefers-reduced-motion:reduce){body .artspace-button,body .woocommerce .artspace-button,body .artspace-order-page .woocommerce a.button,body .artspace-order-page .woocommerce button.button,body a.button.add_to_cart_button,body a.button.add_to_cart_button:hover,body .woocommerce-message a.button,body .woocommerce-message a.button:hover{transition:none}}
body .artspace-button:focus,body a.button.add_to_cart_button:focus-visible,body .woocommerce-message a.button:focus-visible,body .artspace-order-page :focus-visible,.artspace-cart-link:focus{outline:3px solid #aa80c1;outline-offset:3px}
.artspace-field-error{color:#a3283e;font-size:14px;margin:6px 0 0}.artspace-add{margin:12px 0}.product-list__item .artspace-add{margin:12px 0 0}.product-list__item .artspace-button{width:100%}.artspace-stock{font-weight:700;padding:12px 0;color:#6b4d7c}.artspace-buy{margin:24px 0}.artspace-price{font-size:23px;font-weight:700;color:#563daf}.artspace-buy .artspace-hint{max-width:420px}
body .product-list__item .artspace-add{width:auto;margin:12px 20px 5px}
body .product-list__item .artspace-button{width:100%;max-width:none;margin:0;box-sizing:border-box;border-radius:14px}
body .product-list__item .artspace-in-cart{width:calc(100% - 40px);margin:12px 20px 5px}
/* The cart shares the navigation strip; its slot stays stable at zero items. */
.sm_header .artspace-header-top .sm_header--left{flex-shrink:0}
.sm_header .artspace-header-top .sm_header__nav{flex:1;min-width:0;width:auto;border-radius:20px 0 0 20px}
.sm_header .artspace-header-top .sm_header__nav .nav-menu{padding-left:12px;padding-right:6px;justify-content:space-between;gap:12px}
.artspace-header-cart{display:flex;align-items:center;justify-content:center;flex:0 0 56px;background:#fff;border-radius:0 20px 20px 0;position:relative;z-index:2;padding-right:6px;box-sizing:border-box}
.sm_header .artspace-cart-link{display:inline-flex;position:relative;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;color:#5a44b7;font-size:12px;font-weight:700;text-decoration:none;background:transparent;box-sizing:border-box}
.sm_header .artspace-cart-link:hover{background:#eee8f7}.sm_header .artspace-cart-link svg{flex:none}
.artspace-cart-count{position:absolute;top:0;right:0;min-width:18px;height:18px;padding:0 4px;box-sizing:border-box;border-radius:12px;background:#5a44b7;color:#fff;text-align:center;font:700 11px/18px Arial,sans-serif}
@media(min-width:951px) and (max-width:1100px){.sm_header .artspace-header-top .sm_header__nav .nav-menu{gap:8px;padding-left:8px}.sm_header .artspace-header-top .sm_header__nav .nav-menu>li>a{font-size:12px}}
@media(max-width:950px){.sm_header .artspace-header-top{align-items:center;gap:10px}.sm_header .artspace-header-top .sm_header--left{flex-shrink:1}.artspace-header-cart{flex-basis:48px;padding:0;border-radius:14px;align-self:center}}
.artspace-checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}.artspace-order-summary{padding:24px;background:#f5f1fa;border:1px solid #e4ddec;border-radius:8px;align-self:start}
.artspace-order-page .woocommerce form .form-row{padding:0;margin:0 0 18px;float:none;width:100%}.artspace-order-page .woocommerce form .form-row label{display:block;font-size:15px;font-weight:700;line-height:1.5;margin-bottom:7px;color:#332d40}.artspace-order-page .woocommerce form .form-row input.input-text,.artspace-order-page .woocommerce form .form-row textarea,.artspace-order-page .woocommerce form .form-row select{width:100%;min-height:48px;border:1px solid #968ba3;border-radius:6px;background:#fff;padding:10px 12px;font:400 16px/1.5 Arial,sans-serif;color:#332d40;box-shadow:none}.artspace-order-page .woocommerce form .form-row textarea{min-height:110px;resize:vertical}.artspace-order-page .woocommerce-invalid input{border-color:#a3283e!important}
.artspace-order-page .woocommerce #payment{background:none;border-radius:0}.artspace-order-page .woocommerce #payment .place-order{padding:0}.artspace-order-page .woocommerce #payment #place_order{float:none;width:100%;max-width:none;margin:0 0 16px}
.artspace-order-page table.shop_table{border-collapse:collapse;border:0;border-radius:0}.artspace-order-page table.shop_table td,.artspace-order-page table.shop_table th{padding:16px 10px;border-bottom:1px solid #ded6e8;vertical-align:middle;word-break:normal}.artspace-order-page table.shop_table th{color:#4b3a62;font-size:14px}.artspace-order-page .product-thumbnail img{width:76px;max-width:none;border-radius:5px}.artspace-order-page .product-remove a.remove{width:44px;height:44px;line-height:44px;font-size:28px}.artspace-order-page .woocommerce .cart_totals{width:48%;margin-top:20px;padding:24px;background:#f5f1fa;border-radius:8px}.artspace-order-page .wc-proceed-to-checkout .checkout-button{width:100%;font-size:17px;background:#5a44b7}
.artspace-order-page .woocommerce-message,.artspace-order-page .woocommerce-info,.artspace-order-page .woocommerce-error{background:#433d4b;color:#fff;border-top-color:#5a44b7;font-size:15px;line-height:1.6}.artspace-order-page .woocommerce-error{border-top-color:#a3283e}.artspace-confirmation{max-width:820px}.artspace-confirmation-title{font-size:22px;font-weight:700;line-height:1.5;color:#5138a3}.artspace-confirmation h2{margin-top:32px}.artspace-confirmation-items{list-style:none;margin:0 0 24px;padding:0}.artspace-confirmation-items li{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #e4ddec}.artspace-confirmation p{margin:18px 0}.artspace-confirmation .artspace-button{margin-top:18px}
@media(max-width:760px){.artspace-checkout{grid-template-columns:1fr;gap:24px}.artspace-order-page{padding:24px 16px 44px}.artspace-order-page h1{font-size:26px}.artspace-order-summary{padding:20px 16px}.artspace-order-page .woocommerce .cart_totals{width:100%;padding:20px 16px}.artspace-order-page .product-thumbnail{display:block!important}.artspace-order-page .product-thumbnail:before{display:none!important}.artspace-confirmation-items li{flex-direction:column;gap:6px}.artspace-order-page .woocommerce table.shop_table td{padding:12px}.artspace-order-page .woocommerce table.shop_table .product-name{font-weight:700}}

/* Native related-product buttons also inherit legacy hover spacing. */
body a.button.add_to_cart_button,body a.button.add_to_cart_button:hover{margin:15px 0 0;border-radius:14px}
body .woocommerce-message a.button,body .woocommerce-message a.button:hover{margin:0}
