/*
Theme Name:  Al Wissam
Theme URI:   https://alwissam.dz
Author:      Abdelhak Bouchikh
Description: قالب دار الوسام العربي للنشر والتوزيع — WooCommerce
Version:     2.0.0
Text Domain: alwissam
*/

/* ═══════════════════════════════════════════════════
   1. TOKENS
═══════════════════════════════════════════════════ */
:root {
  --navy:        #11274a;
  --navy-deep:   #0b1c35;
  --navy-mid:    #1d3f6e;
  --gold:        #c49a46;
  --gold-lt:     #d9b96a;
  --gold-pale:   #f0e5cc;
  --cream:       #f7f3eb;
  --cream-mid:   #ede6d8;
  --cream-lt:    #faf7f2;
  --white:       #ffffff;
  --ink:         #1e2d40;
  --ink-mid:     #374151;
  --ink-soft:    #526070;
  --muted:       #7f8fa0;
  --border:      #e5ddd2;
  --border-mid:  #d8cfc3;
  --green:       #1a6e40;
  --green-bg:    #edf8f2;
  --green-bd:    #c3e4d0;
  --red:         #c0392b;
  --red-bg:      #fdf0ef;
  --sh-xs: 0 1px 4px rgba(17,39,74,.05);
  --sh-sm: 0 3px 12px rgba(17,39,74,.07);
  --sh:    0 6px 24px rgba(17,39,74,.10);
  --sh-md: 0 10px 36px rgba(17,39,74,.13);
  --sh-lg: 0 18px 56px rgba(17,39,74,.16);
  --r-xs: 6px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
}

/* ═══════════════════════════════════════════════════
   2. RESET
═══════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', sans-serif;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.85;
  background: var(--cream);
  color: var(--ink);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: 'Tajawal', sans-serif;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════
   3. LAYOUT
═══════════════════════════════════════════════════ */
.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.container--narrow {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   4. HEADER
═══════════════════════════════════════════════════ */
.aw-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 300;
  box-shadow: var(--sh-xs);
}

.aw-header__strip {
  background: var(--navy-deep);
  color: rgba(255,255,255,.65);
  font-size: 12.5px;
  font-weight: 300;
  padding: 6px 0;
  text-align: center;
}

.aw-header__strip a {
  color: var(--gold-lt);
  font-weight: 500;
}

.aw-header__inner {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.aw-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.aw-logo__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
}

.aw-logo__sub {
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: .04em;
}

.aw-logo:hover .aw-logo__name {
  color: var(--gold);
}

.aw-search__form {
  display: flex;
  align-items: center;
  background: var(--cream-lt);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.aw-search__form:focus-within {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(196,154,70,.12);
}

.aw-search__input {
  flex: 1;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  min-width: 0;
}

.aw-search__input::placeholder {
  color: var(--muted);
}

.aw-search__btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: color .2s;
  cursor: pointer;
}

.aw-search__btn:hover {
  color: var(--navy);
}

.aw-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.aw-nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.aw-nav__link:hover {
  background: var(--cream);
  color: var(--navy);
}

.aw-nav__link--cart {
  background: var(--navy);
  color: var(--white);
}

.aw-nav__link--cart:hover {
  background: var(--navy-mid);
  color: var(--white);
}

.aw-nav__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background: var(--gold);
  color: var(--white);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  padding: 0 5px;
}

.aw-subnav {
  border-top: 1px solid var(--border);
  background: var(--cream-lt);
}

.aw-subnav__inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0;
}

.aw-subnav__inner::-webkit-scrollbar {
  display: none;
}

.aw-subnav__inner > a,
.aw-subnav__inner .menu-item > a,
.aw-subnav__link {
  display: inline-block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.aw-subnav__inner > a:hover,
.aw-subnav__inner .menu-item > a:hover,
.aw-subnav__inner .current-menu-item > a,
.aw-subnav__link:hover {
  color: var(--navy);
  border-color: var(--gold);
}

@media (max-width: 860px) {
  .aw-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .aw-search {
    grid-column: 1 / -1;
    order: 3;
  }
}

@media (max-width: 520px) {
  .aw-header__strip {
    display: none;
  }

  .aw-nav__link span:not(.aw-nav__cart-count) {
    display: none;
  }

  .aw-nav__link {
    padding: 8px;
  }
}

/* ═══════════════════════════════════════════════════
   5. FOOTER
═══════════════════════════════════════════════════ */
.aw-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.65);
  font-weight: 300;
  margin-top: 48px;
}

.aw-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.aw-footer__brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.aw-footer__brand-desc {
  font-size: 13.5px;
  line-height: 1.9;
  margin-bottom: 20px;
  color: rgba(255,255,255,.5);
}

.aw-footer__social {
  display: flex;
  gap: 10px;
}

.aw-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: background .2s, border-color .2s, color .2s;
}

.aw-footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.aw-footer__col-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-lt);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.aw-footer__col ul {
  display: grid;
  gap: 8px;
}

.aw-footer__col ul li a {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}

.aw-footer__col ul li a:hover {
  color: var(--gold-lt);
}

.aw-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,.35);
}

.aw-footer__bottom a {
  color: rgba(255,255,255,.45);
}

.aw-footer__bottom a:hover {
  color: var(--gold-lt);
}

@media (max-width: 900px) {
  .aw-footer__main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .aw-footer__main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 28px;
  }
}

/* ═══════════════════════════════════════════════════
   6. BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: var(--r-sm);
  border: 0;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(17,39,74,.22);
}

.btn--primary:hover {
  background: var(--navy-mid);
  color: var(--white);
  box-shadow: var(--sh-md);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(196,154,70,.3);
}

.btn--gold:hover {
  background: var(--gold-lt);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--sm {
  height: 38px;
  padding: 0 18px;
  font-size: 13px;
}

.btn--lg {
  height: 56px;
  padding: 0 34px;
  font-size: 15px;
}

/* ═══════════════════════════════════════════════════
   7. BREADCRUMB
═══════════════════════════════════════════════════ */
.aw-breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.aw-breadcrumb a {
  color: var(--navy);
  font-weight: 400;
}

.aw-breadcrumb a:hover {
  color: var(--gold);
}

.woocommerce-breadcrumb {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  padding: 12px 0;
}

.woocommerce-breadcrumb a {
  color: var(--navy);
}

.woocommerce-breadcrumb a:hover {
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════
   8. HOMEPAGE HERO
═══════════════════════════════════════════════════ */
.aw-hero {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.aw-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 110% 50%, rgba(196,154,70,.18), transparent 55%),
    radial-gradient(ellipse 40% 60% at -10% 80%, rgba(29,63,110,.5), transparent 50%);
  pointer-events: none;
}

.aw-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 560px;
  align-items: stretch;
}

.aw-hero__content {
  padding: 72px 56px 72px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.aw-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,154,70,.14);
  border: 1px solid rgba(196,154,70,.3);
  color: var(--gold-lt);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 400;
  margin-bottom: 22px;
  width: fit-content;
}

.aw-hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.aw-hero__title {
  font-size: clamp(1.8rem,3vw,2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 18px;
}

.aw-hero__text {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,.72);
  line-height: 2;
  max-width: 500px;
  margin-bottom: 32px;
}

.aw-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.aw-hero__visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.aw-hero__books {
  position: relative;
  width: 280px;
  height: 380px;
}

.aw-hero__book {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.aw-hero__book--main {
  width: 200px;
  height: 270px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%) rotate(-2deg);
  z-index: 3;
}

.aw-hero__book--back {
  width: 175px;
  height: 240px;
  top: 38%;
  left: 28%;
  transform: translate(-50%,-50%) rotate(6deg);
  z-index: 1;
  opacity: .7;
}

.aw-hero__book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--cream-mid);
}

.aw-hero__book-card {
  position: absolute;
  bottom: 8%;
  right: 4%;
  background: rgba(255,255,255,.97);
  border-radius: var(--r);
  padding: 14px 16px;
  z-index: 5;
  box-shadow: var(--sh-md);
  min-width: 155px;
}

.aw-hero__book-card-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.aw-hero__book-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 4px;
}

.aw-hero__book-card-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.aw-hero__stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.2);
}

.aw-hero__stat {
  padding: 20px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,.06);
}

.aw-hero__stat:last-child {
  border-left: none;
}

.aw-hero__stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.aw-hero__stat span {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255,255,255,.5);
}

@media (max-width: 920px) {
  .aw-hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .aw-hero__content {
    padding: 48px 24px 32px;
  }

  .aw-hero__visual {
    padding: 24px;
  }

  .aw-hero__stats {
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width: 480px) {
  .aw-hero__books {
    width: 220px;
    height: 310px;
  }

  .aw-hero__book--main {
    width: 165px;
    height: 220px;
  }

  .aw-hero__book--back {
    width: 145px;
    height: 195px;
  }
}

/* ═══════════════════════════════════════════════════
   9. SECTIONS (generic)
═══════════════════════════════════════════════════ */
.aw-section {
  padding: 56px 0;
}

.aw-section--gray {
  background: var(--cream-lt);
}

.aw-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.aw-section-header__eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.aw-section-header__title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.aw-section-header__subtitle {
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

.aw-section-header__link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color .2s;
}

.aw-section-header__link:hover {
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════
   10. CATEGORY CARDS
═══════════════════════════════════════════════════ */
.aw-categories {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.aw-cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .22s, box-shadow .22s;
  text-decoration: none;
  color: inherit;
}

.aw-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}

.aw-cat-card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-sm);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.aw-cat-card__name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
}

.aw-cat-card__count {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted);
}

@media (max-width: 960px) {
  .aw-categories {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 520px) {
  .aw-categories {
    gap: 12px;
  }
}

/* ═══════════════════════════════════════════════════
   11. BOOK CARD
═══════════════════════════════════════════════════ */
.aw-book-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s, box-shadow .22s;
  box-shadow: var(--sh-xs);
}

.aw-book-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}

.aw-book-card__thumb {
  position: relative;
  overflow: hidden;
  background: var(--cream-mid);
  display: block;
  flex-shrink: 0;
}

.aw-book-card__thumb img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.aw-book-card:hover .aw-book-card__thumb img {
  transform: scale(1.05);
}

.aw-book-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.aw-book-card__wish {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--muted);
  transition: background .2s, color .2s;
  cursor: pointer;
}

.aw-book-card__wish:hover {
  background: var(--gold);
  color: var(--white);
}

.aw-book-card__body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aw-book-card__cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.aw-book-card__title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  flex: 1;
}

.aw-book-card__title a {
  color: inherit;
}

.aw-book-card__title a:hover {
  color: var(--gold);
}

.aw-book-card__author {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
}

.aw-book-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.aw-book-card__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.aw-book-card__price del {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  margin-left: 4px;
}

.aw-book-card__stock {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid var(--green-bd);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.aw-book-card__stock--out {
  color: var(--red);
  background: var(--red-bg);
  border-color: #f3c3be;
}

.aw-book-card__footer {
  padding: 0 14px 14px;
}

.aw-book-card__add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 42px;
  border-radius: var(--r-sm);
  border: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 500;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: background .2s, transform .15s;
  text-decoration: none;
  padding: 10px 14px;
}

.aw-book-card__add:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════
   12. BOOKS GRID
═══════════════════════════════════════════════════ */
.aw-books-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .aw-books-grid {
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width: 760px) {
  .aw-books-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 14px;
  }
}

@media (max-width: 380px) {
  .aw-books-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   13. ABOUT + CTA (homepage)
═══════════════════════════════════════════════════ */
.aw-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.aw-about__content {
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aw-about__eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.aw-about__title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 14px;
}

.aw-about__text {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 2;
  margin-bottom: 24px;
}

.aw-about__features {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.aw-about__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-mid);
}

.aw-about__feature-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 1px solid rgba(196,154,70,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.aw-about__visual {
  background: linear-gradient(145deg,#e8dfc9,var(--cream-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 400px;
}

.aw-about__quote-box {
  max-width: 320px;
  background: rgba(255,255,255,.85);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh);
  position: relative;
}

.aw-about__quote-mark {
  font-family: Georgia, serif;
  font-size: 72px;
  color: var(--gold);
  line-height: .8;
  opacity: .35;
  position: absolute;
  top: 10px;
  right: 22px;
}

.aw-about__quote-text {
  font-size: 15.5px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

.aw-about__quote-author {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 14px;
}

@media (max-width: 900px) {
  .aw-about {
    grid-template-columns: 1fr;
  }

  .aw-about__visual {
    min-height: 220px;
  }

  .aw-about__content {
    padding: 36px 28px;
  }
}

.aw-cta {
  background: linear-gradient(135deg,var(--navy),var(--navy-mid));
  border-radius: var(--r-xl);
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.aw-cta::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(196,154,70,.12);
  pointer-events: none;
}

.aw-cta__title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.aw-cta__sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.75);
}

/* ═══════════════════════════════════════════════════
   14. SHOP PAGE
═══════════════════════════════════════════════════ */
.aw-shop__hero {
  background: linear-gradient(140deg,var(--navy),var(--navy-mid));
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.aw-shop__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%,rgba(196,154,70,.2),transparent 55%);
  pointer-events: none;
}

.aw-shop__hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.aw-shop__hero-title {
  font-size: clamp(1.7rem,3vw,2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.aw-shop__hero-sub {
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.9;
}

.aw-shop {
  padding: 28px 0 60px;
}

.aw-shop__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.aw-shop__results,
.woocommerce-result-count {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--muted);
  margin: 0;
}

.aw-shop__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aw-shop__tools select,
.woocommerce-ordering select {
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--cream-lt);
  font-size: 13px;
  font-weight: 300;
  font-family: 'Tajawal', sans-serif;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
}

.aw-shop__tools select:focus,
.woocommerce-ordering select:focus {
  border-color: var(--gold);
}

.aw-filter-btn {
  display: none;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  font-family: 'Tajawal', sans-serif;
  color: var(--navy);
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background .2s;
}

.aw-filter-btn:hover {
  background: var(--cream);
}

.aw-shop__layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  grid-template-areas: "products sidebar";
  gap: 28px;
  align-items: start;
}

.aw-products {
  grid-area: products;
  min-width: 0;
}

.aw-sidebar {
  grid-area: sidebar;
  position: sticky;
  top: 90px;
  display: grid;
  gap: 16px;
}

.aw-products__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.aw-filter-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xs);
}

.aw-filter-panel__head {
  padding: 14px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aw-filter-panel__body {
  padding: 12px 18px;
}

.aw-filter-panel__body ul {
  display: grid;
  gap: 3px;
}

.aw-filter-panel__body ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px;
  border-radius: var(--r-xs);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-soft);
  transition: background .15s, color .15s;
}

.aw-filter-panel__body ul li a:hover {
  background: var(--cream);
  color: var(--gold);
}

.aw-filter-panel__body ul li a .count {
  font-size: 12px;
  color: var(--muted);
  background: var(--cream);
  padding: 2px 7px;
  border-radius: 999px;
}

.aw-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.aw-pagination .page-numbers,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
  padding: 0 8px;
  margin: 0 3px;
}

.aw-pagination .page-numbers:hover,
.aw-pagination .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 960px) {
  .aw-shop__layout {
    grid-template-columns: 1fr;
    grid-template-areas: "products";
  }

  .aw-sidebar {
    position: static;
    display: none;
  }

  .aw-sidebar.is-open {
    display: grid;
  }

  .aw-filter-btn {
    display: inline-flex;
  }

  .aw-products__grid {
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width: 760px) {
  .aw-products__grid {
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
  }
}

/* ═══════════════════════════════════════════════════
   15. SINGLE PRODUCT
═══════════════════════════════════════════════════ */
.single-product .aw-product {
  padding: 18px 0 60px;
}

.single-product .aw-product .container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.single-product .aw-product__layout {
  display: grid;
  grid-template-columns: minmax(320px,420px) minmax(0,1fr);
  grid-template-areas: "gallery content";
  gap: 32px;
  align-items: start;
  margin-bottom: 28px;
}

.single-product .aw-product__gallery {
  grid-area: gallery;
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.single-product .aw-product__summary {
  grid-area: content;
  min-width: 0;
  display: grid;
  gap: 18px;
}

.single-product .aw-product__cover {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.single-product .aw-product__cover-img,
.single-product .aw-product__cover img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
}

.single-product .aw-product__author-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  box-shadow: var(--sh-xs);
}

.single-product .aw-product__author-badge:hover {
  background: var(--cream);
  color: var(--gold);
}

.single-product .aw-product__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-xs);
}

.single-product .aw-product__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(196,154,70,.1);
  border: 1px solid rgba(196,154,70,.25);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.single-product .aw-product__cat {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.single-product .aw-product__title {
  font-size: clamp(1.6rem,2.4vw,2.3rem);
  line-height: 1.5;
  margin: 0 0 16px;
  color: var(--ink);
  word-break: break-word;
}

.single-product .aw-product__author-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--cream-lt);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}

.single-product .aw-product__author-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.single-product .aw-product__author-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

.single-product .aw-product__price-wrap {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}

.single-product .aw-product__price-wrap .woocommerce-Price-amount {
  color: var(--navy);
}

.single-product .aw-product__price-wrap del .woocommerce-Price-amount {
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
}

.single-product .aw-product__price-wrap ins {
  text-decoration: none;
}

.single-product .aw-product__stock {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.single-product .aw-product__stock--in {
  color: var(--green);
}

.single-product .aw-product__stock--out {
  color: var(--red);
}

.single-product .aw-product__excerpt {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 2;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.single-product .aw-product__atc form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.single-product .aw-product__atc .quantity input.qty,
.single-product .woocommerce .quantity input.qty {
  width: 80px;
  height: 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  background: var(--cream-lt);
  outline: none;
}

.single-product .aw-product__atc .single_add_to_cart_button,
.single-product .aw-product__atc .button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-sm);
  border: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.single-product .aw-product__atc .single_add_to_cart_button:hover,
.single-product .aw-product__atc .button:hover {
  background: var(--gold);
  color: var(--white);
}

.single-product .aw-product__specs {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xs);
}

.single-product .aw-product__specs-head {
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  background: var(--cream-lt);
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-product .aw-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.single-product .aw-spec-table tr {
  border-bottom: 1px solid var(--border);
}

.single-product .aw-spec-table tr:last-child {
  border-bottom: none;
}

.single-product .aw-spec-table th,
.single-product .aw-spec-table td {
  padding: 13px 20px;
  text-align: right;
  vertical-align: top;
}

.single-product .aw-spec-table th {
  width: 38%;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}

.single-product .aw-spec-table td {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink);
}

.single-product .aw-product__desc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--sh-xs);
  margin-bottom: 28px;
}

.single-product .aw-product__desc-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.single-product .aw-product__desc-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 2.1;
}

.single-product .aw-product__desc-body p {
  margin-bottom: 16px;
}

.single-product .aw-product__related-wrap {
  margin-top: 28px;
}

.single-product .aw-product__related-wrap h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}

.single-product .aw-product__related-wrap .aw-books-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

.single-product .aw-product__related-wrap .aw-book-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-xs);
}

.single-product .aw-product__related-wrap .aw-book-card__thumb img {
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  display: block;
}

.single-product .aw-product__related-wrap .aw-book-card__body {
  padding: 14px;
}

.single-product .aw-product__related-wrap .aw-book-card__title {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 6px 0;
}

.single-product .aw-product__related-wrap .aw-book-card__footer {
  padding: 0 14px 14px;
}

@media (max-width: 1100px) {
  .single-product .aw-product__related-wrap .aw-books-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 960px) {
  .single-product .aw-product__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "gallery"
      "content";
  }

  .single-product .aw-product__gallery {
    position: static;
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .single-product .aw-product__related-wrap .aw-books-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .single-product .aw-product .container {
    width: min(100%, calc(100% - 24px));
  }

  .single-product .aw-product__card,
  .single-product .aw-product__desc-card {
    padding: 20px;
  }

  .single-product .aw-product__title {
    font-size: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════
   16. PAGE / BLOG / SINGLE
═══════════════════════════════════════════════════ */
.aw-page {
  padding: 36px 0 60px;
}

.aw-page__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--sh-xs);
}

.aw-page__title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.aw-page__content {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 2.1;
}

.aw-page__content h2,
.aw-page__content h3 {
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 10px;
}

.aw-page__content p {
  margin-bottom: 16px;
}

.aw-page__content a {
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}

.aw-page__content a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.aw-post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  margin-bottom: 18px;
  box-shadow: var(--sh-xs);
}

.aw-post-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.aw-post-card__title a {
  color: inherit;
}

.aw-post-card__title a:hover {
  color: var(--gold);
}

.aw-post-card__excerpt {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.9;
}

.aw-empty {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 60px 30px;
  text-align: center;
}

.aw-empty h1,
.aw-empty h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.aw-empty p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════
   17. COMMENTS
═══════════════════════════════════════════════════ */
.aw-comments {
  margin-top: 32px;
}

.aw-comments__title,
.aw-comment-form__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 18px;
}

.aw-comments__list {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  list-style: none;
  padding: 0;
}

.aw-comment {
  display: flex;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--sh-xs);
}

.aw-comment__avatar img {
  border-radius: 50%;
  flex-shrink: 0;
}

.aw-comment__body {
  flex: 1;
  min-width: 0;
}

.aw-comment__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.aw-comment__name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.aw-comment__date {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted);
}

.aw-comment__text {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.85;
}

.aw-comment__reply a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-top: 8px;
  display: inline-block;
}

.aw-comment-form {
  display: grid;
  gap: 14px;
}

.aw-comment-form p {
  margin: 0;
}

.aw-comment-form input,
.aw-comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 300;
  font-family: 'Tajawal', sans-serif;
  background: var(--cream-lt);
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}

.aw-comment-form input:focus,
.aw-comment-form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

@media (max-width: 600px) {
  .aw-comment {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════
   18. AUTHORS PAGE
═══════════════════════════════════════════════════ */
.aw-authors-page {
  padding: 28px 0 60px;
}

.aw-authors-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.aw-authors-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 22px;
  text-align: center;
  box-shadow: var(--sh-xs);
}

.aw-authors-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.aw-authors-stat span {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted);
}

.aw-authors-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.aw-author-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  align-items: start;
  transition: transform .22s, box-shadow .22s;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.aw-author-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.aw-author-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  opacity: 0;
  transition: opacity .2s;
}

.aw-author-card:hover::before {
  opacity: 1;
}

.aw-author-card__photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-mid);
  border: 3px solid var(--white);
  box-shadow: var(--sh-sm);
  position: relative;
  flex-shrink: 0;
}

.aw-author-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aw-author-card__initial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-pale);
}

.aw-author-card__count {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.aw-author-card__name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  transition: color .2s;
}

.aw-author-card:hover .aw-author-card__name {
  color: var(--gold);
}

.aw-author-card__bio {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 8px;
}

.aw-author-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.aw-author-card__books-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 999px;
}

.aw-author-card__cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  opacity: 0;
  transition: opacity .2s;
}

.aw-author-card:hover .aw-author-card__cta {
  opacity: 1;
}

.aw-author-card__cover-hint {
  width: 48px;
  border-radius: var(--r-sm);
  overflow: hidden;
  opacity: .6;
  align-self: center;
  transition: opacity .2s;
}

.aw-author-card__cover-hint img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.aw-author-card:hover .aw-author-card__cover-hint {
  opacity: 1;
}

@media (max-width: 960px) {
  .aw-authors-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 580px) {
  .aw-authors-grid {
    grid-template-columns: 1fr;
  }

  .aw-author-card {
    grid-template-columns: 64px 1fr;
  }

  .aw-author-card__cover-hint {
    display: none;
  }
}

.aw-author-hero {
  background: linear-gradient(140deg,var(--navy),var(--navy-mid));
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}

.aw-author-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%,rgba(196,154,70,.18),transparent 55%);
  pointer-events: none;
}

.aw-author-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
}

.aw-author-hero__photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 4px solid rgba(255,255,255,.2);
  box-shadow: var(--sh-lg);
  background: var(--cream-mid);
}

.aw-author-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aw-author-hero__initial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-pale);
}

.aw-author-hero__name {
  font-size: clamp(1.5rem,3vw,2.1rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.aw-author-hero__bio {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.75);
  line-height: 1.9;
  max-width: 560px;
  margin-bottom: 14px;
}

.aw-author-hero__stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.aw-author-hero__stat span {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,.55);
}

.aw-author-books {
  padding: 32px 0 60px;
}

@media (max-width: 600px) {
  .aw-author-hero__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════
   19. WOOCOMMERCE GLOBAL OVERRIDES
═══════════════════════════════════════════════════ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid var(--border);
  border-right: 4px solid var(--navy);
  border-radius: var(--r);
  padding: 12px 18px;
  font-size: 14px;
  background: var(--white);
  box-shadow: var(--sh-xs);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}

.woocommerce-message {
  border-right-color: var(--green);
}

.woocommerce-error {
  border-right-color: var(--red);
}

.woocommerce-Price-amount {
  font-weight: 700;
  color: var(--navy);
}

del .woocommerce-Price-amount {
  font-weight: 300;
  color: var(--muted);
}

ins {
  text-decoration: none;
}

.woocommerce-product-gallery__trigger {
  display: none;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 300;
  font-family: 'Tajawal', sans-serif;
  background: var(--cream-lt);
  color: var(--ink);
  outline: none;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

.woocommerce form .form-row label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 6px;
  display: block;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  border: 0;
  font-size: 13.5px;
  font-weight: 500;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  background: var(--navy);
  color: var(--white);
  transition: background .2s;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--navy-mid);
  color: var(--white);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--gold);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--gold-lt);
}

.aw-wc-wrap {
  padding: 32px 0 60px;
}

.woocommerce table.shop_table {
  border: 1px solid var(--border);
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

.woocommerce table.shop_table th {
  background: var(--cream-lt);
  font-weight: 600;
  color: var(--navy);
  padding: 12px 16px;
}

.woocommerce table.shop_table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}