/* MR CEYLON GIFTING — v5 minimal, single-page buying flow.
 * Theme colors inherited without duplicating presentation/occasion sections. */
section[hidden], [hidden]{display:none!important}
body[data-theme]{--g5-surface:#0e1a21;--g5-panel:#1b2a30;--g5-line:rgba(217,191,149,.39);--g5-ink:#f5efe3;--g5-muted:#cbd0ce;--g5-dark:#101e24}
body[data-theme="A"]{--g5-surface:#f1eadd;--g5-panel:#fcf7ee;--g5-line:rgba(140,111,78,.35);--g5-ink:#28241e;--g5-muted:#706657;--g5-dark:#172027}
body[data-theme="B"]{--g5-surface:#0d1b2b;--g5-panel:#182b3d;--g5-line:rgba(211,190,151,.4);--g5-ink:#f0e9dc;--g5-muted:#c4ced1;--g5-dark:#0f2636}
body[data-theme="C"]{--g5-surface:#11271e;--g5-panel:#1c362b;--g5-line:rgba(211,194,160,.4);--g5-ink:#f0eadc;--g5-muted:#c6cdbf;--g5-dark:#0d2921}
body[data-theme="D"]{--g5-surface:#151719;--g5-panel:#25282a;--g5-line:rgba(223,221,214,.34);--g5-ink:#efede8;--g5-muted:#c8c8c5;--g5-dark:#191b1d}
body[data-theme] .gift-shopfront-hero{
 display:block!important;min-height:0!important;height:auto!important;padding:22px 0 20px!important;
 background:linear-gradient(90deg,rgba(7,15,19,.91),rgba(7,18,20,.78) 56%,rgba(7,18,20,.42)),url('/assets/gift-packaging/branded/hero-branded-concept.webp') center right/cover no-repeat!important;
 color:#f5eee3;border-bottom:1px solid rgba(218,187,132,.25)
}
body[data-theme] .gift-shopfront-hero .wrap{display:block!important}
.gift-shopfront-copy{max-width:650px}
.gift-shopfront-hero .eyebrow{color:#dfc392!important;letter-spacing:.14em;font-size:10px}
.gift-shopfront-hero h1{font:400 clamp(34px,4vw,49px)/1.08 'Playfair Display',Georgia,serif;letter-spacing:-.027em;margin:7px 0 5px;color:#f8f3e8!important}
.gift-shopfront-hero h1 em{color:#e2c295}
.gift-shopfront-hero p{color:#eee6d9!important;font-size:12px;line-height:1.48;margin:0 0 12px}
.gift-shopfront-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.gift-shopfront-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d1b07a;background:#e2c79e;color:#161a1e!important;padding:9px 12px;border-radius:9px;font:700 11px 'DM Sans',sans-serif;min-height:36px}
.gift-shopfront-link{color:#eee2ce!important;font-size:11px;text-decoration:underline;text-underline-offset:4px}
.gift-essentials{padding:24px 0 20px;background:var(--g5-surface);color:var(--g5-ink);border-bottom:1px solid var(--g5-line)}
.gift-essentials-title .eyebrow{color:var(--gold);font-size:10px;letter-spacing:.13em}
.gift-essentials-title h2{font:400 clamp(27px,3vw,35px)/1.12 'Playfair Display',Georgia,serif;color:var(--g5-ink);margin:5px 0 15px}
.gift-feature{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);overflow:hidden;border:1px solid var(--g5-line);border-radius:13px;background:var(--g5-panel)}
.gift-feature-media{min-width:0;background:#0e1e1c;overflow:hidden;position:relative}
.gift-feature-media img{width:100%;height:100%;min-height:215px;max-height:275px;object-fit:cover;object-position:center;display:block}
.gift-feature-side{min-width:0;padding:22px;display:flex;flex-direction:column;justify-content:center}
.gift-feature-side h3{font:400 30px/1.1 'Playfair Display',Georgia,serif;color:var(--g5-ink);margin:0 0 7px}
.gift-feature-side p{font-size:12px;line-height:1.5;color:var(--g5-muted);margin:0 0 13px}
.gift-feature-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.gift-feature-tabs button{border:1px solid var(--g5-line);background:transparent;color:var(--g5-ink);border-radius:8px;min-height:39px;padding:6px 3px;font-size:11px;font-weight:600}
.gift-feature-tabs button.is-selected{border-color:var(--gold);background:var(--gold);color:#182025}
.gift-feature-tabs button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.gift-feature-side .gift-feature-note{font-size:10px;line-height:1.4;margin:11px 0 0;color:var(--g5-muted)}
.gift-occasion-strip{display:flex;align-items:center;gap:14px;margin-top:13px}
.gift-occasion-strip>span{font-size:11px;white-space:nowrap;font-weight:700}
.gift-occasion-scroll{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 0 4px}
.gift-occasion-scroll::-webkit-scrollbar{display:none}
.gift-occasion-scroll button{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border:1px solid var(--g5-line);border-radius:999px;padding:7px 13px;background:var(--g5-panel);color:var(--g5-ink);font-size:11px;min-height:33px}
.gift-occasion-scroll button[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:#181d21}
body[data-theme] #gift-collection.gift-catalog{padding:26px 0 32px!important;background:var(--g5-surface)}
body[data-theme] #gift-collection .catalog-head{display:block;margin-bottom:11px}
body[data-theme] #gift-collection .catalog-head h2{font-size:clamp(29px,3vw,39px);margin:5px 0;color:var(--g5-ink)}
body[data-theme] #gift-collection .catalog-head .lede{margin:4px 0;font-size:12px;line-height:1.4;color:var(--g5-muted)}
body[data-theme] #gift-collection .catalog-preamble{font-size:10px;line-height:1.4;margin:5px 0 0;color:var(--g5-muted);max-width:660px}
body[data-theme] #gift-collection .gift-toolbar{margin:10px 0;gap:7px}
body[data-theme] #gift-collection .gift-filter{font-size:10px;padding:8px 11px}
body[data-theme] #gift-collection .gift-cards{gap:11px}
body[data-theme] #gift-collection .gift-info{padding:13px;gap:7px}
body[data-theme] #gift-collection .gift-card h3{font-size:clamp(17px,2vw,23px)}
body[data-theme] #gift-collection .gift-photo{aspect-ratio:1.25}
body[data-theme] #gift-collection .gift-results{font-size:10px}
body[data-theme] #gift-collection .catalog-note{font-size:10px;line-height:1.5;margin-top:13px;padding:10px 12px}
body[data-theme] #personalize{padding:34px 0;background:var(--g5-surface);color:var(--g5-ink)}
body[data-theme] #personalize .eyebrow{font-size:10px;letter-spacing:.12em}
body[data-theme] #personalize h2{font-size:clamp(30px,3.5vw,42px);margin:7px 0}
body[data-theme] #personalize .lede{color:var(--g5-muted);font-size:12px;line-height:1.5;margin:0 0 18px}
body[data-theme] #personalize .workspace{grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);gap:14px}
body[data-theme] #personalize .form,body[data-theme] #personalize .summary{padding:19px;background:var(--g5-panel);color:var(--g5-ink);border-color:var(--g5-line);box-shadow:none;backdrop-filter:none}
body[data-theme] #personalize .field{margin:0;gap:5px}
body[data-theme] #personalize .field label,body[data-theme] #personalize .field>span{font-size:11px;color:var(--g5-ink)}
body[data-theme] #personalize .field input,body[data-theme] #personalize .field select,body[data-theme] #personalize .field textarea{
 min-height:38px;border-radius:9px;font-size:12px;padding:9px;background:var(--g5-surface);color:var(--g5-ink);border-color:var(--g5-line)
}
body[data-theme] #personalize .field textarea{min-height:70px;resize:vertical}
.gift-brief-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gift-brief-wide{grid-column:1/-1}
body[data-theme] #personalize .chips{margin:4px 0 0;gap:7px}
body[data-theme] #personalize .chip{font-size:11px;padding:8px 13px}
.gift-more-details{margin-top:14px;border-top:1px solid var(--g5-line)}
.gift-more-details summary{list-style:none;padding:12px 0 0;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:11px;font-weight:700;color:var(--g5-ink)}
.gift-more-details summary::-webkit-details-marker{display:none}
.gift-more-details summary span{font-size:20px;color:var(--gold)}
.gift-more-details[open] summary span{transform:rotate(45deg)}
.gift-extra-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:13px}
.gift-extra-fields .field:last-child{grid-column:1/-1}
body[data-theme] #personalize .summary{position:static}
body[data-theme] #personalize .summary h3{font-size:28px;margin:8px 0 12px}
body[data-theme] #personalize .summary dl{margin:10px 0}
body[data-theme] #personalize .summary dl>div{padding:8px 0;font-size:11px;border-color:var(--g5-line)}
body[data-theme] #personalize .summary dt{color:var(--g5-muted)}
body[data-theme] #personalize .summary dd{max-width:68%}
body[data-theme] #personalize .summary .gift-request-cta{margin-top:17px}
body[data-theme] #personalize .summary .gift-request-assurance{margin:9px 0;color:var(--g5-muted);font-size:10px}
body[data-theme] #personalize .summary #clear{min-height:31px;padding:6px;margin-top:7px;color:var(--g5-ink);border-color:var(--g5-line);background:transparent}
body[data-theme] #personalize .status{font-size:10px;margin-top:9px;padding:8px;color:var(--g5-muted);background:transparent;border-color:var(--g5-line)}
body[data-theme] #personalize .gift-summary-picked{background:var(--g5-surface);border-color:var(--g5-line)}
@media(max-width:760px){
 body[data-theme] #personalize .workspace{grid-template-columns:1fr}
}
@media(max-width:700px){
 body[data-theme] .gift-shopfront-hero{padding:15px 0 14px!important;background-position:center,68% center!important}
 .gift-shopfront-hero .eyebrow{font-size:9px}
 .gift-shopfront-hero h1{font-size:34px;margin:6px 0 5px}
 .gift-shopfront-hero p{font-size:11px;margin-bottom:10px}
 .gift-shopfront-actions{gap:10px}
 .gift-shopfront-primary{min-height:32px;font-size:10px;padding:7px 11px}
 .gift-shopfront-link{font-size:10px}
 .gift-essentials{padding:18px 0 14px}
 .gift-essentials-title h2{font-size:27px;margin-bottom:10px}
 .gift-feature{display:block;border-radius:11px}
 .gift-feature-media img{width:100%;height:clamp(165px,49vw,235px);min-height:0;max-height:none;object-fit:cover}
 .gift-feature-side{padding:10px 12px 12px}
 .gift-feature-side h3{font-size:23px;margin:0 0 3px}
 .gift-feature-side>p{font-size:10px;line-height:1.35;margin:0 0 9px}
 .gift-feature-tabs button{min-height:34px;font-size:10px;padding:5px 4px}
 .gift-feature-side .gift-feature-note{font-size:9px;line-height:1.35;margin:7px 0 0}
 .gift-occasion-strip{display:block;margin-top:10px}
 .gift-occasion-strip>span{display:block;font-size:10px;margin-bottom:5px}
 .gift-occasion-scroll{gap:6px}
 .gift-occasion-scroll button{padding:6px 10px;font-size:10px;min-height:30px}
 body[data-theme] #gift-collection.gift-catalog{padding:22px 0 24px!important}
 body[data-theme] #gift-collection .catalog-head h2{font-size:29px}
 body[data-theme] #gift-collection .catalog-head .lede{font-size:11px}
 body[data-theme] #gift-collection .gift-toolbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:3px}
 body[data-theme] #gift-collection .gift-toolbar::-webkit-scrollbar{display:none}
 body[data-theme] #gift-collection .gift-filter{white-space:nowrap;flex:0 0 auto;font-size:10px}
 body[data-theme] #gift-collection .gift-results{display:none}
 body[data-theme] #gift-collection .gift-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body[data-theme] #gift-collection .gift-photo{aspect-ratio:1.09}
 body[data-theme] #gift-collection .gift-info{padding:10px;gap:6px}
 body[data-theme] #gift-collection .gift-info h3{font-size:16px}
 body[data-theme] #gift-collection .gift-spec{font-size:10px;min-height:0}
 body[data-theme] #gift-collection .gift-kicker{font-size:8px;padding:5px 6px}
 body[data-theme] #personalize{padding:24px 0}
 body[data-theme] #personalize .form,body[data-theme] #personalize .summary{padding:14px}
 body[data-theme] #personalize .workspace{gap:10px}
 body[data-theme] #personalize .form .gift-brief-grid{gap:9px}
 body[data-theme] #personalize .field input,body[data-theme] #personalize .field select{font-size:11px}
 body[data-theme] #personalize .field textarea{min-height:64px}
}
@media(max-width:350px){
 .gift-feature-media img{height:157px}
 body[data-theme] #personalize .gift-brief-grid{gap:7px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Remove the unnecessary dark explanatory card inherited from the earlier design. */
body[data-theme] #gift-collection .catalog-note{padding:7px 0;margin-top:10px;background:none!important;box-shadow:none;border:0!important;color:var(--g5-muted)}
body[data-theme] #gift-collection .catalog-note a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
.gift-occasion-scroll .gift-birth-shortcut{display:inline-flex;align-items:center;white-space:nowrap;flex:0 0 auto;padding:6px 10px;min-height:30px;background:transparent;border:1px solid var(--g5-line);border-radius:999px;font:600 10px/1.2 'DM Sans',sans-serif;color:var(--g5-ink);text-decoration:none}
/* Gift order request and confirmation — customer-first checkout. */
body[data-theme] #personalize .gift-order-customer{display:grid;gap:7px;padding-top:15px;margin-top:8px;border-top:1px solid var(--g5-line)}
body[data-theme] #personalize .gift-order-customer>label:not(.gift-order-consent){font-size:11px;font-weight:600;color:var(--g5-ink)}
body[data-theme] #personalize .gift-order-customer>input{display:block;width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid var(--g5-line);border-radius:9px;background:var(--g5-surface);color:var(--g5-ink);font:400 13px 'DM Sans',Arial,sans-serif;min-height:43px;margin-bottom:5px}
body[data-theme] #personalize .gift-order-consent{display:flex;align-items:flex-start;gap:9px;color:var(--g5-muted);font-size:11px;line-height:1.45;margin:7px 0 13px;font-weight:400}
body[data-theme] #personalize .gift-order-consent input{flex:none;width:17px;height:17px;margin-top:1px;accent-color:var(--gold)}
body[data-theme] #personalize #giftPlaceOrder{display:block;width:100%;min-height:51px;font-size:15px;font-weight:700;cursor:pointer}
body[data-theme] #personalize #giftPlaceOrder:disabled{opacity:.65;cursor:wait}
body[data-theme] #personalize .gift-order-placed>:not(#giftOrderConfirmation){display:none!important}
body[data-theme] #personalize .gift-order-confirmation:not([hidden]){display:flex;flex-direction:column;gap:11px}
body[data-theme] #personalize .gift-order-confirmation .gift-order-check{width:42px;height:42px;border-radius:50%;background:var(--gold);color:#121c22;display:grid;place-items:center;font-size:23px;font-weight:700}
body[data-theme] #personalize .gift-order-confirmation h3{font-size:31px;margin:0}
body[data-theme] #personalize .gift-order-confirmation p{font-size:12px;color:var(--g5-muted);margin:0;line-height:1.5}
body[data-theme] #personalize .gift-order-reference{display:flex;justify-content:space-between;gap:10px;padding:11px 0;border-top:1px solid var(--g5-line);border-bottom:1px solid var(--g5-line);color:var(--g5-muted);font-size:12px}
body[data-theme] #personalize .gift-order-reference strong{color:var(--g5-ink);font-variant-numeric:tabular-nums}
body[data-theme] #personalize .gift-order-confirmation .btn{display:flex;justify-content:center;align-items:center;text-align:center;font-size:12px;min-height:48px}
body[data-theme] #personalize .gift-order-contact{text-align:center;font-size:12px;text-decoration:underline;text-underline-offset:4px;color:var(--gold)}
@media(max-width:700px){body[data-theme] #personalize .gift-order-confirmation h3{font-size:27px}}


/* Delivery address is a core checkout field, never hidden under More preferences. */
body[data-theme] #personalize #giftDeliveryDetails{
  display:block;min-width:0;grid-column:1/-1;margin:8px 0 0;padding:15px 0 2px;
  border:0;border-top:1px solid var(--g5-line);color:var(--g5-ink);
}
body[data-theme] #personalize #giftDeliveryDetails legend{font-size:13px;font-weight:700;padding:0 10px 0 0}
body[data-theme] #personalize #giftDeliveryDetails .gift-address-hint{font-size:11px;margin:4px 0 12px;color:var(--g5-muted);line-height:1.4}
body[data-theme] #personalize .gift-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
body[data-theme] #personalize .gift-address-wide{grid-column:1/-1}
body[data-theme] #personalize #giftDeliveryDetails .field input{width:100%;box-sizing:border-box;min-width:0}
body[data-theme] #personalize #giftDeliveryDetails .field[hidden]{display:none!important}
body[data-theme] #personalize .gift-address-privacy{font-size:10px;line-height:1.45;color:var(--g5-muted);margin:12px 0 0}
body[data-theme] #personalize .gift-brief-summary #showDeliveryAddress{overflow-wrap:anywhere}
@media(max-width:370px){
 body[data-theme] #personalize .gift-address-grid{grid-template-columns:1fr}
 body[data-theme] #personalize .gift-address-grid .field{grid-column:1/-1}
}
