/*
Theme Name: דודיפון
Theme URI: https://dudiphone.co.il
Author: דודיפון
Description: תבנית חנות WooCommerce בעברית (RTL) – שחור וזהב, בהתאמה לעיצוב האתר הקודם של דודיפון.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dudiphone
Tags: rtl-language-support, e-commerce, custom-menu, custom-logo
*/
:root{--gold:#e9cf86;--gold-2:#cab387;--gold-d:#a9873f;--gold-grad:linear-gradient(135deg,#f3e3a6 0%,#e2c578 45%,#c3a463 100%);--ink:#0d0d0f;--ink-2:#1b1b20;--bg:#f6f4ef;--card:#fff;--line:#ebe6da;--muted:#6b665a;--wa:#1a8f4c;--red:#c8261b;--ok:#1f7a3f;--r:20px;--sh:0 1px 2px rgba(20,16,4,.05),0 8px 24px rgba(20,16,4,.07);--sh-2:0 2px 6px rgba(20,16,4,.06),0 18px 40px rgba(20,16,4,.12);--bnav:66px;--wrap:1100px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Rubik","Heebo","Assistant","Arial Hebrew",Arial,sans-serif;background:var(--bg);color:var(--ink);line-height:1.55;padding-bottom:var(--bnav);-webkit-tap-highlight-color:transparent}
img{max-width:100%;height:auto}
a{color:inherit}
.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:14px}
.skip,.vh{position:absolute;inset-inline-start:-9999px}
.skip:focus{inset-inline-start:8px;top:8px;background:#fff;padding:8px 12px;z-index:100;border-radius:8px}
.vh{width:1px;height:1px;overflow:hidden}
:focus-visible{outline:3px solid var(--gold-d);outline-offset:2px}
.ic{width:18px;height:18px;flex:none}
/* contact bar */
.cbar{background:#0b0b0c;color:#e8e3d4;font-size:.82rem;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 14px;padding:6px 8px}
.cbar a,.cbar button{display:inline-flex;align-items:center;gap:6px;color:#e8e3d4;text-decoration:none;font:inherit;font-weight:500;padding:4px 2px;min-height:24px;background:none;border:0;cursor:pointer}
.cbar a:hover,.cbar button:hover,.cbar button[aria-expanded="true"]{color:var(--gold)}
.cbar .ic{width:15px;height:15px;color:var(--gold)}
.cb-hours{background:#141416;color:#e8e3d4;padding:10px 16px;text-align:center;font-size:.9rem}
.cb-hours ul{list-style:none;margin:0;padding:0}
.cb-hours[hidden]{display:none}
/* header */
.top{background:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px max(14px,calc((100vw - var(--wrap))/2));position:sticky;top:0;z-index:50}
.top .logo{height:44px;width:auto;display:block}
.topnav{display:none;gap:6px;align-items:center}
.topnav ul{list-style:none;margin:0;padding:0;display:flex;gap:6px;align-items:center}
.topnav a{color:#fff;text-decoration:none;font-weight:600;padding:9px 14px;border-radius:999px;display:inline-flex;align-items:center;gap:6px}
.topnav a:hover,.topnav .current-menu-item>a,.topnav a[aria-current="page"]{background:var(--gold-grad);color:#1a1405}
.cbadge{background:var(--red);color:#fff;border-radius:999px;font-size:.72rem;min-width:18px;height:18px;padding:0 5px;display:inline-grid;place-items:center;font-weight:700}
.cbadge[data-n="0"]{display:none}
.menu-btn{display:none}
/* category bubbles */
.bubbles{background:#fff;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.bubbles ul{list-style:none;margin:0 auto;padding:12px 14px;display:flex;gap:14px;max-width:var(--wrap)}
.bubbles a{display:flex;flex-direction:column;align-items:center;gap:6px;width:72px;text-decoration:none;text-align:center;font-size:.72rem;font-weight:600;line-height:1.2}
.bubbles .bc{width:62px;height:62px;border-radius:50%;background:#fff;border:2px solid var(--gold-2);display:grid;place-items:center;overflow:hidden;box-shadow:var(--sh)}
.bubbles .bc img{width:100%;height:100%;object-fit:cover}
.bubbles .bc b{font-size:1.4rem;color:var(--gold-d)}
.bubbles a:hover .bc,.bubbles a[aria-current="page"] .bc{box-shadow:0 0 0 3px var(--gold)}
/* buttons */
.btn,.button,button.single_add_to_cart_button,.woocommerce a.button,.woocommerce button.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 24px;border-radius:999px;border:0;font:inherit;font-weight:700;font-size:1.02rem;text-decoration:none;cursor:pointer;transition:transform .1s;background:var(--ink);color:#fff}
.btn:active,.button:active{transform:scale(.97)}
.btn.gold,.woocommerce a.button.alt,.woocommerce button.button.alt,.single_add_to_cart_button,.woocommerce a.button.checkout-button{background:var(--gold-grad)!important;color:#1a1405!important;box-shadow:0 6px 18px rgba(201,164,80,.35)}
.btn.glass{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.2)}
.btn.wa{background:var(--wa);color:#fff}
.btn.call{background:#fff;border:1.5px solid var(--ink);color:var(--ink)}
.btn.small{min-height:46px;font-size:1rem;margin-top:8px}
/* hero */
.hero{margin:0;background:radial-gradient(120% 90% at 85% 0%,#2a2416 0%,#0d0d0f 55%),#0d0d0f;color:#fff;padding:34px 22px 40px;position:relative;overflow:hidden}
.hero-in{max-width:var(--wrap);margin-inline:auto}
.eyebrow{display:inline-block;font-size:.8rem;color:var(--gold);border:1px solid rgba(233,207,134,.4);background:rgba(233,207,134,.08);padding:4px 12px;border-radius:999px;font-weight:600}
.hero h1{font-size:clamp(2rem,8.5vw,3.2rem);line-height:1.12;margin:14px 0 10px;font-weight:800;letter-spacing:-.01em}
.gold-t{background:var(--gold-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero .lead{max-width:520px;color:#d8d3c4;margin:0 0 20px}
.hero-cta{display:flex;flex-wrap:wrap;gap:10px}
/* feature tiles */
.feats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:-22px 14px 0;position:relative;max-width:var(--wrap)}
@media(min-width:1130px){.feats{margin-inline:auto}}
.feat{background:#fff;border-radius:16px;box-shadow:var(--sh);padding:14px 10px;text-align:center;display:flex;flex-direction:column;gap:2px;text-decoration:none;font-size:.78rem;color:var(--muted)}
.feat b{color:var(--ink);font-size:.95rem}
.feat .ic{margin:0 auto 4px;color:var(--gold-d);width:24px;height:24px}
/* tiles / cards */
.tile{display:flex;align-items:center;gap:12px;background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:14px 16px;text-decoration:none;margin-top:14px}
.tile .t{flex:1;display:flex;flex-direction:column;font-size:.85rem;color:var(--muted)}
.tile .t b{color:var(--ink);font-size:1.05rem}
.tile .go{font-size:1.3rem;color:var(--gold-d)}
.tile .tic{width:46px;height:46px;border-radius:50%;background:var(--ink);color:var(--gold);display:grid;place-items:center}
.sec-h{display:flex;align-items:baseline;justify-content:space-between;margin:28px 2px 12px}
.sec-h h2{margin:0;font-size:1.35rem;font-weight:700}
.sec-h .more{color:var(--gold-d);font-weight:600;text-decoration:none}
.talk{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:22px 16px;text-align:center;margin:26px 0}
.talk h2{margin:0 0 12px}
.talk .btns{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.talk-mail{margin:12px 0 0;color:var(--muted)}
/* WooCommerce product grid */
.woocommerce ul.products,ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
ul.products li.product{background:var(--card);border-radius:var(--r);box-shadow:var(--sh);overflow:hidden;position:relative;display:flex;flex-direction:column;margin:0!important;width:auto!important;float:none!important}
ul.products li.product a{text-decoration:none}
ul.products li.product img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff;padding:10px;margin:0}
ul.products li.product .woocommerce-loop-product__title{font-size:.95rem;font-weight:600;padding:4px 12px 0;margin:0;line-height:1.35}
ul.products li.product .price{display:block;padding:4px 12px 10px;font-weight:800;color:var(--ink)}
ul.products li.product .price ins{text-decoration:none}
ul.products li.product .button{margin:auto 12px 12px;min-height:42px;font-size:.92rem}
.onsale{position:absolute;top:10px;inset-inline-end:10px;background:#fff;color:var(--ink);font-size:.74rem;font-weight:700;padding:3px 9px;border-radius:999px;box-shadow:0 1px 4px rgba(0,0,0,.12);z-index:2}
.woocommerce-products-header h1,.page-title{margin:22px 2px 8px}
.woocommerce-result-count{color:var(--muted);margin:0 2px 8px}
.woocommerce-ordering select{border:1.5px solid var(--line);border-radius:999px;padding:8px 14px;font:inherit;background:#fff}
.term-description{color:var(--muted)}
.woocommerce-pagination ul{list-style:none;display:flex;gap:6px;justify-content:center;padding:0;margin:20px 0}
.woocommerce-pagination a,.woocommerce-pagination span{display:grid;place-items:center;min-width:40px;height:40px;border-radius:50%;background:#fff;text-decoration:none;box-shadow:var(--sh)}
.woocommerce-pagination .current{background:var(--ink);color:#fff}
/* single product */
.single-product div.product{display:grid;gap:18px;grid-template-columns:1fr;margin-top:18px}
.single-product .woocommerce-product-gallery{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:10px;margin:0;width:100%!important;float:none!important}
.single-product .summary{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:18px;width:100%!important;float:none!important}
.single-product .product_title{margin:0 0 6px;font-size:1.5rem;line-height:1.25}
.single-product .summary .price{font-size:1.5rem;font-weight:800;color:var(--ink);display:block;margin:6px 0 12px}
.single-product .woocommerce-tabs,.single-product .related{grid-column:1/-1}
.woocommerce div.product form.cart{display:flex;flex-direction:column;gap:12px}
.woocommerce div.product form.cart .variations{width:100%;border:0}
.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{display:block;padding:4px 0;text-align:start}
.woocommerce div.product form.cart .variations select{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:12px;font:inherit;background:#fff}
.woocommerce .quantity input.qty{border:1.5px solid var(--line);border-radius:12px;padding:10px;width:80px;font:inherit}
.woocommerce-tabs ul.tabs{list-style:none;display:flex;gap:8px;padding:0;margin:18px 0 0;flex-wrap:wrap}
.woocommerce-tabs ul.tabs li a{display:block;padding:10px 16px;border-radius:999px;background:#fff;text-decoration:none;font-weight:600;box-shadow:var(--sh)}
.woocommerce-tabs ul.tabs li.active a{background:var(--ink);color:#fff}
.woocommerce-tabs .panel{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:18px;margin-top:10px}
.woocommerce-tabs .panel h2{font-size:1.1rem}
.stock.out-of-stock{color:var(--red);font-weight:700}
.stock.in-stock{color:var(--ok);font-weight:700}
/* cart / checkout / account */
.woocommerce table.shop_table{background:#fff;border:0;border-radius:var(--r);box-shadow:var(--sh);border-collapse:separate;overflow:hidden;width:100%}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:12px;border-top:1px solid var(--line);text-align:start}
.woocommerce-cart table.cart img{width:64px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1.5px solid var(--line);border-radius:12px;padding:12px;font:inherit;width:100%;background:#fff}
.woocommerce form .form-row label{font-weight:600;display:block;margin-bottom:4px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{background:#fff;border-radius:14px;box-shadow:var(--sh);padding:14px 16px;list-style:none;margin:14px 0;border-inline-start:4px solid var(--gold-d)}
.woocommerce-error{border-color:var(--red)}
.woocommerce-message .button{margin-inline-start:10px;min-height:38px}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.woocommerce-MyAccount-navigation a{display:block;padding:9px 16px;border-radius:999px;background:#fff;text-decoration:none;font-weight:600;box-shadow:var(--sh)}
.woocommerce-MyAccount-navigation .is-active a{background:var(--ink);color:#fff}
.woocommerce-breadcrumb{font-size:.85rem;color:var(--muted);margin:14px 2px}
.entry{background:#fff;border-radius:var(--r);box-shadow:var(--sh);padding:22px 18px;margin:20px 0}
.entry h1{margin-top:0}
.page-h{margin:22px 2px 6px}
/* footer */
.foot{background:#0b0b0c;color:#ddd;text-align:center;padding:26px 16px 30px;margin-top:26px}
.foot .flogo{height:46px;width:auto;margin-bottom:10px}
.foot address{font-style:normal;margin-bottom:6px;display:flex;align-items:flex-start;justify-content:center;gap:6px}
.foot address .ic,.foot .fh .ic{color:var(--gold);margin-top:2px}
.foot p{margin:4px 0}
.foot a{color:#fff}
.foot .fh{font-size:1.05rem;margin:18px 0 6px;color:var(--gold)}
.foot .hlist{list-style:none;margin:0;padding:0}
.foot .flinks a{text-decoration:none;opacity:.85}
/* bottom nav (mobile) */
.bnav{position:fixed;inset-inline:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);height:var(--bnav);padding-bottom:env(safe-area-inset-bottom)}
.bnav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-decoration:none;font-size:.72rem;font-weight:600;color:var(--muted);position:relative}
.bnav a .ic{width:22px;height:22px}
.bnav a[aria-current="page"]{color:var(--ink)}
.bnav a[aria-current="page"] .ic{color:var(--gold-d)}
.bnav .cbadge{position:absolute;top:6px;inset-inline-start:calc(50% + 6px)}
/* desktop */
@media(min-width:760px){
  :root{--bnav:0px}
  .bnav{display:none}
  .topnav{display:flex}
  .woocommerce ul.products,ul.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .single-product div.product{grid-template-columns:1fr 1fr;align-items:start}
  .feats{margin-top:-30px}
  .hero{padding:60px 22px 70px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
