.edb-booklets-list { display: grid; gap: 32px; }
.edb-myaccount-booklet { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(13,27,62,.06); overflow: hidden; }
.edb-myaccount-booklet-header { background: var(--color-content-primary, #0d1b3e); color: #fff; padding: 16px 24px; display: flex; align-items: center; gap: 16px; }
.edb-myaccount-booklet-title { font-size: 17px; font-weight: 700; }
.edb-myaccount-booklet-body { padding: 24px; }
.edb-coupon-list { display: grid; gap: 16px; }
.edb-coupon-item { display: flex; align-items: center; gap: 20px; padding: 16px; border: 1px solid rgba(13,27,62,.08); border-radius: 8px; background: #f5f0e8; }
.edb-coupon-qr img { width: 100px; height: 100px; border-radius: 4px; }
.edb-coupon-info h4 { font-size: 15px; margin-bottom: 4px; color: #0d1b3e; }
.edb-coupon-info p { font-size: 13px; color: #666; margin-bottom: 8px; }
.edb-status-badge { display: inline-block; padding: 3px 10px; border-radius: 30px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.edb-status-unused { background: rgba(201,164,74,.15); color: #8a6a00; }
.edb-status-redeemed { background: rgba(39,160,59,.12); color: #1a6d28; }
.edb-status-shown { background: rgba(13,27,62,.08); color: #0d1b3e; }
.edb-redemption-wrap { max-width: 480px; margin: 60px auto; text-align: center; padding: 0 24px; }
.edb-redemption-card { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 4px 24px rgba(13,27,62,.1); }
.edb-redeem-btn { background: #0d1b3e; color: #fff; border: none; padding: 16px 36px; border-radius: 8px; font-size: 17px; font-weight: 700; cursor: pointer; margin-top: 24px; transition: opacity .18s; width: 100%; }
.edb-redeem-btn:hover { opacity: .88; }
.edb-redeem-btn:disabled { opacity: .5; cursor: not-allowed; }
.edb-search-bar { display: flex; gap: 12px; max-width: 520px; margin: 0 auto 40px; }
.edb-search-bar input { flex: 1; padding: 14px 18px; border: 2px solid rgba(13,27,62,.15); border-radius: 8px; font-size: 15px; outline: none; transition: border-color .18s; }
.edb-search-bar input:focus { border-color: #c9a44a; }
.edb-search-bar button { padding: 14px 24px; background: #c9a44a; color: #fff; border: none; border-radius: 8px; font-weight: 700; font-size: 15px; cursor: pointer; transition: opacity .18s; }
.edb-search-bar button:hover { opacity: .88; }
@media (max-width: 600px) { .edb-coupon-item { flex-direction: column; text-align: center; } .edb-search-bar { flex-direction: column; } }

.edb-store-hero { padding: 190px 0 56px; }
@media (max-width: 768px) { .edb-store-hero { padding: 130px 0 40px; } }
.edb-store-hero-vip, .edb-store-hero-basic { background: var(--color-navy, #15265f); color: #fff; }
.edb-store-hero .t-container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.edb-store-logo { background: rgba(255,255,255,.10); border-radius: var(--radius-md, 12px); padding: 14px 28px; display: flex; align-items: center; justify-content: center; min-height: 64px; }
.edb-store-logo img { max-height: 56px; width: auto; display: block; }
.edb-store-logo-text { font-size: 22px; font-weight: 700; color: #fff; }
.edb-store-name { font-size: 32px; line-height: 1.15; color: #fff; margin: 4px 0 0; }
.edb-store-tagline { font-size: 16px; font-style: italic; color: #d4af37; margin: 2px 0 0; }
.edb-store-desc { max-width: 60ch; color: rgba(255,255,255,.78); line-height: 1.7; margin: 0; }
.edb-store-contact { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 6px 0; }
.edb-store-contact a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); text-decoration: none; font-size: 15px; }
.edb-store-contact a:hover { color: var(--color-gold, #c9973e); }
.edb-store-contact svg { width: 18px; height: 18px; color: var(--color-gold, #c9973e); flex-shrink: 0; }
.edb-store-socials { display: flex; gap: 16px; }
.edb-store-socials a { color: #fff; opacity: .85; transition: opacity .15s, color .15s; }
.edb-store-socials a:hover { opacity: 1; color: var(--color-gold, #c9973e); }
.edb-store-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.edb-store-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 30px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; transition: background .15s, color .15s; }
.edb-store-btn:hover { background: #fff; color: var(--color-navy, #15265f); }
.edb-store-btn svg { width: 18px; height: 18px; }
.edb-store-btn-solid { background: var(--color-gold, #c9973e); border-color: var(--color-gold, #c9973e); color: var(--color-navy, #15265f); }
.edb-store-btn-solid:hover { opacity: .9; background: var(--color-gold, #c9973e); color: var(--color-navy, #15265f); }
.edb-store-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.edb-store-gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius-md, 12px); box-shadow: var(--shadow-sm, 0 2px 8px rgba(13,31,78,.08)); }
.edb-store-offer-card { max-width: 520px; margin: 0 auto; text-align: center; background: #fff; border-radius: var(--radius-md, 12px); padding: 32px; box-shadow: var(--shadow-md, 0 4px 24px rgba(13,31,78,.12)); }
.edb-store-offer-badge { display: inline-block; font-size: 32px; font-weight: 800; color: var(--color-gold, #c9973e); background: var(--color-gold-light, rgba(201,151,62,.18)); padding: 12px 28px; border-radius: var(--radius-sm, 8px); }
.edb-store-offer-claim { color: var(--color-text-muted, #64748b); margin: 18px 0 22px; }
.edb-store-coupons { text-align: center; }
.edb-store-coupons h3 { margin: 0 0 18px; }
.edb-coupon-list { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
@media (max-width: 768px) {
    .edb-store-name { font-size: 26px; }
    .edb-store-gallery { grid-template-columns: 1fr 1fr; }
    .edb-store-gallery img { height: 160px; }
}

/* ── v2.0 inventory booklet view (guest + My Account) ─────────────────────── */
.edb-guest-booklet-page { max-width: 1000px; margin: 0 auto 60px; padding: 170px 20px 0; }
.edb-guest-booklet-page h1 { color: var(--color-content-primary, #0d1b3e); margin-bottom: 8px; }
.edb-guest-intro, .edb-guest-pending { color: #555; margin-bottom: 24px; }
@media (max-width: 768px) { .edb-guest-booklet-page { padding-top: 140px; } }
.edb-booklet-number { margin-left: auto; font-size: 13px; font-weight: 700; letter-spacing: .04em; background: rgba(255,255,255,.16); color: #fff; padding: 4px 10px; border-radius: 20px; }
.edb-section-title { margin: 4px 0 12px; font-size: 14px; font-weight: 700; color: #0d1b3e; text-transform: uppercase; letter-spacing: .03em; }
.edb-coupon-code { display: flex; align-items: center; gap: 8px; margin: 6px 0 8px; flex-wrap: wrap; }
.edb-coupon-code-value { font-family: monospace; font-size: 15px; font-weight: 700; letter-spacing: .04em; background: #fff; border: 1px dashed rgba(13,27,62,.3); border-radius: 6px; padding: 4px 10px; color: #0d1b3e; }
.edb-copy-code { border: none; background: rgba(13,27,62,.08); color: #0d1b3e; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 6px; cursor: pointer; transition: background .15s; }
.edb-copy-code:hover { background: rgba(13,27,62,.16); }
.edb-copy-code.edb-copied { background: rgba(39,160,59,.16); color: #1a6d28; }
.edb-eshop-link { display: inline-block; font-weight: 600; color: var(--color-gold, #c9973e); text-decoration: none; font-size: 14px; }
.edb-eshop-link:hover { text-decoration: underline; }
.edb-basic-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.edb-basic-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid rgba(13,27,62,.1); border-radius: 8px; background: #fff; }
.edb-basic-store { font-weight: 600; color: #0d1b3e; text-decoration: none; }
.edb-basic-store:hover { color: var(--color-gold, #c9973e); }
.edb-basic-offer { font-size: 13px; color: #555; }
.edb-booklet-btn { display: inline-block; background: #0d1b3e; color: #fff; padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.edb-booklet-btn:hover { background: var(--color-gold, #c9973e); }
.edb-thankyou-booklet { margin: 24px 0; padding: 18px; border: 1px solid rgba(13,27,62,.12); border-radius: 12px; background: #fafaf7; }
.edb-thankyou-booklet h2 { margin-top: 0; color: #0d1b3e; }

/* ── VIP store: enter EASYDEALSBOOK number -> reveal + redeem this store's coupon ── */
.edb-store-coupon { max-width: 660px; margin: 0 auto; }
.edb-store-coupon-inner { position: relative; text-align: center; background: linear-gradient(180deg, #0d1b3e 0%, #16265a 100%); color: #fff; border-radius: 20px; padding: 40px 30px 34px; box-shadow: 0 18px 40px -18px rgba(13,27,62,.55); overflow: hidden; }
.edb-store-coupon-inner::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #c9973e, #e7c373, #c9973e); }
.edb-store-coupon-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(201,151,62,.16); color: var(--color-gold, #c9973e); margin-bottom: 14px; }
.edb-store-coupon-icon svg { width: 28px; height: 28px; }
.edb-store-coupon-title { margin: 0 0 8px; color: #fff; font-size: 23px; font-weight: 800; letter-spacing: .2px; }
.edb-store-coupon-help { margin: 0 auto 22px; max-width: 440px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.5; }
.edb-store-coupon-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.edb-store-coupon-input { flex: 1 1 240px; max-width: 300px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; font-size: 16px; text-align: center; letter-spacing: .08em; background: rgba(255,255,255,.97); color: #0d1b3e; }
.edb-store-coupon-input::placeholder { color: #9aa3b8; letter-spacing: 0; }
.edb-store-coupon-input:focus { outline: none; border-color: var(--color-gold, #c9973e); box-shadow: 0 0 0 3px rgba(201,151,62,.35); }
.edb-store-coupon-btn { background: linear-gradient(180deg, #d9ad55, #c9973e); color: #0d1b3e; border: none; padding: 13px 24px; border-radius: 10px; font-weight: 800; font-size: 15px; cursor: pointer; transition: filter .15s, transform .05s; }
.edb-store-coupon-btn:hover { filter: brightness(1.06); }
.edb-store-coupon-btn:active { transform: translateY(1px); }
.edb-store-coupon-result { margin-top: 22px; }
.edb-store-coupon-loading { color: rgba(255,255,255,.8); }
.edb-store-coupon-error { color: #ffd2cc; font-weight: 600; }
.edb-store-coupon-card { display: flex; align-items: stretch; background: #fff; color: #0d1b3e; border-radius: 14px; overflow: hidden; text-align: left; box-shadow: 0 10px 26px -14px rgba(0,0,0,.4); }
.edb-store-coupon-qr { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 18px; background: #faf8f2; border-right: 2px dashed rgba(13,27,62,.2); }
.edb-store-coupon-qr img { display: block; width: 150px; height: 150px; border-radius: 6px; }
.edb-store-coupon-body { flex: 1 1 auto; padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; }
.edb-store-coupon-label { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #b8862f; margin-bottom: 8px; }
.edb-store-coupon-card .edb-coupon-code { margin: 0 0 12px; }
.edb-store-coupon-card .edb-coupon-code-value { font-size: 18px; }
.edb-store-coupon-redeem { margin-top: 4px; align-self: flex-start; background: linear-gradient(180deg, #d9ad55, #c9973e); color: #0d1b3e; border: none; padding: 11px 20px; border-radius: 10px; font-weight: 800; cursor: pointer; transition: filter .15s; }
.edb-store-coupon-redeem:hover { filter: brightness(1.06); }
.edb-store-coupon-redeem:disabled { opacity: .6; cursor: default; }
.edb-store-coupon-redeemed { margin-top: 10px; color: #1a6d28; font-weight: 800; }
@media (max-width: 560px) {
    .edb-store-coupon-card { flex-direction: column; }
    .edb-store-coupon-qr { border-right: none; border-bottom: 2px dashed rgba(13,27,62,.2); }
}

/* ── v2.0 booklet collection: how-to + accordion (guest + My Account) ─────── */
.edb-collection { display: block; }
.edb-howto { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.edb-howto li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid rgba(13,27,62,.08); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: #0d1b3e; font-weight: 600; }
.edb-howto-n { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--color-gold, #c9973e); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.edb-collection-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.edb-collection-count { font-weight: 700; color: #0d1b3e; font-size: 15px; }
.edb-accordion-controls { display: flex; gap: 8px; }
.edb-accordion-all { border: 1px solid rgba(13,27,62,.2); background: #fff; color: #0d1b3e; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 8px; cursor: pointer; transition: background .15s, border-color .15s; }
.edb-accordion-all:hover { background: rgba(13,27,62,.06); border-color: rgba(13,27,62,.35); }
.edb-booklets-list.edb-accordion { gap: 14px; }

/* accordion header is now a full-width button */
.edb-acc-toggle { width: 100%; border: none; text-align: left; cursor: pointer; font: inherit; }
.edb-acc-toggle .edb-acc-chevron { margin-left: 12px; transition: transform .2s ease; flex-shrink: 0; }
.edb-acc-item.is-open .edb-acc-chevron { transform: rotate(180deg); }
.edb-acc-item:not(.is-open) .edb-myaccount-booklet-header { border-radius: 12px; }
.edb-acc-toggle:focus-visible { outline: 2px solid var(--color-gold, #c9973e); outline-offset: -2px; }
.edb-acc-panel[hidden] { display: none; }

.edb-basic-item { position: relative; }
.edb-basic-site { font-size: 12px; font-weight: 600; color: var(--color-gold, #c9973e); text-decoration: none; margin-top: 2px; }
.edb-basic-site:hover { text-decoration: underline; }
@media (max-width: 600px) { .edb-howto { grid-template-columns: 1fr; } }

/* ── Booklet collection layout fixes (scoped — beats the store-single
   .edb-coupon-list flex rule via higher specificity, clean cascade) ───────── */
.edb-collection .edb-coupon-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; justify-content: stretch; }
.edb-collection .edb-coupon-item { align-items: center; gap: 16px; }
.edb-collection .edb-coupon-qr { flex: 0 0 100px; }
.edb-collection .edb-coupon-info { flex: 1 1 auto; min-width: 0; }
.edb-collection .edb-coupon-info h4 { word-break: break-word; }
@media (max-width: 600px) {
    .edb-collection .edb-coupon-list { grid-template-columns: 1fr; }
}
