﻿/*
Theme Name: Feddah Jewels WooCommerce
Theme URI: https://www.instagram.com/feddah_jewels/
Author: uaeexpand-code
Description: Standalone luxury RTL WooCommerce theme for Feddah Jewels.
Version: 1.1.4
GitHub Theme URI: https://github.com/uaeexpand-code/feddahjewelswoo
Primary Branch: main
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: feddahjewelswoo
Tags: e-commerce, rtl-language-support, woocommerce
*/

:root{--drah-font:'Cairo', system-ui, sans-serif; /* SITE FONT - must match Google Fonts family in functions-core.php */ --drah-espresso:#171717;--drah-burgundy:#171717;--drah-soft:#6f6f6f;--drah-gold:#c8c8c8;--drah-gold-soft:#e6e6e6;--drah-cream:#f4f4f2;--drah-muted:#666666;--drah-shadow:0 24px 70px rgba(0,0,0,.18)}
/* RTL puts the scrollbar on the left. The scroll container is BODY (it has overflow-x:hidden), so hide the bar on both html and body. Real phones use overlay scrollbars anyway. */
html,body{scrollbar-width:none;-ms-overflow-style:none}
html::-webkit-scrollbar,body::-webkit-scrollbar{width:0;height:0;background:transparent}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;direction:rtl;overflow-x:clip;background:var(--drah-cream);color:var(--drah-espresso);font-family:var(--drah-font),system-ui,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}button,input,textarea,select{font:inherit}.drah-container{width:min(100% - 2rem,1280px);margin-inline:auto}
.drah-cart-link:hover{color:var(--drah-gold)}.drah-cart-link{display:inline-flex;align-items:center;gap:7px;color:rgba(247,243,238,.82);font-size:.9rem}.drah-cart-link:before{content:"";width:18px;height:18px;flex:0 0 18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M7%2018a2%202%200%201%200%200%204%202%202%200%200%200%200-4Zm10%200a2%202%200%201%200%200%204%202%202%200%200%200%200-4ZM6.3%206l.7%204.3c.2%201.3%201.3%202.2%202.6%202.2h6.9c1.2%200%202.2-.8%202.5-1.9l1-3.6H6.5L6.2%205c-.2-1.1-1.1-2-2.3-2H2v2h1.9c.2%200%20.4.1.4.3l1.9%2010.4c.2%201.3%201.3%202.3%202.6%202.3H19v-2H8.8c-.3%200-.5-.2-.6-.5L8%2014.5h8.5c2.1%200%203.9-1.4%204.4-3.4L22.1%206H6.3Z%27/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M7%2018a2%202%200%201%200%200%204%202%202%200%200%200%200-4Zm10%200a2%202%200%201%200%200%204%202%202%200%200%200%200-4ZM6.3%206l.7%204.3c.2%201.3%201.3%202.2%202.6%202.2h6.9c1.2%200%202.2-.8%202.5-1.9l1-3.6H6.5L6.2%205c-.2-1.1-1.1-2-2.3-2H2v2h1.9c.2%200%20.4.1.4.3l1.9%2010.4c.2%201.3%201.3%202.3%202.6%202.3H19v-2H8.8c-.3%200-.5-.2-.6-.5L8%2014.5h8.5c2.1%200%203.9-1.4%204.4-3.4L22.1%206H6.3Z%27/%3E%3C/svg%3E") center/contain no-repeat}.drah-whatsapp,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{border:0;border-radius:0;background:linear-gradient(135deg,var(--drah-gold),#171717);color:var(--drah-espresso);display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 22px;font-weight:700;transition:transform .2s ease,box-shadow .2s ease}.drah-whatsapp:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(17,17,17,.22)}
.drah-section{padding:86px 0}.drah-section-dark{background:var(--drah-burgundy);color:var(--drah-cream)}.drah-section-light{background:var(--drah-cream);color:var(--drah-espresso)}.drah-section-head{text-align:center;margin-bottom:52px}.drah-section-head small{color:var(--drah-gold);letter-spacing:.32em;font:700 .74rem var(--drah-font),sans-serif}.drah-section-head h2{margin:12px 0 0;font-size:clamp(2.4rem,5vw,4.8rem);font-weight:300}.drah-products-grid,.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0!important;padding:0!important}.woocommerce ul.products li.product,.drah-product-card{width:auto!important;float:none!important;margin:0!important;background:#fff;border:1px solid rgba(17,17,17,.10);transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;overflow:hidden}.woocommerce ul.products li.product:hover,.drah-product-card:hover{transform:translateY(-5px);box-shadow:var(--drah-shadow);border-color:rgba(17,17,17,.38)}.woocommerce ul.products li.product a img,.drah-product-card img{width:100%;aspect-ratio:4/5;object-fit:cover;margin:0!important}.woocommerce-loop-product__title,.drah-product-card h3{color:var(--drah-espresso);font-family:var(--drah-font),sans-serif;font-size:1.25rem!important;font-weight:700;padding:22px 22px 4px!important}.woocommerce ul.products li.product .price,.drah-price{display:block;color:var(--drah-burgundy)!important;padding:0 22px 16px;font:700 1.45rem var(--drah-font),sans-serif}.woocommerce ul.products li.product .button{margin:0 22px 24px!important;width:calc(100% - 44px)}.woocommerce span.onsale{background:var(--drah-gold);color:var(--drah-espresso);border-radius:0;min-height:auto;min-width:auto;padding:8px 12px;font-weight:800}
.drah-page-shell,.woocommerce-page .site-main{padding:78px 0;min-height:70vh}.woocommerce .woocommerce-breadcrumb{color:var(--drah-muted);margin-bottom:30px}.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:52px;align-items:start}.woocommerce div.product div.images,.woocommerce div.product div.summary{width:auto!important;float:none!important}.woocommerce div.product .product_title{font-size:clamp(2.2rem,4vw,4.4rem);color:var(--drah-espresso);line-height:1.05}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--drah-burgundy);font:700 2rem var(--drah-font),sans-serif}.woocommerce div.product form.cart{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.woocommerce .quantity .qty{min-height:44px;border:1px solid rgba(17,17,17,.18);background:#fff;color:var(--drah-espresso)}.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--drah-gold);background:#fff;color:var(--drah-espresso)}.woocommerce table.shop_table,.woocommerce-checkout #payment,.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border-radius:0;border-color:rgba(17,17,17,.12);background:#fff}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container--default .select2-selection--single{border:1px solid rgba(17,17,17,.18);border-radius:0;min-height:48px;background:#fff;color:var(--drah-espresso)}.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{outline:1px solid var(--drah-gold)}.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td{text-align:right}.drah-product-note{margin:22px 0;padding:14px 16px;border:1px solid rgba(17,17,17,.35);background:rgba(17,17,17,.08);color:var(--drah-muted)}
.woocommerce-cart .drah-page-shell,.woocommerce-checkout .drah-page-shell{padding:72px 0 96px}.woocommerce-cart .drah-page-shell>.drah-container,.woocommerce-checkout .drah-page-shell>.drah-container{width:min(100% - 32px,1180px);max-width:1180px;margin-left:auto!important;margin-right:auto!important}.woocommerce-cart .entry-content,.woocommerce-checkout .entry-content{width:100%;max-width:none;margin:0 auto;overflow:visible}.woocommerce-cart .entry-content>*:not(.alignfull),.woocommerce-checkout .entry-content>*:not(.alignfull){max-width:100%;margin-left:auto!important;margin-right:auto!important}.woocommerce-cart .entry-content>.alignwide,.woocommerce-cart .entry-content>.alignfull,.woocommerce-checkout .entry-content>.alignwide,.woocommerce-checkout .entry-content>.alignfull,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{width:100%!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;left:auto!important;right:auto!important;transform:none!important}.wc-block-components-sidebar-layout{width:100%!important;max-width:100%!important;margin:0 auto!important;overflow:visible!important;direction:rtl!important}.wc-block-components-main,.wc-block-components-sidebar{direction:rtl!important;text-align:right!important}.wc-block-components-sidebar-layout .wc-block-components-main,.wc-block-components-sidebar-layout .wc-block-components-sidebar{padding:0!important}.wc-block-components-sidebar .wc-block-components-panel,.wc-block-components-sidebar .wc-block-components-totals-wrapper,.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block{background:#fff;border-color:rgba(17,17,17,.14)}.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:28px;align-items:start}.woocommerce-checkout form.checkout #customer_details,.woocommerce-checkout form.checkout #order_review_heading{grid-column:1}.woocommerce-checkout form.checkout #order_review{grid-column:2;grid-row:1 / span 3}.woocommerce-checkout form.checkout:before,.woocommerce-checkout form.checkout:after{display:none!important}
.drah-footer{background:#171717;color:rgba(247,243,238,.56);border-top:1px solid rgba(17,17,17,.16);padding:60px 0 28px}.drah-footer-inner{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:26px;text-align:center}.drah-footer-mark{color:var(--drah-gold);font-size:2rem;font-weight:800;line-height:1}.drah-footer-brand .drah-brand-en{margin-top:10px}.drah-footer-dua p{margin:0 0 10px;color:rgba(247,243,238,.56);font-size:.95rem}.drah-footer-dua p:first-child{color:rgba(247,243,238,.72);font-size:1.05rem}.drah-footer-social{display:flex;align-items:center;justify-content:center;gap:18px}.drah-footer-social-link{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(17,17,17,.12);color:var(--drah-gold);transition:all .25s ease}.drah-footer-social-link:hover{background:var(--drah-gold);color:var(--drah-espresso);transform:translateY(-3px) scale(1.05);box-shadow:0 8px 24px rgba(17,17,17,.3)}.drah-gold-rule{height:1px;background:linear-gradient(90deg,transparent,var(--drah-gold),transparent);margin:30px 0 20px}.drah-footer-copy{margin:0;padding-inline-start:82px;text-align:start;font-size:.82rem;color:rgba(247,243,238,.28);direction:ltr}@media(max-width:900px){.drah-nav{display:none}.drah-products-grid,.woocommerce ul.products{grid-template-columns:1fr}.woocommerce div.product{grid-template-columns:1fr;gap:28px}.wc-block-components-sidebar-layout,.woocommerce-checkout form.checkout{grid-template-columns:1fr!important}.wc-block-components-main,.wc-block-components-sidebar,.woocommerce-checkout form.checkout #customer_details,.woocommerce-checkout form.checkout #order_review_heading,.woocommerce-checkout form.checkout #order_review{grid-column:auto!important;grid-row:auto!important}.drah-footer-inner{text-align:center}.drah-footer-copy{padding-inline-start:76px}.drah-wp-shop-quicklinks{right:10px;bottom:10px}.drah-wp-shop-quicklinks a{padding:8px 10px;font-size:12px}}

.drah-header-whatsapp{min-height:38px;padding:9px 16px;font-size:.86rem}.whatsapp-pulse{animation:whatsapp-pulse 3s ease-in-out infinite}@keyframes whatsapp-pulse{0%,100%{box-shadow:0 0 0 0 rgba(17,17,17,.4)}50%{box-shadow:0 0 0 12px rgba(17,17,17,0)}}.drah-floating-whatsapp{position:fixed;left:24px;bottom:24px;z-index:70;width:56px;height:56px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#25d366;color:#fff;transition:transform .3s ease,background-color .2s ease}.drah-floating-whatsapp:hover{background:#25d366;transform:scale(1.1)}.drah-floating-whatsapp svg{width:28px;height:28px;display:block}.drah-whatsapp-right{left:auto!important;right:24px!important}.drah-cart-link span{color:var(--drah-gold);font-weight:800}
@media(max-width:900px){.drah-header-actions{gap:8px}.drah-header-whatsapp{display:none}.drah-floating-whatsapp{left:24px;bottom:24px;width:56px;height:56px}.drah-whatsapp-right{left:auto!important;right:24px!important}}



/* Global mobile overflow prevention.
   NOTE: use 100% (not 100vw) for these containers. On iOS Safari in RTL, 100vw is the
   layout-viewport width and ignores the body's overflow-x clip, so the container ends up
   slightly wider than the content area and RTL content gets pushed/cropped on the right
   edge. Android/Chrome tolerate 100vw, which is why the bug was iOS-only. 100% respects
   the parent content box and fixes the crop on all phones. */
@media (max-width: 640px) {
    html, body { overflow-x: hidden !important; width: 100% !important; max-width: 100% !important; }
    .site-main, .drah-container, .entry-content { max-width: 100% !important; overflow-x: hidden !important; }
    img, video, iframe, table { max-width: 100% !important; }
    .woocommerce div.product { display: block !important; }
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin-bottom: 16px !important; }
    .single-product div.product.product { display: block !important; width: 100% !important; }
    .single-product div.product.product > * { width: 100% !important; max-width: 100% !important; }
    .drah-product-custom-fields { display: block !important; width: 100% !important; }
    .drah-product-custom-grid { display: block !important; }
    .drah-product-custom-field { display: block !important; margin-bottom: 12px !important; width: 100% !important; }
    .drah-product-custom-field input,
    .drah-product-custom-field select,
    .drah-product-custom-field textarea { width: 100% !important; display: block !important; min-height: 46px !important; }
    .single-product div.product form.cart { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; width: 100% !important; }
    .single-product div.product form.cart .quantity { width: 70px !important; flex: 0 0 70px !important; }
    .single-product div.product form.cart .quantity .qty { width: 70px !important; height: 48px !important; }
    .single-product div.product form.cart .button,
    .single-product div.product form.cart .single_add_to_cart_button { flex: 1 !important; min-height: 48px !important; width: auto !important; }
    .drah-product-inquiry { display: block !important; width: 100% !important; min-height: 46px !important; text-align: center !important; line-height: 46px !important; }
}

/* WooCommerce notices */
.woocommerce-notices-wrapper{
    direction:rtl;
    margin:0 0 24px;
}
/* When there are no notices WooCommerce still prints an empty wrapper; its
   bottom margin was reserving a gap (e.g. under the PDP header). Collapse it
   when empty, keep the spacing when a real notice is shown. */
.woocommerce-notices-wrapper:empty{
    margin:0!important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error{
    display:block!important;
    margin:0 0 16px!important;
    padding:0!important;
    border:1px solid rgba(17,17,17,.22)!important;
    border-top:1px solid rgba(17,17,17,.22)!important;
    border-radius:14px!important;
    background:#ffffff!important;
    color:#171717!important;
    box-shadow:0 10px 32px rgba(17,17,17,.07)!important;
    overflow:hidden;
    text-align:right;
    direction:rtl;
}

.woocommerce-message:before,
.woocommerce-info:before,
.woocommerce-error:before{
    display:none!important;
    content:none!important;
}

.woocommerce-info{
    border-color:rgba(17,17,17,.12)!important;
}

/* Errors must clearly READ as errors — distinct red, not the maroon body copy. */
.woocommerce-error{
    border:1.5px solid #e11d48!important;
    background:#fff1f2!important;
    color:#b4122e!important;
    padding:13px 16px!important;
    padding-inline-start:46px!important;
    list-style:none!important;
    position:relative;
    font-weight:700!important;
    line-height:1.65!important;
    box-shadow:0 8px 24px rgba(225,29,72,.10)!important;
}
.woocommerce-error li{
    list-style:none!important;
    margin:0!important;
    color:#b4122e!important;
}
.woocommerce-error li + li{ margin-top:6px!important; }
.woocommerce-error a{ color:#7f0f24!important; text-decoration:underline; }
.woocommerce-error::before{
    display:block!important;
    content:""!important;
    position:absolute;
    inset-inline-start:16px;
    top:14px;
    width:20px;height:20px;
    background:#e11d48;
    -webkit-mask:url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M12%202%201%2021h22L12%202Zm0%206a1%201%200%200%201%201%201v5a1%201%200%200%201-2%200V9a1%201%200%200%201%201-1Zm0%209.5a1.25%201.25%200%201%200%200%202.5%201.25%201.25%200%200%200%200-2.5Z%27/%3E%3C/svg%3E") center/contain no-repeat;
            mask:url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M12%202%201%2021h22L12%202Zm0%206a1%201%200%200%201%201%201v5a1%201%200%200%201-2%200V9a1%201%200%200%201%201-1Zm0%209.5a1.25%201.25%200%201%200%200%202.5%201.25%201.25%200%200%200%200-2.5Z%27/%3E%3C/svg%3E") center/contain no-repeat;
}

.drah-cart-notice{
    display:flex;
    align-items:center;
    gap:14px;
    padding:16px 18px;
}

.drah-cart-notice-icon{
    flex:0 0 40px;
    width:40px;
    height:40px;
    border-radius:50%;
    background:linear-gradient(135deg,rgba(17,17,17,.22),rgba(17,17,17,.08));
    border:1px solid rgba(17,17,17,.28);
    display:flex;
    align-items:center;
    justify-content:center;
    direction:ltr;
}

.drah-cart-notice-icon svg{
    display:block;
}

.drah-cart-notice-copy{
    flex:1 1 auto;
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:3px;
    text-align:right;
}

.drah-cart-notice-label{
    color:#171717;
    font:500 .82rem/1.5 var(--drah-font),sans-serif;
}

.drah-cart-notice-names{
    color:#171717;
    font:700 .96rem/1.55 var(--drah-font),sans-serif;
}

.drah-cart-notice-product{
    font-weight:700;
    color:#171717;
}

.drah-cart-notice-btn,
.woocommerce-message .button,
.woocommerce-message .wc-forward{
    float:none!important;
    flex:0 0 auto;
    margin:0!important;
    min-height:42px!important;
    padding:0 20px!important;
    border:0!important;
    border-radius:999px!important;
    background:#171717!important;
    color:#f7f3ee!important;
    box-shadow:0 8px 22px rgba(17,17,17,.18)!important;
    font:700 .84rem/1 var(--drah-font),sans-serif!important;
    white-space:nowrap;
    transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}

.drah-cart-notice-btn:hover,
.woocommerce-message .button:hover,
.woocommerce-message .wc-forward:hover{
    transform:translateY(-1px)!important;
    background:#171717!important;
    color:#f7f3ee!important;
    box-shadow:0 12px 28px rgba(17,17,17,.24)!important;
}

.drah-cart-notice-text{
    flex:1 1 auto;
    order:2;
    min-width:0;
    color:#171717;
    font:700 .95rem/1.7 var(--drah-font),sans-serif;
    overflow-wrap:anywhere;
}

@media (max-width:640px){
    .drah-cart-notice{
        flex-wrap:wrap;
        align-items:flex-start;
        padding:14px 14px 12px;
        gap:12px;
    }

    .drah-cart-notice-copy{
        flex:1 1 calc(100% - 52px);
    }

    .drah-cart-notice-btn,
    .woocommerce-message .button,
    .woocommerce-message .wc-forward{
        width:100%;
        justify-content:center;
    }

    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error{
        border-radius:12px!important;
    }
}


/* Cart link must match the other header icon buttons (.dr-ico-btn) exactly: same 38x38 box, no border/padding, so all header icons align and size identically. */
.drah-cart-link{
    width:38px;
    height:38px;
    min-height:0;
    padding:0;
    gap:0;
    border:0;
    border-radius:12px;
    background:transparent;
    color:#171717!important;
    transition:background-color .2s ease,color .2s ease;
}
.drah-cart-link:hover{
    background:rgba(17,17,17,.08);
    color:#171717!important;
}
/* Header stays dark at all times per Drah owner preference. */

@media(max-width:980px){
    .drah-header-inner{grid-template-columns:1fr auto 1fr!important;min-height:78px!important}
    .drah-nav{display:none!important}
    .drah-brand{width:calc(var(--drah-logo-mobile-width, 74px) + 12px);min-width:calc(var(--drah-logo-mobile-width, 74px) + 12px);padding:6px 0}
    .drah-brand-logo{width:var(--drah-logo-mobile-width, 74px)!important;height:var(--drah-logo-mobile-height, 58px)!important}
    .drah-header-actions{justify-content:flex-end!important}
    .drah-cart-link{width:38px;height:38px;min-height:0;padding:0}
}
@media(max-width:520px){
    .drah-container.drah-header-inner{width:min(100% - 20px,1280px)}
    .drah-brand{width:calc(var(--drah-logo-mobile-width, 74px) + 12px);min-width:calc(var(--drah-logo-mobile-width, 74px) + 12px)}
    .drah-brand-logo{width:var(--drah-logo-mobile-width, 74px)!important;height:var(--drah-logo-mobile-height, 58px)!important}
    .drah-cart-link{width:38px;height:38px;min-height:0;padding:0}
}




/* Same logo system everywhere */
.drah-footer-brand{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:calc(var(--drah-logo-desktop-width, 92px) + 22px);
    min-width:calc(var(--drah-logo-desktop-width, 92px) + 22px);
    line-height:0;
    margin:0 auto;
}
.drah-footer-logo{
    width:var(--drah-logo-desktop-width, 92px)!important;
    height:var(--drah-logo-desktop-height, 72px)!important;
    object-fit:contain!important;
    object-position:center!important;
    display:block!important;
}
.drah-footer-mark,
.drah-footer-brand .drah-brand-en{
    display:none!important;
}
@media(max-width:640px){
    .drah-footer-brand{width:calc(var(--drah-logo-mobile-width, 74px) + 18px);min-width:calc(var(--drah-logo-mobile-width, 74px) + 18px)}
    .drah-footer-logo{width:var(--drah-logo-mobile-width, 74px)!important;height:var(--drah-logo-mobile-height, 58px)!important}
}


/* Footer alignment correction */
.drah-footer{
    text-align:center!important;
}
.drah-footer .drah-container{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
}
.drah-footer-inner{
    width:100%!important;
    max-width:520px!important;
    margin-inline:auto!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
}
.drah-footer-brand,
.drah-footer-message,
.drah-footer-socials{
    margin-inline:auto!important;
}
.drah-gold-rule{
    width:min(100%,340px)!important;
    margin:30px auto 18px!important;
}
.drah-footer-copy{
    width:100%!important;
    max-width:520px!important;
    margin:0 auto!important;
    padding-inline:76px!important;
    text-align:center!important;
    direction:ltr!important;
    line-height:1.7!important;
}
@media(max-width:640px){
    .drah-footer{padding-bottom:34px!important}
    .drah-footer-copy{
        max-width:360px!important;
        padding-inline:72px!important;
        font-size:.78rem!important;
    }
    .drah-floating-whatsapp{
        left:18px!important;
        bottom:18px!important;
    }
    .drah-whatsapp-right{
        left:auto!important;
        right:18px!important;
    }
}

/* Footer redesign — thank-you message + labelled social circles */
.drah-footer-inner{gap:22px!important}
.drah-footer-message{margin:0}
.drah-footer-title{margin:0;color:#f7f3ee;font-family:var(--drah-font),sans-serif;font-weight:700;font-size:clamp(1.7rem,4.4vw,2.5rem);letter-spacing:.01em;line-height:1.25}
.drah-footer-tagline{margin:12px 0 0;color:rgba(247,243,238,.62);font-family:var(--drah-font),sans-serif;font-weight:400;font-size:clamp(.95rem,2.6vw,1.12rem);line-height:1.7}
.drah-footer-heart{display:flex;align-items:center;justify-content:center;gap:14px;width:min(100%,300px);color:var(--drah-gold)}
.drah-footer-heart-rule{height:1px;flex:1 1 auto}
.drah-footer-heart-rule:first-child{background:linear-gradient(90deg,transparent,rgba(200,200,200,.55))}
.drah-footer-heart-rule:last-child{background:linear-gradient(90deg,rgba(200,200,200,.55),transparent)}
.drah-footer-heart svg{width:18px;height:18px;flex:0 0 auto}
.drah-footer-socials{display:flex;align-items:flex-start;justify-content:center;gap:clamp(34px,8vw,64px);flex-wrap:wrap;margin-inline:auto!important}
.drah-footer-social{display:flex;flex-direction:column;align-items:center;gap:13px;background:none!important;width:auto!important;height:auto!important;border-radius:0!important}
.drah-footer-social-ico{display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;border:1.5px solid rgba(247,243,238,.34);color:#f7f3ee;transition:border-color .25s ease,color .25s ease,transform .25s ease,box-shadow .25s ease}
.drah-footer-social-ico svg{width:26px;height:26px}
.drah-footer-social:hover .drah-footer-social-ico{border-color:var(--drah-gold);color:var(--drah-gold);transform:translateY(-3px);box-shadow:0 10px 26px rgba(0,0,0,.22)}
.drah-footer-social-name{font-family:var(--drah-font),sans-serif;font-weight:600;font-size:.95rem;color:rgba(247,243,238,.74);transition:color .25s ease}
.drah-footer-social:hover .drah-footer-social-name{color:#f7f3ee}
@media(max-width:640px){
    .drah-footer-social-ico{width:52px;height:52px}
    .drah-footer-social-ico svg{width:23px;height:23px}
    .drah-footer-social-name{font-size:.86rem}
}


.drah-search-toggle{
    width:42px;
    height:42px;
    border-radius:999px;
    border:1px solid rgba(17,17,17,.32);
    background:rgba(255,255,255,.045);
    color:rgba(247,243,238,.9);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    padding:0;
    transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}
.drah-search-toggle:hover,
.drah-header-search.is-open .drah-search-toggle{
    background:rgba(17,17,17,.14);
    border-color:rgba(17,17,17,.58);
    color:var(--drah-gold);
    transform:translateY(-1px);
}
/* ============================================================
   Full-screen search overlay (smart live search, all viewports)
   ============================================================ */
.drah-search-overlay{
    position:fixed;
    inset:0;
    z-index:200;
    display:flex;
    flex-direction:column;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:opacity .22s ease, visibility .22s ease;
}
.drah-search-overlay[hidden]{display:none;}
.drah-search-overlay.is-open{opacity:1;visibility:visible;}
.drah-search-overlay__backdrop{
    position:absolute;
    inset:0;
    background:rgba(20,4,10,.62);
    -webkit-backdrop-filter:blur(14px) saturate(115%);
    backdrop-filter:blur(14px) saturate(115%);
}
.drah-search-overlay__panel{
    position:relative;
    z-index:1;
    width:min(680px, calc(100vw - 28px));
    margin-top:clamp(56px, 12vh, 120px);
    display:flex;
    flex-direction:column;
    max-height:calc(100vh - clamp(80px,18vh,180px));
    transform:translateY(-14px);
    transition:transform .26s cubic-bezier(.2,.8,.25,1);
}
.drah-search-overlay.is-open .drah-search-overlay__panel{transform:translateY(0);}
.drah-search-overlay__form{
    display:flex;
    align-items:center;
    gap:10px;
    background:#ffffff;
    border:1px solid rgba(17,17,17,.5);
    border-radius:999px;
    padding:8px 8px 8px 18px;
    box-shadow:0 26px 60px rgba(0,0,0,.4);
    direction:rtl;
}
.drah-search-overlay__form input[type="search"]{
    flex:1 1 auto;
    min-width:0;
    height:50px;
    border:0;
    background:transparent;
    color:#171717;
    font:600 1.05rem/1.5 var(--drah-font),sans-serif;
    outline:none;
    padding:0 6px;
}
.drah-search-overlay__form input[type="search"]::placeholder{color:rgba(17,17,17,.4);}
.drah-search-overlay__form input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;}
.drah-search-overlay__close{
    flex:0 0 auto;
    width:46px;
    height:46px;
    border-radius:999px;
    border:0;
    background:#171717;
    color:#f7f3ee;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:background-color .18s ease, transform .18s ease;
}
.drah-search-overlay__close:hover{background:#171717;transform:rotate(90deg);}
.drah-search-overlay__results{
    margin-top:14px;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    border-radius:18px;
    direction:rtl;
}
.drah-search-overlay__results.is-loading{opacity:.55;}
.drah-search-overlay__empty{
    margin:0;
    padding:26px 18px;
    text-align:center;
    color:rgba(247,243,238,.82);
    font:600 1rem var(--drah-font),sans-serif;
    background:rgba(17,17,17,.5);
    border-radius:16px;
}
.drah-search-result{
    display:flex;
    align-items:center;
    gap:14px;
    padding:12px 14px;
    background:#ffffff;
    border-bottom:1px solid rgba(17,17,17,.1);
    text-decoration:none;
    transition:background-color .15s ease;
}
.drah-search-result:first-child{border-radius:16px 16px 0 0;}
.drah-search-result:last-child{border-bottom:0;border-radius:0 0 16px 16px;}
.drah-search-result:only-child{border-radius:16px;}
.drah-search-result:hover{background:#f7f3ee;}
.drah-search-result__img{
    flex:0 0 56px;
    width:56px;
    height:56px;
    border-radius:12px;
    overflow:hidden;
    background:#f7f3ee;
    border:1px solid rgba(17,17,17,.3);
}
.drah-search-result__img img{width:100%;height:100%;object-fit:cover;display:block;}
.drah-search-result__body{
    flex:1 1 auto;
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:4px;
}
.drah-search-result__name{
    color:#171717;
    font:700 .98rem/1.4 var(--drah-font),sans-serif;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.drah-search-result__price{
    color:#171717;
    font:800 .92rem var(--drah-font),sans-serif;
}
body.drah-search-lock{
    position:fixed;
    left:0;
    right:0;
    width:100%;
    overflow:hidden;
}
@media(max-width:600px){
    .drah-search-overlay__panel{
        width:calc(100vw - 20px);
        margin-top:18px;
        max-height:calc(100vh - 36px);
    }
    .drah-search-overlay__form{padding:7px 14px 7px 7px;}
    .drah-search-overlay__form input[type="search"]{height:46px;font-size:1rem;}
    .drah-search-overlay__close{width:42px;height:42px;}
}
@media(max-width:980px){
    .drah-search-toggle{width:40px;height:40px}
    .drah-header-inner{padding-right:50px!important}
}
@media(max-width:520px){
    .drah-search-toggle{width:38px;height:38px}
    .drah-header-inner{padding-right:46px!important}
}
