@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Tajawal:wght@400;500;600;700;800&display=swap');
:root{--tbp-forest:#123f35;--tbp-deep:#092b26;--tbp-gold:#caa45c;--tbp-cream:#f8f6ef;--tbp-paper:#fffdf8;--tbp-ink:#173c33;--tbp-muted:#6e7772;--tbp-line:#e5e8e0}
body.tbp-body{margin:0!important;background:var(--tbp-cream)!important;color:var(--tbp-ink)!important;font-family:Tajawal,Arial,sans-serif!important;font-size:16px;line-height:1.65}
.tbp-body *{box-sizing:border-box}.tbp-body a{text-decoration:none;color:inherit}.tbp-body h1,.tbp-body h2,.tbp-body h3,.tbp-body p{margin:0 0 14px}.tbp-body h1,.tbp-body h2,.tbp-body h3{line-height:1.35}.tbp-site{min-height:100vh;display:flex;flex-direction:column}.tbp-container{width:min(1180px,calc(100% - 44px));margin:0 auto}.tbp-topline{background:var(--tbp-deep);color:#dce9df;padding:5px 0;font-size:12px}.tbp-topline-inner{display:flex;justify-content:space-between;gap:8px}.tbp-top-meta{letter-spacing:1.5px;direction:ltr}.tbp-header{background:#fffdfa;border-bottom:1px solid #e7e6d9;position:relative;z-index:100}.tbp-head-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:88px}.tbp-brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.tbp-brand>img{width:68px;height:68px;object-fit:contain}.tbp-brand-icon{display:grid;place-items:center;width:54px;height:54px;border:2px solid var(--tbp-gold);background:var(--tbp-forest);border-radius:15px;color:var(--tbp-gold);font-size:34px}.tbp-brand-type{display:flex;flex-direction:column}.tbp-brand-type strong{font-family:Amiri,Georgia,serif;font-size:23px;line-height:1.2}.tbp-brand-type small{font-size:10px;color:var(--tbp-muted);max-width:190px}.tbp-nav,.tbp-header-tools{display:flex;align-items:center;gap:17px}.tbp-nav>a{font-size:14px;font-weight:700;white-space:nowrap}.tbp-nav>a:hover,.tbp-nav>a.tbp-active{color:#a17b38}.tbp-header-tools{gap:10px}.tbp-select-wrap select{border:1px solid var(--tbp-line);padding:8px 6px;background:white;border-radius:7px;font:600 12px Tajawal,Arial,sans-serif;color:var(--tbp-ink);max-width:120px}.tbp-lang-switch{border:1px solid var(--tbp-line);border-radius:7px;padding:8px;font-size:12px;font-weight:700}.tbp-icon-link{font-size:34px;line-height:30px;color:var(--tbp-forest)!important}.tbp-account-link{background:var(--tbp-forest);border-radius:8px;color:white!important;padding:9px 12px;font-weight:700;font-size:12px;white-space:nowrap}.tbp-mobile-toggle{display:none;background:transparent;border:0;font-size:26px;color:var(--tbp-forest)}.tbp-main{flex:1}.tbp-hero{background:radial-gradient(circle at 80% 15%,#e6ebd9 0,transparent 36%),linear-gradient(115deg,#fbf9f1 0%,#f1f3ea 100%);overflow:hidden}.tbp-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;min-height:535px;gap:40px}.tbp-hero-copy{max-width:670px;padding:65px 0}.tbp-eyebrow{letter-spacing:2.5px;font-weight:800;color:#ae8e4a;font-size:12px;display:block;margin-bottom:14px}.tbp-hero h1{font-family:Amiri,Georgia,serif;font-size:clamp(37px,4.5vw,62px);color:var(--tbp-deep);line-height:1.3}.tbp-hero-copy>p{font-size:19px;color:#4c615b;max-width:555px;line-height:1.85}.tbp-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:30px}.tbp-button{display:inline-flex;align-items:center;justify-content:center;background:var(--tbp-forest);color:#fff!important;border-radius:9px;padding:13px 23px;font-weight:800;font-size:15px;border:1px solid var(--tbp-forest);transition:transform .15s ease,background .15s ease}.tbp-button:hover{background:#1c574b;transform:translateY(-1px)}.tbp-outline{color:var(--tbp-forest)!important;background:transparent}.tbp-outline:hover{background:#ecf1e8}.tbp-hero-art{display:flex;align-items:center;justify-content:center;min-height:455px;padding:28px}.tbp-hero-art img{max-width:100%;max-height:480px;object-fit:contain;filter:drop-shadow(0 22px 22px #3850493a)}.tbp-book{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:280px;height:410px;background:linear-gradient(120deg,#0c3a2c,#23604b);border-radius:4px 16px 16px 4px;color:#e9d397;border:13px double #d1ac62;box-shadow:17px 18px 0 #e5e0cf,22px 24px 35px #304e4136;transform:rotate(-6deg);font-family:Amiri,serif}.tbp-book:before{content:"";position:absolute;inset:18px;border:1px solid #d1ac62;border-radius:35px}.tbp-book strong{font-size:52px;z-index:1}.tbp-book span,.tbp-book small{z-index:1}.tbp-book-ornament{font-size:54px}.tbp-section{padding-top:64px;padding-bottom:76px}.tbp-section-title{text-align:center;margin:0 auto 38px}.tbp-section-title h2{font:700 37px Amiri,serif;color:var(--tbp-deep)}.tbp-features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tbp-feature{background:white;border:1px solid var(--tbp-line);border-radius:16px;padding:25px 20px;text-align:center;box-shadow:0 7px 25px #0c3a2c0a}.tbp-feature b{font:700 44px Amiri,serif;color:#b68f4e;display:block}.tbp-feature h3{font-size:18px;margin-bottom:0}.tbp-band{background:var(--tbp-deep);color:white}.tbp-band-inside{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:45px 0}.tbp-band h2{font:700 34px Amiri,serif}.tbp-band p{color:#c9d6cd;margin-bottom:0}.tbp-band .tbp-button{background:var(--tbp-gold);border-color:var(--tbp-gold);color:#102e26!important}.tbp-heading{text-align:center;max-width:800px;margin:0 auto 35px}.tbp-heading h1{font:700 clamp(32px,4vw,45px) Amiri,serif;color:var(--tbp-deep)}.tbp-heading p{color:#63766d;font-size:17px}.tbp-alert{background:#fff7df;border:1px solid #e8d39c;border-radius:12px;padding:13px 18px;margin:0 0 30px;color:#78561f}.tbp-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tbp-product{background:white;border:1px solid var(--tbp-line);border-radius:16px;overflow:hidden}.tbp-product img,.tbp-product-placeholder{width:100%;height:245px;object-fit:contain;background:#f0f2e9;display:flex;justify-content:center;align-items:center;font-size:100px;color:var(--tbp-gold)}.tbp-product-text{padding:19px}.tbp-product h3{font-size:21px}.tbp-product-text p{font-size:14px;color:#607268}.tbp-muted,.tbp-hint{font-size:13px;color:var(--tbp-muted)}.tbp-price{font-size:23px;font-weight:800;margin-bottom:12px}.tbp-empty{background:white;border:1px dashed #c9d8cc;border-radius:16px;padding:45px 25px;text-align:center;color:#61776e;max-width:830px;margin:0 auto}.tbp-hint{margin-top:23px}.tbp-readable{max-width:850px;margin:0 auto 35px;font-size:20px;line-height:2}.tbp-text-page{text-align:center}.tbp-about-art{margin-top:40px;background:var(--tbp-forest);border-radius:15px;padding:50px;color:#f5ddaa}.tbp-calligraphy{font:700 clamp(20px,4vw,36px) Amiri,serif}.tbp-narrow{max-width:530px}.tbp-narrow form{background:white;border:1px solid var(--tbp-line);border-radius:14px;padding:25px;box-shadow:0 10px 30px #122e220d}.tbp-narrow label{display:block}.tbp-narrow input[type=text],.tbp-narrow input[type=password]{width:100%;border:1px solid #cdd8d1;border-radius:7px;padding:12px;font-size:16px}.tbp-narrow input[type=submit]{background:var(--tbp-forest);border:0;border-radius:8px;padding:11px 25px;color:white;cursor:pointer}.tbp-tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:25px}.tbp-tabs a{background:white;border:1px solid var(--tbp-line);border-radius:10px;padding:10px 14px;font-weight:700}.tbp-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tbp-panel{padding:22px;border-radius:15px;background:white;border:1px solid var(--tbp-line);margin-bottom:18px}.tbp-panel h2{font-size:22px}.tbp-order{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--tbp-line);padding:12px}.tbp-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:26px}.tbp-admin-card{background:white;border:1px solid var(--tbp-line);border-radius:12px;padding:25px;text-align:center}.tbp-admin-card .dashicons{display:block;font-size:35px;width:auto;height:50px;color:#a88446}.tbp-admin-card h2{font-size:17px}.tbp-footer{background:var(--tbp-deep);color:#e5eee7;margin-top:auto}.tbp-footer-columns{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px;padding:52px 0 45px}.tbp-footer h3{font:700 25px Amiri,serif;color:white}.tbp-footer p{color:#cbd5d0}.tbp-footer-description{letter-spacing:2px;font-size:12px}.tbp-footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:7px;color:#ccdcd1}.tbp-footer-links a:hover{color:#f0cc85}.tbp-copyright{border-top:1px solid #3a584e;display:flex;justify-content:space-between;padding:18px 0;font-size:12px;color:#b8c9c0}.tbp-body .woocommerce a.button,.tbp-body .woocommerce button.button,.tbp-body .woocommerce input.button{border-radius:8px}.tbp-body .woocommerce .woocommerce-info{border-top-color:var(--tbp-gold)}
@media(max-width:1150px){.tbp-head-inner{gap:12px}.tbp-nav{gap:10px}.tbp-nav a{font-size:12px}.tbp-brand-type small{display:none}.tbp-brand-type strong{font-size:18px}.tbp-header-tools{gap:7px}.tbp-select-wrap select{max-width:95px}}
@media(max-width:880px){.tbp-head-inner{min-height:75px;flex-wrap:wrap}.tbp-mobile-toggle{display:block;order:3}.tbp-nav{display:none;flex-basis:100%;order:5;padding:16px 0;border-top:1px solid var(--tbp-line);flex-direction:column;align-items:stretch}.tbp-nav.tbp-open{display:flex}.tbp-header-tools{margin-inline-start:auto}.tbp-brand-icon{width:43px;height:43px}.tbp-hero-grid{grid-template-columns:1fr;gap:0}.tbp-hero-copy{text-align:center;max-width:100%;padding:55px 0 8px}.tbp-hero-copy>p{margin-inline:auto}.tbp-actions{justify-content:center}.tbp-hero-art{min-height:335px;padding:30px}.tbp-book{transform:scale(.82) rotate(-6deg)}.tbp-products,.tbp-admin-grid{grid-template-columns:repeat(2,1fr)}.tbp-footer-columns{grid-template-columns:1fr 1fr}.tbp-footer-columns>div:first-child{grid-column:span 2}}
@media(max-width:570px){.tbp-container{width:min(100% - 24px,1180px)}.tbp-topline{font-size:10px}.tbp-top-meta{display:none}.tbp-header-tools .tbp-icon-link{display:none}.tbp-account-link{font-size:11px;padding:7px}.tbp-brand-type strong{font-size:17px}.tbp-brand-icon{width:37px;height:37px;font-size:26px}.tbp-brand{gap:7px}.tbp-select-wrap select{max-width:84px;font-size:11px}.tbp-lang-switch{padding:5px}.tbp-hero h1{font-size:36px}.tbp-hero-copy>p{font-size:17px}.tbp-hero-art{min-height:300px;padding:14px}.tbp-section{padding-top:45px;padding-bottom:50px}.tbp-features,.tbp-products,.tbp-admin-grid,.tbp-account-grid{grid-template-columns:1fr}.tbp-band-inside{flex-direction:column;text-align:center}.tbp-footer-columns{grid-template-columns:1fr;gap:22px}.tbp-footer-columns>div:first-child{grid-column:span 1}.tbp-copyright{gap:8px;flex-direction:column}}

/* v0.2: storefront administration */
.tbp-com-admin{margin:1.5rem 0;padding:clamp(1rem,3vw,2rem)}
.tbp-commerce-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:100%}
.tbp-commerce-form .tbp-field{display:flex;flex-direction:column;gap:.4rem;font-weight:700;color:#123d35}
.tbp-commerce-form .tbp-field input,.tbp-commerce-form .tbp-field textarea,.tbp-commerce-form .tbp-field select{min-height:45px;background:#fff;border:1px solid #cfd8d2;border-radius:9px;padding:10px 12px;font:inherit;width:100%;box-sizing:border-box;color:#15372f}
.tbp-commerce-form .tbp-field textarea{min-height:90px}
.tbp-commerce-form button{justify-self:start;align-self:end}
.tbp-simple-link{color:#0a5647;text-decoration:underline}
.tbp-table-wrap{overflow-x:auto}
.tbp-data-table{width:100%;border-collapse:collapse;text-align:start;min-width:540px}
.tbp-data-table th,.tbp-data-table td{border-bottom:1px solid #e0e8e2;padding:12px;text-align:start}
@media(max-width:700px){.tbp-commerce-form{grid-template-columns:1fr}}

.tbp-media-field{align-items:flex-start}
.tbp-product-image-preview{min-height:110px;min-width:110px;border:1px dashed #bccdc3;border-radius:10px;display:flex;align-items:center;justify-content:center;padding:10px;color:#6a7e74}
.tbp-product-image-preview img{max-width:180px;max-height:135px;object-fit:contain}
.tbp-reset-image{border:0;background:transparent;text-decoration:underline;cursor:pointer;color:#7a4740;font:inherit}

/* v0.3 single-action, reversible import */
.tbp-import-panel{margin:0 0 1.4rem;padding:clamp(1rem,3vw,2rem);background:#f5f6f0;border:1px solid #d6e0d4}
.tbp-import-panel h2{margin-top:0}
.tbp-import-panel p{line-height:1.9}
.tbp-import-panel .tbp-button{cursor:pointer}
