/** Shopify CDN: Minification failed

Line 4360:2 Unexpected "{"
Line 4360:3 Expected identifier but found "%"
Line 4360:33 Unexpected "{"
Line 4360:34 Expected identifier but found "%"
Line 4361:2 Unexpected "{"
Line 4361:3 Expected identifier but found "%"
Line 4361:49 Unexpected "{"
Line 4361:50 Expected identifier but found "%"
Line 4524:0 Unexpected "{"
Line 4524:1 Expected identifier but found "%"
... and 6 more hidden warnings

**/
/* Fonts load once from header2.liquid — do not @import here (blocks CSSOM) */

/* =========================
   LAYER STACK (no parent transform traps)
========================= */
:root {
  --z-cart-overlay: 100000;
  --z-cart-drawer: 100001;
  --z-stacked-overlay: 100010;
  --z-engraving-drawer: 100011;
  --z-edit-overlay: 100020;
  --z-edit-modal: 100021;
}
/* Cart trust — carbon offset + info accordions */
.cart-trust-section{
  margin-top:18px;
  padding-top:4px;
}

.cart-carbon-offset{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:6px;
  font-size:13px;
  line-height:1.45;
  color:#333;
}

.cart-carbon-offset-icon{
  flex-shrink:0;
  width:18px;
  height:18px;
  margin-top:1px;
  color:#041E3A;
}

.cart-carbon-offset-icon svg{
  display:block;
  width:100%;
  height:100%;
}
.cart-info-accordions{
  border-top:1px solid #e5e5e5;
}

.cart-info-accordion{
  border-bottom:1px solid #e5e5e5;
}

.cart-info-accordion summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 0;
  cursor:pointer;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#041E3A;
  user-select:none;
}

.cart-info-accordion summary::-webkit-details-marker{
  display:none;
}

.cart-info-accordion summary::marker{
  content:'';
}

.cart-accordion-icon{
  flex-shrink:0;
  font-size:18px;
  font-weight:300;
  line-height:1;
  color:#041E3A;
  transition:transform .2s ease;
}

.cart-info-accordion[open] .cart-accordion-icon{
  transform:rotate(45deg);
}

.cart-info-panel{
  padding:0 0 16px;
  font-size:12px;
  line-height:1.55;
  color:#666;
}

.cart-info-panel p{
  margin:0 0 8px;
}

.cart-info-panel p:last-child{
  margin-bottom:0;
}
.cart-layer-portal {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-cart-overlay);
}

.cart-layer-portal > * {
  pointer-events: auto;
}

#cartDrawerOverlay {
  z-index: var(--z-cart-overlay) !important;
}


#CartDrawer.drawer {
  z-index: var(--z-cart-drawer) !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(420px, 92vw);
  max-width: min(420px, 92vw);
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translate3d(100%, 0, 0);
  visibility: hidden;
  pointer-events: none;
  background: #f6f4f1;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #13294b;
}

#CartDrawer.drawer.drawer--is-open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}

/* Hide Shopify Inbox chat bubble while cart drawer is open (mobile + desktop) */
html.js-drawer-open:has(#CartDrawer.drawer--is-open) shopify-chat,
html.js-drawer-open:has(#CartDrawer.drawer--is-open) #ShopifyChat,
html.js-drawer-open:has(#CartDrawer.drawer--is-open) inbox-online-store-chat,
body.js-drawer-open:has(#CartDrawer.drawer--is-open) shopify-chat,
body.js-drawer-open:has(#CartDrawer.drawer--is-open) #ShopifyChat,
body.js-drawer-open:has(#CartDrawer.drawer--is-open) inbox-online-store-chat,
html:has(#CartDrawer.drawer--is-open) shopify-chat,
html:has(#CartDrawer.drawer--is-open) #ShopifyChat,
html:has(#CartDrawer.drawer--is-open) inbox-online-store-chat {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#engravingStackedOverlay {
  z-index: var(--z-stacked-overlay) !important;
}

#engravingDrawer.engraving-drawer {
  z-index: var(--z-engraving-drawer) !important;
}

/* Engraving drawer — client sd design */
#engravingDrawer.engraving-drawer {
  --sd-offwhite: #f6f4f1;
  --sd-navy: #13294b;
  --sd-navy-light: #1e3a5f;
  --sd-muted: #6b7280;
  --sd-gold: #b8953a;
  --sd-gold-light: #d4ad5a;
  --sd-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sd-sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sd-preview-gap: 10px;
  --sd-font-times: "Times New Roman", Times, Georgia, serif;
  --sd-font-bright-sunshine: "Great Vibes", "Bright Sunshine", "Pinyon Script", cursive;
  --sd-font-old-english: "UnifrakturMaguntia", "Old English Text MT", "Blackletter", Georgia, serif;
  --sd-font-throw-my-hands: "Amatic SC", "Throw My Hands Up in the Air", "Comic Sans MS", cursive;
  --sd-font-finger-paint: "Finger Paint", "Comic Sans MS", cursive;
  width: min(460px, 100%) !important;
  max-width: min(460px, 100%) !important;
  overflow-x: hidden;
  background: var(--sd-offwhite) !important;
  font-family: var(--sd-sans);
  color: var(--sd-navy);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
}

#engravingDrawer .engraving-drawer-box {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  overflow-x: clip !important;
  background: var(--sd-offwhite) !important;
  max-width: 100%;
  box-sizing: border-box;
}

#engravingDrawer .sd-header,
#engravingDrawer .sd-header.ol-engrave-header {
  background: var(--sd-navy) !important;
  padding: 16px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-shrink: 0;
  margin: 0 0 10px !important;
  border: none;
}

#engravingDrawer .sd-eyebrow {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sd-gold-light);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#engravingDrawer .sd-eyebrow::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--sd-gold);
  display: block;
}

#engravingDrawer .sd-title {
  margin: 0;
  font-family: var(--sd-serif);
  font-size: 22px;
  color: var(--sd-offwhite);
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
}

#engravingDrawer .sd-product {
  font-size: 10px;
  color: rgba(246, 244, 241, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

#engravingDrawer .sd-close {
  background: transparent;
  border: 1px solid rgba(246, 244, 241, 0.2);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

#engravingDrawer .sd-close svg {
  width: 13px;
  height: 13px;
  stroke: rgba(246, 244, 241, 0.7);
  fill: none;
  stroke-width: 2;
}

#engravingDrawer .sd-body {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  touch-action: pan-y;
}

#engravingDrawer .sd-body::-webkit-scrollbar {
  display: none;
}

#engravingDrawer .sd-body.engraving-content-row,
#engravingDrawer .sd-body.ol-engrave-body {
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  max-width: 100%;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
}

/* Beat legacy ol-engrave-body row layout + double scroll containers */
#engravingDrawer .engraving-content-row,
#engravingDrawer .ol-engrave-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;
}

#engravingDrawer .sd-preview {
  background: var(--sd-navy);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 3;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(13, 30, 53, 0.18);
}

/* Preview close — mobile only (stays with sticky preview bar) */
#engravingDrawer .sd-preview-close {
  display: none;
}

#engravingDrawer .sd-preview.sd-preview--split {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
  grid-template-rows: auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

#engravingDrawer .sd-preview-left {
  flex: 1;
  min-width: 0;
}

#engravingDrawer .sd-preview.sd-preview--split .sd-preview-left {
  grid-column: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#engravingDrawer .sd-preview.sd-preview--split .sd-preview-ref {
  grid-column: 2;
  min-width: 0;
  max-width: 100%;
  justify-self: stretch;
}

#engravingDrawer .sd-preview-ref .sd-engrave-ref-img {
  max-height: 96px;
}


#engravingDrawer .sd-preview-ref-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}

#engravingDrawer .sd-preview-ref .sd-preview-lbl {
  white-space: nowrap;
  font-size: 8px;
  letter-spacing: 0.1em;
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

#engravingDrawer .sd-preview-ref-hint {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 244, 241, 0.45);
  flex-shrink: 0;
  white-space: nowrap;
}

#engravingDrawer .sd-engrave-ref-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: rgba(246, 244, 241, 0.06);
  cursor: zoom-in;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
}

#engravingDrawer .sd-engrave-ref-btn:focus-visible {
  outline: 2px solid rgba(246, 244, 241, 0.65);
  outline-offset: 2px;
}

#engravingDrawer .sd-engrave-ref-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 148px;
  object-fit: cover;
  object-position: center;
}

#engravingDrawer .sd-engrave-ref-zoom {
  position: absolute;
  top: 6px;
  right: 6px;
  bottom: auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(19, 41, 75, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#engravingDrawer .sd-engrave-ref-zoom svg {
  width: 14px;
  height: 14px;
  stroke: #f6f4f1;
  fill: none;
  stroke-width: 2;
}

.engraving-ref-zoom {
  position: fixed;
  inset: 0;
  z-index: 10000050;
  background: rgba(8, 16, 28, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.engraving-ref-zoom[hidden] {
  display: none !important;
}

.engraving-ref-zoom__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(246, 244, 241, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.engraving-ref-zoom__close svg {
  width: 18px;
  height: 18px;
  stroke: #f6f4f1;
  fill: none;
  stroke-width: 2;
}

.engraving-ref-zoom__img {
  max-width: min(96vw, 920px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

body.engraving-ref-zoom-open {
  overflow: hidden;
}

#engravingDrawer .sd-preview::before {
  display: none;
}

#engravingDrawer .sd-preview-lbl {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 244, 241, 0.3);
  margin-bottom: 4px;
}

#engravingDrawer .sd-preview-textrow {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: nowrap;
  max-width: 100%;
}

/* Multi-side preview — stacked full-width rows */
#engravingDrawer .sd-preview-text.has-lines,
#engravingDrawer #engravingPreviewText.has-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
  white-space: normal;
  overflow: hidden;
  font-style: normal;
  font-size: inherit;
  line-height: 1.2;
}

#engravingDrawer .sd-preview-text .sd-preview-text-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 7px 10px;
  background: rgba(246, 244, 241, 0.07);
  border: 1px solid rgba(246, 244, 241, 0.1);
  border-radius: 4px;
  box-sizing: border-box;
  white-space: normal;
  overflow: hidden;
}

#engravingDrawer .sd-preview-text-label {
  font-family: var(--sd-sans);
  font-size: 8px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 244, 241, 0.42);
  line-height: 1;
}

#engravingDrawer .sd-preview-text-value {
  display: block;
  min-width: 0;
  flex: 0 1 auto;
  font-family: var(--sd-serif);
  font-size: clamp(14px, 3.5vw, 18px);
  font-style: italic;
  font-weight: 400;
  color: var(--sd-offwhite);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#engravingDrawer .sd-preview-text-main {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

#engravingDrawer .sd-preview-text-value--empty {
  font-style: normal;
  opacity: 0.35;
  font-size: 14px;
}

#engravingDrawer .sd-preview-text-line .sd-preview-inline-symbol {
  margin-top: 0;
  margin-left: 0;
  flex-shrink: 0;
  color: #fff;
}

#engravingDrawer #engravingPreviewText.is-old-english .sd-preview-text-value {
  font-family: var(--sd-font-old-english) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  font-size: clamp(15px, 3.8vw, 20px) !important;
}

#engravingDrawer #engravingPreviewText.is-times-new-roman .sd-preview-text-value {
  font-family: "Times New Roman", Times, Georgia, serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
}

#engravingDrawer #engravingPreviewText.is-bright-sunshine .sd-preview-text-value {
  font-family: var(--sd-font-bright-sunshine) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  font-size: clamp(18px, 4.5vw, 26px) !important;
}

#engravingDrawer #engravingPreviewText.is-throw-my-hands .sd-preview-text-value {
  font-family: var(--sd-font-throw-my-hands) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  font-size: clamp(18px, 4.4vw, 24px) !important;
}

#engravingDrawer #engravingPreviewText.is-finger-paint .sd-preview-text-value {
  font-family: var(--sd-font-finger-paint) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  font-size: clamp(16px, 4vw, 22px) !important;
}

#engravingDrawer .js-engraving-text-input {
  font-size: 16px;
  color: var(--sd-navy);
}

#engravingDrawer .sd-preview-text,
#engravingDrawer #engravingPreviewText {
  font-family: var(--sd-serif);
  font-size: clamp(16px, 4vw, 22px);
  color: var(--sd-offwhite);
  font-style: italic;
  min-height: 0;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
  line-height: 1.2;
  text-shadow: none;
  text-transform: none;
  font-weight: 400;
  position: static;
  padding: 0;
  flex: 0 1 auto;
  min-width: 0;
  max-width: none;
}

#engravingDrawer .sd-preview-text.is-times-new-roman,
#engravingDrawer #engravingPreviewText.is-times-new-roman {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(14px, 3.5vw, 18px);
  letter-spacing: 0.01em;
}

#engravingDrawer .sd-preview-text.is-bright-sunshine,
#engravingDrawer #engravingPreviewText.is-bright-sunshine {
  font-family: var(--sd-font-bright-sunshine);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(18px, 4.5vw, 26px);
  letter-spacing: 0.02em;
  text-transform: none;
}

#engravingDrawer .sd-preview-text.is-old-english,
#engravingDrawer #engravingPreviewText.is-old-english {
  font-family: var(--sd-font-old-english);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(13px, 3.2vw, 17px);
  letter-spacing: 0.04em;
}

#engravingDrawer .sd-preview-text.is-throw-my-hands,
#engravingDrawer #engravingPreviewText.is-throw-my-hands {
  font-family: var(--sd-font-throw-my-hands);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(18px, 4.4vw, 24px);
  letter-spacing: 0.04em;
  text-transform: none;
}

#engravingDrawer .sd-preview-text.is-finger-paint,
#engravingDrawer #engravingPreviewText.is-finger-paint {
  font-family: var(--sd-font-finger-paint);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(16px, 4vw, 22px);
  letter-spacing: 0.02em;
  text-transform: none;
}

#engravingDrawer .sd-preview-text.is-block,
#engravingDrawer #engravingPreviewText.is-block {
  font-family: var(--sd-sans);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(14px, 3.5vw, 18px);
  letter-spacing: 0.02em;
}

#engravingDrawer .sd-preview-text.is-standard,
#engravingDrawer #engravingPreviewText.is-standard {
  font-family: var(--sd-sans);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(14px, 3.5vw, 18px);
  letter-spacing: 0.01em;
}

#engravingDrawer .sd-preview-text.is-handwriting,
#engravingDrawer #engravingPreviewText.is-handwriting,
#engravingDrawer .sd-preview-text.is-script,
#engravingDrawer #engravingPreviewText.is-script {
  font-family: var(--sd-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(15px, 3.8vw, 20px);
  letter-spacing: 0.01em;
}

#engravingDrawer .sd-preview-text.is-gothic,
#engravingDrawer #engravingPreviewText.is-gothic,
#engravingDrawer .sd-preview-text.is-stamp,
#engravingDrawer #engravingPreviewText.is-stamp {
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(13px, 3.2vw, 17px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#engravingDrawer .sd-preview-text.is-modern,
#engravingDrawer #engravingPreviewText.is-modern {
  font-family: var(--sd-sans);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(12px, 3vw, 16px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#engravingDrawer .sd-preview-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 0;
}

#engravingDrawer .sd-preview-left .sd-preview-symbol svg {
  width: 18px;
  height: 18px;
  stroke: rgba(246, 244, 241, 0.85);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

#engravingDrawer .sd-preview-symbol .ol-engrave-preview__emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  font-size: 18px;
  line-height: 1;
  color: rgba(246, 244, 241, 0.85);
  text-shadow: none;
  filter: none;
}

#engravingDrawer .sd-preview-product {
  flex-shrink: 0;
}

#engravingDrawer .sd-example-img {
  width: 96px;
  height: 72px;
  background: linear-gradient(135deg, #e8e6e1 0%, #f4f2ee 45%, #d8d5cf 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  padding-bottom: 16px;
  box-sizing: border-box;
}

#engravingDrawer .sd-example-photo,
#engravingDrawer .sd-example-ph {
  display: none !important;
}

#engravingDrawer .sd-mockup-plate {
  position: relative;
  z-index: 1;
  width: 84%;
  height: 46px;
  background: linear-gradient(180deg, #faf9f7 0%, #ece9e3 100%);
  border: 1px solid rgba(19, 41, 75, 0.14);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.85), inset 0 -1px 2px rgba(19, 41, 75, 0.06);
  padding: 0 6px;
  pointer-events: none;
}

#engravingDrawer .sd-mockup-text {
  font-family: var(--sd-serif);
  font-style: italic;
  font-size: 12px;
  color: rgba(19, 41, 75, 0.72);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: none;
  transition: all 0.15s;
  max-width: 100%;
  line-height: 1.2;
}

#engravingDrawer .sd-mockup-text.is-script {
  font-family: var(--sd-serif);
  font-style: italic;
}

#engravingDrawer .sd-mockup-text.is-block {
  font-family: var(--sd-sans);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

#engravingDrawer .sd-mockup-text.is-stamp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 11px;
}

#engravingDrawer .sd-mockup-symbol {
  width: 14px;
  height: 14px;
  stroke: rgba(19, 41, 75, 0.65);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

#engravingDrawer .sd-example-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(19, 41, 75, 0.55);
  color: rgba(246, 244, 241, 0.7);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  padding: 3px 0;
  pointer-events: none;
}

#engravingDrawer .sd-step {
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
  padding-left: 22px;
  padding-right: 22px;
}

#engravingDrawer .sd-step-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

#engravingDrawer .sd-num {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(19, 41, 75, 0.3);
  font-weight: 600;
  width: 16px;
}

#engravingDrawer .sd-name {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sd-navy);
}

#engravingDrawer .sd-optional {
  font-size: 10px;
  color: var(--sd-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

#engravingDrawer .sd-input-wrap {
  position: relative;
}

#engravingDrawer .sd-text-fields-grid {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

#engravingDrawer .sd-text-fields-grid--1 {
  grid-template-columns: 1fr;
}

/* Drawer is max 460px — always stack multi-side fields to avoid horizontal overflow */
#engravingDrawer .sd-text-fields-grid--2,
#engravingDrawer .sd-text-fields-grid--3,
#engravingDrawer .sd-text-fields-grid--4 {
  grid-template-columns: 1fr;
}

#engravingDrawer .sd-text-fields-grid--tabs {
  gap: 0;
}

#engravingDrawer .sd-side-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  width: 100%;
  min-width: 0;
}

#engravingDrawer .sd-side-tab {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  border: 1px solid rgba(19, 41, 75, 0.15);
  background: #fff;
  padding: 9px 8px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sd-navy);
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
}

#engravingDrawer .sd-side-tab.is-active {
  border-color: var(--sd-navy);
  border-width: 2px;
  background: rgba(19, 41, 75, 0.03);
}

#engravingDrawer .sd-side-tab__label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#engravingDrawer .sd-side-tab__dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sd-gold);
  opacity: 0;
}

#engravingDrawer .sd-side-tab.is-filled .sd-side-tab__dot,
#engravingDrawer .sd-side-tab.has-symbol .sd-side-tab__dot {
  opacity: 1;
}

#engravingDrawer .sd-side-panels {
  min-width: 0;
  width: 100%;
}

#engravingDrawer .sd-text-fields-grid--tabs .sd-text-field-col {
  margin: 0;
}

#engravingDrawer .sd-text-fields-grid--tabs .sd-text-field-label {
  display: none;
}

#engravingDrawer .sd-text-field-col {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

#engravingDrawer .sd-text-field-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #13294B;
  margin-bottom: 8px;
}

#engravingDrawer .sd-slot-symbol {
  margin-top: 10px;
  padding-top: 0;
  border-top: none;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

#engravingDrawer .sd-slot-symbol--collapsible {
  border: 1px solid rgba(19, 41, 75, 0.12);
  border-radius: 4px;
  background: #fff;
}

#engravingDrawer .sd-slot-symbol__toggle {
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

#engravingDrawer .sd-slot-symbol__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

#engravingDrawer .sd-slot-symbol__chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--sd-muted);
  border-bottom: 1.5px solid var(--sd-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -2px;
}

#engravingDrawer .sd-slot-symbol--collapsible.is-expanded .sd-slot-symbol__chevron {
  transform: rotate(-135deg);
  margin-top: 2px;
}

#engravingDrawer .sd-slot-symbol--collapsible:not(.is-expanded) .sd-slot-symbol__track,
#engravingDrawer .sd-slot-symbol--collapsible:not(.is-expanded) .sd-slot-symbol__selected {
  display: none !important;
}

#engravingDrawer .sd-slot-symbol--collapsible.is-expanded .sd-slot-symbol__track {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  grid-template-columns: unset;
  padding: 0 10px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#engravingDrawer .sd-slot-symbol--collapsible.is-expanded .sd-slot-symbol__track::-webkit-scrollbar {
  display: none;
}

#engravingDrawer .sd-slot-symbol--collapsible.is-expanded .sd-slot-symbol-btn {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  aspect-ratio: 1;
}

#engravingDrawer .sd-slot-symbol--collapsible.has-selection:not(.is-expanded) .sd-slot-symbol__title::after {
  content: ' · added';
  color: var(--sd-gold);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

#engravingDrawer .sd-slot-symbol__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

#engravingDrawer .sd-slot-symbol__title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #13294B;
}

#engravingDrawer .sd-slot-symbol__optional {
  font-weight: 500;
  color: var(--sd-muted);
  text-transform: none;
  letter-spacing: 0;
}

#engravingDrawer .sd-slot-symbol__price {
  font-size: 10px;
  font-weight: 700;
  color: #1e5c2e;
  letter-spacing: 0.04em;
}

#engravingDrawer .sd-slot-symbol__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

#engravingDrawer .sd-slot-symbol-btn {
  flex: unset;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(19, 41, 75, 0.15);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: var(--sd-navy);
}

#engravingDrawer .sd-slot-symbol-btn__label {
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sd-muted);
}

#engravingDrawer .sd-slot-symbol-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

#engravingDrawer .sd-slot-symbol-btn.active {
  border-color: var(--sd-navy);
  border-width: 2px;
  background: rgba(19, 41, 75, 0.04);
}

#engravingDrawer .sd-slot-symbol__selected {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(30, 92, 46, 0.06);
  border: 1px solid rgba(30, 92, 46, 0.16);
}

#engravingDrawer .sd-slot-symbol__selected.is-visible {
  display: flex;
}

#engravingDrawer .sd-slot-symbol__selected-label {
  font-size: 11px;
  color: #1e5c2e;
  font-weight: 600;
}

#engravingDrawer .sd-slot-symbol__remove {
  border: none;
  background: transparent;
  color: var(--sd-navy);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

#engravingDrawer .sd-preview-inline-symbol {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 4px;
  color: #fff;
}

#engravingDrawer .sd-preview-inline-symbol svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
}

#engravingDrawer .sd-preview-inline-symbol--glyph {
  color: #fff;
  font-size: 13px;
}

#engravingDrawer .sd-input,
#engravingDrawer #engravingInput {
  width: 100%;
  border: 1px solid rgba(19, 41, 75, 0.18);
  background: #fff;
  padding: 12px 44px 12px 13px;
  font-family: var(--sd-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--sd-navy);
  outline: none;
  min-height: auto;
  border-radius: 0;
  box-sizing: border-box;
  pointer-events: auto;
  touch-action: auto;
  -webkit-user-select: text;
  user-select: text;
  -webkit-tap-highlight-color: rgba(19, 41, 75, 0.12);
}

#engravingDrawer .sd-input:focus,
#engravingDrawer #engravingInput:focus {
  border-color: var(--sd-navy);
}

#engravingDrawer .sd-count {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--sd-muted);
  pointer-events: none;
}

#engravingDrawer .sd-hint {
  font-size: 11px;
  color: var(--sd-muted);
  margin-top: 5px;
}

#engravingDrawer .sd-pills {
  display: none !important;
}

#engravingDrawer .sd-step--text .emoji-tabs,
#engravingDrawer .sd-step--font .emoji-tabs {
  margin-bottom: 12px;
}

#engravingDrawer .sd-step--text .upload-zone,
#engravingDrawer .sd-step--font .upload-zone {
  margin-top: 0;
}

#engravingDrawer .sd-step--symbol .sd-name {
  font-size: 12px;
  letter-spacing: 0.1em;
}

#engravingDrawer .sd-step--symbol .sd-optional {
  font-size: 12px;
  letter-spacing: 0.02em;
}

#engravingDrawer .sd-step--symbol .emoji-tabs {
  margin-bottom: 14px;
}

#engravingDrawer .sd-step--symbol .emoji-tab {
  padding: 12px 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

#engravingDrawer .sd-step--symbol .emoji-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

#engravingDrawer .sd-step--symbol .emoji-btn {
  padding: 14px 8px;
  min-height: 88px;
}

#engravingDrawer .sd-step--symbol .eb-emoji {
  height: 36px;
  margin-bottom: 8px;
  overflow: visible;
}

#engravingDrawer .sd-step--symbol .eb-emoji svg {
  width: 24px;
  height: 24px;
  overflow: visible;
}

#engravingDrawer .sd-step--symbol .eb-name {
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

#engravingDrawer .sd-step--symbol .eb-none {
  font-size: 14px;
}

#engravingDrawer .sd-step--symbol .upload-title {
  font-size: 15px;
}

#engravingDrawer .sd-step--symbol .upload-sub,
#engravingDrawer .sd-step--symbol .fg-item,
#engravingDrawer .sd-step--symbol .upload-sel-text {
  font-size: 13px;
  line-height: 1.45;
}

#engravingDrawer .sd-step--symbol .upload-price-pill {
  font-size: 13px;
  padding: 6px 14px;
}

#engravingDrawer .sd-pill-lbl {
  font-size: 11px;
  color: var(--sd-muted);
  font-weight: 500;
}

#engravingDrawer .sd-pill {
  background: transparent;
  border: 1px solid rgba(19, 41, 75, 0.18);
  padding: 4px 11px;
  font-family: var(--sd-serif);
  font-size: 13px;
  font-style: italic;
  color: var(--sd-navy);
  cursor: pointer;
}

#engravingDrawer .sd-custom-font-name-wrap {
  margin-bottom: 10px;
}

#engravingDrawer .sd-custom-font-name-wrap .sd-input {
  padding-right: 13px;
  font-style: normal;
  font-family: var(--sd-sans);
}

#engravingDrawer #font-custom-panel .upload-price-pill {
  margin-top: 10px;
}

#engravingDrawer .sd-font-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

#engravingDrawer .sd-font-btn {
  border: 1px solid rgba(19, 41, 75, 0.15);
  background: #fff;
  padding: 11px 7px;
  text-align: center;
  cursor: pointer;
}

#engravingDrawer .sd-font-btn.active {
  border-color: var(--sd-navy);
  border-width: 2px;
  background: rgba(19, 41, 75, 0.03);
}

#engravingDrawer .sd-fp {
  font-size: 20px;
  color: var(--sd-navy);
  line-height: 1;
  margin-bottom: 4px;
}

#engravingDrawer .sd-fp.is-times-new-roman {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: 400;
}

#engravingDrawer .sd-fp.is-bright-sunshine {
  font-family: var(--sd-font-bright-sunshine);
  font-weight: 400;
  font-size: 26px;
}

#engravingDrawer .sd-fp.is-old-english {
  font-family: var(--sd-font-old-english);
  font-weight: 400;
  font-size: 22px;
}

#engravingDrawer .sd-fp.is-throw-my-hands {
  font-family: var(--sd-font-throw-my-hands);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.04em;
}

#engravingDrawer .sd-fp.is-finger-paint {
  font-family: var(--sd-font-finger-paint);
  font-weight: 400;
  font-size: 22px;
}

#engravingDrawer .sd-fp.is-standard {
  font-family: var(--sd-sans);
  font-weight: 400;
}

#engravingDrawer .sd-fp.is-block {
  font-family: var(--sd-sans);
  font-weight: 700;
}

#engravingDrawer .sd-fp.is-handwriting,
#engravingDrawer .sd-fp.is-script {
  font-family: var(--sd-serif);
  font-style: italic;
}

#engravingDrawer .sd-fp.is-gothic,
#engravingDrawer .sd-fp.is-stamp {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#engravingDrawer .sd-fp.is-modern {
  font-family: var(--sd-sans);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 16px;
}

#engravingDrawer .sd-fn {
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sd-muted);
  line-height: 1.25;
  hyphens: auto;
}

#engravingDrawer .sd-loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

#engravingDrawer .sd-loc-btn {
  border: 1px solid rgba(19, 41, 75, 0.15);
  background: #fff;
  padding: 10px 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

#engravingDrawer .sd-loc-btn[hidden],
#engravingDrawer .sd-loc-btn.is-position-hidden {
  display: none !important;
}

#engravingDrawer #engravingLocation option[hidden],
#engravingDrawer #engravingLocation option.is-position-hidden {
  display: none !important;
}

#engravingDrawer .sd-loc-btn.active {
  border-color: var(--sd-navy);
  border-width: 2px;
  background: rgba(19, 41, 75, 0.03);
}

#engravingDrawer .sd-loc-ico {
  width: 26px;
  height: 26px;
  background: rgba(19, 41, 75, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#engravingDrawer .sd-loc-btn > div:last-child {
  min-width: 0;
  flex: 1;
}

#engravingDrawer .sd-loc-ico svg {
  width: 12px;
  height: 12px;
  stroke: var(--sd-navy);
  fill: none;
  stroke-width: 1.5;
}

#engravingDrawer .sd-loc-name {
  font-size: 12px;
  color: var(--sd-navy);
  font-weight: 500;
  margin-bottom: 1px;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.25;
}

#engravingDrawer .sd-loc-price {
  font-size: 10px;
  color: var(--sd-gold);
  font-weight: 600;
}

#engravingDrawer .emoji-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(19, 41, 75, 0.2);
  overflow: hidden;
  margin-bottom: 10px;
}

#engravingDrawer .emoji-tab {
  padding: 9px;
  font-family: var(--sd-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  background: transparent;
  color: var(--sd-muted);
  cursor: pointer;
  border-right: 1px solid rgba(19, 41, 75, 0.2);
  min-width: 0;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

#engravingDrawer .emoji-tab:last-child {
  border-right: none;
}

#engravingDrawer .emoji-tab.active {
  background: var(--sd-navy);
  color: var(--sd-offwhite);
}

#engravingDrawer .emoji-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 8px;
}

#engravingDrawer .emoji-btn {
  border: 1px solid rgba(19, 41, 75, 0.15);
  background: #fff;
  padding: 11px 5px;
  text-align: center;
  cursor: pointer;
}

#engravingDrawer .emoji-btn.active {
  border-color: var(--sd-navy);
  border-width: 2px;
  background: rgba(19, 41, 75, 0.03);
}

#engravingDrawer .eb-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  margin-bottom: 5px;
  color: var(--sd-navy);
  overflow: visible;
}

#engravingDrawer .eb-emoji svg {
  width: 20px;
  height: 20px;
  stroke: var(--sd-navy);
  fill: none;
  stroke-width: 1.5;
  overflow: visible;
}

#engravingDrawer .eb-emoji.eb-emoji-image img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

#engravingDrawer .eb-emoji svg image,
#engravingDrawer .sd-preview-symbol svg image,
#engravingDrawer .sd-slot-symbol-btn svg image {
  width: 22px;
  height: 22px;
}

/* PNG symbols are black silhouettes — invert to match white SVG strokes in navy preview */
#engravingDrawer .sd-preview-symbol svg image,
#engravingDrawer .sd-preview-inline-symbol svg image {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

#engravingDrawer .eb-emoji.eb-emoji-char {
  font-size: 22px;
  line-height: 1;
  color: var(--sd-navy);
}

#engravingDrawer .eb-none {
  font-size: 13px;
  color: var(--sd-muted);
  margin-bottom: 0;
}

#engravingDrawer .eb-name {
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sd-muted);
}

#engravingDrawer .emoji-sel-row {
  background: rgba(19, 41, 75, 0.04);
  border: 1px solid rgba(19, 41, 75, 0.1);
  padding: 9px 12px;
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

#engravingDrawer .emoji-sel-row.is-visible {
  display: flex;
}

#engravingDrawer .emoji-sel-preview {
  font-size: 11px;
  font-weight: 600;
  color: var(--sd-navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#engravingDrawer .emoji-sel-text {
  font-size: 12px;
  color: var(--sd-muted);
  flex: 1;
}

#engravingDrawer .emoji-sel-text strong {
  color: var(--sd-gold);
}

#engravingDrawer .emoji-remove-btn {
  background: transparent;
  border: 1px solid rgba(19, 41, 75, 0.2);
  padding: 3px 9px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sd-muted);
  cursor: pointer;
}

#engravingDrawer .upload-zone {
  border: 1.5px dashed rgba(19, 41, 75, 0.25);
  background: #fff;
  padding: 24px 16px;
  text-align: center;
  margin-bottom: 10px;
  cursor: pointer;
}

#engravingDrawer .upload-zone.has-file {
  border-style: solid;
  border-color: rgba(19, 41, 75, 0.35);
  background: rgba(19, 41, 75, 0.03);
}

#engravingDrawer .upload-sel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(19, 41, 75, 0.14);
  background: #fff;
}

#engravingDrawer .upload-sel-row[hidden] {
  display: none !important;
}

#engravingDrawer .upload-sel-preview {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(19, 41, 75, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

#engravingDrawer .upload-sel-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#engravingDrawer .upload-sel-text {
  flex: 1;
  font-size: 12px;
  color: var(--sd-navy);
  line-height: 1.35;
}

#engravingDrawer .upload-remove-btn {
  background: transparent;
  border: 1px solid rgba(19, 41, 75, 0.2);
  padding: 3px 9px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sd-muted);
  cursor: pointer;
}

#engravingDrawer .upload-zone-icon {
  width: 36px;
  height: 36px;
  background: rgba(19, 41, 75, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

#engravingDrawer .upload-zone-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--sd-navy);
  fill: none;
  stroke-width: 1.5;
}

#engravingDrawer .upload-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--sd-navy);
  margin-bottom: 3px;
}

#engravingDrawer .upload-sub {
  font-size: 11px;
  color: var(--sd-muted);
  margin-bottom: 10px;
}

#engravingDrawer .upload-price-pill {
  display: inline-block;
  background: var(--sd-navy);
  color: var(--sd-offwhite);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
}

#engravingDrawer .format-guide {
  padding: 10px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#engravingDrawer .fg-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--sd-muted);
}

#engravingDrawer .fg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

#engravingDrawer .fg-good {
  background: #1e5c2e;
}

#engravingDrawer .fg-bad {
  background: #c05c2d;
}

#engravingDrawer .sd-comment,
#engravingDrawer #engravingComment {
  width: 100%;
  border: 1px solid rgba(19, 41, 75, 0.18);
  background: #fff;
  padding: 10px 12px;
  font-family: var(--sd-sans);
  font-size: 16px;
  color: var(--sd-navy);
  outline: none;
  resize: none;
  height: 68px;
  min-height: 68px;
  border-radius: 0;
  box-sizing: border-box;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-user-select: text;
  user-select: text;
}

#engravingDrawer .sd-body-spacer {
  height: 16px;
}

#engravingDrawer .sd-footer {
  background: #fff;
  border-top: 1px solid rgba(19, 41, 75, 0.1);
  padding: 14px 26px 22px;
  flex-shrink: 0;
  display: block !important;
  margin: 0 !important;
}

#engravingDrawer .sd-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

#engravingDrawer .sd-total-lbl {
  font-size: 12px;
  color: var(--sd-muted);
}

#engravingDrawer .sd-total-val,
#engravingDrawer #engravingTotalPrice {
  font-size: 20px;
  color: var(--sd-navy);
  font-weight: 600;
  margin: 0 !important;
}

#engravingDrawer .sd-confirm,
#engravingDrawer #saveEngravingBtn {
  width: 100%;
  background: var(--sd-navy);
  color: var(--sd-offwhite);
  border: none;
  padding: 15px;
  font-family: var(--sd-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 8px;
  min-width: 0;
  min-height: 48px;
  border-radius: 0;
}

#engravingDrawer .sd-confirm svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

#engravingDrawer .sd-confirm.done,
#engravingDrawer #saveEngravingBtn.done {
  background: #1e5c2e;
}

#engravingDrawer .sd-footer-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--sd-muted);
  justify-content: center;
  margin: 0;
  max-width: none;
}

#engravingDrawer .sd-footer-note svg {
  width: 11px;
  height: 11px;
  stroke: var(--sd-gold);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

#engravingDrawer .ol-engrave-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

#engravingDrawer .engraving-image-box,
#engravingDrawer .ol-engrave-preview__badge,
#engravingDrawer .ol-engrave-preview__mark {
  display: none !important;
}

@media (max-width: 768px) {
  #engravingDrawer.engraving-drawer,
  body.engraving-drawer-open #engravingDrawer.engraving-drawer.active {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  #engravingDrawer.engraving-drawer {
    max-width: 100% !important;
    --sd-preview-gap: 0;
  }

  /* —— Mobile readability: larger type only (no functional changes) —— */
  #engravingDrawer .sd-header {
    padding: 16px 18px;
    margin-bottom: 10px !important;
  }

  #engravingDrawer .sd-eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  #engravingDrawer .sd-title {
    font-size: 26px;
    line-height: 1.15;
  }

  #engravingDrawer .sd-product {
    font-size: 12px;
    line-height: 1.35;
  }

  #engravingDrawer .sd-body {
    padding: 0 0 8px;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  #engravingDrawer .sd-num {
    font-size: 12px;
    width: 20px;
  }

  #engravingDrawer .sd-name {
    font-size: 13px;
    letter-spacing: 0.1em;
  }

  #engravingDrawer .sd-optional {
    font-size: 13px;
  }

  #engravingDrawer .sd-step-label {
    gap: 10px;
    margin-bottom: 10px;
  }

  #engravingDrawer .sd-text-field-label {
    font-size: 13px;
  }

  #engravingDrawer .sd-input,
  #engravingDrawer #engravingInput,
  #engravingDrawer .js-engraving-text-input {
    font-size: 17px !important;
    padding: 14px 14px;
    min-height: 48px;
  }

  #engravingDrawer .sd-count {
    font-size: 12px;
  }

  #engravingDrawer .sd-hint {
    font-size: 13px;
    line-height: 1.4;
  }

  #engravingDrawer .sd-pill-lbl {
    font-size: 13px;
  }

  #engravingDrawer .sd-pill {
    font-size: 14px;
    padding: 10px 14px;
  }

  #engravingDrawer .sd-side-tab {
    font-size: 12px;
    padding: 11px 6px 10px;
  }

  #engravingDrawer .sd-side-tab__label {
    font-size: inherit;
  }

  #engravingDrawer .sd-slot-symbol__title {
    font-size: 13px;
  }

  #engravingDrawer .sd-slot-symbol__optional,
  #engravingDrawer .sd-slot-symbol__price {
    font-size: 12px;
  }

  #engravingDrawer .sd-slot-symbol-btn__label {
    font-size: 11px;
  }

  #engravingDrawer .sd-slot-symbol__selected-label,
  #engravingDrawer .sd-slot-symbol__remove {
    font-size: 13px;
  }

  #engravingDrawer .sd-font-btn {
    padding: 12px 10px;
  }

  #engravingDrawer .sd-fp {
    font-size: 22px;
  }

  #engravingDrawer .sd-fp.is-bright-sunshine {
    font-size: 28px;
  }

  #engravingDrawer .sd-fp.is-old-english {
    font-size: 24px;
  }

  #engravingDrawer .sd-fp.is-throw-my-hands {
    font-size: 26px;
  }

  #engravingDrawer .sd-fp.is-finger-paint {
    font-size: 24px;
  }

  #engravingDrawer .sd-fn {
    font-size: 11px;
  }

  #engravingDrawer .sd-loc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  #engravingDrawer .sd-loc-btn {
    padding: 14px 12px;
    gap: 10px;
  }

  #engravingDrawer .sd-loc-ico {
    width: 30px;
    height: 30px;
  }

  #engravingDrawer .sd-loc-ico svg {
    width: 14px;
    height: 14px;
  }

  #engravingDrawer .sd-loc-name {
    font-size: 14px;
    line-height: 1.3;
  }

  #engravingDrawer .sd-loc-price {
    font-size: 12px;
  }

  #engravingDrawer .emoji-tab {
    font-size: 12px;
    padding: 11px 6px;
    letter-spacing: 0.05em;
  }

  #engravingDrawer .eb-name {
    font-size: 11px;
  }

  #engravingDrawer .eb-none {
    font-size: 15px;
  }

  #engravingDrawer .emoji-sel-text,
  #engravingDrawer .upload-sel-text {
    font-size: 14px;
  }

  #engravingDrawer .emoji-remove-btn,
  #engravingDrawer .upload-remove-btn {
    font-size: 12px;
  }

  #engravingDrawer .upload-title {
    font-size: 15px;
  }

  #engravingDrawer .upload-sub,
  #engravingDrawer .fg-item {
    font-size: 13px;
  }

  #engravingDrawer .upload-price-pill {
    font-size: 13px;
  }

  #engravingDrawer .sd-comment,
  #engravingDrawer #engravingComment {
    font-size: 16px;
    line-height: 1.45;
  }

  #engravingDrawer .sd-total-lbl {
    font-size: 14px;
  }

  #engravingDrawer .sd-total-val,
  #engravingDrawer #engravingTotalPrice {
    font-size: 24px;
  }

  #engravingDrawer .sd-confirm,
  #engravingDrawer #saveEngravingBtn {
    font-size: 13px;
    padding: 16px 18px;
  }

  #engravingDrawer .sd-footer-note {
    font-size: 12px;
    line-height: 1.4;
  }

  #engravingDrawer .sd-preview,
  #engravingDrawer .sd-preview.sd-preview--split {
    width: 100%;
    max-width: 100%;
    margin: 0 0 10px;
    padding: 16px 16px;
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    gap: 10px !important;
    /* Sticky only for preview — header scrolls with the drawer box */
    position: sticky !important;
    top: 0 !important;
    z-index: 5;
  }

  #engravingDrawer .sd-preview.sd-preview--split .sd-preview-left {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  #engravingDrawer .sd-preview.sd-preview--split .sd-preview-ref {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    flex: none !important;
    align-self: center !important;
    justify-self: stretch !important;
  }

  #engravingDrawer .sd-preview-ref .sd-engrave-ref-img {
    max-height: 96px;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  #engravingDrawer .sd-preview-lbl {
    font-size: 12px;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
  }

  #engravingDrawer .sd-preview-text,
  #engravingDrawer .sd-preview-text-value,
  #engravingDrawer #engravingPreviewText {
    font-size: clamp(22px, 6.5vw, 30px) !important;
    line-height: 1.25;
  }

  #engravingDrawer .sd-preview-text .sd-preview-text-line {
    line-height: 1.3;
  }

  #engravingDrawer .sd-preview-left {
    text-align: left;
  }

  #engravingDrawer .sd-preview-textrow {
    margin-top: 4px;
  }

  #engravingDrawer .sd-preview-ref-head {
    margin-bottom: 6px;
    gap: 4px;
  }

  #engravingDrawer .sd-preview-ref .sd-preview-lbl {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  #engravingDrawer .sd-preview-ref-hint {
    font-size: 10px;
    letter-spacing: 0.04em;
    line-height: 1.35;
  }

  #engravingDrawer .sd-engrave-ref-btn {
    border-radius: 4px;
  }

  #engravingDrawer .sd-engrave-ref-zoom {
    width: 26px;
    height: 26px;
    top: 4px;
    right: 4px;
  }

  #engravingDrawer .sd-engrave-ref-zoom svg {
    width: 14px;
    height: 14px;
  }

  #engravingDrawer .sd-preview-text.has-lines,
  #engravingDrawer #engravingPreviewText.has-lines {
    gap: 6px;
    max-height: none;
    overflow: visible;
  }

  #engravingDrawer .sd-preview-text .sd-preview-text-line {
    width: 100%;
    padding: 8px 10px;
  }

  #engravingDrawer .sd-preview-text-label {
    font-size: 11px;
  }

  #engravingDrawer .sd-preview-text-value {
    font-size: clamp(22px, 6.5vw, 30px) !important;
  }

  #engravingDrawer .sd-preview-text-value--empty {
    font-size: 18px !important;
  }

  #engravingDrawer #engravingPreviewText.is-old-english .sd-preview-text-value {
    font-size: clamp(22px, 6.2vw, 28px) !important;
  }

  #engravingDrawer #engravingPreviewText.is-bright-sunshine .sd-preview-text-value,
  #engravingDrawer #engravingPreviewText.is-throw-my-hands .sd-preview-text-value {
    font-size: clamp(26px, 7vw, 34px) !important;
  }

  #engravingDrawer #engravingPreviewText.is-finger-paint .sd-preview-text-value {
    font-size: clamp(24px, 6.8vw, 32px) !important;
  }

  #engravingDrawer .sd-body > .sd-step,
  #engravingDrawer .sd-body > .sd-body-spacer {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  #engravingDrawer #engravingInstructionsStep {
    padding-left: 0;
    padding-right: 0;
  }

  #engravingDrawer #engravingInstructionsStep .sd-step-label {
    padding-left: 16px;
    padding-right: 16px;
  }

  #engravingDrawer #engravingInstructionsStep .sd-comment,
  #engravingDrawer #engravingInstructionsStep #engravingComment {
    width: 100%;
    max-width: 100%;
    display: block;
    min-height: 96px;
    height: auto;
    box-sizing: border-box;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }

  #engravingDrawer .sd-footer {
    padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  /*
    Mobile scroll model:
    - Drawer box scrolls (header can leave)
    - Only engraving preview sticks
    - Footer stays pinned at bottom
  */
  #engravingDrawer .engraving-drawer-box,
  #engravingDrawer .ol-engrave-drawer__inner,
  body.engraving-drawer-open #engravingDrawer .engraving-drawer-box {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
  }

  #engravingDrawer .sd-header,
  #engravingDrawer .sd-header.ol-engrave-header,
  body.engraving-drawer-open #engravingDrawer .sd-header {
    position: relative !important;
    top: auto !important;
    flex: 0 0 auto !important;
    z-index: 1;
  }

  #engravingDrawer .sd-body,
  #engravingDrawer .sd-body.ol-engrave-body,
  #engravingDrawer .sd-body.engraving-content-row,
  body.engraving-drawer-open #engravingDrawer .sd-body {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: auto !important;
  }

  #engravingDrawer .sd-preview,
  #engravingDrawer .sd-preview.sd-preview--split {
    position: sticky !important;
    top: 0 !important;
    z-index: 5;
  }

  /* X on sticky preview — only after header scrolls away */
  #engravingDrawer .sd-preview-close {
    display: none !important;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(246, 244, 241, 0.35);
    background: rgba(13, 30, 53, 0.85);
    color: #f6f4f1;
    cursor: pointer;
    z-index: 8;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  #engravingDrawer.is-header-scrolled .sd-preview-close {
    display: flex !important;
  }

  #engravingDrawer.is-header-scrolled .sd-preview,
  #engravingDrawer.is-header-scrolled .sd-preview.sd-preview--split {
    padding-right: 48px !important;
  }

  #engravingDrawer .sd-preview-close svg {
    width: 14px;
    height: 14px;
    stroke: rgba(246, 244, 241, 0.9);
    fill: none;
    stroke-width: 2;
  }

  #engravingDrawer .sd-footer,
  #engravingDrawer .ol-engrave-footer,
  body.engraving-drawer-open #engravingDrawer .sd-footer {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 6;
    background: var(--sd-offwhite) !important;
  }

  /* Header X can still show at top; preview X covers sticky state */
  #engravingDrawer .sd-close,
  #engravingDrawer .ol-engrave-close {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    z-index: 2;
  }

  #engravingDrawer .sd-step--font,
  #engravingDrawer .sd-step--symbol,
  #engravingDrawer #font-preset-panel,
  #engravingDrawer #emoji-preset-panel,
  #engravingDrawer #engravingFontStep,
  #engravingDrawer #engravingSymbolStep {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    max-height: none !important;
    height: auto !important;
    min-height: 0 !important;
    flex: none !important;
    touch-action: pan-y;
  }

  #engravingDrawer .sd-font-grid,
  #engravingDrawer #engravingFontGrid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    overflow-x: visible !important;
  }

  #engravingDrawer .sd-font-btn {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  #engravingDrawer .sd-fn {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  #engravingDrawer .emoji-grid,
  #engravingDrawer #engravingEmojiGrid,
  #engravingDrawer .sd-step--symbol .emoji-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    overflow-y: visible !important;
    margin-bottom: 12px;
  }

  #engravingDrawer .emoji-btn {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  #engravingDrawer .sd-body {
    padding-bottom: 28px !important;
  }

  #engravingDrawer .emoji-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #engravingDrawer .sd-side-tabs {
    gap: 6px;
    margin-bottom: 12px;
  }

  #engravingDrawer .sd-slot-symbol__track {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  /* Per-field symbol picker: wrap instead of horizontal scroll on mobile */
  #engravingDrawer .sd-slot-symbol--collapsible.is-expanded .sd-slot-symbol__track {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    flex-wrap: unset !important;
    overflow: visible !important;
    overflow-x: visible !important;
    gap: 8px !important;
    padding: 0 0 10px !important;
  }

  #engravingDrawer .sd-slot-symbol--collapsible.is-expanded .sd-slot-symbol-btn {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 1;
  }

  #engravingDrawer .sd-step,
  #engravingDrawer .sd-step--text,
  #engravingDrawer .sd-step--font,
  #engravingDrawer .sd-step--symbol,
  #engravingDrawer #text-typed-panel,
  #engravingDrawer #engravingTextFields,
  #engravingDrawer .sd-text-field-col,
  #engravingDrawer .sd-slot-symbol {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: visible !important;
  }
}

#editItemModalOverlay {
  z-index: var(--z-edit-overlay) !important;
}

#editItemModal.edit-item-modal {
  z-index: var(--z-edit-modal) !important;
}

/* =========================
   PROGRESS WRAPPER
========================= */
.engraving-top-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:4px;
}

.engraving-label{
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.5px;
}

.engraving-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}

.engraving-actions button{
  background:none;
  border:none;
  cursor:pointer;
  font-size:14px;
  padding:0;
  line-height:1;
}

.cart-addon-remove{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  padding:0;
  border:none;
  background:none;
  cursor:pointer;
  color:#666;
  flex-shrink:0;
}

.cart-addon-remove:hover,
.cart-addon-remove:focus-visible{
  color:#000;
  outline:none;
}

.cart-addon-remove:disabled{
  opacity:.5;
  cursor:not-allowed;
}

.cart-addon-remove svg{
  display:block;
  pointer-events:none;
}

.engraving-text-value{
  font-size:13px;
  color:#444;
}

.ol-pers-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  width:100%;
  margin-top:10px;
  padding:12px 14px;
  background:#f8f7f5;
  border:1px solid #e8e6e1;
  box-sizing:border-box;
}

.ol-pers-card__top{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
}

.ol-pers-card__top .engraving-label,
.ol-pers-card__top .pdp-extra-selected-label{
  margin:0;
  font-size:10px;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#6b6b6b;
}

.ol-pers-card__top .engraving-price{
  margin-left:auto;
  font-size:12px;
  font-weight:600;
  color:#041e3a;
}

.ol-pers-card__top .engraving-actions{
  flex:0 0 auto;
  margin-left:0;
}

.ol-pers-details{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  min-width:0;
  width:100%;
  line-height:1.4;
}

.ol-pers-details__text{
  display:inline-flex;
  align-items:center;
  font-size:14px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#041e3a;
}

.ol-pers-details__emoji{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:24px;
  padding:0 5px;
  font-size:14px;
  line-height:1;
  background:#fff;
  border:1px solid #e2e0db;
  border-radius:4px;
}

.ol-pers-details__chip{
  display:inline-flex;
  align-items:center;
  padding:3px 9px;
  font-size:11px;
  line-height:1.2;
  color:#041e3a;
  background:#fff;
  border:1px solid #e2e0db;
  border-radius:999px;
  white-space:nowrap;
}

.ol-pers-details__chip--comment{
  white-space:normal;
  border-radius:6px;
  color:#5c5c5c;
  font-style:italic;
}

.cart-engraving.ol-pers-card{
  margin-top:12px;
}

#pdpPersonalisationActive.ol-pers-card{
  margin-top:0;
  border-top:none;
  padding:12px 0 0;
  background:transparent;
  border:none;
  border-radius:0;
}

.engraving-price{
  font-size:12px;
  font-weight:600;
  color:#000;
  margin-left:6px;
}
.edit-item-modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.5);
  z-index:var(--z-edit-overlay);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .3s ease, visibility .3s ease;
}

.edit-item-modal-overlay.active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.edit-item-modal{
  position:fixed;
  top:0;
  right:0;
  width:800px;
  max-width:100%;
  height:100vh;
  height:100dvh;
  background:#fff;
  z-index:var(--z-edit-modal);
  transform:translateX(100%);
  transition:transform .3s ease;
  display:flex;
  flex-direction:column;
  box-shadow:-4px 0 24px rgba(0,0,0,.12);
}

.edit-item-modal.active{
  transform:translateX(0);
}

.edit-item-header{
  padding:18px 20px;
  border-bottom:1px solid #eee;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-shrink:0;
}

.edit-item-header h3{
  margin:0;
  font-size:16px;
  font-weight:600;
  letter-spacing:.02em;
  color:#000;
}

.close-edit-modal{
  background:none;
  border:none;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  color:#666;
  padding:4px;
  transition:color .2s ease;
}

.close-edit-modal:hover{
  color:#000;
}

.edit-item-content{
  padding:0;
  overflow:auto;
  flex:1;
  display:flex;
  flex-direction:column;
  min-height:0;
}

.edit-product-hero{
  display:flex;
  gap:16px;
  padding:20px;
  background:linear-gradient(180deg, #fafafa 0%, #fff 100%);
  border-bottom:1px solid #eee;
}

.edit-product-image-wrap{
  width:300px;
  height:300px;
  flex-shrink:0;
  border-radius:10px;
  overflow:hidden;
  background:#f0f0f0;
  border:1px solid #e8e8e8;
}

.edit-product-image-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.edit-product-image-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#999;
  background:#efefef;
}

.edit-product-meta{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
}

.edit-item-product-title{
  font-size:15px;
  font-weight:600;
  margin:0;
  color:#000;
  line-height:1.35;
}

.edit-item-selected-variant{
  font-size:12px;
  color:#666;
  margin:0;
  line-height:1.4;
}

.edit-item-price-row{
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
  margin-top:2px;
}

.edit-item-selected-price{
  font-size:18px;
  font-weight:700;
  color:#000;
  letter-spacing:-.02em;
}

.edit-item-compare-price{
  font-size:13px;
  color:#999;
  text-decoration:line-through;
}

.edit-options-body{
  padding:20px;
  display:flex;
  flex-direction:column;
  flex:1;
  min-height:0;
}

.edit-option-group{
  margin-bottom:22px;
}

.edit-option-label{
  display:block;
  font-size:11px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#666;
  margin-bottom:10px;
}

.edit-swatch-grid{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.edit-swatch{
  min-width:40px;
  height:40px;
  padding:0 14px;
  border:2px solid #e5e5e5;
  border-radius:999px;
  background:#fff;
  cursor:pointer;
  font-size:12px;
  font-weight:500;
  color:#000;
  transition:border-color .2s ease, box-shadow .2s ease, transform .15s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1.2;
}

.edit-swatch--color{
  width:40px;
  min-width:40px;
  padding:0;
  border-radius:50%;
  position:relative;
  overflow:hidden;
}

.edit-swatch--color .edit-swatch-inner{
  display:block;
  width:100%;
  height:100%;
  border-radius:50%;
}

.edit-swatch:hover:not(:disabled){
  border-color:#999;
}

.edit-swatch.active{
  border-color:#000;
  box-shadow:0 0 0 1px #000;
}

.edit-swatch:disabled{
  opacity:.35;
  cursor:not-allowed;
  text-decoration:line-through;
}

.edit-swatch-unavailable{
  font-size:11px;
  color:#999;
  margin-top:6px;
  min-height:16px;
}

.edit-modal-footer{
  padding:16px 20px 20px;
  border-top:1px solid #eee;
  background:#fff;
  flex-shrink:0;
}

.update-item-btn{
  width:100%;
  background:#041E3A;
  color:#fff;
  border:none;
  padding:14px 16px;
  cursor:pointer;
  font-size:12px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  border-radius:6px;
  transition:opacity .2s ease, background .2s ease;
}

.update-item-btn:not(:disabled):hover{
  background:#0a2d5c;
}

.update-item-btn:disabled{
  opacity:.4;
  cursor:not-allowed;
}

.edit-loading{
  color:#666;
  font-size:13px;
}
.cart-bottom-actions{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:10px;
  width:100%;
}

.cart-edit-btn,
.cart-item-remove{
  background:none;
  border:none;
  padding:0;
  font-size:11px;
  cursor:pointer;
  color:#002059;
  text-decoration:underline;
  text-underline-offset:4px;
}
.cart-engraving{
  margin-top:10px;
  font-size:12px;
  color:#000;
  line-height:1.4;
}
.engraving-inline-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.engraving-drawer{
  position:fixed;
  top:0;
  right:0;
  width:min(460px, 100vw);
  max-width:min(460px, 100vw);
  height:100%;
  height:100dvh;
  max-height:100dvh;
  background:#f6f4f1;
  transform:translateX(100%);
  transition:transform .3s ease;
  z-index:var(--z-engraving-drawer);
  display:flex;
  flex-direction:column;
  box-shadow:-4px 0 24px rgba(0,0,0,.12);
  font-family:"Public Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#041e3a;
  overflow:hidden;
  box-sizing:border-box;
}

.engraving-drawer.active{
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.engraving-stacked-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:var(--z-stacked-overlay);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .3s ease, visibility .3s ease;
}

.engraving-stacked-overlay.active{
  opacity:1;
  visibility:visible;
  pointer-events:none;
}

#engravingDrawer.engraving-drawer.active {
  pointer-events: auto !important;
  touch-action: none;
  display: flex !important;
  flex-direction: column !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}

#engravingDrawer.engraving-drawer.active .sd-body {
  pointer-events: auto !important;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  overflow-y: auto;
  overflow-x: hidden;
}

#engravingDrawer.engraving-drawer.active input,
#engravingDrawer.engraving-drawer.active textarea,
#engravingDrawer.engraving-drawer.active select,
#engravingDrawer.engraving-drawer.active label,
#engravingDrawer.engraving-drawer.active .sd-input,
#engravingDrawer.engraving-drawer.active .sd-comment,
#engravingDrawer.engraving-drawer.active .sd-input-wrap {
  pointer-events: auto !important;
  touch-action: auto;
  -webkit-user-select: text;
  user-select: text;
}

#engravingDrawer.engraving-drawer.active button,
#engravingDrawer.engraving-drawer.active [role="button"],
#engravingDrawer.engraving-drawer.active .sd-font-btn,
#engravingDrawer.engraving-drawer.active .sd-loc-btn,
#engravingDrawer.engraving-drawer.active .emoji-btn,
#engravingDrawer.engraving-drawer.active .emoji-tab,
#engravingDrawer.engraving-drawer.active .sd-pill {
  pointer-events: auto !important;
  touch-action: auto;
  cursor: pointer;
}

/* iOS: cart behind engraving must not steal touches; drawer itself scrolls */
body.engraving-drawer-open #CartDrawer.drawer.drawer--is-open,
body.engraving-drawer-open #CartDrawer.drawer.drawer--is-open * {
  pointer-events: none !important;
}

body.engraving-drawer-open #cartDrawerOverlay,
body.engraving-drawer-open #cartDrawerOverlay.active {
  pointer-events: none !important;
}

html.js-drawer-open,
html.js-drawer-open body,
body.engraving-drawer-open,
html.js-drawer-open.engraving-drawer-open,
html.js-drawer-open body.engraving-drawer-open,
body.js-drawer-open {
  overflow: hidden !important;
  overflow-x: clip !important;
  max-width: 100% !important;
  width: 100% !important;
  overscroll-behavior: none;
}

html.js-drawer-open #MainContent,
html.js-drawer-open .content-for-layout,
html.js-drawer-open .outrage-layout {
  overflow-x: clip !important;
  max-width: 100% !important;
}

/* Legacy PDP side panels are fixed off-screen but still expand scrollWidth when transformed */
body.engraving-drawer-open .custom-sidebar-engraving,
body.engraving-drawer-open .custom-sidebar,
body.engraving-drawer-open #editItemModal,
body.engraving-drawer-open .search-drawer,
body.engraving-drawer-open .custom-sidebar-overlay,
html.js-drawer-open body.engraving-drawer-open .custom-sidebar-engraving,
html.js-drawer-open body.engraving-drawer-open .custom-sidebar,
html.js-drawer-open body.engraving-drawer-open #editItemModal,
html.js-drawer-open body.engraving-drawer-open .search-drawer {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  max-width: 100vw !important;
}

body.js-drawer-open .custom-sidebar-engraving:not(.active),
body.js-drawer-open .custom-sidebar:not(.active),
body.js-drawer-open #editItemModal:not(.active),
body.js-drawer-open .search-drawer {
  clip-path: inset(0 0 0 100%) !important;
  overflow: hidden !important;
  contain: layout paint;
  pointer-events: none !important;
  visibility: hidden !important;
  max-width: 100vw !important;
}

body.engraving-drawer-open #engravingDrawer.engraving-drawer.active {
  pointer-events: auto !important;
  touch-action: pan-y !important;
  overscroll-behavior: contain;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  isolation: isolate;
}

@media (max-width: 768px) {
  body.engraving-drawer-open #engravingDrawer.engraving-drawer.active {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
  }

  /* Scroll the drawer box so MAKE IT YOURS header can leave; preview stays sticky */
  body.engraving-drawer-open #engravingDrawer .engraving-drawer-box {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
  }

  body.engraving-drawer-open #engravingDrawer .sd-header {
    position: relative !important;
    flex: 0 0 auto !important;
    flex-shrink: 0;
  }

  body.engraving-drawer-open #engravingDrawer .sd-footer {
    position: sticky !important;
    bottom: 0 !important;
    flex: 0 0 auto !important;
    flex-shrink: 0;
    z-index: 6;
  }

  body.engraving-drawer-open #engravingDrawer .sd-body {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }

  body.engraving-drawer-open #engravingDrawer .sd-preview,
  body.engraving-drawer-open #engravingDrawer .sd-preview.sd-preview--split {
    position: sticky !important;
    top: 0 !important;
    z-index: 5;
  }

  body.engraving-drawer-open #engravingDrawer.is-header-scrolled .sd-preview-close {
    display: flex !important;
  }

  body.engraving-drawer-open #engravingDrawer.is-header-scrolled .sd-preview,
  body.engraving-drawer-open #engravingDrawer.is-header-scrolled .sd-preview.sd-preview--split {
    padding-right: 48px !important;
  }

  body.engraving-drawer-open #engravingDrawer input,
  body.engraving-drawer-open #engravingDrawer textarea,
  body.engraving-drawer-open #engravingDrawer select {
    touch-action: auto !important;
  }
}

#CartDrawer.drawer.drawer--is-open {
  pointer-events: auto !important;
  touch-action: pan-y;
}

#CartDrawer.drawer.drawer--is-open .cd-scroll,
#CartDrawer.drawer.drawer--is-open .cart-drawer-scroll-body,
#CartDrawer.drawer.drawer--is-open .sc-body {
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

#CartDrawer.drawer.drawer--is-open button,
#CartDrawer.drawer.drawer--is-open a,
#CartDrawer.drawer.drawer--is-open summary,
#CartDrawer.drawer.drawer--is-open input,
#CartDrawer.drawer.drawer--is-open label {
  pointer-events: auto !important;
  touch-action: manipulation;
}

body.js-drawer-open .layer-overlay,
.layer-overlay.is-drawer-suppressed {
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.engraving-drawer-overlay{
  display:none;
}

.engraving-drawer-box{
  width:100%;
  height:100%;
  max-height:100dvh;
  flex:1 1 auto;
  min-height:0;
  padding:0;
  overflow:hidden;
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
}

.ol-engrave-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:28px;
  flex:0 0 auto;
}

.ol-engrave-header__copy{
  flex:1;
  min-width:0;
}

.ol-engrave-eyebrow{
  margin:0 0 8px;
  font-size:11px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#6b6b6b;
}

.ol-engrave-title{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(24px,3vw,32px);
  font-weight:400;
  line-height:1.15;
  color:#041e3a;
}

.ol-engrave-close{
  flex:0 0 auto;
  width:36px;
  height:36px;
  border:none;
  background:transparent;
  color:#041e3a;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  padding:0;
}

.engraving-content-row,
.ol-engrave-body{
  display:flex;
  flex-direction:column;
  gap:0;
  align-items:stretch;
  flex:1 1 auto;
  min-height:0;
  width:100%;
  box-sizing:border-box;
  overflow-x:hidden;
  overflow-y:visible;
  -webkit-overflow-scrolling:touch;
}

.engraving-form-box,
.ol-engrave-form{
  flex:1 1 52%;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.ol-engrave-field{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.ol-engrave-field__label{
  margin:0;
  font-size:12px!important;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#545E6C;
}

.ol-engrave-field__control{
  position:relative;
}

.ol-engrave-input,
.ol-engrave-select,
.ol-engrave-textarea{
  width:100%;
  border:1px solid #d9d9d9;
  border-radius:0;
  background:#fff;
  color:#041e3a;
  font-family:inherit;
  font-size:14px;
  line-height:1.4;
  box-sizing:border-box;
  outline:none;
  transition:border-color .2s ease;
}

.ol-engrave-input,
.ol-engrave-select{
  min-height:48px;
  padding:12px 14px;
}

.ol-engrave-select{
  appearance:none;
  padding-right:40px;
  cursor:pointer;
  color:#545E6C;
}

.ol-engrave-field__control--select::after{
  content:"";
  position:absolute;
  top:50%;
  right:14px;
  width:8px;
  height:8px;
  border-right:1.5px solid #545E6C;
  border-bottom:1.5px solid #545E6C;
  transform:translateY(-65%) rotate(45deg);
  pointer-events:none;
}

.ol-engrave-input:focus,
.ol-engrave-select:focus,
.ol-engrave-textarea:focus{
  border-color:#a4a4a4;
}

.ol-engrave-input-wrap{
  position:relative;
}

#engravingInput{
  padding-right:52px;
}

.ol-engrave-char-count{
  position:absolute;
  top:50%;
  right:14px;
  transform:translateY(-50%);
  font-size:12px;
  color:#8a8a8a;
  pointer-events:none;
}

.ol-engrave-textarea{
  min-height:120px;
  padding:14px;
  resize:vertical;
}

.engraving-image-box,
.ol-engrave-preview{
  flex:0 0 225px;
  width:225px;
  height:225px;
  min-width:225px;
  max-width:225px;
  aspect-ratio:1/1;
  position:relative;
  overflow:hidden;
  border:1px solid #d8d6d1;
  background-color:#c9c7c2;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.04) 0,
      rgba(255,255,255,.04) 1px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(165deg, #dedcd7 0%, #c8c6c1 38%, #b5b3ae 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35), inset 0 -8px 24px rgba(0,0,0,.08);
}

.ol-engrave-preview__badge{
  position:absolute;
  top:14px;
  left:14px;
  z-index:2;
  padding:6px 10px;
  background:rgba(246,244,241,.92);
  font-size:10px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#041e3a;
}

.ol-engrave-preview__mark{
  position:absolute;
  inset:0;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  pointer-events:none;
  padding:32px 24px;
}

.ol-engrave-preview__emoji{
  font-size:52px;
  line-height:1;
  color:#f4f4f4;
  text-shadow:
    2px 3px 0 rgba(72,72,72,.42),
    4px 6px 10px rgba(55,55,55,.28);
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.25));
}

.ol-engrave-preview__text{
  font-size:38px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#6f6f6f;
  text-align:center;
  word-break:break-word;
  text-shadow:
    0 1px 0 rgba(255,255,255,.55),
    0 -1px 1px rgba(0,0,0,.18),
    1px 2px 2px rgba(0,0,0,.12);
}

.ol-engrave-preview__text.is-block{
  font-family:Arial,Helvetica,sans-serif;
}

.ol-engrave-preview__text.is-script{
  font-family:Georgia,"Times New Roman",serif;
  font-style:italic;
  text-transform:none;
  letter-spacing:.04em;
}

.ol-engrave-preview.is-empty .ol-engrave-preview__mark{
  opacity:.35;
}

.ol-engrave-footer{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-top:0;
  padding-top:20px;
  border-top:1px solid #e2e0db;
  flex:0 0 auto;
  background:#f6f4f1;
  position:relative;
  z-index:2;
}

.ol-engrave-footer__meta{
  flex:1 1 auto;
  min-width:0;
}

.ol-engrave-total{
  font-size:28px;
  font-weight:700;
  line-height:1.1;
  color:#041e3a;
  margin-bottom:8px;
}

.ol-engrave-disclaimer{
  margin:0;
  max-width:360px;
  font-size:12px;
  line-height:1.5;
  color:#6b6b6b;
}

#saveEngravingBtn,
.ol-engrave-confirm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:220px;
  min-height:52px;
  background:#041e3a;
  color:#fff;
  border:none;
  padding:14px 22px;
  cursor:pointer;
  font-size:12px;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  border-radius:0;
  transition:opacity .2s ease;
  flex:0 0 auto;
}

#saveEngravingBtn:disabled:not(.is-loading),
.ol-engrave-confirm-btn:disabled:not(.is-loading){
  opacity:.45;
  cursor:not-allowed;
}

#saveEngravingBtn.is-loading,
.ol-engrave-confirm-btn.is-loading{
  opacity:1;
  cursor:wait;
}

#saveEngravingBtn .engraving-save-btn__spinner{
  display:none;
  width:14px;
  height:14px;
  border:2px solid rgba(255,255,255,0.35);
  border-top-color:#fff;
  border-radius:50%;
  animation:cart-drawer-spin 0.7s linear infinite;
  flex-shrink:0;
}

#saveEngravingBtn.is-loading .engraving-save-btn__spinner{
  display:block;
}

#engravingInput:disabled,
.ol-engrave-select:disabled,
.ol-engrave-textarea:disabled{
  opacity:.7;
  cursor:not-allowed;
}

.ol-engrave-confirm-btn__icon{
  width:16px;
  height:16px;
  flex:0 0 16px;
}

/* Laptop / short viewport — 2 columns, scrollable body, fixed footer */
@media (min-width: 769px) and (max-width: 1200px),
       (max-height: 860px) and (min-width: 769px) {
  #engravingDrawer .engraving-drawer-box{
    padding:20px 24px 16px;
    overflow:hidden;
  }

  #engravingDrawer .ol-engrave-header{
    margin-bottom:16px;
  }

  #engravingDrawer .ol-engrave-title{
    font-size:clamp(20px, 2.4vw, 26px);
  }

  #engravingDrawer .engraving-content-row,
  #engravingDrawer .ol-engrave-body{
    flex-direction:row;
    align-items:flex-start;
    gap:20px;
    padding-bottom:4px;
  }

  #engravingDrawer .engraving-form-box,
  #engravingDrawer .ol-engrave-form{
    flex:1 1 auto;
    min-width:0;
    width:auto;
    gap:12px;
  }

  #engravingDrawer .engraving-image-box,
  #engravingDrawer .ol-engrave-preview{
    order:0;
    flex:0 0 225px;
    width:225px;
    height:225px;
    min-width:225px;
    max-width:225px;
    margin:0;
    align-self:flex-start;
  }

  #engravingDrawer .ol-engrave-textarea{
    min-height:72px;
  }

  #engravingDrawer .ol-engrave-footer{
    flex-direction:row;
    flex-wrap:wrap;
    align-items:flex-end;
    gap:16px;
    padding-top:14px;
  }

  #engravingDrawer .ol-engrave-disclaimer{
    max-width:100%;
  }

  #engravingDrawer #saveEngravingBtn,
  #engravingDrawer .ol-engrave-confirm-btn{
    min-width:180px;
  }
}

.top-block{
  display:flex;
  justify-content:space-between;
  font-size:18px;
  font-weight:600;
}

.image-block img{
  width:100%;
  max-height:250px;
  object-fit:contain;
}
.custom-modal-overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.5);
  opacity:0;
  visibility:hidden;
  transition:.3s;
  z-index:9999;
}

.custom-modal-overlay.active{
  opacity:1;
  visibility:visible;
}

.custom-modal{
  position:fixed;
  top:0;
  right:0;
  width:420px;
  height:100vh;
  background:#fff;
  transform:translateX(100%);
  transition:.3s;
  z-index:10000;
  display:flex;
  flex-direction:column;
}

.custom-modal.active{
  transform:translateX(0);
}

.custom-modal-header{
  padding:15px;
  border-bottom:1px solid #eee;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.custom-modal-body{
  padding:15px;
}

.close-modal{
  background:none;
  border:none;
  font-size:22px;
  cursor:pointer;
}
.cart-modal{
  position:fixed;
  inset:0;
  z-index:9999;
}

.cart-modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.5);
}

.cart-modal-box{
  position:relative;
  width:90%;
  max-width:420px;
  margin:10% auto;
  background:#fff;
  padding:20px;
  border-radius:10px;
}

.cart-modal textarea{
  width:100%;
  min-height:120px;
  margin-top:10px;
}

.modal-actions{
  display:flex;
  justify-content:space-between;
  margin-top:15px;
}
/* Summary — shipping insurance (under products) */
.cart-drawer-summary{
  padding:0 20px;
  flex-shrink:0;
  background:#fff;
}

.cart-summary-heading{
  text-align:center;
  font-size:20px;
  font-weight:600;
  font-style:italic;
  font-family: Georgia, "Times New Roman", serif;
  color:#041E3A;
  margin:22px 0 0;
  letter-spacing:2px;
  text-transform:capitalize;

}

.cart-summary-rule{
  border:none;
  border-top:1px solid #e0e0e0;
  margin:16px 0 0;
}

.shipping-insurance-toggle{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:18px 0;
  cursor:pointer;
  width:100%;
  margin:0;
  position:relative;
  text-transform: capitalize !important;
}

.shipping-insurance-input{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
  margin:0;
  pointer-events:none;
}

.shipping-insurance-radio{
  width:22px;
  height:22px;
  min-width:22px;
  border-radius:50%;
  border:2px solid #041E3A;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:1px;
  box-sizing:border-box;
  transition:border-color .2s ease;
}

.shipping-insurance-input:checked + .shipping-insurance-radio::after{
  content:'';
  width:12px;
  height:12px;
  border-radius:50%;
  background:#041E3A;
}

.shipping-insurance-copy{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:5px;
}

.toggle-text{
  font-size:14px;
  font-weight:500;
  color:#333333;
  line-height:1.3;
}

.toggle-description{
  font-size:12px;
  color:#545E6C;
  line-height:1.4;
  font-weight:400;
  letter-spacing:1px!important;
}

.shipping-insurance-price{
  font-size:14px;
  font-weight:700;
  color:#041E3A;
  flex-shrink:0;
  margin-top:1px;
  white-space:nowrap;
}

.cart-summary-rule--bottom{
  margin:0 0 8px;
}

.cart-promo-code{
  padding:0 0 18px;
}

.cart-promo-code-row{
  display:flex;
  align-items:stretch;
  width:100%;
}

.cart-promo-code-input{
  flex:1;
  min-width:0;
  height:44px;
  padding:0 14px;
  border:1px solid #c8c8c8;
  border-right:none;
  border-radius:0;
  font-size:14px;
  color:#333;
  background:#fff;
  box-sizing:border-box;
}

.cart-promo-code-input::placeholder{
  color:#9a9a9a;
}

.cart-promo-code-input:focus{
  outline:none;
  border-color:#041E3A;
}

.cart-promo-code-apply{
  flex-shrink:0;
  height:44px;
  padding:0 18px;
  border:none;
  border-radius:0;
  background:#041E3A;
  color:#fff;
  font-size:12px;
  font-weight:600;
  letter-spacing:0.06em;
  text-transform:uppercase;
  cursor:pointer;
  white-space:nowrap;
  box-sizing:border-box;
  transition:background .2s ease;
}

.cart-promo-code-apply:hover:not(:disabled){
  background:#13294B;
}

.cart-promo-code-apply:disabled{
  opacity:0.65;
  cursor:not-allowed;
}

.cart-promo-code-hint{
  margin:8px 0 0;
  font-size:12px;
  color:#545E6C;
  line-height:1.4;
  letter-spacing:0.02em;
}

.cart-promo-code-message{
  margin:6px 0 0;
  font-size:12px;
  line-height:1.4;
  display:none;
}

.cart-promo-code-message.is-visible{
  display:block;
}

.cart-promo-code-message.is-success{
  color:#1a6b3c;
}

.cart-promo-code-message.is-error{
  color:#b42318;
}

.cart-subtotal-breakdown-row.is-discount{
  color:#1a6b3c;
}

.cart-subtotal-breakdown{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:10px;
  font-size:12px;
  color:#666;
}

.cart-subtotal-breakdown-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.cart-subtotal-breakdown-row.is-insurance{
  color:#444;
}

.cart-subtotal-total{
  padding-top:10px;
  border-top:1px solid #eee;
  margin-top:4px;
  font-size:14px;
  font-weight:600;
  color:#13294B;
}
.cart-extra-buttons{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:14px;
}

.cart-extra-btn{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  background:transparent;
  border:1px solid #e5e5e5;
  padding:10px 12px;
  cursor:pointer;
  font-size:12px;
  font-weight:600;
  color:#041E3A;
  transition:.2s ease;
  text-transform: uppercase;
  justify-content:center;
  letter-spacing:2px;
}

.cart-extra-btn:hover{
  background:#f1f1f1;
}

.cart-extra-icon{
  font-size:14px;
  line-height:1;
}
/* Cart header — bag count | centered title | close */
.cart-header{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:18px 22px;
  border-bottom:1px solid #e5e5e5;
  background:#fff;
  flex-shrink:0;
  position:relative;
  z-index:2;
}

.cart-header-bag{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
  width:28px;
  height:28px;
  padding:0;
  border:none;
  background:transparent;
  color:#041E3A;
  cursor:default;
  pointer-events:none;
}

.cart-header-bag-icon{
  width:26px;
  height:26px;
  display:block;
  position:relative;
  z-index:0;
}

.cart-header-count{
  position:absolute;
  left:50%;
  top:63%;
  transform:translate(-50%, -50%);
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:1em;
  font-size:11px;
  font-weight:700;
  line-height:1;
  color:#041E3A;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  pointer-events:none;
  font-variant-numeric:tabular-nums;
  z-index:1;
  visibility:visible;
  opacity:1;
}

.cart-header .drawer-main-header{
  justify-self:center;
  margin:0;
  font-size:22px;
  font-weight:600;
  font-style:italic;
  font-family:Georgia,"Times New Roman",serif;
  color:#041E3A;
  letter-spacing:.02em;
  text-transform:none;
  text-align:center;
  white-space:nowrap;
}

.cart-header .close-cart-btn{
  justify-self:end;
  background:none;
  border:none;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  color:#041E3A;
  padding:0 2px;
  transition:opacity .2s ease;
}

.cart-header .close-cart-btn:hover{
  opacity:.65;
}

/* Progress — milestone bar (reference design) */
.cart-progress-hint{
  margin:0 0 12px;
  padding:0 2px;
  font-size:12px;
  line-height:1.45;
  font-weight:400;
  color:#5c5c5c;
  text-align:center;
  letter-spacing:.01em;
}

.cart-progress-wrapper{
  --progress-active:#0f2140;
  --progress-inactive:#9e9e9e;
  position:relative;
  padding:22px 18px 20px;
  {% comment %} background:#000; {% endcomment %}
  {% comment %} border-bottom:1px solid #1a1a1a; {% endcomment %}
  flex-shrink:0;
  background:#fff;
  z-index:1;
}

.cart-progress-bar{
  position:relative;
  height:78px;
  padding-top:0;
}

.cart-progress-percent-bubble{
  position:absolute;
  top:-8px;
  left:0;
  transform:translateX(-50%);
  width:40px;
  height:40px;
  border-radius:50%;
  background:linear-gradient(135deg,#13294B 0%,#2a5286 100%);
  border:2px solid #fff;
  box-shadow:0 4px 12px rgba(19,41,75,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:10px;
  font-weight:700;
  letter-spacing:.02em;
  line-height:1;
  z-index:3;
  opacity:0;
  visibility:hidden;
  transition:left .45s ease, opacity .25s ease, visibility .25s ease;
  pointer-events:none;
}

.cart-progress-percent-bubble.is-visible{
  opacity:1;
  visibility:visible;
}

.cart-progress-percent-bubble::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-5px;
  transform:translateX(-50%);
  width:0;
  height:0;
  border-left:6px solid transparent;
  border-right:6px solid transparent;
  border-top:6px solid #13294B;
}

.cart-progress-percent-value{
  position:relative;
  z-index:1;
}

.cart-progress-track{
  position:absolute;
  left:0;
  right:0;
  top:54px;
  transform:translateY(-50%);
  height:8px;
  background:#d8d8d8;
  border-radius:999px;
  z-index:0;
  overflow:hidden;
}

.cart-progress-fill{
  display:block;
  height:100%;
  width:0%;
  border-radius:999px;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0) 0,
      rgba(255,255,255,0) 8px,
      rgba(255,255,255,.14) 8px,
      rgba(255,255,255,.14) 16px
    ),
    linear-gradient(90deg,#0f2140 0%,#2a5286 55%,#13294B 100%);
  transition:width .45s ease;
}

.cart-progress-steps{
  position:absolute;
  left:0;
  right:0;
  top:54px;
  transform:translateY(-50%);
  z-index:1;
  height:38px;
  pointer-events:none;
}

.progress-step{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  min-height:25px;
  padding:0px 16px;
  background:var(--progress-inactive);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  transition:background .35s ease;
  text-align:center;
  line-height:1.1;
  border-radius:0;
  box-sizing:border-box;
}

.progress-step.shipping-step{
  left:50%;
  transform:translate(-50%, -50%);
}

.progress-step.gift-step{
  right:0;
  transform:translateY(-50%);
}

.progress-step.active{
  background:var(--progress-active);
}

.step-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  line-height:0;
  color:#fff;
}

.step-icon svg{
  width:20px;
  height:20px;
  display:block;
}

.step-text{
  white-space:nowrap;
}

.cart-progress-wrapper[data-progress-state="shipping"] .cart-progress-fill{
  border-radius:4px;
}

{% comment %} @media(max-width:768px){
  .cart-header .drawer-main-header{
    font-size:18px;
  }

  .progress-step{
    font-size:8px;
    padding:7px 8px;
    gap:5px;
    letter-spacing:.04em;
  }

  .step-icon svg{
    width:12px;
    height:12px;
  }
} {% endcomment %}

.cart-drawer-two-column {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.cart-drawer-content {
  display: block;
  flex: 1;
  overflow: hidden;
  min-height: 0;
  width: 100%;
}

/* Legacy two-column recommendations — removed */
.cart-recommendations-column,
.recommendations-header,
.recommendations-list {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  max-width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.cart-items-column {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  width: 100%;
  position: relative;
}

.cart-drawer-scroll-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.cart-items-list {
  padding: 10px;
  flex: 0 0 auto;
}

.cart-item{
  display:grid;
  grid-template-columns:100px 1fr;
  grid-template-rows:auto auto;
  column-gap:30px;
  row-gap:12px;
  align-items:start;
  padding:12px;
  border-bottom:1px solid #f0f0f0;
}

.cart-item-image{
  grid-column:1;
  grid-row:1;
  width:100px;
  min-width:100px;
  max-width:100px;
  height:100px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#efefef;
}

.cart-item-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:8px;
}
.cart-item-info {
  grid-column:2;
  grid-row:1;
  min-width:0;
}

.cart-item-after {
  grid-column:2;
  grid-row:2;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:0;
}

.cart-item-title {
  font-size: 20px;
  font-weight: 400;
  color: #13294b;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.cart-item-variant{
  display:flex;
  flex-direction:row;
  gap:50px;
  margin-bottom:6px;
}

.variant-row{
  display:flex;
  flex-direction:column;
  line-height:1.8;
}

.variant-name{
  font-size:12px;
  color:#A4A4A4;
  font-weight:600;
}

.variant-value{
  font-size:14px;
  color:#666666;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 400;
  color: #13294B;
  margin-bottom: 6px;
}

.cart-price-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
  margin-top:10px;
  gap:15px;
}

.cart-item-actions{
  display:inline-flex;
  align-items:center;
  gap:0;
  flex-wrap:nowrap;
  margin-top:0;
}

.qty-minus,
.qty-plus{
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  margin:0;
  border:1px solid #ddd;
  background:#fff;
  color:#13294B;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  flex-shrink:0;
  box-sizing:border-box;
}

.qty-minus{
  border-radius:4px 0 0 4px;
}

.qty-plus{
  border-radius:0 4px 4px 0;
}

.cart-item-qty{
  width:38px;
  height:32px;
  padding:0;
  margin:0;
  border:1px solid #ddd;
  border-left:none;
  border-right:none;
  border-radius:0;
  background:#fff;
  text-align:center;
  font-size:13px;
  font-weight:600;
  line-height:32px;
  color:#13294B;
  font-variant-numeric:tabular-nums;
  -moz-appearance:textfield;
  appearance:textfield;
  box-sizing:border-box;
  flex-shrink:0;
}

.cart-item-qty::-webkit-outer-spin-button,
.cart-item-qty::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #002059;
  cursor: pointer;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space:nowrap;
}

.cart-footer {
  padding: 15px;
  border-top: 1px solid #eee;
  background: white;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}

.view-cart-btn {
  display: block;
  text-align: center;
  background: #041E3A;
  color: white !important;
  text-decoration: none;
  padding: 12px;
  font-size: 13px;
  font-weight: 100;
  margin-bottom: 10px;
  transition: background 0.3s ease;
  text-transform: uppercase;
}

.continue-shopping-btn {
  display: block;
  text-align: center;
  background: #f5f5f5;
  color: #333;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.continue-shopping-btn:hover {
  background: #e0e0e0;
}

.payment-divider {
  margin: 20px 0;
}

.payment-divider hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 0;
}

.empty-cart-message {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

.cart-items-list::-webkit-scrollbar {
  width: 4px;
}

.cart-items-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.cart-items-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: min(420px, 92vw);
  max-width: min(420px, 92vw);
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  z-index: var(--z-cart-drawer);
  background: white;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.35s ease-in-out, visibility 0s linear 0.35s;
  visibility: hidden;
  pointer-events: none;
  opacity: 1;
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  will-change: transform;
  backface-visibility: hidden;
  contain: layout paint;
}

.drawer.drawer--is-open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.35s ease-in-out, visibility 0s linear 0s;
}

.cart-drawer-loading {
  position: absolute;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(1px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.cart-drawer-loading.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer-loading.cart-drawer-loading--instant {
  transition: none;
}

.cart-drawer-loading__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 32px rgba(4, 30, 58, 0.12);
}

.cart-drawer-loading__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e5e5e5;
  border-top-color: #041E3A;
  border-radius: 50%;
  animation: cart-drawer-spin 0.7s linear infinite;
}

.cart-drawer-loading__text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #041E3A;
}

@keyframes cart-drawer-spin {
  to {
    transform: rotate(360deg);
  }
}

#CartDrawer.cart-drawer--loading .cart-drawer-two-column {
  pointer-events: none;
  user-select: none;
}

.cart-drawer-notice {
  display: none;
  position: relative;
  z-index: 210;
  margin: 0;
  padding: 10px 16px;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.4;
  flex-shrink: 0;
}

.cart-drawer-notice.is-visible {
  display: block;
}

.cart-drawer-notice--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

#cartItemsList button,
#cartExtrasSection button,
#CartDrawer .sc-addon-remove,
#cartItemsList .cart-extra-btn,
#cartItemsList .cart-item-remove,
#cartItemsList .cart-addon-remove {
  pointer-events: auto;
  cursor: pointer;
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-cart-overlay);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.js-drawer-open,
html.js-drawer-open,
body.js-drawer-open {
  overflow: hidden !important;
  overflow-x: clip !important;
  overscroll-behavior: none;
  max-width: 100%;
  width: 100%;
}

/* Beat PDP sticky overflow unlock when cart / stacked drawers are open */
html.pdp-sticky-active.js-drawer-open,
html.pdp-sticky-active.js-drawer-open body,
html.pdp-sticky-active.js-drawer-open #MainContent,
html.pdp-sticky-active.js-drawer-open .content-for-layout,
html.pdp-sticky-active.js-drawer-open .page-content,
html.pdp-sticky-active.js-drawer-open .page-content--product,
html.pdp-sticky-active.js-drawer-open .shopify-section,
html.pdp-sticky-active.js-drawer-open .pdp-page-shell,
html.pdp-sticky-active.js-drawer-open .pdp-layout,
html.pdp-sticky-active.js-drawer-open .custom-product-info-container,
html.pdp-sticky-active.js-drawer-open .pdp-layout__info {
  overflow: hidden !important;
  overflow-x: clip !important;
  max-width: 100%;
  overscroll-behavior: none;
}

html.js-drawer-open #CartDrawer.drawer,
html.js-drawer-open #cartDrawerOverlay {
  max-width: 100%;
}

#engravingDrawer .ol-engrave-body,
#engravingDrawer .engraving-drawer-box {
  touch-action: pan-y;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #ff4444;
  color: white;
  font-size: 10px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-count[data-count="0"],
.cart-count:empty {
  display: none;
}

{% comment %} @media (max-width: 550px) {
  .cart-drawer-content {
    flex-direction: column;
  }

  .cart-recommendations-column,
  .cart-items-column {
    width: 100%;
  }

  .cart-recommendations-column {
    border-right: none;
    border-bottom: 1px solid #eee;
    max-height: 200px;
  }
} {% endcomment %}

 @media (max-width: 768px) {
  #CartDrawer.drawer {
    width: 100% !important;
    max-width: 100% !important;
    right: 0;
    left: auto;
  }

  .cart-drawer-content {
    flex-direction: column;
  }

  .cart-recommendations-column {
    display: none !important;
  }

  .cart-drawer-two-column,
  .cart-drawer-content,
  .cart-items-column {
    flex: 1;
    min-height: 0;
  }

  .cart-items-column {
    width: 100%;
  }

  .cart-header {
    padding: 14px 16px;
  }

  .cart-header .drawer-main-header {
    font-size: 18px;
  }

  .cart-progress-wrapper {
    padding: 14px 10px 16px;
    background: #fff;
  }

  .cart-progress-hint {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .cart-progress-bar {
    height: 72px;
  }

  .cart-progress-percent-bubble {
    top: -6px;
    width: 36px;
    height: 36px;
    font-size: 9px;
  }

  .cart-progress-track {
    top: 50px;
    height: 7px;
  }

  .cart-progress-steps {
    top: 50px;
    height: 34px;
  }

  .progress-step {
    font-size: 8px;
    padding: 0 8px;
    gap: 5px;
    letter-spacing: 0.04em;
    min-height: 28px;
  }

  .progress-step.shipping-step {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .progress-step.gift-step {
    right: 0;
    transform: translateY(-50%);
  }

  .step-icon svg {
    width: 13px;
    height: 13px;
  }

  .step-text {
    white-space: nowrap;
  }

  @media (max-width: 420px) {
    .progress-step {
      font-size: 7px;
      padding: 0 6px;
      gap: 4px;
      min-height: 26px;
    }

    .step-icon svg {
      width: 12px;
      height: 12px;
    }
  }

  .cart-drawer-summary {
    padding: 0 16px;
  }

  .cart-footer {
    padding: 15px 16px;
    padding-bottom: max(15px, env(safe-area-inset-bottom, 0px));
  }

  .cart-item {
    grid-template-columns:minmax(80px, 26vw) 1fr;
    column-gap:14px;
    row-gap:12px;
    padding:14px 10px;
  }

  .cart-item-image {
    width:100%;
    min-width:0;
    max-width:none;
    height:auto;
    aspect-ratio:1;
  }

  .cart-item-info {
    grid-column:2;
    grid-row:1;
  }

  .cart-item-after {
    grid-column:1 / -1;
    grid-row:2;
    width:100%;
  }

  .cart-item-title {
    font-size:16px;
    line-height:1.3;
  }

  .cart-item-variant {
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px 12px;
    margin-bottom:0;
  }

  .variant-row {
    line-height:1.35;
  }

  .cart-extra-buttons {
    margin-top:0;
  }

  .cart-extra-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .cart-price-row {
    gap: 10px;
    margin-top: 10px;
  }

  .cart-bottom-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .engraving-inline-row {
    flex-direction: flex;
    align-items: center;
    gap: 6px;
  }

  .engraving-actions {
    margin-left: 0;
  }
  #engravingDrawer.engraving-drawer{
    max-width:100% !important;
    width:100% !important;
    height:100dvh !important;
    max-height:100dvh !important;
    display:flex !important;
    flex-direction:column !important;
    left:0 !important;
    right:0 !important;
    overflow:hidden !important;
  }

  #engravingDrawer .engraving-drawer-box{
    flex:1 1 auto !important;
    min-height:0 !important;
    height:100% !important;
    max-height:100% !important;
    padding:0 !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior:contain !important;
    display:flex !important;
    flex-direction:column !important;
    box-sizing:border-box !important;
  }

  #engravingDrawer .sd-header,
  #engravingDrawer .sd-header.ol-engrave-header {
    position:relative !important;
    flex:0 0 auto !important;
    margin-bottom: 10px !important;
  }

  #engravingDrawer .sd-body,
  #engravingDrawer .sd-body.ol-engrave-body,
  #engravingDrawer .sd-body.engraving-content-row {
    flex:0 0 auto !important;
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
  }

  #engravingDrawer .sd-preview,
  #engravingDrawer .sd-preview.sd-preview--split {
    position:sticky !important;
    top:0 !important;
    z-index:5;
  }

  #engravingDrawer .sd-preview-close {
    display:none !important;
    position:absolute !important;
    top:10px;
    right:10px;
    width:32px;
    height:32px;
    z-index:8;
  }

  #engravingDrawer.is-header-scrolled .sd-preview-close {
    display:flex !important;
    align-items:center;
    justify-content:center;
  }

  #engravingDrawer.is-header-scrolled .sd-preview,
  #engravingDrawer.is-header-scrolled .sd-preview.sd-preview--split {
    padding-right:48px !important;
  }

  #engravingDrawer .sd-footer {
    position:sticky !important;
    bottom:0 !important;
    flex:0 0 auto !important;
    z-index:6;
    background:var(--sd-offwhite) !important;
  }

  #engravingDrawer .ol-engrave-total{
    font-size:24px;
    margin-bottom:6px;
  }

  #engravingDrawer .ol-engrave-disclaimer{
    max-width:none;
    font-size:11px;
  }

  #engravingDrawer #saveEngravingBtn,
  #engravingDrawer .ol-engrave-confirm-btn{
    width:100%;
    min-width:0;
    min-height:48px;
  }

  .edit-product-hero{
    display: block;
  }
}

/* Side cart — client HTML design */
#CartDrawer .cart-drawer-content {
  display: block;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

#CartDrawer .sc-side-cart {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #f6f4f1;
}

#CartDrawer .sc-head {
  background: #13294b;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-bottom: none;
  grid-template-columns: none;
}

#CartDrawer .sc-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

#CartDrawer .sc-title {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  color: #f6f4f1;
  margin: 0;
  text-align: left;
}

#CartDrawer .sc-count {
    background: rgba(246, 244, 241, 0.15);
    color: #f6f4f1;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    letter-spacing: 0.06em;
  border-radius: 0;
  min-width: 0;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#CartDrawer .sc-close {
  background: transparent;
  border: 1px solid rgba(246, 244, 241, 0.2);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: #f6f4f1;
  font-size: 0;
}

#CartDrawer .sc-close svg {
  width: 12px;
  height: 12px;
  stroke: rgba(246, 244, 241, 0.7);
  fill: none;
  stroke-width: 2;
}

#CartDrawer .sc-progress {
  padding: 12px 22px;
  background: rgba(19, 41, 75, 0.03);
  border-bottom: 1px solid rgba(19, 41, 75, 0.08);
  flex-shrink: 0;
}

#CartDrawer .sc-progress-text {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 7px;
  text-align: left;
}

#CartDrawer .sc-progress-text strong {
  color: #13294b;
}

#CartDrawer .sc-progress-track {
  height: 3px;
  background: rgba(19, 41, 75, 0.1);
  margin-bottom: 8px;
  position: static;
  transform: none;
  border-radius: 0;
}

#CartDrawer .sc-progress-fill {
  height: 100%;
  background: #13294b;
  width: 0%;
  transition: width 0.5s ease;
  border-radius: 0;
  background-image: none;
}

#CartDrawer .sc-progress-goals {
  display: flex;
  justify-content: space-between;
  position: static;
  transform: none;
  height: auto;
  pointer-events: auto;
}

#CartDrawer .sc-progress-goal {
  position: static;
  transform: none;
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #6b7280;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  gap: 4px;
}

#CartDrawer .sc-progress-goal svg {
  width: 10px;
  height: 10px;
  stroke: #6b7280;
  fill: none;
  stroke-width: 2;
}

#CartDrawer .sc-progress-goal.active,
#CartDrawer .progress-step.active {
  background: transparent;
  color: #1e5c2e;
}

#CartDrawer .sc-progress-goal.active svg,
#CartDrawer .progress-step.active svg {
  stroke: #1e5c2e;
}

#CartDrawer .cart-progress-percent-bubble {
  display: none !important;
}

#CartDrawer .sc-body {
  flex: 1;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
  padding: 16px 22px;
  min-height: 0;
  gap: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

#CartDrawer .sc-body::-webkit-scrollbar {
  display: none;
}

#CartDrawer .cart-items-list {
  padding: 0;
}

#CartDrawer .sc-item-wrap {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 0 4px !important;
  border: none !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}

#CartDrawer .sc-item-wrap--free-gift .sc-item {
  background: rgba(19, 41, 75, 0.03);
  border-radius: 4px;
  padding: 12px;
  border-bottom: none;
}

#CartDrawer .sc-item-free-gift-note {
  font-size: 12px;
  line-height: 1.45;
  color: #5a6b7d;
  margin: 4px 0 8px;
  font-style: italic;
  font-family: 'Instrument Serif', Georgia, serif;
}

#CartDrawer .sc-item-free-gift-qty {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a6b7d;
  white-space: nowrap;
}

#CartDrawer .sc-item {
  display: flex !important;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(19, 41, 75, 0.08);
  margin-bottom: 10px;
  width: 100%;
  align-items: flex-start;
}

#CartDrawer .sc-upsells-block {
  display: block !important;
  width: 100% !important;
  clear: both;
  margin-top: 0;
}

#CartDrawer .cart-item-image,
#CartDrawer .sc-item-img {
  width: 72px;
  height: 72px;
  min-width: 72px;
  max-width: 72px;
  background: #edeae4;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#CartDrawer .cart-item-image img,
#CartDrawer .sc-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

#CartDrawer .sc-item-mat {
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(19, 41, 75, 0.35);
  font-weight: 600;
}

#CartDrawer .cart-item-info,
#CartDrawer .sc-item-detail,
#CartDrawer .cart-item-after {
  flex: 1;
  min-width: 0;
  display: block;
  grid-column: auto;
  grid-row: auto;
}

#CartDrawer .cart-item-title,
#CartDrawer .sc-item-name {
  font-size: 13px;
  font-weight: 500;
  color: #13294b;
  margin-bottom: 3px;
  line-height: 1.3;
}

#CartDrawer .cart-item-variant,
#CartDrawer .sc-item-meta {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
  display: block;
  gap: 0;
}

#CartDrawer .variant-row {
  display: none;
}

#CartDrawer .sc-item-engrave {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #13294b;
  margin-bottom: 5px;
}

#CartDrawer .sc-item-engrave.is-visible {
  display: flex;
}

#CartDrawer .sc-item-engrave-symbol {
  font-size: 12px;
  margin-left: 2px;
}

#CartDrawer .sc-addon-sub {
  line-height: 1.45;
}

#CartDrawer .sc-item-engrave svg {
  width: 10px;
  height: 10px;
  stroke: #b8953a;
  fill: none;
  stroke-width: 1.5;
}

#CartDrawer .cart-price-row,
#CartDrawer .sc-item-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
  gap: 8px;
}

#CartDrawer .cart-item-price,
#CartDrawer .sc-item-price {
  font-size: 14px;
  font-weight: 600;
  color: #13294b;
  margin: 0;
}

#CartDrawer .cart-item-actions,
#CartDrawer .sc-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(19, 41, 75, 0.15);
  gap: 0;
}

#CartDrawer .qty-minus,
#CartDrawer .qty-plus,
#CartDrawer .sc-qty-btn {
  width: 26px;
  height: 26px;
  background: transparent;
  border: none;
  font-size: 15px;
  color: #13294b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#CartDrawer .qty-minus:hover,
#CartDrawer .qty-plus:hover,
#CartDrawer .sc-qty-btn:hover {
  background: rgba(19, 41, 75, 0.06);
}

#CartDrawer .cart-item-qty,
#CartDrawer .sc-qty-val {
  font-size: 13px;
  font-weight: 500;
  color: #13294b;
  min-width: 24px;
  text-align: center;
  border: none;
  width: 24px;
  height: 26px;
  padding: 0;
  -moz-appearance: textfield;
}

#CartDrawer .sc-addon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid rgba(19, 41, 75, 0.08);
  margin-bottom: 5px;
}

#CartDrawer .sc-addon--offer {
  background: rgba(19, 41, 75, 0.03);
  border-style: dashed;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

#CartDrawer .sc-addon--offer:hover,
#CartDrawer .sc-addon--offer:focus-visible {
  background: rgba(19, 41, 75, 0.06);
  border-color: rgba(19, 41, 75, 0.22);
  outline: none;
}

#CartDrawer .sc-addon-cta {
  font-size: 11px;
  font-weight: 600;
  color: #13294b;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  pointer-events: none;
}

#CartDrawer .sc-addon-ico {
  width: 28px;
  height: 28px;
  background: rgba(19, 41, 75, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#CartDrawer .sc-addon-ico svg {
  width: 13px;
  height: 13px;
  stroke: #13294b;
  fill: none;
  stroke-width: 1.25;
}

#CartDrawer .sc-addon-free .sc-addon-ico svg {
  stroke: #1e5c2e;
}

#CartDrawer .sc-addon-detail {
  flex: 1;
  min-width: 0;
}

#CartDrawer .sc-addon-name {
  font-size: 12px;
  font-weight: 600;
  color: #13294b;
  margin-bottom: 1px;
}

#CartDrawer .sc-addon-sub {
  font-size: 11px;
  color: #6b7280;
}

#CartDrawer .sc-addon-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

#CartDrawer .sc-addon-price {
  font-size: 13px;
  font-weight: 600;
  color: #13294b;
}

#CartDrawer .sc-addon-free .sc-addon-price,
#CartDrawer .sc-free-del {
  color: #1e5c2e;
}

#CartDrawer .sc-addon-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

#CartDrawer .sc-addon-edit,
#CartDrawer .sc-addon-remove {
  background: transparent;
  border: none;
  font-size: 11px;
  color: #13294b;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  white-space: nowrap;
}

#CartDrawer .sc-addon-remove {
  color: #6b7280;
}

#CartDrawer .sc-addon-remove:hover {
  color: #13294b;
}

#CartDrawer .sc-section-lbl {
  display: block !important;
  width: 100% !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6b7280;
  margin: 14px 0 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(19, 41, 75, 0.08);
}

#CartDrawer .sc-upsell-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  background: #fff;
  border: 1px solid rgba(19, 41, 75, 0.08);
  margin-bottom: 6px;
}

#CartDrawer .sc-upsell-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

#CartDrawer .sc-upsell-ico {
  width: 28px;
  height: 28px;
  background: rgba(19, 41, 75, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#CartDrawer .sc-upsell-ico svg {
  width: 13px;
  height: 13px;
  stroke: #13294b;
  fill: none;
  stroke-width: 1.25;
}

#CartDrawer .sc-upsell-name {
  font-size: 12px;
  font-weight: 600;
  color: #13294b;
  margin-bottom: 1px;
}

#CartDrawer .sc-upsell-sub {
  font-size: 11px;
  color: #6b7280;
}

#CartDrawer .sc-upsell-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

#CartDrawer .sc-upsell-price {
  font-size: 12px;
  font-weight: 600;
  color: #13294b;
}

#CartDrawer .sc-upsell-btn {
  background: transparent;
  border: 1px solid rgba(19, 41, 75, 0.22);
  padding: 5px 12px;
  font-family: "Public Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #13294b;
  cursor: pointer;
  white-space: nowrap;
}

#CartDrawer .sc-upsell-btn:hover {
  background: #13294b;
  color: #f6f4f1;
  border-color: #13294b;
}

#CartDrawer .sc-pair-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

#CartDrawer .sc-pair-img {
  width: 52px;
  height: 52px;
  background: #edeae4;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#CartDrawer .sc-pair-ph {
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: rgba(19, 41, 75, 0.08);
}

#CartDrawer .sc-pair-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#CartDrawer .sc-pair-info {
  flex: 1;
  min-width: 0;
}

#CartDrawer .sc-pair-name {
  font-size: 12px;
  font-weight: 500;
  color: #13294b;
  margin-bottom: 2px;
}

#CartDrawer .sc-pair-price {
  font-size: 11px;
  color: #6b7280;
}

#CartDrawer .sc-extras-block {
  display: block;
  width: 100%;
}

#CartDrawer .sc-pairs-section {
  display: block;
  width: 100%;
  margin-top: 0;
}

#CartDrawer .sc-pairs-list {
  display: block;
  width: 100%;
}

#CartDrawer .sc-pair-item .sc-upsell-btn {
  flex-shrink: 0;
}

#CartDrawer .sc-summary-block {
  padding-top: 12px;
  border-top: 1px solid rgba(19, 41, 75, 0.08);
}

#CartDrawer .sc-promo-row {
  display: flex;
  border: 1px solid rgba(19, 41, 75, 0.18);
  overflow: hidden;
  margin-bottom: 6px;
}

#CartDrawer .sc-promo-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 13px;
  color: #13294b;
  background: #fff;
  height: auto;
}

#CartDrawer .sc-promo-btn {
  background: #13294b;
  color: #f6f4f1;
  border: none;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  height: auto;
}

#CartDrawer .sc-promo-note {
  font-size: 11px;
  color: #6b7280;
  margin: 0 0 14px;
}

#CartDrawer .sc-totals {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

#CartDrawer .sc-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
}

#CartDrawer .sc-order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 0;
  border-top: 1px solid rgba(19, 41, 75, 0.12);
  margin-bottom: 14px;
}

#CartDrawer .sc-order-total-lbl {
  font-size: 13px;
  font-weight: 600;
  color: #13294b;
}

#CartDrawer .sc-order-total-val,
#CartDrawer #cartSubtotal {
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #13294b;
  border: none;
  padding: 0;
  margin: 0;
}

#CartDrawer .sc-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
  list-style: none;
  padding: 0;
}

#CartDrawer .sc-pay-pill {
  border: 1px solid rgba(19, 41, 75, 0.15);
  border-radius: 3px;
  padding: 4px 8px;
}

#CartDrawer .sc-carbon {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #6b7280;
  padding: 10px 0;
  border-top: 1px solid rgba(19, 41, 75, 0.07);
  border-bottom: 1px solid rgba(19, 41, 75, 0.07);
  margin-bottom: 10px;
}

#CartDrawer .sc-info-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #13294b;
}

#CartDrawer .sc-info-item summary::-webkit-details-marker {
  display: none;
}

#CartDrawer .sc-info-item summary svg {
  width: 14px;
  height: 14px;
  stroke: #13294b;
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s;
}

#CartDrawer .sc-info-item[open] summary svg {
  transform: rotate(180deg);
}

#CartDrawer .sc-info-body {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.65;
  padding-bottom: 12px;
  font-weight: 300;
}

#CartDrawer .sc-footer {
  padding: 14px 22px 20px;
  border-top: 1px solid rgba(19, 41, 75, 0.1);
  flex-shrink: 0;
  background: #fff;
}

#CartDrawer .sc-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  background: #13294b;
  color: #f6f4f1 !important;
  text-decoration: none;
  padding: 15px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 8px;
  border-radius: 0;
}

#CartDrawer .sc-checkout svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

#CartDrawer .sc-continue {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(19, 41, 75, 0.18);
  padding: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  cursor: pointer;
  border-radius: 0;
}

#CartDrawer .cart-bottom-actions,
#CartDrawer .cart-extra-buttons .cart-extra-btn {
  display: none;
}

#CartDrawer .cart-engraving.ol-pers-card,
#CartDrawer .cart-gift-wrap {
  display: none !important;
}

#CartDrawer .cart-header.sc-head {
  display: flex !important;
  grid-template-columns: none !important;
  background: #13294b !important;
  border-bottom: none !important;
  padding: 16px 22px !important;
}

#CartDrawer .cart-header .drawer-main-header.sc-title {
  justify-self: auto !important;
  text-align: left !important;
  color: #f6f4f1 !important;
  font-size: 20px !important;
}

#CartDrawer .cart-header-count.sc-count {
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#CartDrawer .cart-header .close-cart-btn.sc-close {
  justify-self: auto !important;
}

#CartDrawer .cart-progress-wrapper.sc-progress {
  background: rgba(19, 41, 75, 0.03) !important;
  padding: 12px 22px !important;
  border-bottom: 1px solid rgba(19, 41, 75, 0.08) !important;
}

#CartDrawer .cart-progress-hint.sc-progress-text {
  text-align: left !important;
  margin: 0 0 7px !important;
  color: #6b7280 !important;
}

#CartDrawer .cart-drawer-scroll-body.sc-body {
  padding: 16px 22px !important;
}

#CartDrawer .cart-item-remove,
#CartDrawer .cart-edit-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#CartDrawer .cart-footer.sc-footer {
  background: #fff !important;
  border-top: 1px solid rgba(19, 41, 75, 0.1) !important;
  padding: 14px 22px 20px !important;
}

#CartDrawer .view-cart-btn.sc-checkout {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  width: 100% !important;
  background: #13294b !important;
  color: #f6f4f1 !important;
  text-decoration: none !important;
  padding: 15px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
  border-radius: 0 !important;
}

#CartDrawer .continue-shopping-btn.sc-continue {
  display: block !important;
  width: 100% !important;
  background: transparent !important;
  border: 1px solid rgba(19, 41, 75, 0.18) !important;
  padding: 12px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #6b7280 !important;
  border-radius: 0 !important;
}

#CartDrawer .sc-product-block {
  border-bottom: 1px solid rgba(19, 41, 75, 0.08);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

#CartDrawer .sc-product-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

#CartDrawer .sc-product-block .sc-item {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

#CartDrawer .cart-item-title,
#CartDrawer .sc-item-name {
  font-size: 15px;
  font-weight: 600;
}

#CartDrawer .cart-item-price,
#CartDrawer .sc-item-price {
  font-size: 15px;
}

#CartDrawer .sc-addon-confirmed {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: rgba(30, 92, 46, 0.04);
  border-left: 2px solid #1e5c2e;
  margin-top: 8px;
}

#CartDrawer .sc-ac-ico {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#CartDrawer .sc-ac-ico svg {
  width: 15px;
  height: 15px;
  stroke: #1e5c2e;
  fill: none;
  stroke-width: 1.5;
}

#CartDrawer .sc-ac-detail {
  flex: 1;
  min-width: 0;
}

#CartDrawer .sc-ac-name {
  font-size: 13px;
  font-weight: 600;
  color: #1e5c2e;
}

#CartDrawer .sc-ac-sub {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

#CartDrawer .sc-ac-price {
  font-size: 13px;
  font-weight: 600;
  color: #13294b;
  flex-shrink: 0;
}

#CartDrawer .sc-ac-edit {
  background: transparent;
  border: none;
  font-size: 11px;
  color: #13294b;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  flex-shrink: 0;
}

#CartDrawer .sc-ac-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  flex-shrink: 0;
}

#CartDrawer .sc-addon-prompt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px dashed rgba(19, 41, 75, 0.2);
  margin-top: 8px;
  cursor: pointer;
  transition: all 0.15s;
  background: transparent;
  width: 100%;
  font-family: inherit;
  text-align: left;
}

#CartDrawer .sc-addon-prompt:hover,
#CartDrawer .sc-addon-prompt:focus-visible {
  border-color: #13294b;
  background: rgba(19, 41, 75, 0.02);
  outline: none;
}

#CartDrawer .sc-ap-ico {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#CartDrawer .sc-ap-ico svg {
  width: 15px;
  height: 15px;
  stroke: #13294b;
  fill: none;
  stroke-width: 1.25;
}

#CartDrawer .sc-ap-detail {
  flex: 1;
  min-width: 0;
  display: block;
}

#CartDrawer .sc-ap-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #13294b;
}

#CartDrawer .sc-ap-sub {
  display: block;
  font-size: 11px;
  color: #6b7280;
}

#CartDrawer .sc-ap-price {
  font-size: 13px;
  font-weight: 600;
  color: #13294b;
  flex-shrink: 0;
}

#CartDrawer .sc-ap-add {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #13294b;
  border: 1px solid rgba(19, 41, 75, 0.25);
  padding: 5px 11px;
  flex-shrink: 0;
}

#CartDrawer .sc-box-wrap {
  display: block;
  width: 100%;
}

#CartDrawer .sc-box-preview {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #13294b;
}

#CartDrawer .sc-box-preview.open {
  max-height: 260px;
}

#CartDrawer .sc-box-preview-img {
  height: 90px;
  background: linear-gradient(160deg, #1a3a64, #0d1e35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#CartDrawer .sc-box-lid {
  width: 70px;
  height: 22px;
  background: #0d1e35;
  border: 1px solid rgba(184, 149, 58, 0.4);
  position: absolute;
  top: 24px;
  z-index: 2;
}

#CartDrawer .sc-box-base {
  width: 80px;
  height: 30px;
  background: #16294a;
  border: 1px solid rgba(184, 149, 58, 0.3);
  position: absolute;
  top: 42px;
}

#CartDrawer .sc-box-preview-body {
  padding: 14px 16px 16px;
}

#CartDrawer .sc-box-preview-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: #f6f4f1;
  margin-bottom: 6px;
}

#CartDrawer .sc-box-preview-feats {
  font-size: 11px;
  color: rgba(246, 244, 241, 0.6);
  line-height: 1.6;
  margin-bottom: 12px;
}

#CartDrawer .sc-box-preview-btn {
  width: 100%;
  background: #f6f4f1;
  color: #13294b;
  border: none;
  padding: 11px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

#CartDrawer .sc-box-preview-btn:hover {
  background: #d4ad5a;
}

#CartDrawer .sc-protect {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid rgba(19, 41, 75, 0.1);
  margin-top: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  text-align: left;
}

#CartDrawer .sc-protect:hover:not(:disabled) {
  border-color: rgba(19, 41, 75, 0.25);
}

#CartDrawer .sc-protect.on {
  border-color: #1e5c2e;
  background: rgba(30, 92, 46, 0.03);
}

#CartDrawer .sc-protect:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#CartDrawer .sc-protect-check {
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(19, 41, 75, 0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}

#CartDrawer .sc-protect-check svg {
  width: 11px;
  height: 11px;
  stroke: transparent;
  fill: none;
  stroke-width: 3;
}

#CartDrawer .sc-protect.on .sc-protect-check {
  background: #1e5c2e;
  border-color: #1e5c2e;
}

#CartDrawer .sc-protect.on .sc-protect-check svg {
  stroke: #fff;
}

#CartDrawer .sc-protect-ico {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#CartDrawer .sc-protect-ico svg {
  width: 15px;
  height: 15px;
  stroke: #b8953a;
  fill: none;
  stroke-width: 1.4;
}

#CartDrawer .sc-protect-detail {
  flex: 1;
  min-width: 0;
  display: block;
}

#CartDrawer .sc-protect-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #13294b;
}

#CartDrawer .sc-protect-sub {
  display: block;
  font-size: 11px;
  color: #6b7280;
}

#CartDrawer .sc-protect-price {
  font-size: 13px;
  font-weight: 600;
  color: #13294b;
  flex-shrink: 0;
}

#CartDrawer .sc-pair-meta {
  font-size: 11px;
  color: #b8953a;
  margin: 2px 0 3px;
  letter-spacing: 0.02em;
}

#CartDrawer .sc-pair-price strong {
  color: #13294b;
  font-weight: 600;
}

#CartDrawer .sc-pair-price s {
  margin-left: 3px;
  color: #6b7280;
}

#CartDrawer .sc-pair-btn {
  background: #13294b;
  color: #f6f4f1;
  border: none;
  padding: 9px 18px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
  align-self: center;
}

#CartDrawer .sc-pair-btn:hover:not(:disabled) {
  background: #1e3d6e;
}

#CartDrawer .sc-pair-btn.added,
#CartDrawer .sc-pair-btn:disabled {
  background: #1e5c2e;
  cursor: default;
}

#CartDrawer .sc-divider {
  border: none;
  border-top: 1px solid rgba(19, 41, 75, 0.08);
  margin: 12px 0;
}

#CartDrawer .sc-footer-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin: 10px 0;
}

#CartDrawer .sc-footer-pay .sc-pay-pill {
  border: 1px solid rgba(19, 41, 75, 0.12);
  border-radius: 4px;
  padding: 5px 7px;
  white-space: nowrap;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 24px;
}

#CartDrawer .sc-footer-pay .sc-pay-pill svg,
#CartDrawer .sc-footer-pay .sc-pay-pill .sc-pay-icon {
  display: block;
  height: 14px;
  width: auto;
}

#CartDrawer .visually-hidden,
#CartDrawer .shipping-insurance-input.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#CartDrawer .shipping-insurance-toggle,
#CartDrawer .sc-insurance-row {
  display: none !important;
}

#CartDrawer .sc-pairs-section .sc-section-lbl {
  margin-top: 14px;
}

@media (max-width: 768px) {
  #CartDrawer.drawer,
  html.js-drawer-open #CartDrawer.drawer.drawer--is-open {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    touch-action: pan-y !important;
  }

  #CartDrawer .cd-panel,
  #CartDrawer .cd-cart,
  #CartDrawer .cart-drawer-content,
  #CartDrawer .cart-items-column {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  #CartDrawer .cd-scroll,
  #CartDrawer .cart-drawer-scroll-body.sc-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain;
    touch-action: pan-y !important;
  }
}

/* Cart drawer v3 — client design (cart 3.html) */
#CartDrawer.drawer{--cd-navy:#16284a;--cd-navy-700:#21345a;--cd-ink:#1c2336;--cd-muted:#7c776d;--cd-faint:#a7a298;--cd-cream:#f4f1ea;--cd-card:#fff;--cd-line:#ece7dc;--cd-green:#2f6b34;--cd-danger:#9a3b2e;--cd-gold:#a9802b;background:var(--cd-cream)!important;color:var(--cd-ink);font-family:"Public Sans",system-ui,-apple-system,sans-serif}
#CartDrawer .cd-cart{display:flex;flex-direction:column;height:100%;min-height:0;background:var(--cd-cream)}
#CartDrawer .cd-panel{flex:1;min-height:0;display:flex;flex-direction:column;background:var(--cd-card);border:1px solid var(--cd-line);border-left:none;border-top:none;border-bottom:none;overflow:hidden}
#CartDrawer .cd-head,#CartDrawer .cart-header.sc-head{background:var(--cd-navy)!important;color:#fff;padding:18px 22px!important;display:flex!important;align-items:center;justify-content:space-between;flex-shrink:0;border-bottom:none!important}
#CartDrawer .cd-head-title,#CartDrawer .sc-title-row{display:flex;align-items:baseline;gap:11px}
#CartDrawer .cd-head .sc-title,#CartDrawer .cart-header .drawer-main-header.sc-title{font-family:"Instrument Serif",Georgia,serif!important;font-weight:400!important;font-size:27px!important;font-style:normal!important;letter-spacing:.01em!important;color:#fff!important;margin:0!important;text-transform:none!important}
#CartDrawer .cd-count,#CartDrawer .cart-header-count.sc-count{background:transparent!important;font-size:11px!important;letter-spacing:.13em!important;text-transform:uppercase!important;color:#9eabc6!important;padding:0!important;font-weight:400!important}
#CartDrawer .cd-close,#CartDrawer .cart-header .close-cart-btn.sc-close{background:none!important;border:0!important;color:#9eabc6!important;width:auto!important;height:auto!important;padding:6px!important;border-radius:7px!important}
#CartDrawer .cd-close:hover,#CartDrawer .cart-header .close-cart-btn.sc-close:hover{color:#fff!important}
#CartDrawer .cd-close svg,#CartDrawer .cart-header .close-cart-btn.sc-close svg{width:18px!important;height:18px!important;stroke:currentColor!important}
#CartDrawer .cd-reward,#CartDrawer .cart-progress-wrapper.sc-progress{padding:14px 22px 16px!important;background:#faf9f7!important;border-bottom:1px solid var(--cd-line)!important;flex-shrink:0;display:flex;flex-direction:column;gap:10px}
#CartDrawer .cd-reward-msg,#CartDrawer .cart-progress-hint.sc-progress-text{margin:0!important;padding:0!important;font-size:12.5px!important;line-height:1.5!important;color:#6b6560!important;text-align:left!important;display:block;width:100%}
#CartDrawer .cd-reward-msg b,#CartDrawer .cd-reward-msg strong,#CartDrawer .cart-progress-hint.sc-progress-text b,#CartDrawer .cart-progress-hint.sc-progress-text strong{font-weight:600;color:var(--cd-navy)!important}
#CartDrawer .cd-reward-status{min-height:0;display:none;align-items:center}
#CartDrawer .cd-reward-status.is-visible{display:flex}
#CartDrawer .cd-reward-badge.freed{display:none!important;color:#3d7a54;font-weight:500;align-items:center;gap:5px;font-size:11px;letter-spacing:.04em;line-height:1}
#CartDrawer .cd-reward-badge.freed svg{flex-shrink:0;stroke:#3d7a54}
#CartDrawer .cd-reward-badge.freed.is-unlocked{display:inline-flex!important}
#CartDrawer .cd-reward.done{background:#fbf7ee}
#CartDrawer .cd-reward.done .cd-track-fill,#CartDrawer .cd-reward.done .sc-progress-fill{background:var(--cd-gold)!important}
#CartDrawer .cd-track,#CartDrawer .sc-progress-track{height:4px!important;background:#e8e3d8!important;border-radius:99px!important;margin:0!important;overflow:hidden;width:100%}
#CartDrawer .cd-track-fill,#CartDrawer .sc-progress-fill{height:100%!important;background:var(--cd-navy)!important;border-radius:99px!important;transition:width .45s ease}
#CartDrawer .cd-scroll,#CartDrawer .cart-drawer-scroll-body.sc-body{flex:1!important;min-height:0!important;overflow-x:hidden!important;overflow-y:scroll!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain;touch-action:pan-y!important;padding:0!important;background:#fff}
#CartDrawer .cd-items .sc-product-block,#CartDrawer .cd-items .sc-item-wrap{padding:20px 22px!important;margin:0!important;border:none!important;border-top:1px solid var(--cd-line)!important}
#CartDrawer .cd-items .sc-product-block:first-child,#CartDrawer .cd-items .sc-item-wrap:first-child{border-top:none!important}
#CartDrawer .sc-item.row{display:flex!important;gap:15px!important;padding:0!important;margin:0!important;border:none!important;align-items:flex-start!important}
#CartDrawer .sc-item-img.thumb{width:66px!important;height:66px!important;min-width:66px!important;max-width:66px!important;border-radius:9px!important;background:#f1ece1!important}
#CartDrawer .sc-item-top.top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
#CartDrawer .sc-item-name.name{font-weight:500!important;font-size:15.5px!important;line-height:1.3!important;color:var(--cd-ink)!important;margin:0!important}
#CartDrawer .sc-item-price.price{font-weight:500!important;font-size:15.5px!important;white-space:nowrap;color:var(--cd-ink)!important}
#CartDrawer .sc-item-meta.variant{font-size:13px!important;color:var(--cd-muted)!important;margin-top:3px!important}
#CartDrawer .sc-item-controls.controls{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-top:14px!important}
#CartDrawer .sc-item-controls .links{display:flex;gap:18px}
#CartDrawer .tlink{background:none;border:0;padding:0;cursor:pointer;font:inherit;font-size:13px;color:var(--cd-muted)}
#CartDrawer .tlink:hover{color:var(--cd-ink)}
#CartDrawer .tlink.rm:hover{color:var(--cd-danger)}
#CartDrawer .cart-item-remove.tlink,#CartDrawer .cart-edit-btn.tlink{display:inline!important;visibility:visible!important;pointer-events:auto!important;position:static!important}
#CartDrawer .sc-qty.stepper{display:inline-flex!important;align-items:center;border:1px solid var(--cd-line)!important;border-radius:9px!important;overflow:hidden;background:#fff}
#CartDrawer .sc-qty-btn{width:32px!important;height:30px!important;font-size:16px!important}
#CartDrawer .sc-qty-btn:disabled{color:#cfc8ba!important;cursor:not-allowed!important}
#CartDrawer .sc-qty-val{min-width:28px!important;font-size:14px!important;border:none!important;height:30px!important;line-height:30px!important}
#CartDrawer .makeit,#CartDrawer .sc-makeit{font-family:"Instrument Serif",Georgia,serif;font-weight:400;font-size:19px;color:var(--cd-ink);margin-top:18px}
#CartDrawer .makeit::after,#CartDrawer .sc-makeit::after{content:"";display:block;width:24px;height:2px;background:var(--cd-gold);opacity:.85;margin-top:7px}
#CartDrawer .lux-row,#CartDrawer .sc-addon-prompt.lux-row,#CartDrawer .sc-addon-confirmed.lux-row{width:100%;display:flex;align-items:flex-start;gap:13px;padding:14px 0;border:0;border-top:1px solid var(--cd-line);background:none;cursor:pointer;font:inherit;text-align:left;margin:0}
#CartDrawer .lux-row--engrave.is-added{cursor:default}
#CartDrawer .lux-row--engrave .lux-row__hit{flex:1;min-width:0;display:flex;align-items:flex-start;gap:13px;padding:0;border:0;background:none;cursor:pointer;font:inherit;text-align:left;color:inherit}
#CartDrawer .lux-row--engrave > .lr{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:6px;padding-top:1px;position:relative;z-index:3;pointer-events:auto}
#CartDrawer .lux-row--engrave > .lr .js-remove-personalisation,
#CartDrawer .lux-row--engrave > .lr .tlink.rm{pointer-events:auto!important;position:relative;z-index:4;cursor:pointer}
#CartDrawer .lux-row--engrave > .lr .added{font-size:12px;color:var(--cd-navy);letter-spacing:.01em;white-space:nowrap}
#CartDrawer .lux-row .li{width:19px;flex:none;display:flex;margin-top:2px}
#CartDrawer .lux-row .dot{width:19px;height:19px;border-radius:50%;background:var(--cd-navy);display:grid;place-items:center}
#CartDrawer .lux-row .lc{flex:1;min-width:0}
#CartDrawer .lux-row--engrave .lc{display:flex;flex-direction:column;gap:8px;min-width:0;width:100%}
#CartDrawer .lux-row--engrave .lc-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:4px;width:100%}
#CartDrawer .lux-row--engrave .lc-head .ll{min-width:0;font-size:14px;color:var(--cd-ink);white-space:normal;line-height:1.3}
#CartDrawer .lux-row--engrave .lc-head .lr{justify-self:end;white-space:nowrap;min-width:0}
#CartDrawer .lux-row--engrave .lc-head .added{font-size:12px;color:var(--cd-navy);letter-spacing:.01em}
#CartDrawer .lux-row--engrave .lc-head .added-label{display:inline}
#CartDrawer .lux-row--engrave .ld{margin-top:0;width:100%}
@media (max-width:380px){
#CartDrawer .lux-row--engrave .lc-head{grid-template-columns:1fr;row-gap:2px}
#CartDrawer .lux-row--engrave .lc-head .lr{justify-self:start}
#CartDrawer .lux-row--engrave .lc-head .added-label{display:none}
#CartDrawer .cd-reward,#CartDrawer .cart-progress-wrapper.sc-progress{padding-left:16px!important;padding-right:16px!important}
#CartDrawer .cd-reward-msg,#CartDrawer .cart-progress-hint.sc-progress-text{font-size:12px!important}
}
#CartDrawer .lux-row .ll{display:block;font-size:14.5px;color:var(--cd-ink)}
#CartDrawer .lux-row .ld{display:block;font-size:12px;color:#9a917f;margin-top:2px}
.cd-engrave-detail,
#CartDrawer .cd-engrave-detail{display:block;width:100%;background:rgba(19,41,75,.03);border:1px solid rgba(19,41,75,.08);border-radius:4px;padding:8px 10px;box-sizing:border-box}
.cd-engrave-detail--multi,
#CartDrawer .cd-engrave-detail--multi{display:flex;flex-direction:column;gap:6px}
.cd-engrave-row,
#CartDrawer .cd-engrave-row{display:grid;grid-template-columns:minmax(48px,auto) 1fr;align-items:center;gap:8px 10px;line-height:1.3}
.cd-engrave-row__label,
#CartDrawer .cd-engrave-row__label{font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:#9a917f;font-weight:500}
.cd-engrave-row__value,
#CartDrawer .cd-engrave-row__value{display:inline-flex;align-items:center;gap:6px;min-width:0;color:#13294b}
.cd-engrave-row__text,
#CartDrawer .cd-engrave-row__text{font-family:var(--ol-serif, "Instrument Serif", Georgia, serif);font-size:13px;color:#13294b;letter-spacing:.02em}
.cd-engrave-detail--single,
#CartDrawer .cd-engrave-detail--single{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;background:transparent;border:none;padding:0}
.cd-engrave-detail__text,
#CartDrawer .cd-engrave-detail__text{font-family:var(--ol-serif, "Instrument Serif", Georgia, serif);font-size:13px;color:#13294b;letter-spacing:.02em}
.cd-engrave-detail--fallback,
#CartDrawer .cd-engrave-detail--fallback{font-size:12px;color:#9a917f;line-height:1.4;background:transparent;border:none;padding:0}
.cd-engrave-detail .sd-preview-inline-symbol,
#CartDrawer .cd-engrave-detail .sd-preview-inline-symbol{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;color:#13294b;flex-shrink:0}
.cd-engrave-detail .sd-preview-inline-symbol svg,
#CartDrawer .cd-engrave-detail .sd-preview-inline-symbol svg{width:14px;height:14px;stroke:currentColor;fill:none}
.cd-engrave-detail .sd-preview-inline-symbol--glyph,
#CartDrawer .cd-engrave-detail .sd-preview-inline-symbol--glyph{font-size:13px;line-height:1}
.cd-engrave-meta,
#CartDrawer .cd-engrave-meta{display:flex;flex-direction:column;gap:3px;margin-top:6px}
.cd-engrave-meta__line,
#CartDrawer .cd-engrave-meta__line{font-size:11px;line-height:1.35;color:#6b7280}
#pdpPersonalisationActive .ec-engrave-detail-wrap,
.engrave-card .ec-engrave-detail-wrap,
.ol-pers-card .ec-engrave-detail-wrap{display:block;width:100%;margin:4px 0 8px}
#pdpPersonalisationActive .ec-engrave-detail-wrap .cd-engrave-detail--multi,
.engrave-card .ec-engrave-detail-wrap .cd-engrave-detail--multi{margin:0}
#CartDrawer .lux-row .lr{display:flex;align-items:center;gap:9px;white-space:nowrap}
#CartDrawer .lux-row .lp{font-size:13px;color:#9a917f}
#CartDrawer .lux-row .added{font-size:13px;color:var(--cd-navy)}
#CartDrawer .lux-row .chev{stroke:#bcb4a2}
#CartDrawer .lux-row.is-unavailable{opacity:.78;cursor:default;pointer-events:none}
#CartDrawer .lux-row.is-unavailable .ll{color:#7a7568}
#CartDrawer .lux-row.is-unavailable .ld{color:#b5aea0}
#CartDrawer .lux-row .lp.is-oos{font-size:12px;color:#9a4f4f;letter-spacing:.02em}
#CartDrawer .sc-box-preview:not(.open){max-height:0!important;overflow:hidden!important;display:block!important;padding:0!important;margin:0!important;border:none!important;background:#13294b!important;border-radius:0!important}
#CartDrawer .sc-box-preview.open{max-height:260px!important;overflow:hidden!important;display:block!important;padding:0!important;margin:0 0 8px!important;border:none!important;background:#13294b!important;border-radius:0!important}
#CartDrawer .sc-box-preview .sc-box-preview-img{height:90px!important;background:linear-gradient(160deg,#1a3a64,#0d1e35)!important;border-radius:0!important}
#CartDrawer .sc-box-preview .sc-box-preview-body{padding:14px 16px 16px!important;background:#13294b!important}
#CartDrawer .sc-box-preview .sc-box-preview-title{color:#f6f4f1!important}
#CartDrawer .sc-box-preview .sc-box-preview-feats{color:rgba(246,244,241,.6)!important}
#CartDrawer .sc-box-preview .sc-box-preview-btn{width:100%!important;background:#f6f4f1!important;color:#13294b!important;border:none!important;border-radius:0!important}
#CartDrawer .sc-box-lid{width:70px!important;height:22px!important;background:#0d1e35!important;border:1px solid rgba(184,149,58,.4)!important;position:absolute!important;top:24px!important;z-index:2!important;display:block!important}
#CartDrawer .sc-box-base{width:80px!important;height:30px!important;background:#16294a!important;border:1px solid rgba(184,149,58,.3)!important;position:absolute!important;top:42px!important;display:block!important}
#CartDrawer .sc-box-wrap{display:block!important;width:100%!important}
#CartDrawer .cd-includes{padding:14px 22px;border-top:1px solid var(--cd-line);font-size:12.5px;color:var(--cd-muted);display:flex;align-items:center;gap:8px}
#CartDrawer .cd-includes svg{stroke:var(--cd-green);flex:none}
#CartDrawer .cd-up,#CartDrawer .sc-pairs-section{border-top:1px solid var(--cd-line);padding:20px 22px 8px}
#CartDrawer .cd-up-head{display:flex;align-items:center;justify-content:space-between}
#CartDrawer .cd-up-title{font-family:"Instrument Serif",Georgia,serif;font-weight:400;font-size:19px;margin:0;color:var(--cd-ink)}
#CartDrawer .cd-up-title::after{content:"";display:block;width:24px;height:2px;background:var(--cd-gold);opacity:.85;margin:8px 0 0}
#CartDrawer .cd-up-nav{display:flex;gap:8px}
#CartDrawer .cd-up-arrow{width:32px;height:32px;border:1px solid var(--cd-line);border-radius:50%;background:none;cursor:pointer;display:grid;place-items:center;color:var(--cd-muted);padding:0}
#CartDrawer .cd-ups,#CartDrawer .sc-pairs-list{display:flex!important;align-items:stretch!important;gap:18px;overflow-x:auto;padding:18px 0 12px}
#CartDrawer .up-card,#CartDrawer .sc-pair-item{flex:0 0 148px;display:flex!important;flex-direction:column!important;align-items:stretch!important;align-self:stretch!important;border:none;padding:0;margin:0;background:transparent;height:auto}
#CartDrawer .up-card-im,#CartDrawer .sc-pair-img{height:140px!important;width:100%!important;border-radius:9px!important;background:#f1ece1!important;margin-bottom:12px;flex-shrink:0}
#CartDrawer .up-card-ev,#CartDrawer .sc-pair-meta{font-size:10px!important;letter-spacing:.1em;text-transform:uppercase;color:#b1a894!important;margin-bottom:5px}
#CartDrawer .up-card-nm,#CartDrawer .sc-pair-name{font-size:13.5px!important;color:var(--cd-ink)!important;line-height:1.3!important;font-weight:400!important;margin:0}
#CartDrawer .nt{font-size:11.5px;color:#9a917f;margin-top:4px;line-height:1.35;min-height:2.7em;flex:1 1 auto}
#CartDrawer .up-card-bt,#CartDrawer .bt{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-top:auto!important;padding-top:12px;flex-shrink:0;width:100%}
#CartDrawer .up-card-pr,#CartDrawer .sc-pair-price{font-size:13.5px!important;color:var(--cd-ink)!important;font-weight:400!important;flex:0 0 auto;white-space:nowrap}
#CartDrawer .up-card-add,#CartDrawer .sc-pair-btn{border:1px solid var(--cd-navy)!important;background:none!important;color:var(--cd-navy)!important;font-weight:500!important;font-size:10px!important;letter-spacing:.08em;text-transform:uppercase;padding:5px 11px!important;border-radius:7px!important;width:auto!important;min-height:0!important;flex:0 0 auto;cursor:pointer!important;pointer-events:auto!important;position:relative;z-index:2}
#CartDrawer .sc-pair-info,#CartDrawer .bt{pointer-events:auto!important;position:relative;z-index:1}
#CartDrawer .up-card.added .up-card-add,#CartDrawer .sc-pair-btn.added{border-color:var(--cd-line)!important;color:var(--cd-green)!important;background:transparent!important}
#CartDrawer .cd-summary,#CartDrawer .cart-drawer-summary{padding:22px!important;border-top:1px solid var(--cd-line)!important;background:#fff}
#CartDrawer .cd-codetoggle{background:none;border:0;padding:0;cursor:pointer;font:inherit;font-size:13.5px;color:var(--cd-navy);text-decoration:underline;text-underline-offset:3px}
#CartDrawer .cd-codebox,#CartDrawer .cart-promo-code.sc-promo{display:none;margin:13px 0 4px}
#CartDrawer .cd-codebox.open,#CartDrawer .cart-promo-code.sc-promo.open{display:block}
#CartDrawer .cart-promo-code-input,#CartDrawer .sc-promo-input{flex:1;height:42px!important;border:1px solid var(--cd-line)!important;border-radius:9px!important;background:#fbfaf6!important}
#CartDrawer .cart-promo-code-apply,#CartDrawer .sc-promo-btn{height:42px!important;border-radius:9px!important;background:var(--cd-navy)!important;color:#fff!important}
#CartDrawer .cd-prot{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:16px 0!important;margin:16px 0 8px!important;border-bottom:1px solid var(--cd-line)}
#CartDrawer .cd-prot .lab{font-size:14px;color:var(--cd-ink)}
#CartDrawer .cd-prot .lab small{display:block;color:var(--cd-muted);font-size:12px;margin-top:1px;font-weight:400}
#CartDrawer .protright{display:flex;align-items:center;gap:11px}
#CartDrawer .protright .amt{font-size:13.5px;color:var(--cd-muted)}
#CartDrawer .switch,#CartDrawer .cd-switch{width:42px;height:24px;border-radius:99px;background:#ddd6c8;border:0;cursor:pointer;position:relative;padding:0;flex:none;transition:background .2s}
#CartDrawer .switch::after,#CartDrawer .cd-switch::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s}
#CartDrawer .switch.on,#CartDrawer .cd-switch.on{background:var(--cd-green)}
#CartDrawer .switch.on::after,#CartDrawer .cd-switch.on::after{transform:translateX(18px)}
#CartDrawer .sumline:not([style*="display: none"]):not([style*="display:none"]),
#CartDrawer .sc-total-row:not([style*="display: none"]):not([style*="display:none"]){display:flex!important;justify-content:space-between!important;align-items:center!important;font-size:14px!important;padding:7px 0!important;border:none!important;background:transparent!important}
#CartDrawer .sc-total-row[hidden]{display:none!important}
#CartDrawer .sumline .k,#CartDrawer .sc-total-row>span:first-child{color:var(--cd-muted)!important;font-weight:400!important}
#CartDrawer .sumline.discount .v,#CartDrawer .sc-total-row.is-discount>span:last-child{color:var(--cd-green)!important;font-weight:500!important}
#CartDrawer .sc-free-del{color:var(--cd-green)!important;font-weight:500!important}
#CartDrawer .removecode{background:none;border:0;cursor:pointer;color:var(--cd-faint);font-size:11px;margin-left:7px;text-decoration:underline;padding:0}
#CartDrawer .cd-total,#CartDrawer .sc-order-total{display:flex!important;justify-content:space-between!important;align-items:baseline!important;padding-top:15px!important;margin-top:7px!important;border-top:1px solid var(--cd-line)!important;background:transparent!important}
#CartDrawer .sc-order-total-lbl{font-weight:500!important;font-size:16px!important;color:var(--cd-ink)!important}
#CartDrawer .sc-order-total-val{font-family:"Instrument Serif",Georgia,serif!important;font-weight:400!important;font-size:33px!important;color:var(--cd-navy)!important;line-height:1!important}
#CartDrawer .cd-trust,#CartDrawer .cart-trust-section{display:flex!important;align-items:center!important;justify-content:center!important;gap:24px!important;flex-wrap:wrap!important;padding:18px 22px 14px!important;border-top:1px solid var(--cd-line)!important;font-size:12.5px!important;color:var(--cd-ink)!important;background:#fff}
#CartDrawer .cd-trust span{display:inline-flex;align-items:center;gap:7px;font-weight:500}
#CartDrawer .cd-trust svg{stroke:var(--cd-navy)}
#CartDrawer .cart-carbon-offset,#CartDrawer .cart-info-accordions,#CartDrawer .sc-divider{display:none!important}
#CartDrawer .cd-checkoutbar,#CartDrawer .cart-footer.sc-footer{position:sticky;bottom:0;z-index:5;background:var(--cd-cream)!important;padding:12px 16px 6px!important;box-shadow:0 -14px 24px -16px rgba(20,30,50,.22)!important;border-top:none!important;flex-shrink:0}
#CartDrawer .cobtn,#CartDrawer .view-cart-btn.sc-checkout{width:100%!important;background:var(--cd-navy)!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:20px!important;font-weight:500!important;font-size:13px!important;letter-spacing:.14em!important;text-transform:uppercase!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:11px!important;text-decoration:none!important}
#CartDrawer .cd-pays,#CartDrawer .sc-footer-pay{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:12px 0 4px!important}
#CartDrawer .pmk,#CartDrawer .sc-pay-pill{font-size:inherit!important;letter-spacing:0!important;font-weight:400!important;color:inherit!important;border:1px solid var(--cd-line)!important;border-radius:4px!important;padding:5px 7px!important;background:#fff!important;width:auto!important;height:auto!important;min-width:34px!important;min-height:24px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
#CartDrawer .sc-pay-pill svg,#CartDrawer .sc-pay-pill .sc-pay-icon{display:block!important;height:14px!important;width:auto!important}
#CartDrawer .cd-continue{text-align:center;margin-top:8px}
#CartDrawer .continue-shopping-btn.sc-continue{background:none!important;border:0!important;font-size:12.5px!important;letter-spacing:.1em!important;text-transform:uppercase!important;color:var(--cd-muted)!important;padding:10px!important;width:auto!important;display:inline-block!important}
#CartDrawer .num{font-variant-numeric:tabular-nums}
#CartDrawer .empty-cart-message{padding:40px 22px;text-align:center;color:var(--cd-muted)}
#CartDrawer .sc-protect,#CartDrawer .sc-addon-free{display:none!important}
#CartDrawer .cart-item-remove:not(.tlink){display:none!important}

/* Cart pair quick shop */
:root{--z-cart-pair-qs-overlay:100012;--z-cart-pair-qs-modal:100013}
html.cd-qs-open,
body.cd-qs-open{
  overflow:hidden!important;
  overflow-x:hidden!important;
  max-width:100%;
  width:100%;
}

/* PDP sticky layout unlocks overflow — re-lock when pair quick shop is open */
html.pdp-sticky-active.cd-qs-open,
html.pdp-sticky-active.js-drawer-open.cd-qs-open,
html.pdp-sticky-active.cd-qs-open body,
html.pdp-sticky-active.js-drawer-open.cd-qs-open body,
html.pdp-sticky-active.cd-qs-open #MainContent,
html.pdp-sticky-active.js-drawer-open.cd-qs-open #MainContent,
html.pdp-sticky-active.cd-qs-open .content-for-layout,
html.pdp-sticky-active.js-drawer-open.cd-qs-open .content-for-layout,
html.pdp-sticky-active.cd-qs-open .page-content,
html.pdp-sticky-active.js-drawer-open.cd-qs-open .page-content,
html.pdp-sticky-active.cd-qs-open .page-content--product,
html.pdp-sticky-active.js-drawer-open.cd-qs-open .page-content--product,
html.pdp-sticky-active.cd-qs-open .shopify-section,
html.pdp-sticky-active.js-drawer-open.cd-qs-open .shopify-section,
html.pdp-sticky-active.cd-qs-open .pdp-page-shell,
html.pdp-sticky-active.js-drawer-open.cd-qs-open .pdp-page-shell,
html.pdp-sticky-active.cd-qs-open .pdp-layout,
html.pdp-sticky-active.js-drawer-open.cd-qs-open .pdp-layout {
  overflow:hidden!important;
  overflow-x:hidden!important;
  max-width:100%!important;
}
.cd-qs-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:var(--z-cart-pair-qs-overlay);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s,visibility .3s}
.cd-qs-overlay.is-active{opacity:1;visibility:visible;pointer-events:auto}
.cd-qs-modal:not(.is-active){pointer-events:none}
.cd-qs-modal.is-active{pointer-events:auto}
.cd-qs-modal{
  position:fixed;
  top:0;
  right:0;
  width:min(420px,100vw);
  max-width:100%;
  height:100vh;
  height:100dvh;
  background:#fff;
  z-index:var(--z-cart-pair-qs-modal);
  transform:translateX(100%);
  transition:transform .4s ease;
  overflow-x:hidden;
  overflow-y:auto;
  box-shadow:-10px 0 30px rgba(0,0,0,.12);
  box-sizing:border-box;
}
.cd-qs-modal.is-active{transform:translateX(0)}
.cd-qs-close{position:absolute;top:14px;right:14px;z-index:2;width:36px;height:36px;border:none;background:rgba(255,255,255,.92);color:#16284a;font-size:24px;line-height:1;cursor:pointer;border-radius:50%}
.cd-qs-image img{width:100%;display:block;object-fit:cover;height:min(360px,42vh)}
.cd-qs-content{padding:0 20px 24px;max-width:100%;box-sizing:border-box;overflow-x:hidden}
.cd-qs-title{font-family:"Instrument Serif",Georgia,serif;font-size:24px;font-weight:400;margin:14px 0 8px;color:#16284a;overflow-wrap:anywhere;word-break:break-word}
.cd-qs-price{font-size:18px;font-weight:600;margin-bottom:18px;color:#16284a}
.cd-qs-option{margin-bottom:18px;max-width:100%}
.cd-qs-option-label{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:rgba(22,40,74,.55);margin:0 0 10px}
.cd-qs-swatches{display:flex;flex-wrap:wrap;gap:8px;max-width:100%}
.cd-qs-swatch{border:1px solid #ece7dc;background:#fff;color:#1c2336;padding:10px 14px;font:inherit;font-size:13px;cursor:pointer;border-radius:9px;max-width:100%;box-sizing:border-box}
.cd-qs-swatch:hover{border-color:#16284a}
.cd-qs-swatch.is-active{background:#16284a;border-color:#16284a;color:#fff}
.cd-qs-option--error .cd-qs-option-label{color:#9a3b2e}
.cd-qs-option--error .cd-qs-swatches{box-shadow:0 0 0 1px rgba(154,59,46,.25);border-radius:9px}
.cd-qs-notice{margin:0 0 12px;padding:10px 12px;font-size:13px;line-height:1.4;color:#9a3b2e;background:#fdf4f2;border:1px solid rgba(154,59,46,.15);border-radius:9px;max-width:100%;box-sizing:border-box}
.cd-qs-notice[hidden]{display:none!important}
.cd-qs-atc{width:100%;max-width:100%;border:none;background:#16284a;color:#fff;padding:16px;font:inherit;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;border-radius:10px;margin-top:8px;box-sizing:border-box}
.cd-qs-atc:disabled{opacity:.6;cursor:wait}
#CartDrawer .cart-edit-btn{display:none!important}

