/* ==========================================================================
   ADWATKM Theme — Main Stylesheet
   ========================================================================== */

:root {
  --bg-primary: #0a111a;
  --bg-card: #141c27;
  --bg-card-hover: #1a2433;
  --bg-light: #e8eaed;
  --bg-light-hover: #dfe2e6;
  --text-primary: #ffffff;
  --text-muted: #9ca3af;
  --text-dark: #1a1a2e;
  --accent-gold: #c9a227;
  --accent-silver: #c0c5ce;
  --accent-whatsapp: #25d366;
  --radius-card: 16px;
  --radius-btn: 12px;
  --radius-hero: 20px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --header-height: 64px;
  --bottom-nav-height: 64px;
  --container-max: 1280px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body.adwatkm-theme {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  direction: rtl;
}

/* Sticky footer — flex layout */
.adwatkm-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}

.adwatkm-main {
  flex: 1 0 auto;
  width: 100%;
}

/* Homepage: natural content flow without stretching sections */
body.home .adwatkm-main {
  flex: 0 0 auto;
}

.adwatkm-home {
  width: 100%;
}

@media (max-width: 767px) {
  .adwatkm-site {
    padding-bottom: var(--bottom-nav-height);
  }
}

/* Shop & inner pages fill available height */
.adwatkm-shop-wrap,
.adwatkm-page-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.woocommerce .adwatkm-main,
body.woocommerce-page .adwatkm-main {
  min-height: 100%;
}

body.woocommerce .adwatkm-shop-wrap,
body.woocommerce-page .adwatkm-shop-wrap {
  flex: 1;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.adwatkm-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .adwatkm-container { padding: 0 24px; }
}

/* ==========================================================================
   Header
   ========================================================================== */

.adwatkm-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0a1c33;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(201, 162, 39, 0.12);
}

.adwatkm-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.adwatkm-header__top {
  position: relative;
  z-index: 2;
}

.adwatkm-header__inner {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  height: var(--header-height);
  gap: 8px;
}

.adwatkm-header__menu-btn,
.adwatkm-header__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #e8eaed;
  border-radius: 12px;
  transition: color var(--transition), background var(--transition), transform var(--transition);
  position: relative;
  flex-shrink: 0;
}

.adwatkm-header__menu-btn svg,
.adwatkm-header__icon-btn svg {
  display: block;
  width: 22px;
  height: 22px;
}

.adwatkm-header__menu-btn:hover,
.adwatkm-header__icon-btn:hover,
.adwatkm-header__icon-btn[aria-expanded="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.adwatkm-header__icon-btn[aria-expanded="true"] {
  color: var(--accent-gold);
}

.adwatkm-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  min-width: 0;
}

.adwatkm-header__logo img,
.adwatkm-header__logo .custom-logo,
.adwatkm-header__logo-img,
.adwatkm-logo-img.adwatkm-header__logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .adwatkm-header__logo img,
  .adwatkm-header__logo .custom-logo,
  .adwatkm-header__logo-img,
  .adwatkm-logo-img.adwatkm-header__logo-img {
    height: 52px;
    max-width: 156px;
  }
}

.adwatkm-header__logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #e8eaed, #9ca3af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.adwatkm-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.adwatkm-header__account {
  display: none;
}

@media (min-width: 768px) {
  .adwatkm-header__account {
    display: inline-flex;
  }
}

.adwatkm-badge {
  position: absolute;
  top: 4px;
  inset-inline-start: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: #1a1a2e;
  background: var(--accent-gold);
  border-radius: 9px;
  box-shadow: 0 0 0 2px #0a1c33;
}

.adwatkm-header__desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .adwatkm-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 20px;
  }

  .adwatkm-header__menu-btn {
    display: none;
  }

  .adwatkm-header__desktop-nav {
    display: flex;
    justify-content: center;
  }

  .adwatkm-header__logo {
    justify-content: flex-start;
  }

  .adwatkm-nav-list {
    display: flex;
    gap: 4px;
    align-items: center;
  }

  .adwatkm-nav-list a {
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(232, 234, 237, 0.72);
    border-radius: var(--radius-btn);
    transition: color var(--transition), background var(--transition);
  }

  .adwatkm-nav-list a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
  }
}

/* Search panel */
.adwatkm-header__search-wrap {
  display: none;
  padding: 0 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0a1c33;
  animation: adwatkmSearchIn 0.22s ease;
}

.adwatkm-header__search-wrap:not([hidden]) {
  display: block;
}

.adwatkm-header.is-search-open .adwatkm-header__search-wrap {
  display: block;
}

@keyframes adwatkmSearchIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.adwatkm-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 6px 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: rgba(232, 234, 237, 0.7);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.adwatkm-search-form:focus-within {
  border-color: rgba(201, 162, 39, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.adwatkm-search-form__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--accent-gold);
}

.adwatkm-search-form__icon svg {
  width: 20px;
  height: 20px;
}

.adwatkm-search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  padding: 10px 4px;
  -webkit-appearance: none;
  appearance: none;
}

.adwatkm-search-form input[type="search"]::-webkit-search-decoration,
.adwatkm-search-form input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.adwatkm-search-form input::placeholder {
  color: rgba(156, 163, 175, 0.9);
}

.adwatkm-search-form__submit {
  flex-shrink: 0;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--accent-gold);
  color: #1a1a2e;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  transition: filter var(--transition), transform var(--transition);
}

.adwatkm-search-form__submit:hover {
  filter: brightness(1.06);
}

.adwatkm-search-form__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  color: rgba(232, 234, 237, 0.75);
  transition: color var(--transition), background var(--transition);
}

.adwatkm-search-form__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.adwatkm-search-form__close svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 480px) {
  .adwatkm-search-form {
    padding-inline-start: 12px;
  }

  .adwatkm-search-form__submit {
    padding: 8px 12px;
  }
}

/* Mobile Menu */
.adwatkm-mobile-menu { position: fixed; inset: 0; z-index: 2000; }
.adwatkm-mobile-menu[hidden] { display: none; }

.adwatkm-mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.adwatkm-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--bg-card);
  padding: 20px;
  overflow-y: auto;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.adwatkm-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.adwatkm-mobile-menu__title { font-weight: 700; font-size: 1.1rem; }

.adwatkm-mobile-menu__nav .adwatkm-nav-list li a,
.adwatkm-mobile-menu__categories li a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--transition);
}

.adwatkm-mobile-menu__nav .adwatkm-nav-list li a:hover,
.adwatkm-mobile-menu__categories li a:hover { color: var(--accent-gold); }

.adwatkm-mobile-menu hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.adwatkm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
  white-space: nowrap;
}

.adwatkm-btn:hover { transform: translateY(-1px); }
.adwatkm-btn--full { width: 100%; }

.adwatkm-btn--light {
  background: linear-gradient(135deg, #f3f4f6, #d1d5db);
  color: var(--text-dark);
}

.adwatkm-btn--ghost {
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.adwatkm-btn--primary {
  background: linear-gradient(135deg, #f3f4f6, #d1d5db);
  color: var(--text-dark);
}

.adwatkm-btn--dark {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.adwatkm-btn--outline {
  border: 1px solid var(--accent-whatsapp);
  color: var(--accent-whatsapp);
  background: transparent;
}

.adwatkm-btn--outline-dark {
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  background: transparent;
}

.adwatkm-btn--whatsapp { border-color: var(--accent-whatsapp); color: var(--accent-whatsapp); }

.adwatkm-btn--upload {
  background: var(--bg-primary);
  color: var(--text-primary);
  flex: 1;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */

.adwatkm-hero { padding: 0 16px 16px; }

@media (min-width: 768px) {
  .adwatkm-hero { padding: 0 24px 24px; }
}

.adwatkm-hero-swiper {
  border-radius: var(--radius-hero);
  overflow: hidden;
}

.adwatkm-hero__slide {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .adwatkm-hero__slide { min-height: 420px; align-items: center; }
}

@media (min-width: 1024px) {
  .adwatkm-hero__slide { min-height: 500px; }
}

.adwatkm-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.adwatkm-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 17, 26, 0.95) 0%, rgba(10, 17, 26, 0.4) 50%, rgba(10, 17, 26, 0.2) 100%);
}

@media (min-width: 768px) {
  .adwatkm-hero__overlay {
    background: linear-gradient(to left, rgba(10, 17, 26, 0.9) 0%, rgba(10, 17, 26, 0.3) 60%, transparent 100%);
  }
}

.adwatkm-hero__content {
  position: relative;
  z-index: 2;
  padding: 24px 20px 32px;
  width: 100%;
  text-align: right;
}

@media (min-width: 768px) {
  .adwatkm-hero__content {
    max-width: 50%;
    margin-inline-start: auto;
    margin-inline-end: 0;
    padding: 40px;
  }
}

.adwatkm-hero__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .adwatkm-hero__title { font-size: 2.25rem; }
}

.adwatkm-hero__desc {
  margin: 0 0 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .adwatkm-hero__desc { font-size: 1rem; }
}

.adwatkm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adwatkm-hero__pagination {
  bottom: 12px !important;
}

.adwatkm-hero__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.adwatkm-hero__pagination .swiper-pagination-bullet-active {
  background: var(--accent-gold);
  width: 20px;
  border-radius: 4px;
}

/* ==========================================================================
   Quick Actions
   ========================================================================== */

.adwatkm-quick-actions { padding: 8px 0 24px; }

.adwatkm-quick-actions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 480px) {
  .adwatkm-quick-actions__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 4px;
  }
  .adwatkm-quick-action {
    min-width: 90px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

.adwatkm-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--bg-light);
  border-radius: var(--radius-card);
  color: var(--text-dark);
  transition: background var(--transition), transform var(--transition);
}

.adwatkm-quick-action:hover {
  background: var(--bg-light-hover);
  transform: translateY(-2px);
}

.adwatkm-quick-action__icon {
  color: #6b7280;
  display: flex;
}

.adwatkm-quick-action__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.adwatkm-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.adwatkm-section-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.adwatkm-section-title--center {
  text-align: center;
  margin-bottom: 24px;
}

.adwatkm-section-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
}

/* ==========================================================================
   Categories Grid
   ========================================================================== */

.adwatkm-categories { padding: 8px 0 32px; }

.adwatkm-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .adwatkm-categories__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

.adwatkm-category-card {
  position: relative;
  display: block;
  min-height: 160px;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform var(--transition);
}

@media (min-width: 768px) {
  .adwatkm-category-card { min-height: 200px; }
}

.adwatkm-category-card:hover { transform: scale(1.02); }

.adwatkm-category-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.adwatkm-category-card:hover .adwatkm-category-card__bg { transform: scale(1.05); }

.adwatkm-category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 17, 26, 0.92) 0%, rgba(10, 17, 26, 0.4) 100%);
}

.adwatkm-category-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 14px;
  min-height: 160px;
}

@media (min-width: 768px) {
  .adwatkm-category-card__content { min-height: 200px; padding: 18px; }
}

.adwatkm-category-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  color: var(--text-dark);
}

.adwatkm-category-card__title {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 700;
}

.adwatkm-category-card__desc {
  margin: 0;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Why Us
   ========================================================================== */

.adwatkm-why-us {
  padding: 24px 0;
  margin: 0 16px 24px;
  background: var(--bg-light);
  border-radius: var(--radius-card);
  color: var(--text-dark);
}

@media (min-width: 768px) {
  .adwatkm-why-us { margin: 0 24px 32px; }
}

.adwatkm-why-us__title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.adwatkm-why-us__grid {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 0 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .adwatkm-why-us__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    padding: 0;
  }
}

.adwatkm-why-us__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 100px;
  flex-shrink: 0;
  scroll-snap-align: center;
  text-align: center;
}

.adwatkm-why-us__icon { color: #6b7280; display: flex; }
.adwatkm-why-us__label { font-size: 0.75rem; font-weight: 600; }

/* ==========================================================================
   Portfolio
   ========================================================================== */

.adwatkm-portfolio { padding: 8px 0 32px; }

.adwatkm-portfolio-swiper { position: relative; padding: 0 40px; }

.adwatkm-portfolio-card {
  position: relative;
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 1;
}

.adwatkm-portfolio-card__img,
.adwatkm-portfolio-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adwatkm-portfolio-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding: 16px;
}

.adwatkm-portfolio-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.adwatkm-portfolio-card:hover .adwatkm-portfolio-card__overlay { opacity: 1; }

.adwatkm-portfolio-card__overlay h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.adwatkm-testimonials { padding: 8px 0 32px; }

.adwatkm-testimonials-swiper { position: relative; padding: 0 40px; }

.adwatkm-testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-card);
  padding: 24px;
  min-height: 200px;
}

.adwatkm-testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.adwatkm-testimonial-card__quote {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: normal;
}

.adwatkm-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adwatkm-testimonial-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.adwatkm-testimonial-card__author cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Swiper buttons */
.adwatkm-swiper-btn {
  color: var(--accent-silver) !important;
  width: 32px !important;
  height: 32px !important;
}

.adwatkm-swiper-btn::after { font-size: 16px !important; }

/* ==========================================================================
   Quote CTA
   ========================================================================== */

.adwatkm-quote-cta {
  padding: 32px 0 48px;
}

.adwatkm-quote-cta__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 20px;
  background: linear-gradient(135deg, #f3f4f6, #e8eaed);
  border-radius: var(--radius-hero);
  color: var(--text-dark);
}

.adwatkm-quote-cta__content {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.adwatkm-quote-cta__visual {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .adwatkm-quote-cta__inner {
    padding: 40px;
    gap: 40px;
  }
}

.adwatkm-quote-cta__phone-mockup {
  width: 140px;
  height: 240px;
  margin: 0 auto;
  background: linear-gradient(145deg, #1a2433, #0a111a);
  border-radius: 24px;
  border: 3px solid #374151;
  box-shadow: var(--shadow-card);
  position: relative;
}

.adwatkm-quote-cta__phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #374151;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .adwatkm-quote-cta__phone-mockup { width: 180px; height: 300px; }
}

.adwatkm-quote-cta__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: right;
}

.adwatkm-quote-cta__desc {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: #6b7280;
  text-align: right;
}

.adwatkm-quote-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

/* ==========================================================================
   Bottom Navigation (Mobile)
   ========================================================================== */

.adwatkm-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: stretch;
  height: var(--bottom-nav-height);
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (min-width: 768px) {
  .adwatkm-bottom-nav { display: none; }
}

.adwatkm-bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 600;
  transition: color var(--transition);
  position: relative;
}

.adwatkm-bottom-nav__item.is-active { color: var(--accent-gold); }

.adwatkm-bottom-nav__item.is-active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 0 0 2px 2px;
}

.adwatkm-bottom-nav__icon { display: flex; }

/* ==========================================================================
   WhatsApp Float
   ========================================================================== */

.adwatkm-whatsapp-float {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + 16px);
  left: 16px;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--accent-whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition);
}

@media (min-width: 768px) {
  .adwatkm-whatsapp-float { bottom: 24px; }
}

.adwatkm-whatsapp-float:hover { transform: scale(1.1); }

/* ==========================================================================
   Footer
   ========================================================================== */

.adwatkm-footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0 24px;
  flex-shrink: 0;
  width: 100%;
}

.adwatkm-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .adwatkm-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

.adwatkm-footer__logo-img,
.adwatkm-footer__logo-link .custom-logo,
.adwatkm-logo-img.adwatkm-footer__logo-img {
  height: 50px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
  filter: brightness(1.1);
}

.adwatkm-footer__brand p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.adwatkm-footer__links h4,
.adwatkm-footer__contact h4 {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 700;
}

.adwatkm-footer__links li { margin-bottom: 8px; }

.adwatkm-footer__links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.adwatkm-footer__links a:hover { color: var(--accent-gold); }

.adwatkm-footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-whatsapp);
  font-weight: 600;
}

.adwatkm-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.adwatkm-footer__bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Page Content
   ========================================================================== */

.adwatkm-page-content {
  padding: 32px 0 48px;
}

.adwatkm-page-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
}

.adwatkm-page-desc {
  margin: 0 0 24px;
  color: var(--text-muted);
}

.adwatkm-entry-content { line-height: 1.8; }
.adwatkm-entry-content p { margin-bottom: 1em; }

/* Forms */
.adwatkm-form {
  max-width: 560px;
  margin: 0 auto;
}

.adwatkm-form-row {
  margin-bottom: 16px;
}

.adwatkm-form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.adwatkm-form-row input,
.adwatkm-form-row select,
.adwatkm-form-row textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-btn);
  outline: none;
  transition: border-color var(--transition);
}

.adwatkm-form-row input:focus,
.adwatkm-form-row select:focus,
.adwatkm-form-row textarea:focus {
  border-color: var(--accent-gold);
}

.adwatkm-track-result {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.adwatkm-track-result.is-error { border-color: #ef4444; }
.adwatkm-track-result.is-success { border-color: var(--accent-whatsapp); }

/* ==========================================================================
   WooCommerce Overrides
   ========================================================================== */

.adwatkm-shop-wrap { padding: 24px 0 48px; flex: 1; }

.woocommerce .woocommerce-breadcrumb { display: none; }

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}

.woocommerce ul.products li.product .adwatkm-product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 200px;
  background: linear-gradient(180deg, #1e2836 0%, #121a24 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.woocommerce ul.products li.product .adwatkm-product-card__media img,
.woocommerce ul.products li.product .adwatkm-product-card__media .woocommerce-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 18px;
  box-sizing: border-box;
  background: transparent;
}

body:not(.adwatkm-shop-page) .woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 14px 14px 6px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
  min-height: 2.9em;
}

body:not(.adwatkm-shop-page) .woocommerce ul.products li.product .price {
  padding: 0 14px 12px;
  margin-top: auto;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.95rem;
  direction: ltr;
  text-align: right;
  unicode-bidi: plaintext;
}

.woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-inline-start: 4px;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .adwatkm-customize-link {
  margin: 0 14px 14px;
  width: calc(100% - 28px);
  text-align: center;
  display: inline-block;
  background: linear-gradient(135deg, #f3f4f6, #d1d5db) !important;
  color: var(--text-dark) !important;
  border-radius: var(--radius-btn) !important;
  font-weight: 600 !important;
  padding: 10px 12px !important;
  box-sizing: border-box;
}

/* Single product layout: see assets/css/single-product.css */

.woocommerce table.shop_table {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout .col2-set {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.woocommerce form .form-row input,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-radius: var(--radius-btn);
  padding: 10px 14px;
}

.woocommerce #payment {
  background: var(--bg-card) !important;
  border-radius: var(--radius-card);
}

.woocommerce #payment ul.payment_methods {
  border-color: rgba(255, 255, 255, 0.06);
}

.woocommerce #place_order {
  background: linear-gradient(135deg, #f3f4f6, #d1d5db) !important;
  color: var(--text-dark) !important;
  border-radius: var(--radius-btn) !important;
  font-weight: 700 !important;
  width: 100%;
  padding: 14px !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--bg-card);
  border-radius: var(--radius-btn);
  border-top: none;
  border-right: 3px solid var(--accent-gold);
  color: var(--text-primary);
}

.woocommerce .star-rating { color: var(--accent-gold); }

.adwatkm-product-customization .required {
  color: #ef4444;
}

/* Customizable badge on product cards */
.adwatkm-customizable-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--accent-gold);
  color: var(--text-dark);
  border-radius: 20px;
  z-index: 2;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Contact page */
.adwatkm-contact-grid {
  display: grid;
  gap: 32px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .adwatkm-contact-grid {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }
}

.adwatkm-contact-info {
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.adwatkm-contact-info p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Search results */
.adwatkm-search-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.adwatkm-search-item h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.adwatkm-search-item h2 a {
  color: var(--text-primary);
  transition: color var(--transition);
}

.adwatkm-search-item h2 a:hover { color: var(--accent-gold); }

.adwatkm-search-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 404 */
.adwatkm-404 {
  text-align: center;
  padding: 64px 0;
}

.adwatkm-404 .adwatkm-hero__actions {
  justify-content: center;
  margin-top: 24px;
}

/* Portfolio single */
.adwatkm-portfolio-single__image {
  margin: 24px 0;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.adwatkm-portfolio-single__image img {
  width: 100%;
  height: auto;
}

/* Pagination */
.navigation.pagination {
  margin-top: 32px;
  text-align: center;
}

.navigation.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.navigation.pagination a,
.navigation.pagination span {
  padding: 8px 14px;
  background: var(--bg-card);
  border-radius: var(--radius-btn);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.navigation.pagination span.current {
  background: var(--accent-gold);
  color: var(--text-dark);
  font-weight: 700;
}
