.shop-page {
    --ink: #243d34;
    --muted: #627069;
    --paper: #faf8f3;
    --line: #dedfd5;
    --accent: #be6246;
    margin: 0;
    padding: 0;
    color: var(--ink);
    background: var(--paper);
    font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.shop-page *, .shop-page *::before, .shop-page *::after { box-sizing: border-box; }
.shop-page img { max-width: 100%; }
.shop-page .map { width: 100%; max-width: 100%; }
.shop-page p { overflow-wrap: anywhere; }
.shop-page h1, .shop-page h2, .shop-page h3, .shop-page h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.035em; }
.shop-page h1, .shop-page h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.shop-page h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.shop-page h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.shop-page h3 { font-size: 1.2rem; font-weight: 650; }
.shop-page a { color: var(--ink); }
.shop-page a:hover { color: var(--accent); }
.shop-page a, .shop-page button { -webkit-tap-highlight-color: transparent; }
.shop-page :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shop-page [hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: white; z-index: 2000; }
.skip-link:focus { top: 8px; }
.shop-header { display: flex; align-items: center; gap: 28px; padding: 16px max(24px, calc((100vw - 1280px) / 2)); background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.shop-brand { text-decoration: none !important; flex-shrink: 0; line-height: 1; }
.shop-brand > span { font: bold 36px/1 Georgia, serif; letter-spacing: -2px; }
.brand-dot { color: var(--accent); }
.shop-brand small { display: block; font-size: 8px; font-weight: 650; letter-spacing: 2px; margin-top: 8px; }
.shop-navigation { margin-left: auto; }
.shop-navigation ul { list-style: none; margin: 0; padding: 0; }
#shop-menu { display: flex; align-items: center; gap: 6px; }
.shop-navigation a, .shop-navigation summary { display: block; padding: 10px 12px; min-height: 44px; font-size: .9rem; font-weight: 550; text-decoration: none; cursor: pointer; }
.nav-dropdown { position: relative; }
.nav-dropdown > ul { position: absolute; min-width: 230px; top: 100%; left: 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 12px 32px #243d3414; }
.nav-dropdown .nav-dropdown > ul { position: static; box-shadow: none; border: 0; padding-left: 16px; }
.nav-dropdown li a:hover { background: #e9ede2; border-radius: 6px; }
.menu-toggle { display: none; }
.header-cart { display: flex; align-items: center; gap: 8px; font-size: .9rem; text-decoration: none !important; min-height: 44px; white-space: nowrap; }
.cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: white; font-size: .75rem; }
.shop-page .body-content { max-width: 1280px; min-width: 0; width: 100%; border: 0; background: transparent; border-radius: 0; margin: 0 auto; padding: 0 32px 64px; overflow: visible; }
.page-heading { padding: 48px 0 16px; }
.page-heading h1 { margin: 12px 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .85rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 12px; opacity: .55; }
.eyebrow { font: 600 .72rem/1.5 system-ui, sans-serif; text-transform: uppercase; letter-spacing: 1.8px; }
.page-intro { max-width: 660px; color: var(--muted); margin-bottom: 32px; font-size: 1.1rem; }
.shop-page .buy_button, .shop-page .btn-primary, .shop-page .btn-info { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; margin: 0; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); background-image: none; box-shadow: none; color: white !important; font: 600 .95rem/1.4 system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.shop-page .buy_button:hover, .shop-page .btn-primary:hover { background: #365448; border-color: #365448; }
.shop-page button:disabled { cursor: wait; opacity: .6; }
.shop-page .btn-secondary, .shop-page .button, .shop-page .btn-default { border: 1px solid var(--line); background: white; background-image: none; box-shadow: none; color: var(--ink) !important; border-radius: 8px; padding: 12px 18px; min-height: 44px; }
.text-link { display: inline-block; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; padding: 10px 0; }
.new-tab-indicator { display: inline-block; margin-left: .2em; font-size: .85em; }
.measure-guide { margin-top: 16px; font-size: .9rem; }
.measure-guide summary { cursor: pointer; padding: 10px 0; font-weight: 550; }
.measure-guide p { margin-top: 12px; color: var(--muted); }
.measure-guide img { width: 100%; max-width: 320px; border-radius: 10px; }
.product-size-fields .measure-guide { margin-top: 0; }
.shop-page input:not([type=checkbox]):not([type=radio]):not([type=submit]), .shop-page select, .shop-page textarea { width: 100%; max-width: 100%; min-width: 0; min-height: 48px; border: 1px solid #b9c2b8; border-radius: 8px; background: white; color: var(--ink); font: inherit; padding: 10px 12px; }
.shop-page input[type=checkbox], .shop-page input[type=radio] { accent-color: var(--ink); width: 20px; height: 20px; vertical-align: middle; }
.shop-page label { font-weight: 550; }
.shop-page .container-grid { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: white; }
.shop-page .field-validation-error, .shop-page .validation-summary-errors { color: #9b3625; }
.shop-page .field-validation-error { display: block; font-size: .85rem; margin-top: 4px; }
.shop-page .validation-summary-errors { padding: 16px; margin-bottom: 20px; border: 1px solid #dfad98; border-radius: 10px; background: #fff1e9; font-size: .9rem; }
.shop-page .validation-summary-errors ul { margin: 0; padding-left: 20px; }
.shop-page .alert, .shop-feedback { border-radius: 8px; padding: 14px 16px; margin: 16px 0; background: #e9ede2; border: 1px solid #c7d4c0; color: var(--ink); font-size: .9rem; }
.shop-feedback.is-error, .shop-page .alert-danger { color: #843626; background: #fff1e9; border-color: #dfad98; }
.home-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 0; }
.hero-copy { padding: 20px 0; }
.hero-copy h1 { font-size: clamp(3rem, 5.4vw, 5rem); margin: 20px 0 24px; line-height: 1.03; }
.hero-copy h1 em { color: var(--accent); }
.hero-copy p { max-width: 460px; font-size: 1.1rem; color: var(--muted); margin-bottom: 28px; }
.shopping-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 480px; }
.shopping-choices .buy_button { min-width: 0; }
.empty-cart .shopping-choices { margin: 24px auto; }
@media (max-width: 575px) {
    .shopping-choices { grid-template-columns: 1fr; }
}
.hero-caption { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--muted); margin-top: 30px; }
.hero-caption > svg { flex-shrink: 0; color: var(--accent); }
.hero-photo { position: relative; height: 540px; background: #e4e6dc; border-radius: 120px 16px 16px 16px; overflow: hidden; }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; }
.photo-note { position: absolute; bottom: 24px; left: 24px; right: 24px; padding: 18px 22px; background: #faf8f3f2; border-radius: 8px; }
.photo-note span { display: block; font: italic 1.5rem Georgia, serif; }
.photo-note small { font-size: .62rem; letter-spacing: 1.6px; }
.craft-strip { display: flex; justify-content: space-around; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .8rem; font-weight: 600; }
.home-section { margin-top: 64px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 10px 0 0; }
.how-it-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #e9ede2; color: var(--ink); font: 500 .8rem system-ui, sans-serif; }
.how-it-works h3 { margin: 20px 0 12px; }
.how-it-works p { color: var(--muted); max-width: 320px; font-size: .95rem; }
.design-feature { padding: 44px; border-radius: 18px; background: var(--ink); color: var(--paper); }
.design-feature .section-heading { align-items: center; margin-bottom: 36px; }
.design-feature .eyebrow { color: #c8d4c6; }
.shop-page .design-feature h2 { color: var(--paper); font-size: clamp(2.3rem, 4vw, 3.4rem); }
.design-feature h2 em { color: #e7b49a; }
.design-feature .how-it-works { gap: 36px; padding-top: 28px; border-top: 1px solid #52675c; }
.design-feature-step { display: flex; align-items: center; justify-content: space-between; color: #b7c8b9; }
.design-feature-step > span { font-size: .75rem; letter-spacing: 1px; }
.design-feature-step svg { opacity: .85; }
.shop-page .design-feature h3 { color: var(--paper); font-size: 1.15rem; margin: 16px 0 8px; }
.design-feature .how-it-works p { color: #c8d4c6; margin: 0; font-size: .9rem; }
.shop-page .design-feature .buy_button { width: auto; flex-shrink: 0; background: var(--paper); border-color: var(--paper); color: var(--ink) !important; font-size: .85rem; }
.shop-page .design-feature .buy_button:hover { background: #e9ede2; border-color: #e9ede2; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none !important; background: white; }
.category-card img { width: 100%; height: 230px; object-fit: cover; }
.category-card > div { padding: 24px; }
.category-card h3 { font: 400 1.8rem Georgia, serif; }
.category-card span { font-size: .85rem; }
.shop-page .listproduct_container { text-shadow: none; padding: 12px; font-size: 1rem; }
.shop-page a.listproduct { height: auto; padding: 0; background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: border-color .15s; }
.shop-page a.listproduct:hover { border-color: var(--ink); }
.shop-page .listproduct .productdata { position: static; width: auto; margin: 0; padding: 18px; order: 2; }
.shop-page .listproduct .productdata .price { position: static; color: var(--muted); font-size: .85rem; margin-top: 8px; }
.shop-page .listproduct .image { height: 210px; display: flex; align-items: center; justify-content: center; border-radius: 0; overflow: hidden; padding: 14px; }
.shop-page .listproduct .image img { object-fit: contain; max-height: 100%; width: auto; }
.shop-page .listproduct .helper { display: none; }
.shop-page .listproduct.designed-product .image { height: 160px; }
.product-details { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.product-gallery { min-width: 0; }
.product-main-image { width: 100%; height: 460px; object-fit: contain; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.product-thumbnails { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.product-thumbnails button { border: 1px solid var(--line); border-radius: 8px; padding: 4px; background: white; min-height: 48px; }
.product-thumbnails button[aria-pressed=true] { border: 2px solid var(--ink); }
.product-thumbnails img { width: 64px; height: 64px; object-fit: contain; }
.product-info h1 { margin: 12px 0 20px; font-size: clamp(2rem, 3vw, 2.8rem); }
.product-price { font-size: 1.4rem; margin: 20px 0; }
.shop-page .itemPrice { color: var(--ink); }
.product-size-fields { display: grid; gap: 16px; margin: 24px 0; }
.product-info label { width: 100%; }
.required-choice { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.required-choice.is-pending { border-color: var(--accent); background: #fff3eb; }
.required-choice.is-new { animation: required-choice-reveal 1.4s ease-out; }
.required-choice-prompt { color: #85442d; font-size: .9rem; font-weight: 650; margin: 0 0 10px; }
.required-choice label { margin-bottom: 8px; }
.required-choice small { display: block; color: var(--muted); line-height: 1.5; }
@keyframes required-choice-reveal {
    0%, 60% { box-shadow: 0 0 0 5px rgba(185, 97, 64, .25); }
    35%, 100% { box-shadow: 0 0 0 0 rgba(185, 97, 64, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .required-choice.is-new { animation: none; }
}
.product-description { margin-top: 32px; color: var(--muted); }
.product-info .product-feedback:empty { display: none; }
.product-more { margin-top: 56px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr); gap: 32px; align-items: start; }
.checkout-summary { position: sticky; top: 24px; }
.checkout-summary h2, .checkout-form h2 { font-size: 1.8rem; margin: 0 0 24px; }
.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkout-fields .full-width { grid-column: 1 / -1; }
.checkout-fields label { display: block; }
.checkout-fields small { color: var(--muted); }
.checkout-fields textarea { resize: vertical; }
.checkout-form .container-grid { margin-bottom: 20px; }
.payment-option { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 12px; cursor: pointer; }
.payment-option:has(input:checked) { border-color: var(--ink); background: #f0f3eb; }
.payment-option small { display: block; margin-left: 28px; color: var(--muted); font-weight: 400; }
.payment-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 20px; background: #e9ede2; font-size: .65rem; font-weight: 500; }
.payment-note { font-size: .8rem; color: var(--muted); margin: 16px 0; }
.payment-option:has(input:disabled) { opacity: .65; cursor: default; }
#inline-card-panel { padding-top: 20px; border-top: 1px solid var(--line); margin-top: 20px; }
#inline-card-panel h3 { margin-bottom: 20px; }
.card-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card-number-group { grid-column: 1 / -1; }
.card-inputs span { display: block; font-weight: 550; margin-bottom: 6px; font-size: .9rem; }
.hosted-card-field { height: 48px; width: 100%; background: white; border: 1px solid #b9c2b8; border-radius: 8px; overflow: hidden; }
.hosted-card-field:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
#card-billing-details { font-size: .85rem; margin: 16px 0; }
#card-billing-details summary { padding: 10px 0; cursor: pointer; font-weight: 550; }
#card-billing-fields { border: 0; padding: 16px 0 0; margin: 0; min-width: 0; }
.checkout-country { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .9rem; }
.checkout-country small { flex-basis: 100%; }
.shop-page input[readonly], .shop-page textarea[readonly] { background: #f3f3ed; color: var(--muted); }
.terms-label { display: block; font-size: .9rem; padding: 8px 0; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 64px; height: 64px; object-fit: contain; background: white; border-radius: 6px; }
.cart-line small { display: block; color: var(--muted); }
.cart-line .remove-item { display: block; clear: both; background: transparent; border: 0; text-decoration: underline; font-size: .8rem; color: var(--muted); padding: 8px 0; margin-top: 6px; min-height: 44px; }
.cart-quantity { display: flex; width: max-content; max-width: 100%; align-items: center; margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; }
.quantity-button { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); font: 500 1.2rem system-ui, sans-serif; cursor: pointer; }
.quantity-button:hover:not(:disabled) { background: #e9ede2; }
.quantity-button:focus-visible { outline-offset: -4px; }
.quantity-value { min-width: 28px; text-align: center; font-size: .9rem; }
.cart-line-total { white-space: nowrap; font-size: .9rem; }
@media (max-width: 400px) {
    .cart-line { grid-template-columns: 48px minmax(0, 1fr); }
    .cart-line > img { width: 48px; height: 48px; }
    .cart-line-total { grid-column: 2; }
}
.cart-totals > div { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; }
.cart-totals .cart-total { font-size: 1.25rem; font-weight: 650; border-top: 1px solid var(--line); padding-top: 16px; }
.cart-totals small { display: block; color: var(--muted); }
.gift-code { margin-top: 24px; font-size: .9rem; }
.gift-code summary { cursor: pointer; padding: 10px 0; }
.gift-code label { display: block; margin-top: 12px; }
.gift-code-row { display: flex; gap: 8px; }
.empty-cart { text-align: center; padding: 48px 20px; border: 1px solid var(--line); border-radius: 16px; }
.empty-cart .buy_button { width: auto; margin: 16px 0; }
.order-confirmation { margin-top: 12px; }
.order-receipt { table-layout: fixed; }
.order-receipt td { overflow-wrap: anywhere; }
.confirmation-test-note { font-size: .75rem; color: var(--muted); margin: 0 0 20px; }
.confirmation-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.confirmation-actions .buy_button { width: auto; }
.shop-footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding: 48px max(32px, calc((100vw - 1216px) / 2)); border-top: 1px solid var(--line); background: #edf0e7; font-size: .85rem; }
.footer-brand { font: bold 32px Georgia, serif; text-decoration: none !important; }
.shop-footer p { color: var(--muted); margin-top: 16px; }
.shop-footer nav a { display: block; padding: 8px 0; min-height: 40px; }
.footer-note { color: var(--muted); }
@media (max-width: 1100px) {
    .shop-header { gap: 16px; padding: 14px 24px; }
    .menu-toggle { display: flex; gap: 10px; padding: 10px 14px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); }
    #shop-menu { display: none; position: absolute; top: 100%; left: 16px; right: 16px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px #243d3414; max-height: 75vh; overflow: auto; }
    .shop-navigation.is-open #shop-menu { display: block; }
    .nav-dropdown > ul { position: static; box-shadow: none; border: 0; padding-left: 16px; }
    .hero-photo { height: 460px; }
}
@media (max-width: 767px) {
    .shop-page .body-content { padding: 0 20px 40px; }
    .shop-header { padding: 12px 20px; gap: 12px; }
    .shop-brand > span { font-size: 30px; }
    .shop-brand small { font-size: 6px; letter-spacing: 1.5px; }
    .header-cart > span:not(.cart-count) { display: none; }
    .page-heading { padding-top: 32px; }
    .home-hero { grid-template-columns: 1fr; gap: 20px; padding: 24px 0 32px; }
    .hero-copy { padding: 0; }
    .hero-copy h1 { font-size: clamp(3rem, 10vw, 4.6rem); }
    .hero-photo { height: 320px; border-top-left-radius: 72px; }
    .hero-caption { margin-top: 16px; }
    .craft-strip { flex-wrap: wrap; justify-content: center; font-size: .72rem; gap: 8px 20px; text-align: center; }
    .home-section { margin-top: 40px; }
    .section-heading { flex-wrap: wrap; gap: 8px; }
    .how-it-works, .category-grid { grid-template-columns: 1fr; gap: 16px; }
    .how-it-works > div { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
    .how-it-works h3 { margin: 10px 0; }
    .how-it-works p { grid-column: 2; max-width: none; }
    .design-feature { padding: 28px 24px; }
    .design-feature .section-heading { display: block; margin-bottom: 28px; }
    .design-feature .section-heading .buy_button { margin-top: 24px; }
    .design-feature .how-it-works { gap: 20px; padding-top: 24px; }
    .design-feature .how-it-works > div { display: block; padding-bottom: 20px; border-bottom: 1px solid #52675c; }
    .design-feature .how-it-works > div:last-child { padding: 0; border: 0; }
    .design-feature-step { justify-content: flex-start; gap: 16px; }
    .design-feature-step svg { width: 28px; height: 28px; }
    .shop-page .design-feature h3 { margin-top: 12px; }
    .category-card { display: grid; grid-template-columns: 120px 1fr; }
    .category-card img { width: 120px; height: 150px; }
    .category-card > div { padding: 20px; align-self: center; }
    .shop-page .listproduct .image { height: 160px; padding: 8px; }
    .shop-page .listproduct .productdata { padding: 12px; font-size: .9rem; }
    .product-details, .checkout-layout { grid-template-columns: 1fr; gap: 24px; }
    .product-main-image { height: 320px; }
    .checkout-summary { position: static; }
    .checkout-fields { gap: 16px; grid-template-columns: 1fr; }
    .checkout-form .container-grid, .checkout-summary.container-grid { padding: 20px; }
    .shop-footer { grid-template-columns: 1fr; padding: 32px 20px; gap: 20px; }
    .confirmation-actions { gap: 12px; }
}
@media print {
    .shop-page { background: white; font-size: 11pt; }
    .shop-header, .shop-footer, .confirmation-actions, .skip-link, .confirmation-test-note { display: none !important; }
    .shop-page .body-content { max-width: none; padding: 0; }
    .shop-page .page-heading { padding-top: 0; }
    .shop-page .page-heading h1 { font-size: 24pt; }
    .order-receipt { max-width: none !important; border: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
    .shop-page *, .shop-page *::before, .shop-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
