/* Shared Moroccan identity. Decorative motifs stay outside readable text areas. */
body.tdc-moroccan-theme {
 --tdc-green:#244b3b;--tdc-green-dark:#18362b;--tdc-burgundy:#752f2c;
 --tdc-gold:#af8545;--tdc-sand:#e9d7b6;--tdc-paper:#fbf7ee;
 --tdc-ink:#243b30;--tdc-muted:#5a655d;--tdc-line:#d7c4a0;
 --wp--preset--color--background:#fbf7ee;--wp--preset--color--foreground:#243b30;
 --wp--preset--color--base:#fbf7ee;--wp--preset--color--contrast:#243b30;
 background:#fbf7ee!important;color:#243b30!important;
 font-family:Arial,Tahoma,sans-serif;line-height:1.8;
}
body.tdc-moroccan-theme :is(h1,h2,h3,h4,.product_title,.wc-block-components-product-name){
 color:var(--tdc-green);line-height:1.45;text-wrap:balance;
}
body.tdc-moroccan-theme :is(h1,h2){font-family:Georgia,"Times New Roman",serif}
body.tdc-moroccan-theme :is([lang=ar],[dir=rtl]) :is(h1,h2,h3,h4){font-family:Tahoma,Arial,sans-serif;letter-spacing:normal}
body.tdc-moroccan-theme.tdc-lang-ar :is(h1,h2,h3,h4){font-family:Tahoma,Arial,sans-serif;letter-spacing:normal}
body.tdc-moroccan-theme a{color:var(--tdc-green);text-underline-offset:5px}
body.tdc-moroccan-theme a:hover{color:var(--tdc-burgundy)}
body.tdc-moroccan-theme :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--tdc-gold);outline-offset:4px}
/* Main masthead: a riad-inspired geometric cornice. */
body.tdc-moroccan-theme :is(.wp-site-blocks>header,header.wp-block-template-part,.site-header){
 position:relative;background:#fffdf8!important;color:var(--tdc-green);
 border-bottom:1px solid var(--tdc-line);padding-bottom:16px;
 box-shadow:0 3px 18px #244b3b0c;
}
body.tdc-moroccan-theme :is(.wp-site-blocks>header,header.wp-block-template-part,.site-header)::after{
 content:"";position:absolute;bottom:0;inset-inline:0;height:10px;
 background:#e9d7b6 url("zellige-frame.svg") repeat-x center/40px 40px;pointer-events:none;
}
body.tdc-moroccan-theme :is(.wp-block-navigation,.main-navigation) a{
 color:var(--tdc-green)!important;font-weight:600;text-decoration:none;
}
body.tdc-moroccan-theme :is(.wp-block-navigation,.main-navigation) a:hover{color:var(--tdc-burgundy)!important}
body.tdc-moroccan-theme .wp-block-navigation__submenu-container{background:#fffdf8!important;border:1px solid var(--tdc-line)!important}
body.tdc-moroccan-theme .wp-block-navigation__responsive-container.is-menu-open{background:var(--tdc-paper)!important;color:var(--tdc-ink)!important}
/* Introduction and section rhythm. */
body.tdc-moroccan-theme .tdc-catalogue-banner{background:transparent!important;padding:24px 0;border-bottom:1px solid var(--tdc-line)}
body.tdc-moroccan-theme .tdc-catalogue-banner-copy h1{color:var(--tdc-burgundy);font-size:clamp(32px,4vw,52px)}
body.tdc-moroccan-theme .tdc-catalogue-banner-copy h2{color:var(--tdc-green);font-size:clamp(23px,2.5vw,34px)}
body.tdc-moroccan-theme .tdc-catalogue-banner-copy p{color:var(--tdc-muted)}
body.tdc-moroccan-theme .tdc-catalogue-banner-photo{padding:7px;border:1px solid var(--tdc-gold);border-bottom:5px solid var(--tdc-gold);background:#fffdf8;box-shadow:0 8px 24px #244b3b12}
body.tdc-moroccan-theme :is(.tdc-families>h2,.tdc-contact>h2,.tdc-contact-team>h2){
 text-align:center;font-size:clamp(26px,3vw,38px);margin:30px 0 28px;
}
body.tdc-moroccan-theme :is(.tdc-families>h2,.tdc-contact>h2,.tdc-contact-team>h2)::after{
 content:"";display:block;width:110px;height:4px;margin:16px auto 0;
 background:linear-gradient(90deg,transparent,var(--tdc-gold) 30%,var(--tdc-burgundy) 50%,var(--tdc-gold) 70%,transparent);
}
/* Buttons share shape, colour and accessible target sizes. Quantity controls keep their own layout. */
body.tdc-moroccan-theme :is(.wp-element-button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.tdc-primary,.tdc-contact .button,.tdc-team-actions .tdc-primary,.tdc-request-navigation .tdc-request-back,.tdc-request-whatsapp,.wc-block-components-button:not(.is-link)){
 background:var(--tdc-green)!important;color:#fffdf7!important;border:1px solid var(--tdc-green)!important;
 border-radius:8px!important;min-height:46px;padding:12px 22px!important;
 font-family:inherit;font-weight:700;line-height:1.5;text-decoration:none!important;
 box-shadow:0 2px 0 #af85454d;transition:background .18s ease,box-shadow .18s ease;
}
body.tdc-moroccan-theme :is(.wp-element-button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.tdc-primary,.tdc-request-back,.tdc-request-whatsapp,.wc-block-components-button:not(.is-link)):hover{
 background:var(--tdc-burgundy)!important;border-color:var(--tdc-burgundy)!important;color:#fff!important;
}
body.tdc-moroccan-theme :is(.tdc-outline,.tdc-request-navigation .tdc-request-home){background:#fffdf8!important;color:var(--tdc-green)!important;border:1px solid var(--tdc-gold)!important;border-radius:8px!important}
body.tdc-moroccan-theme button:disabled,body.tdc-moroccan-theme .button.disabled{opacity:.5;cursor:not-allowed}
/* Product collections and detail pages: calm surfaces inside decorative frames. */
body.tdc-moroccan-theme :is(.woocommerce ul.products li.product,.wc-block-product-template>li,.wc-block-grid__product){
 background:#fffdf8!important;border:1px solid var(--tdc-line)!important;
 border-radius:12px;padding:18px!important;box-sizing:border-box;box-shadow:0 3px 14px #244b3b09;
}
body.tdc-moroccan-theme :is(.woocommerce ul.products li.product,.wc-block-product-template>li,.wc-block-grid__product) :is(h2,h3,.wc-block-components-product-name){color:var(--tdc-green)!important;font-size:1.15rem;line-height:1.6}
body.tdc-moroccan-theme :is(.woocommerce ul.products li.product,.wc-block-product-template>li) img{object-fit:contain}
body.tdc-moroccan-theme :is(.woocommerce .price,.wc-block-components-product-price){color:var(--tdc-burgundy)!important;font-weight:700}
body.tdc-moroccan-theme :is(.woocommerce-product-gallery,.wp-block-woocommerce-product-image-gallery){background:#fffdf8;border:1px solid var(--tdc-line);border-radius:12px;padding:12px;box-sizing:border-box}
body.tdc-moroccan-theme :is(.woocommerce-product-details__short-description,.wc-block-components-product-summary){color:var(--tdc-muted);font-size:17px;line-height:1.9}
body.tdc-moroccan-theme .woocommerce div.product .woocommerce-tabs ul.tabs{padding-inline-start:0;border-bottom:1px solid var(--tdc-line)}
body.tdc-moroccan-theme .woocommerce div.product .woocommerce-tabs ul.tabs li{background:#f0e6d3;border:1px solid var(--tdc-line);border-radius:8px 8px 0 0}
body.tdc-moroccan-theme .woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#fffdf8;border-top:3px solid var(--tdc-gold)}
body.tdc-moroccan-theme :is(.woocommerce-Tabs-panel,.wp-block-woocommerce-product-details){background:#fffdf8;border:1px solid var(--tdc-line);border-radius:10px;padding:clamp(18px,3vw,32px);line-height:1.9}
body.tdc-moroccan-theme :is(.woocommerce-Tabs-panel,.wp-block-woocommerce-product-details) h3{font-size:clamp(21px,2vw,28px);margin-top:28px}
body.tdc-moroccan-theme .woocommerce span.onsale{background:var(--tdc-burgundy);color:#fff;border:1px solid var(--tdc-gold)}
/* Contact, business services and Google invitation share a restrained carved-frame treatment. */
body.tdc-moroccan-theme :is(.tdc-pro-hero,.tdc-pro-process,.tdc-pro-strip,.tdc-google-review,.tdc-contact article,.tdc-team-card,.tdc-pro-offer){
 background:#fffdf8!important;color:var(--tdc-ink)!important;border:1px solid var(--tdc-line)!important;
 border-top:4px solid var(--tdc-gold)!important;border-radius:12px!important;box-shadow:0 5px 22px #244b3b0c;
}
body.tdc-moroccan-theme :is(.tdc-pro-hero,.tdc-pro-process){background:linear-gradient(135deg,#fffdf8,#f4ead5)!important}
body.tdc-moroccan-theme :is(.tdc-pro-offer-copy,.tdc-team-copy){color:var(--tdc-ink)!important}
body.tdc-moroccan-theme :is(.tdc-pro-offer-copy h2,.tdc-team-copy h3,.tdc-contact article h3){color:var(--tdc-burgundy)!important}
body.tdc-moroccan-theme :is(.tdc-team-placeholder,.tdc-pro-photos,.tdc-contact .tdc-location-photo){background:#f0e7d4!important;color:var(--tdc-green)}
body.tdc-moroccan-theme .tdc-google-review{border-inline-start:7px solid var(--tdc-burgundy)!important}
body.tdc-moroccan-theme .tdc-google-review a{background:var(--tdc-green)!important;color:#fffdf7!important;border:1px solid var(--tdc-gold);border-radius:8px}
/* Cart, request form and customer account. */
body.tdc-moroccan-theme .tdc-customer-content>.woocommerce{background:#fffdf8;border:1px solid var(--tdc-line);border-top:4px solid var(--tdc-gold);border-radius:12px;padding:clamp(18px,4vw,38px);margin:20px 0 36px;box-sizing:border-box}
body.tdc-moroccan-theme .tdc-customer-content h2{font-size:clamp(26px,3vw,38px);color:var(--tdc-green)}
body.tdc-moroccan-theme :is(.woocommerce,.tdc-customer-content,.tdc-pro-space,.wp-block-search) :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),select,textarea){
 background:#fffefa;color:var(--tdc-ink);border:1px solid #bca47d!important;border-radius:7px!important;
 font-family:inherit;font-size:16px;min-height:44px;padding:10px 12px;box-sizing:border-box;max-width:100%;
}
body.tdc-moroccan-theme :is(.woocommerce,.tdc-customer-content) label{color:var(--tdc-green);font-weight:600}
body.tdc-moroccan-theme :is(input[type=checkbox],input[type=radio]){accent-color:var(--tdc-green)}
body.tdc-moroccan-theme :is(.woocommerce table.shop_table,.wc-block-cart,.wc-block-components-sidebar){background:#fffdf8;border-color:var(--tdc-line);border-radius:10px}
body.tdc-moroccan-theme .woocommerce table.shop_table th{background:#eee2cb;color:var(--tdc-green)}
body.tdc-moroccan-theme .tdc-floating-cart{background:var(--tdc-green-dark)!important;color:#fffdf7!important;border:1px solid var(--tdc-gold);border-radius:10px;box-shadow:0 5px 24px #18362b33}
body.tdc-moroccan-theme .tdc-counter button{background:var(--tdc-green)!important;border-color:var(--tdc-gold)!important;color:#fff!important;border-radius:6px}
body.tdc-moroccan-theme .tdc-whatsapp-help{background:var(--tdc-green)!important;border:1px solid var(--tdc-gold);border-radius:12px}
body.tdc-moroccan-theme .tdc-floating-social a{border:1px solid #d4bc86;border-radius:10px}
body.tdc-moroccan-theme .tdc-floating-instagram{background:var(--tdc-burgundy)!important}
body.tdc-moroccan-theme .tdc-floating-tiktok{background:var(--tdc-green-dark)!important}
/* Footer: deep green, warm gold and a narrow geometric band. */
body.tdc-moroccan-theme .tdc-site-footer{position:relative;background:var(--tdc-green-dark)!important;color:#f4ebd9!important;border-top:4px solid var(--tdc-gold)!important}
body.tdc-moroccan-theme .tdc-site-footer::before{content:"";display:block;position:absolute;inset-inline:0;top:0;height:14px;background:url("zellige-frame.svg") repeat-x center/48px 48px;opacity:.8;pointer-events:none}
body.tdc-moroccan-theme .tdc-site-footer :is(h2,.tdc-footer-name){color:#ead0a0!important}
body.tdc-moroccan-theme .tdc-site-footer a{color:#fff3d9!important}
body.tdc-moroccan-theme .tdc-site-footer a:hover{color:#e7c384!important}
body.tdc-moroccan-theme .tdc-footer-logo{display:inline-block;background:#fffaf0;padding:12px;border-radius:9px;border:1px solid var(--tdc-gold)}
body.tdc-moroccan-theme .tdc-footer-bottom{border-top:1px solid #b197655c!important;color:#e8ddc7}
body.tdc-moroccan-theme .tdc-languages a{padding:5px 10px;border:1px solid var(--tdc-line);border-radius:5px;background:#fffdf8;color:var(--tdc-green)}
body.tdc-moroccan-theme .tdc-languages a[aria-current=true]{background:var(--tdc-green);color:#fffdf8;border-color:var(--tdc-green)}
@media(max-width:640px){
 body.tdc-moroccan-theme{font-size:16px}
 body.tdc-moroccan-theme .tdc-catalogue-banner{padding:12px 0}
 body.tdc-moroccan-theme :is(.tdc-pro-strip,.tdc-google-review){gap:16px}
 body.tdc-moroccan-theme :is(.woocommerce ul.products li.product,.wc-block-product-template>li){padding:12px!important}
 body.tdc-moroccan-theme .tdc-customer-content>.woocommerce{padding:18px 14px}
 body.tdc-moroccan-theme .tdc-request-navigation a{width:100%}
}
@media(prefers-reduced-motion:reduce){body.tdc-moroccan-theme :is(.wp-element-button,.wp-block-button__link,.tdc-primary){transition:none}}
@media print{body.tdc-moroccan-theme{background:#fff!important;color:#000!important}}
/* The same architectural doorway surrounds all catalogue product cards. */
body.tdc-moroccan-theme :is(.woocommerce ul.products li.product,.wc-block-product-template>li,.wc-block-grid__product){
 background:#f4ead4 url("zellige-frame.svg") repeat!important;background-size:64px 64px!important;
 border:2px solid #a77a32!important;border-radius:8px!important;padding:12px!important;
}
body.tdc-moroccan-theme :is(.woocommerce ul.products li.product,.wc-block-product-template>li,.wc-block-grid__product) :is(.woocommerce-loop-product__title,.wc-block-components-product-name,.price,.wc-block-components-product-price,.tdc-cart-controls){
 background:#fffdf7!important;margin-block:0!important;padding:12px 8px!important;box-sizing:border-box;
}
body.tdc-moroccan-theme .woocommerce-loop-product__link{display:block;position:relative;background:#fffdf7}
body.tdc-moroccan-theme .woocommerce-loop-product__link>img{
 display:block;width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:contain!important;
 padding:18% 12% 6%!important;margin:0!important;box-sizing:border-box;background:#fbf8ef;
}
body.tdc-moroccan-theme .woocommerce-loop-product__link::before{
 content:"";position:absolute;inset-inline:0;top:0;aspect-ratio:1/1;z-index:2;
 background:url("gold-door-frame.png?v=21") center/100% 100% no-repeat;pointer-events:none;
}
body.tdc-moroccan-theme :is(.wc-block-components-product-image,.wc-block-product-image,.wp-block-woocommerce-product-image,.wc-block-grid__product-image){
 position:relative!important;aspect-ratio:1/1;background:#fbf8ef;overflow:hidden;
}
body.tdc-moroccan-theme :is(.wc-block-components-product-image,.wc-block-product-image,.wp-block-woocommerce-product-image,.wc-block-grid__product-image)::after{
 content:"";position:absolute;inset:0;z-index:2;background:url("gold-door-frame.png?v=21") center/100% 100% no-repeat;pointer-events:none;
}
body.tdc-moroccan-theme :is(.wc-block-components-product-image,.wc-block-product-image,.wp-block-woocommerce-product-image,.wc-block-grid__product-image) img{
 width:100%!important;height:100%!important;aspect-ratio:1/1;object-fit:contain!important;
 padding:18% 12% 6%!important;box-sizing:border-box;position:static!important;margin:0!important;
}
/* Product heading, medals and native GET search: usable without JavaScript. */
body.tdc-moroccan-theme .tdc-catalogue-tools{margin:32px auto;max-width:1280px;clear:both}
body.tdc-moroccan-theme .tdc-catalogue-awards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:0 0 38px}
body.tdc-moroccan-theme .tdc-award{display:flex;align-items:center;gap:22px;padding:22px;border:1px solid #c6a362;border-radius:10px;background:linear-gradient(120deg,#fffdf7,#f6efdf);box-shadow:0 4px 18px #af854512}
body.tdc-moroccan-theme .tdc-award p{margin:0;color:#294b36;font-size:17px;font-weight:600;line-height:1.8}
body.tdc-moroccan-theme .tdc-award-medal{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 102px;width:102px;height:102px;border-radius:50%;border:4px double #946b25;background:radial-gradient(circle at 35% 25%,#fff1b0,#dab65e 65%,#bd8e31);box-shadow:inset 0 0 0 4px #fff2bc,0 3px 12px #87652526;color:#5b3d0d;text-align:center;box-sizing:border-box}
body.tdc-moroccan-theme .tdc-award-medal>span{font-size:30px;line-height:1.2}
body.tdc-moroccan-theme .tdc-award-medal small{font-size:11px;font-weight:700;line-height:1.4;padding:0 8px}
body.tdc-moroccan-theme .tdc-tools-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
body.tdc-moroccan-theme .tdc-tools-heading h2{font-size:30px;margin:0}
body.tdc-moroccan-theme .tdc-tools-heading small{color:#626a62}
body.tdc-moroccan-theme .tdc-product-search{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,240px) auto;gap:14px;margin:0 0 16px}
body.tdc-moroccan-theme .tdc-product-search :is(input[type=search],select){width:100%;height:52px;border:1px solid #d0c3a9;border-radius:7px;background:#fffdf8;color:#294b36;font:inherit;padding:10px 14px;box-sizing:border-box}
body.tdc-moroccan-theme .tdc-product-search button{min-height:52px;border:1px solid #294b36;border-radius:7px;background:#294b36;color:#fffdf8;font:inherit;font-weight:700;padding:10px 24px;cursor:pointer}
body.tdc-moroccan-theme .tdc-category-pills{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
body.tdc-moroccan-theme .tdc-category-pills a{display:inline-block;min-height:44px;box-sizing:border-box;padding:8px 16px;border:1px solid #d5c9b2;border-radius:24px;background:#fffdf8;color:#294b36;text-decoration:none;font-size:14px}
body.tdc-moroccan-theme .tdc-category-pills a[aria-current=true]{background:#294b36;color:#fffdf8;border-color:#294b36}
body.tdc-moroccan-theme:has(.tdc-catalogue-tools) :is(.woocommerce-result-count,.woocommerce-ordering,.wp-block-woocommerce-catalog-sorting,.wp-block-woocommerce-product-results-count){display:none!important}
@media(max-width:700px){
 body.tdc-moroccan-theme .tdc-catalogue-awards{grid-template-columns:1fr;gap:14px}
 body.tdc-moroccan-theme .tdc-award{padding:16px;gap:16px}
 body.tdc-moroccan-theme .tdc-award-medal{flex-basis:82px;width:82px;height:82px}
 body.tdc-moroccan-theme .tdc-award p{font-size:15px}
 body.tdc-moroccan-theme .tdc-product-search{grid-template-columns:minmax(0,1fr) auto}
 body.tdc-moroccan-theme .tdc-search-field{grid-column:1/-1}
 body.tdc-moroccan-theme .tdc-catalogue-tools{padding:0 12px;box-sizing:border-box}
}

/* Image-only homepage banner: retain the complete original photograph. */
body.tdc-moroccan-theme .tdc-image-only-banner{display:block!important;width:100vw!important;max-width:none!important;margin:0 calc(50% - 50vw) 32px!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
body.tdc-moroccan-theme .tdc-image-only-banner::before,body.tdc-moroccan-theme .tdc-image-only-banner::after{content:none!important}
body.tdc-moroccan-theme .tdc-image-only-banner .tdc-catalogue-banner-photo{width:100%!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
body.tdc-moroccan-theme .tdc-image-only-banner img{display:block!important;width:100%!important;height:auto!important;max-width:none!important;padding:0!important;border:0!important;border-radius:0!important}
/* The product detail main photo uses the same doorway as the catalogue. */
body.tdc-moroccan-theme .woocommerce-product-gallery{padding:12px!important;border:2px solid #a77a32!important;border-radius:8px!important;background:#f4ead4 url("zellige-frame.svg") repeat!important;background-size:64px 64px!important;box-sizing:border-box}
body.tdc-moroccan-theme .woocommerce-product-gallery__image{position:relative!important;background:#fbf8ef!important}
body.tdc-moroccan-theme .woocommerce-product-gallery__image>a{display:block;aspect-ratio:1/1;background:#fbf8ef}
body.tdc-moroccan-theme .woocommerce-product-gallery__image>a>img{display:block;width:100%!important;height:100%!important;aspect-ratio:1/1;object-fit:contain!important;padding:18% 12% 6%!important;box-sizing:border-box;border:0!important;border-radius:0!important;margin:0!important}
body.tdc-moroccan-theme .woocommerce-product-gallery__image::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:url("gold-door-frame.png?v=21") center/100% 100% no-repeat}
body.tdc-moroccan-theme .woocommerce-product-gallery .flex-control-thumbs{background:#fffdf7;padding:8px!important;box-sizing:border-box}
/* User-supplied gold ornamental frame, preserved as provided. */
body.tdc-moroccan-theme .tdc-catalogue-awards{justify-items:center;gap:clamp(18px,4vw,48px);max-width:1040px;margin-inline:auto}
body.tdc-moroccan-theme .tdc-award.tdc-award-ornate{
 display:flex;flex-direction:column;justify-content:center;align-items:center;
 width:100%;max-width:460px;aspect-ratio:1/1;box-sizing:border-box;
 padding:22% 20%!important;gap:10px!important;margin:0;
 background:#fff url("award-ornament.jpg") center/contain no-repeat!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;text-align:center;
}
body.tdc-moroccan-theme .tdc-award-ornate .tdc-award-medal{
 flex:0 0 auto;width:auto;height:auto;max-width:100%;border:0;border-radius:0;
 background:none;box-shadow:none;color:#a57625;gap:5px;
}
body.tdc-moroccan-theme .tdc-award-ornate .tdc-award-medal>span{font-size:clamp(24px,3vw,36px)}
body.tdc-moroccan-theme .tdc-award-ornate .tdc-award-medal small{font-size:clamp(10px,1.3vw,13px);padding:0;line-height:1.5}
body.tdc-moroccan-theme .tdc-award-ornate p{font-size:clamp(13px,1.65vw,19px);line-height:1.7;text-align:center;color:#294b36;margin:0;overflow-wrap:break-word}
@media(max-width:700px){
 body.tdc-moroccan-theme .tdc-catalogue-awards{grid-template-columns:1fr;gap:18px}
 body.tdc-moroccan-theme .tdc-award.tdc-award-ornate{max-width:380px;padding:19% 20%!important}
 body.tdc-moroccan-theme .tdc-award-ornate p{font-size:clamp(13px,4vw,17px)}
}

body.tdc-moroccan-theme .tdc-award.tdc-award-ornate{position:relative;padding:0!important}
body.tdc-moroccan-theme .tdc-award-ornate .tdc-award-inner{position:absolute;inset:23%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-width:0}

/* Classic-theme fallback for the removed homepage title band. */
body.tdc-moroccan-theme.home .entry-header:has(.entry-title){display:none!important}

/* Golden arch supplied by the cooperative, shared across all product windows. */
body.tdc-moroccan-theme :is(.tdc-families .tdc-family-grid>a.tdc-family-card,.woocommerce ul.products li.product,.wc-block-product-template>li,.wc-block-grid__product,.woocommerce-product-gallery){background:#fffdf7!important;border:1px solid #c6a052!important;box-shadow:0 4px 18px #aa803d15!important}
body.tdc-moroccan-theme .tdc-families .tdc-family-card::before{border-color:#c6a052!important}
body.tdc-moroccan-theme .tdc-family-card :is(.tdc-family-photo,.tdc-family-copy){border-color:#d5b571!important}
body.tdc-moroccan-theme .tdc-family-card .tdc-family-photo{aspect-ratio:716/1000!important;padding:36% 26% 16%!important;background:#fffdf7!important}
body.tdc-moroccan-theme :is(.wc-block-components-product-image,.wc-block-product-image,.wp-block-woocommerce-product-image,.wc-block-grid__product-image){aspect-ratio:716/1000!important;background:#fffdf7!important}
body.tdc-moroccan-theme .woocommerce-loop-product__link::before{aspect-ratio:716/1000!important}
body.tdc-moroccan-theme .woocommerce-loop-product__link>img{aspect-ratio:716/1000!important;padding:36% 26% 16%!important;background:#fffdf7!important}
body.tdc-moroccan-theme :is(.wc-block-components-product-image,.wc-block-product-image,.wp-block-woocommerce-product-image,.wc-block-grid__product-image) img{aspect-ratio:716/1000!important;padding:36% 26% 16%!important}
body.tdc-moroccan-theme .woocommerce-product-gallery__image>a{aspect-ratio:716/1000!important;background:#fffdf7!important}
body.tdc-moroccan-theme .woocommerce-product-gallery__image>a>img{aspect-ratio:716/1000!important;padding:36% 26% 16%!important}

/* Shorter full-width banner. Cover crops the photo without stretching it. */
body.tdc-moroccan-theme .tdc-image-only-banner .tdc-catalogue-banner-photo{height:clamp(220px,30vw,420px)!important;overflow:hidden}
body.tdc-moroccan-theme .tdc-image-only-banner .tdc-catalogue-banner-photo img{height:100%!important;width:100%!important;object-fit:cover!important;object-position:center 62%!important}
body.tdc-moroccan-theme .tdc-award-ornate .tdc-real-award-image{display:block!important;width:72px!important;height:72px!important;max-width:100%!important;object-fit:contain!important;padding:0!important;margin:0 auto 4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.tdc-moroccan-theme .tdc-award-ornate .tdc-award-inner{gap:6px}
body.tdc-moroccan-theme .tdc-award-ornate:has(.tdc-real-award-image) p{font-size:clamp(13px,1.45vw,17px);line-height:1.6}
@media(max-width:700px){
 body.tdc-moroccan-theme .tdc-image-only-banner .tdc-catalogue-banner-photo{height:220px!important}
 body.tdc-moroccan-theme .tdc-award-ornate .tdc-real-award-image{width:52px!important;height:52px!important}
 body.tdc-moroccan-theme .tdc-award-ornate:has(.tdc-real-award-image) p{font-size:13px;line-height:1.5}
}

/* Platform colours and recognisable brand marks for the social shortcuts. */
body.tdc-moroccan-theme .tdc-floating-instagram{background:radial-gradient(circle at 28% 105%,#feda75 0%,#fa7e1e 28%,#d62976 52%,#962fbf 76%,#4f5bd5 100%)!important;border-color:#fff5!important}
body.tdc-moroccan-theme .tdc-floating-tiktok{background:#080808!important;border-color:#fff5!important}
body.tdc-moroccan-theme .tdc-floating-social svg{display:block;flex-shrink:0;overflow:visible}
/* Display the complete banner photograph in a compact strip. */
body.tdc-moroccan-theme .tdc-image-only-banner .tdc-catalogue-banner-photo{height:clamp(220px,27vw,380px)!important;background:linear-gradient(90deg,#e9d7b6,#fffaf1 35%,#fffaf1 65%,#e9d7b6)!important}
body.tdc-moroccan-theme .tdc-image-only-banner .tdc-catalogue-banner-photo img{object-fit:contain!important;object-position:center!important;height:100%!important;width:100%!important;background:transparent!important}
/* A larger product image within the transparent golden opening. */
body.tdc-moroccan-theme .tdc-family-card .tdc-family-photo{padding:30% 24% 8%!important}
body.tdc-moroccan-theme .woocommerce-loop-product__link>img,
body.tdc-moroccan-theme :is(.wc-block-components-product-image,.wc-block-product-image,.wp-block-woocommerce-product-image,.wc-block-grid__product-image) img,
body.tdc-moroccan-theme .woocommerce-product-gallery__image>a>img{padding:30% 24% 8%!important}
/* Consistent sans-serif text, including paragraphs inside translated product content. */
body.tdc-moroccan-theme{font-family:"Segoe UI",Tahoma,Arial,sans-serif!important;font-size:17px;line-height:1.85}
body.tdc-moroccan-theme :is(p,li,label,input,select,textarea,button,.woocommerce-product-details__short-description,.woocommerce-Tabs-panel){font-family:inherit!important}
body.tdc-moroccan-theme.tdc-lang-ar,body.tdc-moroccan-theme [lang=ar]{font-family:Tahoma,"Segoe UI",Arial,sans-serif!important}
body.tdc-moroccan-theme :is(h1,h2,h3,h4,h5,h6,.product_title,.entry-title,.woocommerce-loop-product__title,.wc-block-components-product-name,.wp-block-post-title,.tdc-footer-name){font-family:"Segoe UI",Tahoma,Arial,sans-serif!important;font-weight:700!important;line-height:1.5;letter-spacing:normal}
body.tdc-moroccan-theme .woocommerce-Tabs-panel :is(h2,h3){margin-block:1.5em .55em!important}
body.tdc-moroccan-theme .woocommerce-Tabs-panel p{font-size:17px!important;line-height:1.95!important;margin-block:0 1.1em}
@media(max-width:700px){body.tdc-moroccan-theme .tdc-image-only-banner .tdc-catalogue-banner-photo{height:220px!important}body.tdc-moroccan-theme .woocommerce-Tabs-panel p{font-size:16px!important}}

/* Restore the original full-width photograph at its natural height. */
body.tdc-moroccan-theme .tdc-image-only-banner .tdc-catalogue-banner-photo{height:auto!important;overflow:visible!important;background:none!important}
body.tdc-moroccan-theme .tdc-image-only-banner .tdc-catalogue-banner-photo img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain!important;object-position:center!important}

.tdc-whatsapp-handoff{margin:24px 0;padding:24px;border:2px solid #b69351;border-radius:12px;background:#fffdf7}.tdc-whatsapp-handoff h3{margin:10px 0!important}.tdc-whatsapp-test-note{font-size:14px!important;color:#59635d}.tdc-whatsapp-recipient{white-space:nowrap}
