/* Keep shop subsections discoverable on narrow screens without duplicating the page. */
.mobile-drawer-subnav{display:grid;gap:4px;margin:0 14px 8px;padding:6px 0 8px 12px;border-left:1px solid rgba(255,255,255,.16)}
.mobile-drawer-subnav button{min-height:36px;padding:8px 12px;border:0;border-radius:5px;background:transparent;color:inherit;text-align:left;font-size:13px}
.mobile-drawer-subnav button:hover,.mobile-drawer-subnav button.active{background:rgba(255,255,255,.1);color:#fff}
.shop-settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:760px;padding:24px;border:1px solid var(--line,#e5e7e2);border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(24,36,30,.04)}
.shop-settings-form>label{display:grid;gap:8px;color:#59635c;font-size:13px;font-weight:700}
.shop-settings-form .currency-input{display:flex;align-items:center;border:1px solid var(--line,#dfe2dc);border-radius:7px;background:#fbfcfa;overflow:hidden}
.shop-settings-form .currency-input>span{padding:0 10px;color:#7b857d;border-right:1px solid var(--line,#dfe2dc)}
.shop-settings-form input{width:100%;min-height:42px;border:0;background:transparent;padding:0 11px;color:inherit;outline:none}
.shop-settings-form footer{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding-top:6px;border-top:1px solid #edf0eb}
.shop-settings-form footer .shop-admin-message{margin:0;flex:1}
@media (max-width:760px){
  .shop-settings-form{grid-template-columns:1fr;padding:18px}
  .shop-settings-form footer{grid-column:auto;align-items:stretch;flex-direction:column}
  .shop-settings-form footer .button-primary{width:100%}
}

.gift-card-channel-toggles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.gift-card-channel-toggles label{display:flex;min-height:42px;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--line,#dfe5df);border-radius:6px;background:var(--surface,#fff)}
.gift-card-channel-toggles input{width:18px;height:18px;margin:0;accent-color:#315b45}
.gift-card-admin-tabs{display:flex;gap:4px;overflow-x:auto;margin:22px 0 16px;border-bottom:1px solid var(--line,#dfe5df)}
.gift-card-admin-tabs button{flex:0 0 auto;min-height:42px;padding:9px 14px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted,#59635c);font:inherit;cursor:pointer}
.gift-card-admin-tabs button.active{border-bottom-color:#315b45;color:var(--text,#202820);font-weight:650}
.gift-card-orders-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:10px 0 14px}
.gift-card-orders-toolbar h3{margin:0 0 5px}
.gift-card-orders-toolbar p{max-width:680px;margin:0;color:var(--muted,#59635c);line-height:1.5}
.gift-card-order-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.gift-card-order-controls input,.gift-card-order-controls select{min-height:40px;max-width:240px}
.gift-card-order-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gift-card-order-card{min-width:0;padding:14px;border:1px solid var(--line,#dfe5df);border-radius:6px;background:var(--surface,#fff)}
.gift-card-order-card>header{display:flex;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line,#e7ebe6)}
.gift-card-order-card>header>div{display:grid;min-width:0;gap:4px}
.gift-card-order-card>header span,.gift-card-order-card>header small{overflow-wrap:anywhere}
.gift-card-order-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:12px 0}
.gift-card-order-card dl>div{min-width:0}
.gift-card-order-card dt{color:var(--muted,#647067);font-size:12px}
.gift-card-order-card dd{margin:3px 0 0;overflow-wrap:anywhere}
.gift-card-order-card>footer,.gift-card-admin-card>footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;padding-top:10px;border-top:1px solid var(--line,#e7ebe6)}
.gift-card-delivery-state{margin-right:auto;color:var(--muted,#59635c);font-size:13px}
.gift-card-delivery-state.delivery-failed{color:#a5382c;font-weight:600}
.gift-card-upload{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.gift-card-upload input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.gift-card-file-name{overflow-wrap:anywhere;color:var(--muted,#59635c)}
.gift-card-import-preview{display:grid;justify-items:start;gap:10px;margin-top:12px}
.gift-card-import-errors{display:grid;gap:6px;margin-top:14px;padding:12px;border-left:3px solid #bc4b3c;background:#fff8f6;color:#74352e;overflow-wrap:anywhere}
.gift-card-fixed-amount{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:8px 12px;border:1px solid var(--line,#dfe5df);border-radius:6px;background:#f4f6f3}
.gift-card-fixed-amount strong{font-size:17px}
@media (max-width:760px){
  .gift-card-channel-toggles,.gift-card-order-list{grid-template-columns:1fr}
  .gift-card-orders-toolbar{align-items:stretch;flex-direction:column}
  .gift-card-order-controls{display:grid;grid-template-columns:minmax(0,1fr) auto}
  .gift-card-order-controls input,.gift-card-order-controls select{width:100%;max-width:none}
  .gift-card-order-controls input{grid-column:1/-1}
  .gift-card-order-card{padding:12px}
}
