
:root{--navy:#101d2d;--navy2:#172b3d;--orange:#ff943e;--ink:#172333;--muted:#6d7988;--surface:#f4f6f7;--line:#e3e8ec}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Cairo,Tahoma,Arial,sans-serif;color:var(--ink);background:white;line-height:1.75}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}button{cursor:pointer}.shell{width:min(1160px,calc(100% - 40px));margin:auto}.top{background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 6px 30px #101d2d0d}.nav{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:800;line-height:1.2}.brand small{display:block;font-size:11px;letter-spacing:2px;color:#708095}.brandmark{display:inline-grid;place-items:center;width:53px;height:53px;border-radius:14px;background:var(--navy);color:var(--orange);font-weight:800;letter-spacing:1px}.brandmark.big{margin:auto;width:65px;height:65px;font-size:23px}.nav nav{display:flex;gap:28px;font-weight:700;font-size:14px}.nav nav a:hover{color:#ed7c24}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:var(--orange);color:var(--navy);font-weight:800;border:2px solid var(--orange);border-radius:11px;padding:12px 25px;transition:.2s}.btn:hover{background:#ffab64}.btn.mini{padding:7px 15px;font-size:13px}.btn.outline{background:transparent;color:white;border-color:#ffffff9c}.hero{background:linear-gradient(110deg,#101d2d,#203a50);color:#fff;position:relative;overflow:hidden}.hero:after{content:'';position:absolute;left:0;bottom:-150px;width:460px;height:460px;border-radius:100%;border:90px solid #ffffff06}.hero-grid{position:relative;z-index:1;min-height:580px;display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center;padding-block:65px}.eyebrow{font-size:13px;color:#ffb878;font-weight:700;letter-spacing:.5px}.eyebrow.orange{color:#e87821}.hero h1{font-size:clamp(39px,4vw,65px);line-height:1.45;margin:18px 0}.hero h1 em{color:var(--orange);font-style:normal}.hero p{color:#c6d0d7;font-size:17px;max-width:525px}.actions{display:flex;gap:14px;flex-wrap:wrap;margin:30px 0}.features{display:flex;gap:20px;flex-wrap:wrap;color:#bcc8d0;font-size:13px;margin-top:45px}.hero-art{min-height:400px;background:linear-gradient(160deg,#f8e1bb44,#19304300),url('https://images.unsplash.com/photo-1487958449943-2429e8be8625?w=1200&q=82') center/cover;border-radius:25px 80px 25px 25px;position:relative;box-shadow:20px 20px 0 #ffffff12;overflow:hidden}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 50%,#07111be3)}.hero-caption{position:absolute;bottom:24px;right:30px;z-index:2;font-size:19px;font-weight:700}.hero-caption b{display:block;color:#ffbd82;font-size:14px}.section{padding-block:92px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:37px}.section-heading h2,h2{font-size:clamp(26px,3vw,38px);margin:5px 0 12px}.section-heading p{color:var(--muted);max-width:370px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.service-card{display:block;border:1px solid var(--line);padding:30px;border-radius:16px;min-height:250px;background:white;transition:.2s;position:relative}.service-card:hover{border-color:var(--orange);transform:translateY(-5px);box-shadow:0 17px 30px #182d4314}.service-num{position:absolute;top:23px;left:28px;color:#aeb8c0;font-size:13px;font-weight:700}.service-icon{font-size:32px;color:#f09143;background:#fff4e9;border-radius:14px;width:62px;height:62px;display:grid;place-items:center}.service-card h3{font-size:20px;margin:16px 0 6px}.service-card p{font-size:14px;color:var(--muted);line-height:1.9}.readmore{color:#d36e1e;font-weight:800;font-size:13px}.dark-section{background:#142438;color:white;padding-block:85px}.dark-section .section-heading p{color:#acb6c2}.project{background:#ffffff0b;border:1px solid #ffffff18;border-radius:16px;overflow:hidden;padding-bottom:12px}.project-image{height:210px;background:linear-gradient(135deg,#45596a,#233449);display:grid;place-items:center;color:#9daeb9;font-size:14px;letter-spacing:2px}.project-image img{height:100%;width:100%;object-fit:cover}.project h3,.project p{margin:8px 19px}.project p{color:#aeb9c8;font-size:13px}.placeholder{grid-column:1/-1;padding:65px;text-align:center;border:1px dashed #ffffff52;border-radius:15px;color:#c9d1d8}.quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}.quote-grid p{color:var(--muted)}.note{background:#fff4e9;border-right:4px solid var(--orange);padding:15px 20px;border-radius:6px;font-size:13px;margin-top:26px}.quote-form,.form-panel{background:var(--surface);border:1px solid var(--line);padding:30px;border-radius:18px;display:grid;gap:16px}.quote-form label,.form-panel label,.login-card label{font-size:14px;font-weight:700;display:grid;gap:7px}input,textarea,select{width:100%;padding:11px 13px;background:#fff;color:var(--ink);border:1px solid #d6dfe6;border-radius:9px;outline:0}input:focus,textarea:focus,select:focus{border-color:var(--orange);box-shadow:0 0 0 3px #ff943e20}footer{background:#0c1725;color:white;padding:35px 0}.foot{display:flex;align-items:center;justify-content:space-between;gap:20px}.foot p{font-size:13px;color:#adb8c4}.page-intro{background:var(--navy);color:#fff;padding:68px 0}.page-intro h1{font-size:44px;margin:8px 0}.page-intro p{color:#c8d2da}.breadcrumb{color:#ffb778}.login-wrap{min-height:68vh;display:grid;place-items:center;background:#f3f6f8;padding:60px 20px}.login-card{width:min(440px,100%);padding:35px;background:#fff;border:1px solid var(--line);box-shadow:0 20px 45px #14243812;border-radius:20px;display:grid;gap:17px}.login-card h1,.login-card p{text-align:center;margin:0}.login-card h1{font-size:24px}.login-card p{color:var(--muted);font-size:13px}.admin-shell{display:grid;grid-template-columns:220px 1fr;gap:30px;padding-block:45px;min-height:70vh}.sidebar{background:var(--navy);border-radius:15px;padding:22px;color:white;display:flex;flex-direction:column;gap:10px;align-self:start}.sidebar h3{margin:0 0 13px}.sidebar a,.text-btn{padding:10px;border-radius:8px;color:#dbe4eb;text-align:right;display:block;background:transparent;border:none;width:100%}.sidebar a:hover,.text-btn:hover{background:#ffffff16}.admin-main h1{font-size:27px;margin:0 0 22px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:30px}.metrics div{background:var(--surface);padding:28px;border-radius:14px}.metrics b{display:block;font-size:36px;color:#d97724}.metrics span{font-size:13px;color:var(--muted)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;min-width:600px;text-align:right}td,th{padding:15px;border-bottom:1px solid var(--line);vertical-align:top;font-size:13px}th{background:#f4f6f7}.form-panel{max-width:680px}.flash{margin-top:16px;padding:12px 18px;background:#eff8f0;border-radius:10px;color:#25602e}.flash.error{background:#fff0ef;color:#ad3333}.admin-main .section-heading{align-items:center}.admin-main .section-heading h1{margin:0}@media(max-width:850px){.hero-grid,.quote-grid{grid-template-columns:1fr}.hero-art{min-height:310px}.nav nav{display:none}.cards{grid-template-columns:repeat(2,1fr)}.admin-shell{grid-template-columns:1fr}.sidebar{display:block}.sidebar a{display:inline-block;width:auto}.features{margin-top:15px}}@media(max-width:550px){.shell{width:min(100% - 24px,1160px)}.top .btn.mini{display:none}.hero-grid{padding-block:45px;gap:28px}.hero h1{font-size:36px}.section{padding-block:58px}.section-heading{display:block}.cards{grid-template-columns:1fr}.metrics{grid-template-columns:1fr}.foot{display:block}.quote-form{padding:18px}.hero-art{border-radius:15px}}

/* Okasha Tenda - Category Management */

.category-tree {
    display: grid;
    gap: 16px;
    margin-top: 25px;
}

.category-group {
    background: #ffffff;
    border: 1px solid #dce3eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(16,32,51,.04);
}

.category-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px;
    cursor: pointer;
    background: #f3f6f9;
    color: #102033;
    font-size: 18px;
    font-weight: 700;
}

.category-count {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.category-children {
    padding: 20px;
}

.category-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 14px;
    border-bottom: 1px solid #edf0f3;
}

.category-child:last-child {
    border-bottom: none;
}

@media (max-width: 650px) {
    .category-group summary,
    .category-child {
        flex-wrap: wrap;
        font-size: 14px;
    }
}

/* Active Admin Sidebar Link */
.admin-shell .sidebar a {
    display: block;
    border-right: 4px solid transparent;
    border-radius: 8px;
    transition: background .2s ease;
}

.admin-shell .sidebar a:hover {
    background: #24364d;
}

.admin-shell .sidebar a.active {
    background: #30435b;
    border-right-color: #ff963a;
    color: #ffffff !important;
    font-weight: 700;
}


/* Okasha Tenda - Active Sidebar */

.admin-shell .ot-sidebar-link {
    display: block;
    padding: 13px 16px;
    border-radius: 8px;
    border-right: 4px solid transparent;
    transition: background .2s ease;
}

.admin-shell .ot-sidebar-link:hover {
    background: #24364d;
}

.admin-shell .ot-sidebar-link.ot-active {
    background: #30435b !important;
    border-right: 4px solid #ff963a !important;
    color: #ffffff !important;
    font-weight: 700;
}


/* Final Active Sidebar Style */
.admin-shell aside.sidebar a.ot-active {
    background-color: #ff943e !important;
    color: #101d2d !important;
    border-right: 5px solid #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}



/* Okasha Tenda - Company Contact */
.ot-contact {
  scroll-margin-top: 90px;
}
.ot-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}
.ot-contact-info,
.ot-contact-map {
  background: #f5f6f8;
  border-radius: 18px;
  padding: 24px;
  min-width: 0;
}
.ot-contact-info p {
  margin: 12px 0;
}
.ot-contact-en {
  direction: ltr;
  text-align: right;
}
.ot-contact-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 12px;
}
.ot-contact-map .btn {
  display: inline-block;
  margin-top: 14px;
}
.ot-contact-map small {
  display: block;
  margin-top: 12px;
}
.ot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 767px) {
  .ot-contact-grid {
    grid-template-columns: 1fr;
  }
}


/* Language switch and bilingual navigation */
.ot-nav {
  justify-content: flex-start;
  gap: 24px;
}
.ot-brand-group {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.ot-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  direction: ltr;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.ot-language-switch a {
  color: #66758a;
  padding: 3px 5px;
}
.ot-language-switch a.active {
  background: var(--navy);
  color: var(--orange);
  border-radius: 5px;
}
.ot-nav nav {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-inline-start: 8px;
}
.ot-nav .ot-whatsapp-nav {
  margin-inline-start: auto;
}
html[dir="ltr"] .nav,
html[dir="ltr"] .ot-brand-group,
html[dir="ltr"] .ot-nav nav {
  direction: ltr;
}
html[dir="ltr"] .sidebar a,
html[dir="ltr"] .sidebar .text-btn {
  text-align: left;
}
@media (max-width: 1000px) {
  .ot-nav {
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .ot-nav nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-inline-start: 0;
  }
}
@media (max-width: 850px) {
  .ot-nav nav {
    display: flex;
  }
}
@media (max-width: 550px) {
  .ot-nav {
    gap: 10px;
  }
  .ot-brand-group {
    gap: 8px;
  }
  .ot-brand-group .brand {
    font-size: 17px;
  }
  .ot-brand-group .brandmark {
    width: 42px;
    height: 42px;
  }
  .ot-nav nav {
    gap: 12px;
    font-size: 12px;
  }
}


/* Contact redesign */
.ot-contact-heading {
  text-align: center;
  margin-bottom: 38px;
}
.ot-contact-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
}
.ot-contact-heading p {
  color: var(--muted);
}
.ot-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}
.ot-social-card,
.ot-contact-map {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 12px 35px #1424380c;
}
.ot-social-card h3 {
  margin: 0;
  font-size: 25px;
}
.ot-social-card > p {
  color: var(--muted);
}
.ot-social-icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0;
}
.ot-social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px 5px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  transition: .2s;
}
.ot-social-item:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}
.ot-social-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  color: #fff;
  font-size: 26px;
  font-family: Arial, sans-serif;
  font-weight: bold;
}
.ot-social-icon.facebook { background: #1877f2; }
.ot-social-icon.instagram {
  background: linear-gradient(40deg,#ffcc40,#e1306c,#833ab4);
}
.ot-social-icon.tiktok { background: #121212; }
.ot-social-icon.youtube { background: #ff0033; }
.ot-social-icon.whatsapp { background: #25d366; }
.ot-contact-details > div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.ot-contact-details strong {
  white-space: nowrap;
}
.ot-contact-details span,
.ot-contact-details a {
  overflow-wrap: anywhere;
  text-align: end;
}
.ot-contact-map iframe {
  width: 100%;
  height: 430px;
  border: 0;
  border-radius: 13px;
}
.ot-map-button {
  margin-top: 15px;
}
@media(max-width:850px) {
  .ot-contact-grid {
    grid-template-columns: 1fr;
  }
}
@media(max-width:400px) {
  .ot-social-icons {
    grid-template-columns: repeat(2,1fr);
  }
}

/* Social SVG icons */
.ot-social-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}
.ot-social-item {
  transition: transform .2s ease, border-color .2s ease;
}
.ot-social-item:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* Contact details icons */
.ot-contact-details strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.ot-detail-icon {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff1e5;
  color: #e87821;
  border-radius: 9px;
}
.ot-detail-icon svg {
  width: 19px;
  height: 19px;
}

/* Company branding */
.ot-site-logo {
    width: 53px;
    height: 53px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 10px;
}

.ot-footer-logo {
    display: block;
    max-width: 180px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

.ot-branding-settings {
    margin: 28px 0;
}

.ot-branding-item {
    margin: 18px 0;
    padding: 18px;
    border: 1px solid #e3e8ec;
    border-radius: 12px;
}

.ot-branding-preview img {
    max-width: 180px;
    max-height: 110px;
    object-fit: contain;
    margin: 12px 0;
}

@media(max-width:550px) {
    .ot-site-logo {
        width: 42px;
        height: 42px;
    }
}

/* Admin branding */
.ot-admin-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    text-align: center;
}

.ot-admin-logo {
    display: block;
    max-width: 150px;
    max-height: 85px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ot-admin-brand h3 {
    margin: 0;
}

/* Branding image preview */
.ot-new-image-preview {
    margin-top: 15px;
    padding: 16px;
    border: 2px dashed #ff943e;
    border-radius: 12px;
    background: #fff8f1;
}

.ot-new-image-preview[hidden] {
    display: none !important;
}

.ot-new-image-preview img {
    display: block;
    max-width: 220px;
    max-height: 160px;
    object-fit: contain;
    margin: 12px 0;
}

.ot-file-info {
    font-size: 13px;
    color: #6d7988;
    overflow-wrap: anywhere;
}


/* Branding cards alternating colors v1 */

.ot-branding-page .ot-branding-settings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 28px 0;
}

.ot-branding-page .ot-branding-item {
    margin: 0;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid #e0e6ed;
    box-shadow: 0 6px 22px rgba(16,29,45,.06);
    min-width: 0;
}

.ot-branding-page .ot-branding-item:nth-child(odd) {
    background: #fff4e9;
    border-color: #f3d5bb;
}

.ot-branding-page .ot-branding-item:nth-child(even) {
    background: #f0f4f8;
    border-color: #d3dfe9;
}

.ot-branding-page .ot-branding-item h3 {
    color: #101d2d;
    font-size: 19px;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(16,29,45,.10);
}

.ot-branding-page .ot-branding-preview,
.ot-branding-page .ot-no-image {
    background: #fff;
    border: 1px dashed #c8d3de;
    border-radius: 12px;
    padding: 20px;
    min-height: 110px;
}

.ot-branding-page .ot-branding-file {
    background: #fff;
    margin-top: 10px;
}

.ot-branding-page .ot-branding-reset {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.ot-branding-page .ot-branding-reset input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ot-branding-page .ot-new-image-preview[hidden] {
    display: none !important;
}

@media (max-width: 850px) {
    .ot-branding-page .ot-branding-settings {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ot-branding-page .ot-branding-item {
        padding: 20px;
    }
}


/* Swap colors for lower branding cards only */
.ot-branding-page .ot-branding-item:nth-child(3) {
    background: #f0f4f8;
    border-color: #d3dfe9;
}

.ot-branding-page .ot-branding-item:nth-child(4) {
    background: #fff4e9;
    border-color: #f3d5bb;
}


/* Branding page background v1 */
.ot-branding-page {
    background: #f4f7fb;
    padding: 32px;
    border-radius: 22px;
    min-height: 75vh;
}

.ot-branding-page .ot-branding-settings {
    margin-top: 30px;
}

@media (max-width: 550px) {
    .ot-branding-page {
        padding: 16px;
        border-radius: 14px;
    }
}

/* Branding image specifications */
.ot-branding-page .ot-branding-specs {
    margin-top: auto;
    padding: 15px 18px;
    background: rgba(255,255,255,.85);
    border: 1px solid #dbe3eb;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.8;
}

.ot-branding-page .ot-branding-specs strong {
    display: block;
    color: #101d2d;
    margin-bottom: 8px;
}

.ot-branding-page .ot-branding-specs p {
    margin: 3px 0;
}

.ot-branding-page .ot-branding-specs small {
    color: #69798a;
}

/* Branding page direction */
.ot-branding-page[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

.ot-branding-page[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

.ot-branding-page[dir="ltr"] .ot-branding-item,
.ot-branding-page[dir="ltr"] .ot-branding-specs {
    direction: ltr;
    text-align: left;
}

.ot-branding-page[dir="rtl"] .ot-branding-item,
.ot-branding-page[dir="rtl"] .ot-branding-specs {
    direction: rtl;
    text-align: right;
}

.ot-branding-page .ot-branding-specs {
    unicode-bidi: isolate;
}


/* Custom bilingual image file picker */
.ot-branding-page .ot-file-picker {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    margin: 8px 0 16px;
}
.ot-branding-page .ot-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}
.ot-branding-page .ot-file-button {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 9px 16px;
    border: 1px solid #b8cadb;
    border-radius: 9px;
    background: #fff;
    color: #14273d;
    font-weight: 700;
}
.ot-branding-page .ot-file-button:hover {
    background: #eaf2fb;
}
.ot-branding-page .ot-file-input:focus-visible + .ot-file-button {
    outline: 3px solid #ff9238;
    outline-offset: 2px;
}
.ot-branding-page .ot-file-name {
    font-size: 13px;
    color: #526273;
    overflow-wrap: anywhere;
}
.ot-branding-page[dir="ltr"] .ot-file-picker {
    direction: ltr;
    text-align: left;
}
.ot-branding-page[dir="rtl"] .ot-file-picker {
    direction: rtl;
    text-align: right;
}


/* Unified category management tree */
.ot-category-tree {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    text-align: start;
}

.ot-tree-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ot-tree-card {
    background: #fff;
    border: 1px solid #dce5ef;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(20,40,65,.05);
}

.ot-tree-root {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: #f1f6fb;
}

.ot-tree-root h2 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #17314d;
}

.ot-tree-slug {
    font-size: 12px;
    color: #667b90;
    direction: ltr;
    unicode-bidi: isolate;
}

.ot-tree-status {
    display: inline-block;
    margin-inline-start: 10px;
    font-size: 12px;
    color: #6c7885;
}

.ot-tree-children {
    padding: 12px 20px 18px;
}

.ot-tree-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-bottom: 1px solid #edf1f5;
}

.ot-tree-child-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ot-tree-branch {
    color: #8294a5;
    font-size: 20px;
}

.ot-tree-empty {
    color: #718092;
    font-size: 14px;
    margin: 8px 0 16px;
}

.ot-tree-add-child {
    display: inline-block;
    margin-top: 15px;
    padding: 9px 15px;
    border: 1px dashed #c78c43;
    border-radius: 9px;
    text-decoration: none;
    color: #8a551e;
    font-weight: 700;
}

.ot-tree-add-child:hover {
    background: #fff4e6;
}

.ot-tree-edit-link {
    color: #245a91;
    font-size: 13px;
    text-decoration: none;
}

.ot-tree-no-roots {
    padding: 28px;
    background: #fff;
    border: 1px solid #dce5ef;
    border-radius: 14px;
    text-align: center;
}

.ot-category-tree[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

.ot-category-tree[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

@media (max-width: 600px) {
    .ot-tree-root {
        padding: 14px;
    }
    .ot-tree-children {
        padding: 10px;
    }
}


/* Category tree images and descriptions */
.ot-tree-root {
    justify-content: flex-start;
}

.ot-tree-media {
    flex: 0 0 145px;
}

.ot-tree-image,
.ot-tree-image-placeholder {
    width: 145px;
    height: 105px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.ot-tree-image-placeholder,
.ot-tree-child-placeholder {
    background: #e3ebf3;
    color: #8093a6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.ot-tree-root-content {
    flex: 1;
    min-width: 0;
}

.ot-tree-root .ot-tree-edit {
    margin-inline-start: auto;
}

.ot-tree-description {
    margin: 6px 0 9px;
    color: #62758a;
    line-height: 1.7;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.ot-tree-child-content {
    min-width: 0;
}

.ot-tree-child-image,
.ot-tree-child-placeholder {
    width: 66px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.ot-tree-child-content strong {
    font-size: 14px;
}

@media (max-width: 600px) {
    .ot-tree-root {
        flex-wrap: wrap;
    }

    .ot-tree-media {
        flex: 0 0 100px;
    }

    .ot-tree-image,
    .ot-tree-image-placeholder {
        width: 100px;
        height: 80px;
    }

    .ot-tree-root-content {
        flex: 1 1 150px;
    }
}


/* Unified category edit and delete actions */
.ot-tree-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ot-tree-actions form {
    margin: 0;
}

.ot-tree-actions .ot-tree-edit,
.ot-tree-actions .ot-tree-delete {
    min-width: 66px;
    text-align: center;
    justify-content: center;
    border-radius: 9px;
}

.ot-tree-actions .ot-tree-delete {
    background: #c93030;
    color: #fff;
    border: 1px solid #c93030;
}

.ot-tree-actions .ot-tree-delete:hover:not(:disabled) {
    background: #a92323;
}

.ot-tree-actions .ot-tree-delete:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}


/* Collapsible category subcategory panels */
.ot-tree-disclosure {
    border-top: 1px solid #e0e8f1;
}

.ot-tree-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 20px;
    cursor: pointer;
    background: #fff;
    color: #17314d;
    font-weight: 700;
    list-style: none;
    user-select: none;
}

.ot-tree-toggle::-webkit-details-marker {
    display: none;
}

.ot-tree-toggle::marker {
    content: "";
}

.ot-tree-toggle:hover {
    background: #f5f8fc;
}

.ot-tree-toggle:focus-visible {
    outline: 3px solid #ff943e;
    outline-offset: -3px;
}

.ot-tree-count {
    color: #728395;
    font-size: 13px;
    font-weight: 500;
    margin-inline-start: 6px;
}

.ot-tree-toggle-icon {
    display: inline-block;
    font-size: 24px;
    color: #f38d36;
    transition: transform .2s ease;
}

.ot-tree-disclosure[open] .ot-tree-toggle-icon {
    transform: rotate(180deg);
}

.ot-tree-disclosure[open] .ot-tree-toggle {
    background: #edf4fb;
}

.ot-tree-disclosure .ot-tree-children {
    border-top: 1px solid #e4eaf2;
}

@media (max-width: 600px) {
    .ot-tree-toggle {
        padding: 13px;
    }
    .ot-tree-child {
        flex-wrap: wrap;
    }
    .ot-tree-actions {
        gap: 6px;
    }
}


/* Category form image containment fix */

/* Keep the entire form inside its parent */
.admin-main,
.admin-main .form-panel {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.admin-main .form-panel {
    width: 100%;
}

/* Prevent all form controls from stretching the layout */
.admin-main .form-panel input:not([type="checkbox"]):not([type="radio"]),
.admin-main .form-panel textarea,
.admin-main .form-panel select {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Image upload area */
.ot-category-image-field {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Current image and new image preview */
.ot-category-image-current,
#category_image_preview_img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    border-radius: 12px;
    background: #f3f6fa;
    border: 1px solid #dce5ef;
    padding: 8px;
    box-sizing: border-box;
    margin-block: 12px;
}

/* Preview container */
#category_image_preview {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.ot-category-image-help {
    max-width: 100%;
    overflow-wrap: anywhere;
    line-height: 1.8;
}

/* Mobile screens */
@media (max-width: 600px) {
    .ot-category-image-current,
    #category_image_preview_img {
        max-width: 100%;
        max-height: 200px;
    }
}


/* Bilingual category image file picker */
.ot-category-file-picker {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-block: 10px 14px;
}

.ot-category-file-picker input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
}

.ot-category-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    flex: 0 0 auto;
    padding: 11px 17px;
    background: #ffffff;
    border: 1px solid #bfd1e3;
    border-radius: 9px;
    color: #17314d;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
}

.ot-category-file-button:hover {
    background: #edf4fb;
    border-color: #7da6cd;
}

.ot-category-file-picker input[type="file"]:focus-visible
+ .ot-category-file-button {
    outline: 3px solid #ff943e;
    outline-offset: 3px;
}

.ot-category-file-name {
    flex: 1 1 130px;
    min-width: 0;
    color: #65778a;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.ot-category-file-picker[dir="ltr"] {
    direction: ltr;
}


/* Okasha Tenda - Simplified Footer */
.ot-footer-simple {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding-block: 38px;
}

.ot-footer-services,
.ot-footer-policies,
.ot-footer-credit {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ot-footer-credit {
  align-items: center;
  text-align: center;
}

.ot-footer-credit strong {
  color: #ff943e;
}

.ot-footer-simple a:hover {
  color: #ff943e;
}

@media (max-width: 700px) {
  .ot-footer-simple {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ot-footer-services,
  .ot-footer-policies,
  .ot-footer-credit {
    align-items: center;
  }
}


/* Okasha Tenda - One Line Footer */
@media (min-width: 901px) {
  .ot-footer-simple {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
  }

  .ot-footer-services,
  .ot-footer-policies {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
  }

  .ot-footer-services {
    justify-content: flex-end;
  }

  .ot-footer-policies {
    justify-content: flex-start;
  }

  .ot-footer-credit {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }
}


/* OKASHA FOOTER FINAL SPACING */
@media (min-width: 901px) {
  footer .ot-footer-simple {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    align-items: center;
    column-gap: 45px;
    padding-block: 32px;
  }

  footer .ot-footer-services,
  footer .ot-footer-policies {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
  }

  footer .ot-footer-services {
    justify-content: flex-end;
  }

  footer .ot-footer-policies {
    justify-content: flex-start;
  }

  footer .ot-footer-credit {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    text-align: center;
  }

  footer .ot-footer-simple a {
    transition: color .2s ease;
  }

  footer .ot-footer-simple a:hover {
    color: #ff943e;
  }
}

@media (max-width: 900px) {
  footer .ot-footer-simple {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 22px;
  }

  footer .ot-footer-services,
  footer .ot-footer-policies,
  footer .ot-footer-credit {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
}


/* OKASHA PROJECT IMAGE CONTAIN FIX */

/* Display the entire project image without cropping */
.project-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #243b55;
}

.project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
}


/* OKASHA PROJECT IMAGE LIGHT BACKGROUND */

.project .project-image {
    background: #f8fafc !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project .project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
    display: block;
}



/* OKASHA HERO IMAGE CLARITY FIX */
.hero-art {
    background-color: #ffffff;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-art::after {
    content: none;
}

.hero-caption {
    text-shadow: 0 2px 8px rgba(0,0,0,.65);
}

.hero-caption b {
    text-shadow: 0 2px 8px rgba(0,0,0,.65);
}


/* OKASHA HERO CAPTION READABILITY */
.hero-caption {
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: 20px;
    z-index: 2;
    width: fit-content;
    max-width: calc(100% - 40px);
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(12, 23, 37, 0.86);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-caption b {
    display: block;
    color: #ffbd82;
    font-size: 13px;
    text-shadow: none;
}

@media (max-width: 550px) {
    .hero-caption {
        bottom: 12px;
        right: 12px;
        left: 12px;
        max-width: calc(100% - 24px);
        padding: 9px 12px;
        font-size: 14px;
    }

    .hero-caption b {
        font-size: 12px;
    }
}


/* OKASHA HERO CAPTION CLEAN STYLE */
.hero-caption {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    color: #ffffff;
    text-shadow:
        0 2px 5px rgba(0,0,0,.85),
        0 0 12px rgba(0,0,0,.65);
}

.hero-caption b {
    color: #ffbd82;
    text-shadow:
        0 2px 5px rgba(0,0,0,.85),
        0 0 12px rgba(0,0,0,.65);
}


/* ot-public-category-images-v1 */
.ot-service-category-photo {
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  border-radius:12px;
  margin-bottom:18px;
  background:#edf0f2;
}
.ot-service-category-photo img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s ease;
}
.service-card:hover .ot-service-category-photo img {
  transform:scale(1.035);
}
.ot-category-main-photo {
  width:100%;
  max-width:900px;
  margin:22px 0;
  overflow:hidden;
  border-radius:16px;
}
.ot-category-main-photo img {
  display:block;
  width:100%;
  max-height:460px;
  object-fit:cover;
}
@media(max-width:600px) {
  .ot-service-category-photo {
    aspect-ratio:16/11;
  }
  .ot-category-main-photo img {
    max-height:300px;
  }
}


/* ot-category-responsive-layout-v2 */
.ot-category-intro-layout-v2 {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(24px,4vw,60px);
  align-items:center;
  margin-top:24px;
  direction:inherit;
}
.ot-category-intro-copy {
  min-width:0;
}
.ot-category-intro-copy h1 {
  font-size:clamp(30px,3.2vw,44px);
  margin:0 0 18px;
}
.ot-category-intro-copy p {
  font-size:16px;
  line-height:2;
  margin:0;
  max-width:540px;
}
.ot-category-intro-layout-v2 .ot-category-main-photo {
  width:100%;
  max-width:none;
  margin:0;
  aspect-ratio:4/3;
  border-radius:18px;
}
.ot-category-intro-layout-v2 .ot-category-main-photo img {
  width:100%;
  height:100%;
  max-height:none;
  object-fit:cover;
}
@media(max-width:720px) {
  .page-intro:has(.ot-category-intro-layout-v2) {
    padding:42px 0;
  }
  .ot-category-intro-layout-v2 {
    grid-template-columns:1fr;
    gap:24px;
  }
  .ot-category-intro-layout-v2 .ot-category-main-photo {
    aspect-ratio:16/10;
  }
  .ot-category-intro-copy p {
    font-size:14px;
  }
}


/* Gallery bulk approval: warning messages */
.flash.warning {
    background: #fff4dc;
    color: #805000;
    border: 1px solid #efcb82;
    overflow-wrap: anywhere;
    word-break: normal;
}


/* OKASHA C71 RESPONSIVE CONTACT MAP */
.ot-contact-grid {
  align-items: stretch;
}
.ot-contact-map {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  gap: 14px;
}
.ot-contact-map iframe {
  display: block;
  width: 100%;
  height: auto;
  min-height: 430px;
  flex: 1 1 auto;
  border: 0;
  border-radius: 13px;
}
.ot-contact-map .ot-map-button {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 0;
}
@media (max-width: 850px) {
  .ot-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ot-contact-map iframe {
    height: 340px;
    min-height: 340px;
    flex: 0 0 auto;
  }
}
@media (max-width: 480px) {
  .ot-contact-map {
    padding: 16px;
  }
  .ot-contact-map iframe {
    height: 300px;
    min-height: 300px;
  }
}
