/* M3.3.4 visual lock correction: redemption is a card, not a generic apple.
   The text and action stay live in store-m33-final.js. */
.m33-home-crimson .m33-action-card.card-redeem,
.m33-home-direct .m33-action-card.card-redeem{
  background-image:url('/static/formal-assets/mobile/apple-card-unified-v1-mobile.jpg')!important;
  background-position:68% 50%!important;
}

/* C01–C03 locked proportions: the four equal entry cards and the orchard
   banner must not push the featured products far below the first scroll. */
@media(max-width:700px){
  .m33-home-visual .m33-hero{min-height:220px}
  .m33-home-visual .m33-hero-door{bottom:13px;padding:9px 14px}
  .m33-home-visual .m33-wrap{padding-left:0;padding-right:0}
  .m33-home-visual .m33-action-grid{padding:7px;gap:8px}
  .m33-home-visual .m33-section{padding-left:12px;padding-right:12px}
  .m33-home-visual .m33-action-card{min-height:142px;padding:15px 13px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}
  .m33-home-visual .m33-action-card b{font-size:21px}
  .m33-home-visual .m33-product-compact .m33-product-media img{aspect-ratio:3/2}
  .m33-home-visual .m33-product-compact .m33-product-body{padding:7px 9px}
  .m33-home-visual .m33-product-compact h3{font-size:15px}
  .m33-home-visual .m33-product-compact p{margin:3px 0;font-size:11px}
  .m33-home-visual .m33-product-compact .m33-product-buy>button{width:32px;min-width:32px;min-height:32px;font-size:21px}
  .m33-catalog-page .m33-product-media img{aspect-ratio:13/15;object-fit:cover}
}
@media(max-width:360px){.m33-home-visual .m33-action-card b{font-size:19px}}
/* R8: evidence stays a complete photo; no changes to locked page hierarchy. */
.m33-evidence-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.m33-evidence-previews figure{min-width:0;margin:0}
.m33-evidence-previews img{width:100%;height:100px;object-fit:contain;border-radius:10px;background:#fff}
.m33-evidence-previews button{width:100%;min-height:40px;border:1px solid #ddd;border-radius:8px;background:#fff;color:#754738}
.m33-after-sale-submit:disabled{opacity:.6}
.m33-after-sale-amount>div{flex:1;min-width:0}
.m33-after-sale-amount label{flex:0 0 100px;width:100px;min-width:0}
.m33-after-sale-amount input{min-width:0}
/* C13: match the locked 390px layout, not a global text-size enlargement.
   Separate font properties are intentional: "font: 900 24px inherit" is invalid. */
.m33-checkout-page{padding:12px 12px 96px}
.m33-checkout-card{margin-bottom:12px;padding:16px 12px;border-radius:14px;box-shadow:none}
.m33-checkout-address{grid-template-columns:24px minmax(0,1fr) 20px;gap:12px 8px;align-items:start}
.m33-checkout-address>div{display:contents}
.m33-checkout-address>i{grid-column:1;grid-row:1;width:24px;height:24px;font-size:19px;background:transparent}
.m33-checkout-address h2{grid-column:2;grid-row:1;margin:0;font-size:18px;line-height:24px}
.m33-checkout-address b{grid-column:1/3;grid-row:2;font-size:16px;line-height:1.5}
.m33-checkout-address span{grid-column:1/3;grid-row:3;margin:0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.m33-checkout-address>em{grid-column:3;grid-row:1/4;align-self:center;font-size:29px}
.m33-checkout-address-create>div{display:block}
.m33-checkout-address-create h2{font-size:18px}
.m33-checkout-store{margin:18px 4px 8px;font-size:18px}
.m33-checkout-goods{padding:0 12px}
.m33-checkout-goods article{grid-template-columns:110px minmax(0,1fr);gap:14px;padding:12px 0}
.m33-checkout-goods img{width:110px;height:110px;border-radius:10px}
.m33-checkout-goods h2{margin:10px 0 8px;font-size:17px;line-height:1.4;overflow-wrap:anywhere}
.m33-checkout-goods span{font-size:14px}
.m33-checkout-goods b{margin-top:12px;font-size:22px}
.m33-checkout-options{padding-top:0;padding-bottom:0}
.m33-checkout-options>div,.m33-checkout-options>label{grid-template-columns:26px minmax(0,1fr) minmax(70px,max-content) 14px;gap:6px;min-height:48px}
.m33-checkout-options i{width:24px;height:24px;font-size:18px;background:transparent}
.m33-checkout-options b{font-size:16px}
.m33-checkout-options span,.m33-checkout-options select{font-family:inherit;font-size:14px}
.m33-checkout-options em{font-size:24px}
.m33-checkout-tip{margin:12px 0;padding:10px 8px;border-radius:9px;background:#f7f7f7;font-size:13px}
.m33-checkout-bar{gap:8px;padding:10px max(12px,calc((100% - 600px)/2));padding-bottom:calc(10px + env(safe-area-inset-bottom))}
.m33-checkout-bar span{font-size:14px}
.m33-checkout-bar strong{font-size:24px}
.m33-checkout-bar button{min-width:0;flex:0 0 50%;min-height:46px;font-family:inherit;font-weight:700;font-size:18px}
@media(max-width:360px){.m33-checkout-bar strong{font-size:22px}.m33-checkout-bar span{font-size:13px}.m33-checkout-goods article{grid-template-columns:96px minmax(0,1fr);gap:10px}.m33-checkout-goods img{width:96px;height:100px}}
.m33-checkout-options input{min-width:0;width:100%;border:0;background:transparent;color:#514a45;font-family:inherit;font-size:14px;text-align:right;outline-color:#d9232e}
.m33-order-note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.6}
.m33-order-detail-card [data-action="payment-recheck"]{box-sizing:border-box;width:100%;min-height:44px;padding:10px 14px;border:1px solid #d9232e;border-radius:11px;background:#fff;color:#c91923;font-family:inherit;font-size:16px;font-weight:600}
.m33-order-detail-card [data-action="payment-recheck"]:disabled{opacity:.65}
.m33-order-detail-page [data-action="refund-recheck"]{width:100%;min-height:44px;padding:10px 14px;border:1px solid #cc242b;border-radius:11px;font-family:inherit;font-size:16px;font-weight:600;color:#b71b22;background:#fff;}
.m33-order-detail-page [data-action="refund-recheck"]:disabled{opacity:.55;}
.m33-refund-records article{border-bottom:1px solid #eee;padding:10px 0;}
.m33-icon{display:inline-block;width:24px;height:24px;vertical-align:middle;flex-shrink:0;pointer-events:none}
.m33-nav button b{height:26px;display:flex;align-items:center;justify-content:center}
.m33-nav .m33-icon{width:25px;height:25px}
.m33-nav button.active[data-view="home"] .m33-icon{fill:currentColor}
.m33-checkout-options i,.m33-checkout-address>i{display:flex;align-items:center;justify-content:center}
.m33-checkout-tip .m33-icon{width:17px;height:17px}
.m33-catalog-home .m33-icon{width:22px;height:22px}
/* C10 uses real selection controls; pseudo checkmarks must not claim selection. */
.m33-cart-store{display:flex;align-items:center;gap:14px;padding:16px}
.m33-cart-check{display:grid;place-items:center;flex:none;width:26px;height:26px;padding:0;border:1px solid #d3cdca;border-radius:50%;background:#fff;color:#fff;font-family:inherit;font-size:18px;line-height:1}
.m33-cart-check[aria-checked="true"]{border-color:var(--m33-red);background:var(--m33-red)}
.m33-cart-line{grid-template-columns:26px 132px minmax(0,1fr);grid-template-rows:auto auto;gap:8px;padding:14px 12px;min-height:180px}
.m33-cart-line:before{content:none}
.m33-cart-line>.m33-cart-check{grid-column:1;grid-row:1/3;align-self:center}
.m33-cart-line>img,.m33-cart-no-image{grid-column:2;grid-row:1/3;width:132px;height:152px;object-fit:cover;align-self:center}
.m33-cart-no-image{display:grid;place-items:center;background:#f5f2ef;color:#756c65;border-radius:12px;font-size:13px}
.m33-cart-line>.m33-cart-description{grid-column:3;grid-row:1;min-width:0;align-self:start}
.m33-cart-description>b{font-size:17px!important;line-height:1.4}
.m33-cart-description>span{font-size:13px!important;line-height:1.5;margin-top:6px}
.m33-cart-description>strong{font-size:22px!important;color:var(--m33-red)}
.m33-cart-spec{font-family:inherit;font-size:13px;font-weight:500;margin:8px 0}
.m33-cart-line>.m33-cart-qty{grid-column:3;grid-row:2;align-self:end;min-width:0}
.m33-cart-qty>button:not(.m33-cart-remove),.m33-cart-qty>b{width:30px;height:30px}
.m33-cart-checkout button:disabled{background:#d5d1cd;color:#736d67}
.m33-mine-welcome b{font-size:18px;line-height:1.45}
.m33-mine-card-banner{position:relative;isolation:isolate;gap:10px;padding:18px 14px;min-height:110px;background:linear-gradient(90deg,#c9000d 0%,#c9000ded 60%,#c9000d00 85%),url('/static/formal-assets/mobile/c01-card-redeem-v1-mobile.jpg') right 78%/45% auto no-repeat,#c9000d;box-shadow:none}
.m33-mine-card-banner:after{content:none}
.m33-mine-card-mark{display:grid!important;place-items:center;flex:0 0 42px;width:42px;height:42px;border:2px solid #fff;border-radius:50%}
.m33-mine-card-mark .m33-icon{width:29px;height:29px}
.m33-mine-card-banner>div{flex:1;min-width:0}
.m33-mine-card-banner b{font-size:22px;white-space:nowrap}
.m33-mine-card-banner div>span{font-size:12px;white-space:nowrap;margin-top:8px}
.m33-mine-card-banner em{position:absolute;right:12px;bottom:15px;padding:6px 10px;font-size:12px}
.m33-mine-panel-title b{font-size:19px}
.m33-mine-icons i{background:transparent;color:var(--m33-red);border:0;border-radius:0}
.m33-mine-icons .m33-icon{width:30px;height:30px;stroke-width:1.8}
.m33-mine-icons.four i{border:0;background:transparent}
.m33-mine-extras{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden}
.m33-mine-extras i{display:flex;justify-content:center}
.m33-mine-extras .m33-icon{width:28px;height:28px}
.m33-mine-support .m33-icon{width:32px;height:32px}
@media(max-width:360px){.m33-mine-card-banner{gap:8px;padding:15px 12px}.m33-mine-card-mark{flex-basis:34px;width:34px;height:34px}.m33-mine-card-banner b{font-size:20px}.m33-mine-card-banner div>span{font-size:11px}.m33-mine-card-banner em{bottom:9px}.m33-mine-icons button{font-size:12px}}
@media(max-width:360px){.m33-cart-line{grid-template-columns:24px 100px minmax(0,1fr);gap:7px;padding:12px 9px}.m33-cart-line>img,.m33-cart-no-image{width:100px;height:140px}.m33-cart-description>b{font-size:15px!important}.m33-cart-checkout strong{font-size:25px}.m33-cart-checkout b{font-size:17px}}
