/*
Theme Name: Art of Tibet Clone
Theme URI: https://example.com/art-of-tibet-clone
Author: Custom Theme
Description: Dynamic WooCommerce-ready WordPress theme converted from the Art Of Tibet static single page.
Version: 1.9.0-product-card-short-description
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: art-of-tibet-clone
*/

:root {
      --ink: #050505;
      --soft-ink: #3d3d3d;
      --paper: #ffffff;
      --mist: #f6f6f6;
      --line: #dedede;
      --gold: #c59036;
      --footer: #f8f5ee;
      --max: 1260px;
    }

    * { box-sizing: border-box; }
    html {
      max-width: 100%;
      overflow-x: hidden;
      scroll-behavior: smooth;
    }
    body {
      margin: 0;
      font-family: Inter, Arial, sans-serif;
      color: var(--ink);
      background: var(--paper);
      letter-spacing: 0;
      max-width: 100%;
      overflow-x: hidden;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button, input { font: inherit; }
    .wrap { width: min(var(--max), calc(100% - 72px)); margin: 0 auto; }

    .topbar {
      height: 43px;
      background: #050505;
      color: #fff;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: 0 48px;
      font-size: 13px;
      font-weight: 700;
    }
    .topbar .left, .topbar .right { display: flex; gap: 22px; align-items: center; }
    .topbar .right { justify-content: flex-end; }
    .topbar .sale { text-align: center; letter-spacing: .6px; }

    .nav {
      height: 92px;
      background: #fff;
      border-bottom: 1px solid #eee;
      display: grid;
      grid-template-columns: 220px 1fr 240px;
      align-items: center;
      padding: 0 52px;
      position: sticky;
      top: 0;
      z-index: 10;
    }
    .logo { width: 150px; }
    .navlinks {
      display: flex;
      justify-content: center;
      gap: 44px;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }
    .nav-item { height: 92px; display: flex; align-items: center; }
    .nav-link { border: 0; background: transparent; padding: 0; font: inherit; font-weight: 800; cursor: pointer; }
    .nav-link::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 7px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; vertical-align: middle; }
    .nav-link.plain::after { display: none; }
    .mega-menu {
      position: absolute;
      top: 92px;
      left: 0;
      width: 100%;
      background: #fff;
      border-top: 1px solid #ececec;
      border-bottom: 1px solid #dcdcdc;
      box-shadow: 0 18px 34px rgba(0,0,0,.12);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
      z-index: 11;
      white-space: normal;
    }
    .nav-item:hover .mega-menu,
    .nav-item.open .mega-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .mega-menu.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .mega-inner {
      width: min(1180px, calc(100% - 80px));
      margin: 0 auto;
      padding: 28px 0;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 26px;
    }
    .mega-card {
      display: grid;
      gap: 12px;
      font-size: 13px;
      font-weight: 800;
      text-align: center;
    }
    .mega-card img { width: 100%; aspect-ratio: 1 / .72; object-fit: cover; background: #f1f1f1; }
    .mega-card span { display: block; }
    .actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; font-size: 18px; }
    .currency-wrap { position: relative; }
    .currency { border: 0; background: transparent; font-size: 13px; font-weight: 700; display: flex; gap: 6px; align-items: center; cursor: pointer; padding: 0; }
    .currency::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
    .currency-menu {
      position: absolute;
      top: 29px;
      right: 0;
      width: 150px;
      background: #fff;
      border: 1px solid #ddd;
      box-shadow: 0 12px 24px rgba(0,0,0,.12);
      display: none;
      z-index: 20;
    }
    .currency-menu.open { display: block; }
    .currency-menu button {
      width: 100%;
      border: 0;
      background: #fff;
      text-align: left;
      padding: 10px 13px;
      font-size: 12px;
      cursor: pointer;
    }
    .currency-menu button:hover { background: #f5f5f5; }
    .icon-btn {
      min-width: 24px;
      height: 24px;
      border: 0;
      background: transparent;
      cursor: pointer;
      display: inline-grid;
      place-items: center;
      padding: 0;
    }
    .actions .icon-btn { width: auto; min-width: 42px; font-size: 12px; font-weight: 800; }
    .hamburger { display: none; }

    .shade {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.45);
      z-index: 25;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s ease;
    }
    .shade.open { opacity: 1; pointer-events: auto; }
    .side-panel {
      position: fixed;
      inset: 0 auto 0 0;
      width: min(360px, 88vw);
      background: #fff;
      z-index: 35;
      transform: translateX(-105%);
      transition: transform .25s ease;
      display: flex;
      flex-direction: column;
      box-shadow: 14px 0 32px rgba(0,0,0,.2);
    }
    .side-panel.open { transform: translateX(0); }
    .panel-head {
      min-height: 58px;
      border-bottom: 1px solid #e5e5e5;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 18px;
      font-size: 14px;
      font-weight: 800;
    }
    .mobile-menu { overflow: auto; padding: 6px 0 18px; }
    .mobile-menu details { border-bottom: 1px solid #ececec; }
    .mobile-menu summary, .mobile-menu a {
      min-height: 45px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 18px;
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
    }
    .mobile-menu details a { padding-left: 32px; font-weight: 600; color: #333; }
    .cart-panel {
      position: fixed;
      inset: 0 0 0 auto;
      width: min(420px, 92vw);
      background: #fff;
      z-index: 36;
      transform: translateX(105%);
      transition: transform .25s ease;
      display: flex;
      flex-direction: column;
      box-shadow: -14px 0 32px rgba(0,0,0,.2);
    }
    .cart-panel.open { transform: translateX(0); }
    .cart-body { padding: 26px 22px; flex: 1; display: grid; align-content: center; text-align: center; color: #333; }
    .cart-actions { border-top: 1px solid #eee; padding: 18px 22px 24px; display: grid; gap: 10px; }
    .outline-btn {
      border: 1px solid #111;
      background: #fff;
      color: #111;
      min-height: 41px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 800;
      cursor: pointer;
    }

    .hero {
      min-height: 805px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;
      padding: 0 24px 60px;
      text-align: center;
      color: #fff;
      background-image: url("https://www.artoftibet.com/cdn/shop/files/slide_1_2000x.jpg?v=1767019756");
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .hero-card {
      margin-top: 0;
      text-shadow: 0 2px 12px rgba(0,0,0,.55);
      animation: rise .65s ease both;
    }
    .hero h1 {
      margin: 0;
      font-size: 47px;
      line-height: .98;
      font-weight: 800;
    }
    .hero p {
      margin: 20px 0 23px;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .4px;
    }
    .hero .hero-kicker {
      margin: 0 0 12px;
      color: #f3d37e;
      font-size: 12px;
      text-transform: uppercase;
    }
    .btn {
      border: 0;
      background: #050505;
      color: #fff;
      min-height: 41px;
      padding: 0 27px;
      font-size: 12px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .intro-copy {
      background: #f7f7f7;
      text-align: center;
      padding: 42px 24px 48px;
    }
    .intro-copy h2 {
      margin: 0 0 16px;
      font: 700 19px/1.2 Montserrat, sans-serif;
    }
    .intro-copy p { margin: 0 auto; max-width: 600px; color: #444; font-size: 13px; line-height: 1.65; }

    .split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }
    .split img { width: 100%; height: 480px; object-fit: cover; }
    .split-copy { padding: 70px min(8vw, 120px); }
    .split-copy h2 {
      margin: 0 0 20px;
      font: 800 30px/1.15 Montserrat, sans-serif;
      letter-spacing: .5px;
    }
    .split-copy p { color: #202020; font-size: 14px; line-height: 1.75; max-width: 520px; }

    .section-title {
      text-align: center;
      padding: 54px 0 24px;
    }
    .section-title h2 {
      margin: 0 0 10px;
      font-size: 22px;
      line-height: 1.2;
      font-weight: 800;
    }
    .section-title p {
      margin: 0 auto;
      max-width: 820px;
      color: #555;
      font-size: 12px;
      line-height: 1.55;
    }
    .line-title {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 22px;
      padding-top: 48px;
    }
    .line-title::before, .line-title::after {
      content: "";
      width: 110px;
      height: 2px;
      background: #050505;
    }

    .arts-grid {
      display: grid;
      grid-template-columns: 345px 1fr 345px;
      grid-template-rows: 345px 345px;
      gap: 20px;
      max-width: 1440px;
      margin: 0 auto;
    }
    .tile {
      position: relative;
      overflow: hidden;
      min-height: 220px;
      background: #eee;
    }
    .tile img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(.96);
      transition: transform .5s ease;
    }
    .tile:hover img { transform: scale(1.04); }
    .tile.big { grid-row: 1 / span 2; grid-column: 2; }
    .label {
      position: absolute;
      left: 50%;
      bottom: 34px;
      transform: translateX(-50%);
      background: rgba(255,255,255,.94);
      padding: 10px 18px;
      font-size: 14px;
      font-weight: 800;
      box-shadow: 0 2px 8px rgba(0,0,0,.16);
      white-space: nowrap;
    }

    .craft-grid {
      display: grid;
      grid-template-columns: 1fr 1.52fr;
      grid-template-rows: 270px 270px;
      gap: 20px;
      max-width: 1440px;
      margin: 24px auto 0;
    }
    .craft-grid .wide { grid-column: 2; grid-row: 1 / span 2; }

    .intentions {
      padding: 210px 0 148px;
      text-align: center;
      min-height: 620px;
    }
    .intentions h2, .belief h2 {
      margin: 0 0 16px;
      font-size: 30px;
      font-weight: 800;
      line-height: 1.15;
    }
    .intentions p {
      max-width: 590px;
      margin: 0 auto;
      color: #222;
      font-size: 14px;
      line-height: 1.7;
    }
    .belief {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      min-height: 480px;
    }
    .belief .belief-copy { padding-left: max(48px, calc((100vw - var(--max)) / 2)); padding-right: 80px; }
    .belief p { font-size: 14px; line-height: 1.7; max-width: 520px; }
    .belief img { width: 100%; height: 480px; object-fit: cover; object-position: center; }

    .reviews {
      padding: 95px 0 95px;
      text-align: center;
    }
    .reviews h2 { margin: 0 0 7px; font-size: 26px; }
    .stars { font-size: 20px; letter-spacing: 1px; }
    .review-track {
      margin: 48px auto 0;
      max-width: 1100px;
      display: grid;
      grid-template-columns: 42px 1fr 42px;
      align-items: center;
      gap: 28px;
    }
    .arrow {
      border: 0;
      background: transparent;
      font-size: 42px;
      line-height: 1;
      cursor: pointer;
    }
    .review-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 72px;
    }
    .review { min-height: 138px; }
    .review strong { display: block; margin: 5px 0 8px; font-size: 13px; }
    .review p { margin: 0 auto 54px; max-width: 430px; font-size: 12px; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .review cite { font-style: normal; color: #8b8b8b; font-size: 12px; }

    .blogs {
      background: #f7f7f7;
      padding: 34px 0 60px;
      text-align: center;
    }
    .blogs .section-title { padding-top: 0; }
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 36px;
      margin: 30px auto 34px;
      width: min(1180px, calc(100% - 88px));
      text-align: left;
    }
    .blog-card img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      background: #efefef;
    }
    .blog-card h3 { font-size: 13px; line-height: 1.45; margin: 18px 0 0; font-weight: 700; }

    .community {
      padding: 78px 24px 66px;
      text-align: center;
    }
    .community h2 { margin: 0 0 25px; font-size: 24px; font-weight: 800; }
    .community p { margin: 0 auto 19px; max-width: 450px; font-size: 12px; line-height: 1.5; }
    .signup {
      margin: 0 auto;
      display: flex;
      justify-content: center;
      max-width: 430px;
    }
    .signup input {
      border: 1px solid #dedede;
      padding: 0 14px;
      height: 40px;
      flex: 1;
      min-width: 0;
      font-size: 13px;
    }

    .service-bar {
      background: #050505;
      color: #fff;
      border-bottom: 1px solid #333;
    }
    .services {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      min-height: 105px;
      align-items: center;
    }
    .service {
      display: grid;
      grid-template-columns: 40px 1fr;
      gap: 18px;
      padding: 0 34px;
      border-right: 1px solid #333;
    }
    .service:last-child { border-right: 0; }
    .service .ico { font-size: 28px; }
    .service strong { display: block; font-size: 13px; margin-bottom: 6px; }
    .service span { display: block; font-size: 12px; line-height: 1.45; color: #e7e7e7; }

    footer {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(180deg, #fffdf8 0%, #f8f5ee 54%, #edf3e8 100%);
      color: #3b2e2a;
      padding: 62px 0 30px;
      border-top: 1px solid #eadfce;
    }
    footer::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 150px;
      pointer-events: none;
      background:
        linear-gradient(165deg, transparent 0 46%, rgba(142, 171, 134, .22) 46.5% 67%, transparent 67.5%),
        linear-gradient(18deg, rgba(195, 169, 124, .2) 0 18%, transparent 18.5%),
        linear-gradient(178deg, transparent 0 38%, rgba(112, 151, 118, .16) 38.5% 60%, transparent 60.5%);
      opacity: .85;
    }
    footer > .wrap {
      position: relative;
      z-index: 1;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.65fr repeat(3, 1fr);
      gap: 56px;
      font-size: 12px;
      line-height: 1.65;
    }
    .footer-logo { width: 150px; margin-bottom: 20px; }
    footer h3 {
      color: #4b332f;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 16px;
      font-weight: 500;
      margin: 0 0 16px;
    }
    footer p {
      color: #6f6259;
      max-width: 280px;
    }
    footer ul { padding: 0; margin: 0; list-style: none; }
    footer li { margin: 7px 0; color: #5e514b; }
    footer a {
      color: #5e514b;
      transition: color .2s ease;
    }
    footer a:hover { color: #9a6b45; }
    .copyright {
      margin-top: 42px;
      padding-top: 22px;
      border-top: 1px solid #dfd2c2;
      display: flex;
      justify-content: space-between;
      gap: 20px;
      align-items: center;
      font-size: 11px;
      color: #82756e;
    }
    .cards { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
    .card-dot { width: 24px; height: 14px; background: #fff; border-radius: 2px; border-top: 4px solid var(--c); }

    .chat {
      position: fixed;
      right: 22px;
      bottom: 150px;
      width: 54px;
      height: 54px;
      border-radius: 50%;
      background: #050505;
      color: #fff;
      z-index: 9;
      display: grid;
      place-items: center;
      box-shadow: 0 4px 12px rgba(0,0,0,.3);
    }
    .chat::after {
      content: "1";
      position: absolute;
      right: -3px;
      top: -5px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #f7255d;
      display: grid;
      place-items: center;
      font-size: 11px;
      font-weight: 800;
    }

    .search-drawer {
      position: fixed;
      inset: 0 0 auto 0;
      min-height: 222px;
      background: #fff;
      z-index: 40;
      transform: translateY(-105%);
      transition: transform .32s ease;
      box-shadow: 0 16px 36px rgba(0,0,0,.12);
      padding: 46px 24px 32px;
      text-align: center;
    }
    .search-drawer.open { transform: translateY(0); }
    .search-drawer h2 { margin: 0 0 20px; font-size: 22px; }
    .search-row { display: flex; max-width: 620px; margin: 0 auto 18px; }
    .search-row input { flex: 1; height: 43px; border: 1px solid #ddd; padding: 0 14px; }
    .close {
      position: absolute;
      right: 24px;
      top: 18px;
      border: 0;
      background: transparent;
      font-size: 28px;
      cursor: pointer;
    }

    .popup {
      position: fixed;
      inset: 0;
      display: none;
      place-items: center;
      background: rgba(0,0,0,.45);
      z-index: 30;
      padding: 24px;
    }
    .popup.show { display: none; }
    .popup-card {
      width: min(680px, 100%);
      background: #050505;
      color: #fff;
      display: grid;
      grid-template-columns: 1fr 1fr;
      position: relative;
      box-shadow: 0 18px 60px rgba(0,0,0,.35);
    }
    .popup-card .product { height: 430px; object-fit: cover; width: 100%; }
    .popup-content { padding: 54px 40px; text-align: center; display: grid; place-items: center; }
    .popup-logo { width: 170px; margin: 0 auto 18px; }
    .popup-content h2 { font-size: 23px; line-height: 1.25; margin: 0 0 16px; }
    .popup-content p { font-size: 13px; line-height: 1.55; color: #eee; }
    .popup-content input { width: 100%; height: 39px; border: 0; padding: 0 12px; margin: 12px 0; }
    .green { background: #2df04f; color: #000; width: 100%; }

    @keyframes rise {
      from { opacity: 0; transform: translateY(14px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 900px) {
      .wrap { width: min(100% - 36px, var(--max)); }
      .topbar {
        height: 26px;
        grid-template-columns: 1fr;
        padding: 0 10px;
        font-size: 8px;
      }
      .topbar .left, .topbar .right { display: none; }
      .nav {
        height: 61px;
        grid-template-columns: 46px 1fr 76px;
        padding: 0 12px;
        top: 0;
      }
      .hamburger { display: inline-grid; }
      .navlinks { display: none; }
      .logo { width: 82px; margin: 0 auto; }
      .currency { display: none; }
      .actions { gap: 10px; font-size: 15px; }
      .actions .hide-mobile { display: none; }
      .hero {
        min-height: 355px;
        padding: 0 18px 42px;
        background-image: url("https://www.artoftibet.com/cdn/shop/files/slide_1_2000x.jpg?v=1767019756");
      }
      .hero-card { margin-top: 0; max-width: 290px; }
      .hero h1 { font-size: 26px; }
      .hero p { font-size: 9px; margin: 12px 0 14px; }
      .btn { min-height: 34px; padding: 0 18px; font-size: 10px; }
      .intro-copy { padding: 28px 26px; }
      .intro-copy h2 { font-size: 12px; }
      .intro-copy p { font-size: 10px; }
      .split { grid-template-columns: 1fr; }
      .split img { height: 320px; }
      .split-copy { padding: 28px 20px 34px; }
      .split-copy h2 { font-size: 21px; }
      .split-copy p { font-size: 11px; }
      .section-title { padding: 31px 18px 17px; }
      .section-title h2 { font-size: 16px; }
      .section-title p { font-size: 9px; }
      .line-title { gap: 8px; padding-top: 26px; }
      .line-title::before, .line-title::after { width: 42px; height: 1px; }
      .arts-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 300px 180px;
        gap: 12px;
      }
      .tile.big { grid-column: 1 / span 2; grid-row: 2; }
      .label { bottom: 15px; padding: 8px 12px; font-size: 11px; }
      .craft-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 210px);
        gap: 10px;
        margin-top: 12px;
      }
      .craft-grid .wide { grid-column: auto; grid-row: auto; }
      .intentions { padding: 44px 22px 38px; min-height: 0; }
      .intentions h2, .belief h2 { font-size: 16px; }
      .intentions p, .belief p { font-size: 10px; }
      .belief { grid-template-columns: 1fr; min-height: 0; }
      .belief .belief-copy { padding: 55px 30px 50px; }
      .belief img { height: auto; min-height: 150px; }
      .reviews { padding: 56px 0 52px; }
      .reviews h2 { font-size: 17px; }
      .stars { font-size: 15px; }
      .review-track { grid-template-columns: 30px 1fr 30px; gap: 4px; margin-top: 28px; }
      .arrow { font-size: 34px; }
      .review-cards { grid-template-columns: 1fr; gap: 16px; }
      .review-cards .review:first-child { display: none; }
      .review p { max-width: 190px; font-size: 10px; margin-bottom: 42px; }
      .blogs { padding: 25px 0 42px; }
      .blog-grid { width: min(100% - 42px, 420px); grid-template-columns: 1fr; gap: 18px; margin-top: 16px; }
      .blog-grid .blog-card:not(:first-child) { display: none; }
      .blog-card h3 { font-size: 10px; }
      .community { padding: 44px 20px; }
      .community h2 { font-size: 18px; }
      .community p { font-size: 9px; }
      .signup { max-width: 310px; }
      .signup input { height: 36px; font-size: 10px; }
      .services { grid-template-columns: 1fr; padding: 10px 0; }
      .service { min-height: 72px; padding: 12px 18px; border-right: 0; border-bottom: 1px solid #333; }
      .service strong { font-size: 11px; }
      .service span { font-size: 10px; }
      footer { padding: 38px 0 22px; }
      .footer-grid { grid-template-columns: 1fr; gap: 15px; }
      footer h3 { border-top: 1px solid #dfd2c2; padding-top: 12px; margin-bottom: 8px; }
      .footer-logo { width: 100px; }
      .copyright { flex-direction: column; align-items: flex-start; margin-top: 18px; }
      .cards { justify-content: flex-start; }
      .chat { right: 14px; bottom: 42%; width: 43px; height: 43px; }
      .popup { align-items: start; padding-top: 108px; }
      .popup.show { display: grid; }
      .popup-card { width: 286px; grid-template-columns: 1fr; }
      .popup-card .product { display: none; }
      .popup-content { padding: 24px 22px 20px; }
      .popup-logo { width: 110px; }
      .popup-content h2 { font-size: 14px; }
      .popup-content p { font-size: 10px; }
      .craft-grid .wide { order: 3; }
      .craft-grid .tile:last-child { order: 2; }
    }

    /* Homepage WooCommerce product showcase */
    .home-products {
      padding: 76px 24px 88px;
      background: #fff;
    }
    .home-products .section-title {
      padding-top: 0;
      padding-bottom: 28px;
    }
    .product-showcase-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 34px 24px;
      max-width: 1440px;
      margin: 0 auto;
    }
    .product-card {
      display: flex;
      flex-direction: column;
      color: #111;
      text-decoration: none;
      min-width: 0;
    }
    .product-loading { grid-column: 1 / -1; text-align: center; padding: 36px; font-weight: 700; color: #111; }
    .product-card .product-image-wrap {
      position: relative;
      aspect-ratio: 1 / 1;
      background: #f4f1ed;
      overflow: hidden;
    }
    .product-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      transition: transform .45s ease;
    }
    .product-card:hover img { transform: scale(1.045); }
    .product-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: #9b9d00;
      color: #fff;
      font-size: 13px;
      font-weight: 800;
    }
    .product-card h3 {
      min-height: 48px;
      margin: 16px 0 8px;
      color: #d72a63;
      font-size: 15px;
      line-height: 1.32;
      font-weight: 800;
    }
    .product-price {
      display: flex;
      gap: 7px;
      align-items: baseline;
      min-height: 24px;
      font-size: 14px;
      font-weight: 800;
      color: #929700;
    }
    .product-price del {
      color: #999;
      font-weight: 600;
    }
    .product-card .product-action {
      align-self: flex-start;
      margin-top: 14px;
      padding: 11px 18px;
      background: #eeeaf2;
      color: #333;
      font-size: 13px;
      font-weight: 800;
      text-decoration: none;
    }
    .product-card:hover .product-action {
      background: #111;
      color: #fff;
    }
    @media (max-width: 900px) {
      .home-products { padding: 48px 14px 60px; }
      .product-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
      }
      .product-card h3 {
        min-height: auto;
        font-size: 12px;
      }
      .product-price { font-size: 12px; }
      .product-badge {
        width: 42px;
        height: 42px;
        font-size: 11px;
      }
      .product-card .product-action {
        padding: 9px 12px;
        font-size: 11px;
      }
    }


/* WordPress dynamic menu and widget compatibility */
.navlinks .menu { display: flex; justify-content: center; gap: 44px; margin: 0; padding: 0; list-style: none; }
.navlinks .menu > li { height: 92px; display: flex; align-items: center; position: relative; }
.navlinks .menu a { border: 0; background: transparent; padding: 0; font: inherit; font-weight: 800; cursor: pointer; }
.mobile-menu .menu { margin: 0; padding: 0; list-style: none; }
.mobile-menu .menu a { color: inherit; }
.footer-grid .widget { margin: 0; }
.footer-grid .widget-title { margin: 0 0 16px; color: #4b332f; font-size: 16px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.custom-logo { width: 150px; height: auto; }
.text-logo {
  display: inline-flex;
  width: auto;
  min-width: 120px;
  color: #111;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
}

/* Final footer override: keeps desktop and mobile on the same soft footer style. */
footer.aot-soft-footer,
body footer.aot-soft-footer {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #fffdf8 0%, #f8f5ee 54%, #edf3e8 100%) !important;
  color: #3b2e2a !important;
  padding: 62px 0 30px !important;
  border-top: 1px solid #eadfce !important;
}

footer.aot-soft-footer::before,
body footer.aot-soft-footer::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 150px !important;
  pointer-events: none !important;
  background:
    linear-gradient(165deg, transparent 0 46%, rgba(142, 171, 134, .22) 46.5% 67%, transparent 67.5%),
    linear-gradient(18deg, rgba(195, 169, 124, .2) 0 18%, transparent 18.5%),
    linear-gradient(178deg, transparent 0 38%, rgba(112, 151, 118, .16) 38.5% 60%, transparent 60.5%) !important;
  opacity: .85 !important;
}

footer.aot-soft-footer > .wrap,
body footer.aot-soft-footer > .wrap {
  position: relative !important;
  z-index: 1 !important;
}

footer.aot-soft-footer h1,
footer.aot-soft-footer h2,
footer.aot-soft-footer h3,
footer.aot-soft-footer h4,
footer.aot-soft-footer .widget-title,
footer.aot-soft-footer strong {
  color: #4b332f !important;
}

footer.aot-soft-footer p,
footer.aot-soft-footer li,
footer.aot-soft-footer a,
footer.aot-soft-footer span {
  color: #5e514b !important;
}

footer.aot-soft-footer a:hover {
  color: #9a6b45 !important;
}

footer.aot-soft-footer .copyright {
  border-top: 1px solid #dfd2c2 !important;
  color: #82756e !important;
}
.site-logo {
  display: inline-flex;
  align-items: center;
}
.aot-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #3b2e2a;
}
.aot-language-switcher ul {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aot-language-switcher li {
  margin: 0;
  line-height: 1;
}
.aot-language-switcher a,
.aot-language-switcher span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #eadfce;
  color: #3b2e2a;
  background: #fffdf8;
}
.aot-language-switcher .current-lang a,
.aot-language-switcher .current-lang span {
  background: #edf3e8;
  border-color: #d3dfcd;
}
.footer-grid .custom-logo {
  max-width: 150px;
  margin-bottom: 18px;
}
.footer-grid h3:first-child {
  color: #4b332f;
  font-size: 20px;
  margin-top: 0;
}
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.aot-page {
  background: #fff;
}
.aot-page-title {
  padding: 54px 0 20px;
  text-align: center;
}
.aot-page-title h1 {
  margin: 0;
  font: 800 34px/1.15 Montserrat, sans-serif;
}
.aot-page-content > .entry-content {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
  padding: 24px 0 72px;
}
.elementor-page .aot-page-content > .entry-content {
  width: 100%;
  padding: 0;
}

/* Full-screen hero slider */
.hero.hero-slider {
  position: relative;
  min-height: calc(100vh - 135px);
  height: calc(100vh - 135px);
  overflow: hidden;
  background: #111;
  padding-bottom: clamp(60px, 12vh, 120px);
}
.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .75s ease, transform 5.5s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero.hero-slider::after {
  content: none;
  display: none;
}
.hero.hero-slider .hero-card {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 0 24px;
  text-shadow: 0 3px 18px rgba(0,0,0,.52), 0 1px 4px rgba(0,0,0,.38);
}
.hero.hero-slider .hero-kicker,
.hero.hero-slider h1,
.hero.hero-slider p {
  text-shadow: 0 3px 18px rgba(0,0,0,.52), 0 1px 4px rgba(0,0,0,.38);
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 999px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hero-dots button.is-active {
  background: #fff;
}
@media (max-width: 900px) {
  .hero.hero-slider {
    min-height: 78vh;
    height: 78vh;
    padding-bottom: clamp(42px, 12vh, 74px);
  }
  .hero h1 {
    font-size: 34px;
  }
}

/* Larger editorial image grids, closer to the reference storefront */
.arts-grid {
  width: min(1760px, calc(100% - 56px));
  max-width: none;
  grid-template-columns: minmax(260px, .72fr) minmax(460px, 1.58fr) minmax(260px, .72fr);
  grid-template-rows: minmax(300px, 38vh) minmax(300px, 38vh);
  gap: 22px;
}
.craft-grid {
  width: min(1760px, calc(100% - 56px));
  max-width: none;
  grid-template-columns: minmax(340px, .95fr) minmax(560px, 1.55fr);
  grid-template-rows: minmax(280px, 36vh) minmax(280px, 36vh);
  gap: 22px;
}
.arts-grid .tile,
.craft-grid .tile {
  min-height: 0;
}
@media (min-width: 1400px) {
  .arts-grid {
    grid-template-rows: minmax(360px, 39vh) minmax(360px, 39vh);
  }
  .craft-grid {
    grid-template-rows: minmax(330px, 38vh) minmax(330px, 38vh);
  }
}
@media (max-width: 900px) {
  .arts-grid,
  .craft-grid {
    width: min(100% - 24px, 640px);
    gap: 12px;
  }
  .arts-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 360px 220px;
  }
  .craft-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 260px);
  }
}

/* Production WooCommerce polish */
.aot-shop-main {
  background: #efeee8;
  min-height: 70vh;
}
.aot-shop-shell {
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
  padding: 58px 0 86px;
}
.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 24px;
  color: #747067;
  font-size: 12px;
}
.woocommerce .woocommerce-breadcrumb a {
  color: #111;
  font-weight: 700;
}
.woocommerce-products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 28px;
}
.woocommerce-products-header__title,
.woocommerce div.product .product_title {
  margin: 0;
  color: #111;
  font: 800 36px/1.12 Montserrat, sans-serif;
}
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin: 0 0 24px;
  color: #6b675e;
  font-size: 13px;
}
.woocommerce .woocommerce-ordering select {
  min-height: 42px;
  border: 1px solid #d4d0c7;
  background: #fff;
  padding: 0 12px;
}
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 26px;
  margin: 0;
  padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  list-style: none;
}
.aot-wc-card,
.product-card {
  position: relative;
}
.product-card {
  transition: transform .22s ease, filter .22s ease;
}
.product-card:hover {
  transform: translateY(-4px);
}
.product-card .product-image-wrap {
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.product-main-image,
.product-hover-image {
  display: block;
  transition: opacity .28s ease, transform .55s ease;
}
.product-hover-image {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.product-card:hover .product-main-image {
  opacity: 0;
}
.product-card:hover .product-hover-image {
  opacity: 1;
  transform: scale(1.035);
}
.aot-card-body {
  display: grid;
  gap: 10px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product-card h3 {
  color: #c81346;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}
.woocommerce ul.products li.product .price,
.product-price {
  color: #9aa100;
  font-size: 15px;
  font-weight: 800;
}
.woocommerce ul.products li.product .price del,
.product-price del {
  color: #958f84;
  opacity: 1;
}
.woocommerce span.onsale,
.product-badge {
  background: #9ca000;
  color: #fff;
  font-weight: 800;
}
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  border: 0;
  margin: 44px 0 0;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #cfc9bd;
  background: #fff;
  color: #111;
  font-weight: 800;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: #111;
  color: #fff;
}
.aot-product-pagination {
  margin: 42px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.aot-product-pagination a,
.aot-product-pagination span,
.aot-product-pagination button {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #cfc9bd;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  padding: 0 12px;
}
.aot-product-pagination span {
  cursor: default;
}
.aot-product-pagination span.dots {
  border-color: transparent;
  background: transparent;
  min-width: auto;
}
.aot-product-pagination span.current,
.aot-product-pagination a.current,
.aot-product-pagination button.is-active,
.aot-product-pagination a:hover,
.aot-product-pagination button:hover:not(:disabled) {
  background: #111;
  color: #fff;
}
.aot-product-pagination button:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: 72px;
  align-items: start;
}
.woocommerce div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary {
  float: none;
  width: auto;
  margin: 0;
}
.woocommerce div.product div.images {
  background: #f8f6f0;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}
.woocommerce div.product div.images img {
  width: 100%;
  object-fit: cover;
}
.woocommerce div.product div.summary {
  position: sticky;
  top: 118px;
  background: #fff;
  padding: 46px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #9aa100;
  font-size: 24px;
  font-weight: 800;
  margin: 18px 0 22px;
}
.woocommerce div.product form.cart {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 26px 0;
}
.woocommerce .quantity .qty {
  width: 76px;
  min-height: 48px;
  border: 1px solid #d4d0c7;
  background: #fff;
  font-weight: 800;
}
.woocommerce button.button,
.woocommerce a.button,
.woocommerce #respond input#submit,
.woocommerce input.button,
.woocommerce div.product form.cart .button {
  min-height: 48px;
  border-radius: 0;
  background: #111;
  color: #fff;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  transition: background .2s ease, transform .2s ease;
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce div.product form.cart .button:hover {
  background: #9c001f;
  color: #fff;
  transform: translateY(-1px);
}
.aot-product-trust {
  display: grid;
  gap: 12px;
  border-top: 1px solid #ebe6dc;
  margin-top: 28px;
  padding-top: 24px;
}
.aot-product-trust div {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 3px solid #9aa100;
}
.aot-product-trust strong {
  font-size: 13px;
  color: #111;
}
.aot-product-trust span {
  color: #6d675d;
  font-size: 12px;
  line-height: 1.45;
}
.woocommerce div.product .product_meta {
  color: #6d675d;
  font-size: 12px;
  border-top: 1px solid #ebe6dc;
  padding-top: 20px;
}
.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  background: #fff;
  padding: 36px 44px;
  box-shadow: 0 14px 32px rgba(0,0,0,.05);
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 24px;
  border-bottom: 1px solid #e8e2d8;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0 24px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 0 0 14px;
  color: #111;
  font-weight: 800;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: #111;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}
@media (max-width: 1100px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .woocommerce div.product div.summary {
    position: static;
  }
}
@media (max-width: 700px) {
  .aot-shop-shell {
    width: min(100% - 24px, 520px);
    padding: 32px 0 58px;
  }
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .woocommerce div.product div.summary {
    padding: 28px 20px;
  }
  .woocommerce-products-header__title,
  .woocommerce div.product .product_title {
    font-size: 26px;
  }
}

/* 1.0.8 storefront conversion polish */
body,
.site-main,
.intro-copy,
.home-products,
.blogs,
.reviews,
.newsletter,
.aot-shop-main {
  background: #fff;
}

.hero.hero-slider {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.hero.hero-slider .hero-card {
  transform: none;
}
.hero.hero-slider .hero-card .btn {
  margin-top: 10px;
}

.product-card,
.aot-wc-card {
  display: grid;
  align-content: start;
  gap: 14px;
  color: #111;
  text-decoration: none;
}
.product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0;
}
.product-card h3 a,
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
  color: inherit;
  text-decoration: none;
}
.product-card .product-image-wrap,
.aot-wc-card .product-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f8f5ee;
}
.product-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}
.product-card-actions .product-action {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 16px;
  background: #f0ecf2;
  color: #111;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.product-card-actions .product-buy-now,
.product-card-actions .product-action:hover {
  background: #111;
  color: #fff;
}
.product-card-actions .product-buy-now:hover {
  background: #9c001f;
  color: #fff;
  transform: translateY(-1px);
}

.purpose-section {
  background: #fff;
  padding: clamp(72px, 8vw, 132px) 0;
}
.purpose-image {
  display: block;
  width: min(1320px, calc(100% - 72px));
  height: clamp(360px, 42vw, 620px);
  margin: 0 auto;
  object-fit: cover;
  box-shadow: 0 22px 60px rgba(0,0,0,.08);
}
.purpose-copy-grid {
  width: min(1120px, calc(100% - 72px));
  margin: clamp(34px, 4vw, 58px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.purpose-copy-grid article {
  border-top: 2px solid #111;
  padding-top: 22px;
}
.purpose-copy-grid h2 {
  margin: 0 0 16px;
  font: 800 28px/1.2 Montserrat, sans-serif;
  color: #111;
}
.purpose-copy-grid p {
  margin: 0;
  color: #252525;
  font-size: 14px;
  line-height: 1.85;
}

.aot-back-wrap {
  grid-column: 1 / -1;
  margin: 0 0 20px;
}
.aot-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #d8d1c5;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, color .2s ease;
}
.aot-back-link::before {
  content: "<";
  font-weight: 900;
}
.aot-back-link:hover {
  background: #111;
  color: #fff;
}

.woocommerce div.product form.cart .aot-buy-now-button {
  background: #9c001f;
}
.woocommerce div.product form.cart .aot-buy-now-button:hover {
  background: #111;
}

.woocommerce-cart .aot-shop-shell {
  width: min(1380px, calc(100% - 64px));
}
.woocommerce-cart form.woocommerce-cart-form,
.woocommerce-cart .cart-collaterals .cart_totals {
  background: #fff;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
}
.woocommerce-cart table.shop_table {
  border: 0;
  border-collapse: separate;
  border-spacing: 0 12px;
  margin: 0;
}
.woocommerce-cart table.shop_table th {
  border: 0;
  color: #111;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.woocommerce-cart table.shop_table td {
  border: 0;
  background: #faf8f3;
  padding: 16px 18px;
  vertical-align: middle;
}
.woocommerce-cart table.cart img {
  width: 92px;
  border: 1px solid #ebe6dc;
  background: #fff;
}
.woocommerce-cart table.cart .product-name a {
  color: #111;
  font-weight: 800;
  text-decoration: none;
}
.woocommerce-cart table.cart .product-remove a.remove {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: #fff;
  color: #9c001f !important;
}
.woocommerce-cart table.cart td.actions {
  background: #fff;
  padding: 22px 0 0;
}
.woocommerce-cart table.cart td.actions .coupon {
  display: flex;
  gap: 10px;
}
.woocommerce-cart table.cart td.actions .coupon .input-text {
  min-width: 190px;
  min-height: 48px;
  border: 1px solid #d8d1c5;
  padding: 0 14px;
}
.woocommerce-cart .cart-collaterals {
  margin-top: 30px;
}
.woocommerce-cart .cart-collaterals .cart_totals {
  float: right;
  width: min(520px, 100%);
}
.woocommerce-cart .cart_totals h2 {
  margin: 0 0 18px;
  font: 800 24px/1.2 Montserrat, sans-serif;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 58px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: #9c001f;
}

@media (max-width: 900px) {
  .hero.hero-slider .hero-card {
    transform: none;
  }
  .purpose-image,
  .purpose-copy-grid {
    width: min(100% - 28px, 680px);
  }
  .purpose-image {
    height: clamp(260px, 62vw, 420px);
  }
  .purpose-copy-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .purpose-copy-grid h2 {
    font-size: 22px;
  }
  .woocommerce-cart form.woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals .cart_totals {
    padding: 18px;
  }
  .woocommerce-cart table.cart td.actions .coupon {
    display: grid;
  }
}

/* Free Zi Wei Dou Shu chart page */
.aot-ziwei-page {
  background: #f4f1ea;
  color: #111;
}
.aot-ziwei-shell {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}
.aot-ziwei-hero {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 78px 0 62px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,.56), rgba(0,0,0,.72)),
    url("https://www.artoftibet.com/cdn/shop/files/slide_1_2000x.jpg?v=1767019756") center/cover;
  color: #fff;
}
.aot-ziwei-kicker {
  margin: 0 0 14px;
  color: #d7b56b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.aot-ziwei-hero h1 {
  margin: 0;
  font: 800 44px/1.1 Montserrat, Inter, sans-serif;
}
.aot-ziwei-subtitle {
  margin: 18px auto 0;
  max-width: 680px;
  font-size: 18px;
  font-weight: 700;
}
.aot-ziwei-note {
  margin: 18px auto 0;
  max-width: 760px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.7;
}
.aot-ziwei-workspace {
  padding: 54px 0 82px;
}
.aot-ziwei-form,
.aot-ziwei-results {
  background: #fff;
  border: 1px solid #e4ded2;
  box-shadow: 0 22px 60px rgba(0,0,0,.08);
}
.aot-ziwei-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
}
.aot-ziwei-alert,
.aot-ziwei-actions {
  grid-column: 1 / -1;
}
.aot-ziwei-alert {
  padding: 14px 16px;
  border-left: 4px solid #9c001f;
  background: #fff2f4;
  color: #7a0018;
  font-size: 13px;
  font-weight: 800;
}
.aot-ziwei-field {
  display: grid;
  gap: 8px;
}
.aot-ziwei-field label {
  font-size: 13px;
  font-weight: 900;
}
.aot-ziwei-field label span {
  color: #9c001f;
  font-size: 11px;
  font-weight: 800;
}
.aot-ziwei-field input,
.aot-ziwei-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d8d1c5;
  background: #fff;
  color: #111;
  padding: 0 14px;
  font-size: 14px;
}
.aot-ziwei-field input:focus,
.aot-ziwei-field select:focus {
  outline: 2px solid #c59036;
  outline-offset: 1px;
}
.aot-ziwei-actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.aot-ziwei-submit {
  min-width: 180px;
}
.aot-ziwei-submit:disabled {
  opacity: .68;
  cursor: wait;
}
.aot-ziwei-results {
  margin-top: 42px;
  padding: clamp(24px, 4vw, 42px);
}
.aot-ziwei-result-head {
  text-align: center;
  margin-bottom: 28px;
}
.aot-ziwei-result-head p {
  margin: 0 0 8px;
  color: #8d6a28;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.aot-ziwei-result-head h2 {
  margin: 0;
  font: 800 28px/1.2 Montserrat, Inter, sans-serif;
}
.aot-ziwei-result-subtitle {
  margin: 8px 0 0 !important;
  color: #5d564e !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: none !important;
}
.aot-ziwei-field-wide {
  grid-column: 1 / -1;
}
.aot-ziwei-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}
.aot-ziwei-checkbox input {
  width: 18px;
  height: 18px;
  min-height: 0;
}
.aot-ziwei-checkbox input:disabled,
.aot-ziwei-checkbox input:disabled + span {
  opacity: .62;
  cursor: not-allowed;
}
.aot-ziwei-helper {
  margin: 0;
  color: #695f52;
  font-size: 12px;
  line-height: 1.55;
}
.aot-ziwei-board-wrap {
  overflow-x: auto;
  padding-bottom: 4px;
}
.aot-ziwei-board {
  min-width: 980px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(224px, auto));
  border: 2px solid #222;
  background: #fff;
}
.aot-ziwei-palace-cell,
.aot-ziwei-center {
  min-width: 0;
  border: 1px solid #555;
  background: #fff;
}
.aot-ziwei-palace-cell {
  position: relative;
  padding: 9px 9px 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.aot-ziwei-palace-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 8px;
  align-items: start;
}
.aot-ziwei-branch {
  grid-row: span 2;
  justify-self: end;
  color: #111;
  font-size: 18px;
  font-weight: 900;
}
.aot-ziwei-palace-name {
  color: #cc2431;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
}
.aot-ziwei-stem-branch {
  color: #333;
  font-size: 12px;
  font-weight: 800;
}
.aot-ziwei-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.aot-ziwei-badges span {
  display: inline-grid;
  place-items: center;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 2px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.aot-ziwei-badges .is-life {
  background: #cc2431;
}
.aot-ziwei-badges .is-body {
  background: #7e5ab8;
}
.aot-ziwei-star-section {
  display: grid;
  gap: 3px;
}
.aot-ziwei-star-section > strong {
  color: #6e665c;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.aot-ziwei-star-group {
  display: flex;
  gap: 4px 6px;
  flex-wrap: wrap;
  line-height: 1.15;
}
.aot-ziwei-star {
  color: #1a5f95;
  font-size: 15px;
  font-weight: 900;
}
.aot-ziwei-star-section.is-major .aot-ziwei-star {
  color: #b82932;
  font-size: 17px;
}
.aot-ziwei-star-section.is-adj .aot-ziwei-star {
  color: #268f88;
  font-size: 12px;
  font-weight: 800;
}
.aot-ziwei-star.is-lu { color: #24964b; }
.aot-ziwei-star.is-quan { color: #8a4db4; }
.aot-ziwei-star.is-ke { color: #237bc0; }
.aot-ziwei-star.is-ji { color: #cc2431; }
.aot-ziwei-palace-meta {
  margin-top: auto;
  display: grid;
  gap: 2px;
}
.aot-ziwei-palace-meta p {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 6px;
  margin: 0;
  color: #333;
  font-size: 11px;
  line-height: 1.35;
}
.aot-ziwei-palace-meta strong {
  color: #777;
  font-weight: 800;
}
.aot-ziwei-center {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 22px 28px;
  text-align: center;
  background:
    linear-gradient(45deg, transparent 49.7%, rgba(120,120,120,.36) 50%, transparent 50.3%),
    linear-gradient(-45deg, transparent 49.7%, rgba(120,120,120,.36) 50%, transparent 50.3%),
    #fff;
}
.aot-ziwei-center h3 {
  margin: 0 0 5px;
  color: #333;
  font-size: 32px;
  font-weight: 900;
}
.aot-ziwei-engine {
  margin: 0 0 15px;
  color: #7e5ab8;
  font-size: 12px;
  font-weight: 900;
}
.aot-ziwei-center p {
  width: 100%;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 10px;
  margin: 3px 0;
  color: #333;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
}
.aot-ziwei-center strong {
  color: #666;
  text-align: right;
}
.aot-ziwei-true-solar-note span {
  color: #9c001f;
  font-size: 12px;
  line-height: 1.45;
}
.aot-ziwei-cycle-table {
  margin-top: 0;
  overflow-x: auto;
}
.aot-ziwei-period-grid {
  min-width: 980px;
  display: grid;
  grid-template-columns: 90px repeat(12, minmax(88px, 1fr));
  border-left: 1px solid #aaa;
  border-top: 1px solid #aaa;
  background: #eee;
}
.aot-ziwei-period-grid > div {
  min-height: 56px;
  display: grid;
  place-items: center;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  padding: 6px;
  white-space: pre-line;
  text-align: center;
  color: #333;
  font-size: 12px;
  line-height: 1.35;
}
.aot-ziwei-period-label {
  background: #e1e1e1;
  color: #111 !important;
  font-weight: 900;
}
.aot-ziwei-disclaimer {
  margin: 30px 0 0;
  border-top: 1px solid #e2dbcf;
  padding-top: 18px;
  color: #5d564e;
  font-size: 12px;
  line-height: 1.75;
  text-align: center;
}
.aot-ziwei-page,
.aot-ziwei-page * {
  overflow-wrap: anywhere;
}
.aot-ziwei-field input,
.aot-ziwei-field select,
.aot-ziwei-submit {
  max-width: 100%;
}
.aot-ziwei-checkbox {
  min-width: 0;
}
.aot-ziwei-actions .btn {
  white-space: normal;
  text-align: center;
}
@media (max-width: 900px) {
  .aot-ziwei-shell {
    width: min(100% - 28px, 640px);
  }
  .aot-ziwei-hero {
    min-height: 300px;
    padding: 54px 0 46px;
  }
  .aot-ziwei-hero h1 {
    font-size: 30px;
  }
  .aot-ziwei-subtitle {
    font-size: 14px;
  }
  .aot-ziwei-form {
    grid-template-columns: 1fr;
  }
  .aot-ziwei-results {
    padding: 14px;
  }
  .aot-ziwei-board {
    min-width: 900px;
    grid-template-rows: repeat(4, minmax(210px, auto));
  }
  .aot-ziwei-center h3 {
    font-size: 25px;
  }
  .aot-ziwei-center p {
    grid-template-columns: 110px 1fr;
    font-size: 13px;
  }
}

.aot-page {
  background: #fff;
}
.aot-page-hero {
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 96px 24px 68px;
  background-color: #161310;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.68)),
    var(--aot-page-hero-bg, none);
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}
.aot-page-hero-inner {
  width: min(760px, 100%);
}
.aot-page-kicker {
  margin: 0 0 12px;
  color: #d7b46a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.aot-page-hero h1 {
  margin: 0;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 48px;
  line-height: 1.04;
  font-weight: 900;
}
.aot-page-hero p:last-child {
  margin: 18px auto 0;
  max-width: 680px;
  color: rgba(255,255,255,.88);
  font-size: 16px;
  line-height: 1.75;
}
.aot-page-container {
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto;
}
.aot-page-section {
  padding: 74px 0;
}
.aot-page-section h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
}
.aot-page-section p,
.aot-editable-content {
  color: #3e3a35;
  font-size: 15px;
  line-height: 1.85;
}
.aot-page-lead {
  max-width: 800px;
  margin: 0 0 34px;
  font-size: 17px !important;
}
.aot-editable-content {
  margin-top: 26px;
}
.aot-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px;
}
.aot-contact-list {
  display: grid;
  gap: 18px;
}
.aot-contact-list div {
  border-bottom: 1px solid #e8e1d5;
  padding-bottom: 18px;
}
.aot-contact-list strong,
.aot-contact-list span {
  display: block;
}
.aot-contact-list strong {
  margin-bottom: 6px;
  color: #9c001f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.aot-contact-form-panel {
  border: 1px solid #e8e1d5;
  padding: 34px;
  background: #faf8f4;
}
.aot-faq-list {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}
.aot-faq-list details {
  border: 1px solid #e2dbcf;
  background: #fff;
}
.aot-faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  color: #111;
  font-weight: 900;
}
.aot-faq-list p {
  margin: 0;
  border-top: 1px solid #ece6dc;
  padding: 18px 22px 22px;
}
.aot-about-intro {
  text-align: center;
}
.aot-about-intro p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.aot-about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.aot-about-values .aot-page-section,
.aot-page-cta {
  border-top: 1px solid #e8e1d5;
}
.aot-page-cta {
  text-align: center;
}
.aot-policy-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}
.aot-policy-list h2 {
  margin-top: 20px;
}
.aot-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding: 74px 0;
}
.aot-blog-card {
  border: 1px solid #e8e1d5;
  background: #fff;
}
.aot-blog-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}
.aot-blog-card > div {
  padding: 24px;
}
.aot-blog-card h2 {
  margin: 6px 0 12px;
  font-size: 22px;
  line-height: 1.25;
}
.aot-blog-card p {
  color: #4a453f;
  line-height: 1.75;
}
.aot-blog-date {
  margin: 0;
  color: #9c001f !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.aot-text-link {
  color: #9c001f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.aot-pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}
@media (max-width: 900px) {
  .aot-page-hero {
    min-height: 310px;
    padding: 72px 20px 48px;
  }
  .aot-page-hero h1 {
    font-size: 34px;
  }
  .aot-page-container {
    width: min(100% - 32px, 680px);
  }
  .aot-page-section {
    padding: 48px 0;
  }
  .aot-contact-grid,
  .aot-about-values,
  .aot-blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .aot-contact-form-panel {
    padding: 24px;
  }
}

/* Mobile overflow and product-card stability fixes. */
@media (max-width: 1024px) {
  .wrap,
  .aot-shop-shell,
  .home-products,
  .product-showcase-grid,
  .woocommerce ul.products,
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .product-card,
  .aot-wc-card,
  .aot-card-body,
  .nav,
  .navlinks,
  .actions,
  .site-logo,
  .text-logo {
    min-width: 0;
    max-width: 100%;
  }

  .product-card,
  .aot-wc-card,
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 100%;
    overflow: hidden;
  }

  .product-card img,
  .aot-wc-card img,
  .woocommerce ul.products li.product img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .product-card .product-image-wrap,
  .aot-wc-card .product-image-wrap {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    width: 100%;
  }

  .wrap {
    width: min(100% - 32px, var(--max));
  }

  .topbar {
    display: none;
  }

  .nav {
    width: 100%;
    height: auto;
    min-height: 64px;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px 16px;
    position: sticky;
    top: 0;
  }

  .hamburger {
    display: inline-grid;
    justify-self: start;
  }

  .site-logo {
    justify-self: center;
    overflow: hidden;
  }

  .custom-logo {
    width: auto;
    max-width: 150px;
    max-height: 38px;
  }

  .text-logo {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
  }

  .navlinks {
    display: none;
  }

  .actions {
    justify-self: end;
    gap: 8px;
  }

  .actions .aot-language-switcher {
    display: none;
  }

  .mobile-menu .aot-language-switcher {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eee;
  }

  .mobile-menu .aot-language-switcher ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  .actions .hide-mobile,
  .actions [data-open-search] {
    display: none;
  }

  .actions .icon-btn {
    min-width: 40px;
    height: 40px;
    font-size: 11px;
  }

  .home-products {
    padding: 48px 16px 62px;
    overflow: hidden;
  }

  .product-showcase-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 16px !important;
    width: 100%;
    max-width: 100%;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .product-card,
  .aot-wc-card {
    display: grid;
    align-content: start;
    gap: 12px;
  }

  .product-card .product-image-wrap,
  .aot-wc-card .product-image-wrap {
    aspect-ratio: 1 / 1;
  }

  .product-card img,
  .aot-wc-card img,
  .woocommerce ul.products li.product img {
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .product-card h3,
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 0 !important;
    margin: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .product-price,
  .woocommerce ul.products li.product .price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline;
    gap: 5px 8px;
    min-height: 0 !important;
    white-space: normal !important;
  }

  .product-price del,
  .product-price ins,
  .woocommerce ul.products li.product .price del,
  .woocommerce ul.products li.product .price ins {
    display: inline-block;
    line-height: 1.3 !important;
  }

  .product-card-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 2px;
  }

  .product-card-actions .product-action,
  .woocommerce ul.products li.product .button {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
    margin: 0 !important;
  }

  .woocommerce-products-header {
    display: grid;
    gap: 12px;
    align-items: start;
  }

  .woocommerce .woocommerce-ordering {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .wrap,
  .aot-shop-shell,
  .purpose-copy-grid,
  .purpose-image {
    width: calc(100% - 28px);
  }

  .home-products {
    padding: 42px 14px 56px;
  }

  .product-showcase-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .product-card,
  .aot-wc-card {
    gap: 14px;
  }

  .product-card h3,
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 20px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  .product-price,
  .woocommerce ul.products li.product .price {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin: 0 0 4px !important;
  }

  .product-card-actions {
    gap: 10px;
  }

  .product-card-actions .product-action,
  .woocommerce ul.products li.product .button {
    display: grid;
    place-items: center;
    min-height: 46px;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.2;
  }

  .product-badge,
  .woocommerce span.onsale {
    width: 46px;
    height: 46px;
    min-height: 0;
    font-size: 11px;
  }

  .woocommerce div.product form.cart {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .woocommerce .quantity .qty,
  .woocommerce div.product form.cart .button,
  .woocommerce div.product form.cart .aot-buy-now-button {
    width: 100%;
  }
}


/* Mobile menu accordion and tap stability */
.mobile-menu .menu,
.mobile-menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu .menu li {
  position: relative;
  border-bottom: 1px solid #ececec;
}

.mobile-menu .menu li li {
  border-bottom: 0;
}

.mobile-menu .menu a {
  min-height: 45px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
}

.mobile-menu .menu .sub-menu {
  display: none;
  padding: 0 0 10px;
  background: #fafafa;
}

.mobile-menu .menu li.is-open > .sub-menu {
  display: block;
}

.mobile-menu .menu .sub-menu a {
  min-height: 38px;
  padding-left: 34px;
  padding-right: 18px;
  font-weight: 600;
  color: #333;
}

.mobile-menu .menu .sub-menu .sub-menu a {
  padding-left: 48px;
}

.mobile-menu .menu li.menu-item-has-children > a,
.mobile-menu .menu li.has-submenu > a {
  padding-right: 54px;
}

.mobile-submenu-toggle {
  position: absolute;
  top: 5px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #111;
  border-radius: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu .menu li.is-open > .mobile-submenu-toggle {
  background: #111;
  color: #fff;
}

.mobile-menu .menu li.is-open > .mobile-submenu-toggle::before {
  content: "−";
}

.mobile-menu .menu li:not(.is-open) > .mobile-submenu-toggle::before {
  content: "+";
}

.mobile-submenu-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.side-panel.open {
  visibility: visible;
}

.side-panel:not(.open) {
  visibility: hidden;
}

/* Final cross-device overrides. Keep these last so plugin/admin CSS cannot restore the old dark footer or block mobile header taps. */
.nav.aot-site-nav {
  z-index: 1000 !important;
}

.nav.aot-site-nav .icon-btn,
.nav.aot-site-nav a,
.nav.aot-site-nav button {
  pointer-events: auto !important;
}

.shade {
  z-index: 1990 !important;
}

.side-panel {
  z-index: 2000 !important;
  pointer-events: auto !important;
}

.cart-panel {
  z-index: 2001 !important;
  pointer-events: auto !important;
}

.search-drawer {
  z-index: 2002 !important;
}

footer.aot-soft-footer,
body footer.aot-soft-footer,
html body footer.aot-soft-footer {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #fffdf8 0%, #f8f5ee 54%, #edf3e8 100%) !important;
  color: #3b2e2a !important;
  padding: 62px 0 30px !important;
  border-top: 1px solid #eadfce !important;
}

footer.aot-soft-footer::before,
body footer.aot-soft-footer::before,
html body footer.aot-soft-footer::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 150px !important;
  pointer-events: none !important;
  background:
    linear-gradient(165deg, transparent 0 46%, rgba(142, 171, 134, .22) 46.5% 67%, transparent 67.5%),
    linear-gradient(18deg, rgba(195, 169, 124, .2) 0 18%, transparent 18.5%),
    linear-gradient(178deg, transparent 0 38%, rgba(112, 151, 118, .16) 38.5% 60%, transparent 60.5%) !important;
  opacity: .85 !important;
}

footer.aot-soft-footer > .wrap,
body footer.aot-soft-footer > .wrap {
  position: relative !important;
  z-index: 1 !important;
}

footer.aot-soft-footer h1,
footer.aot-soft-footer h2,
footer.aot-soft-footer h3,
footer.aot-soft-footer h4,
footer.aot-soft-footer .widget-title,
footer.aot-soft-footer strong {
  color: #4b332f !important;
}

footer.aot-soft-footer p,
footer.aot-soft-footer li,
footer.aot-soft-footer a,
footer.aot-soft-footer span {
  color: #5e514b !important;
}

footer.aot-soft-footer a:hover {
  color: #9a6b45 !important;
}

footer.aot-soft-footer .copyright {
  border-top-color: #dfd2c2 !important;
  color: #82756e !important;
}

.aot-footer-menu {
  margin-top: 18px;
}
.aot-footer-menu .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aot-footer-menu a,
footer.aot-soft-footer a,
footer.aot-soft-footer p,
footer.aot-soft-footer li,
.product-card-actions .product-action {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 640px) {
  .aot-footer-menu .menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* v1.3.9 reliable mobile menu fallback: anchor target + class-based open state. */
@media (max-width: 768px) {
  .nav.aot-site-nav .hamburger {
    position: relative !important;
    z-index: 3005 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 44px !important;
    min-width: 60px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0.08);
    touch-action: manipulation;
  }

  #aot-mobile-menu-panel.side-panel,
  .side-panel[data-mobile-panel] {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: min(360px, 88vw) !important;
    max-width: 88vw !important;
    background: #fff !important;
    transform: translateX(-105%) !important;
    visibility: hidden !important;
    opacity: 1 !important;
    z-index: 100000 !important;
    pointer-events: auto !important;
    transition: transform .25s ease, visibility .25s ease !important;
  }

  #aot-mobile-menu-panel.side-panel.open,
  #aot-mobile-menu-panel.side-panel:target,
  html.aot-mobile-menu-open #aot-mobile-menu-panel.side-panel,
  body.aot-mobile-menu-open #aot-mobile-menu-panel.side-panel {
    transform: translateX(0) !important;
    visibility: visible !important;
  }

  .shade.open,
  html.aot-mobile-menu-open .shade,
  body.aot-mobile-menu-open .shade {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 99990 !important;
    background: rgba(0,0,0,.35) !important;
  }

  /* If JavaScript is blocked or delayed, the :target fallback opens the menu and shows submenus instead of trapping users. */
  #aot-mobile-menu-panel.side-panel:target .mobile-menu .menu .sub-menu {
    display: block !important;
  }

  #aot-mobile-menu-panel.side-panel:target .mobile-submenu-toggle {
    display: none !important;
  }
}


/* v1.4.0: footer artwork redesign and newsletter removal */
body .community,
html body .community {
  display: none !important;
}

footer.aot-soft-footer,
body footer.aot-soft-footer,
html body footer.aot-soft-footer {
  position: relative !important;
  overflow: hidden !important;
  min-height: 560px !important;
  padding: 74px 0 36px !important;
  border-top: 1px solid rgba(195, 169, 124, .28) !important;
  background-color: #fffaf0 !important;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 34%, rgba(255,255,255,.72) 56%, rgba(255,255,255,.12) 100%),
    url('assets/images/footer-landscape.png') !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center top, center bottom !important;
  background-size: 100% 100%, cover !important;
  color: #2e2520 !important;
}

footer.aot-soft-footer::before,
body footer.aot-soft-footer::before,
html body footer.aot-soft-footer::before {
  content: none !important;
  display: none !important;
}

footer.aot-soft-footer::after,
body footer.aot-soft-footer::after,
html body footer.aot-soft-footer::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,.96) 0 28%, rgba(255,255,255,.68) 56%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(255,255,255,.76) 0%, rgba(255,255,255,.34) 48%, rgba(255,255,255,0) 100%) !important;
  z-index: 0 !important;
}

footer.aot-soft-footer > .wrap,
body footer.aot-soft-footer > .wrap,
html body footer.aot-soft-footer > .wrap {
  position: relative !important;
  z-index: 1 !important;
  width: min(1320px, calc(100% - 76px)) !important;
}

footer.aot-soft-footer .footer-grid,
body footer.aot-soft-footer .footer-grid,
html body footer.aot-soft-footer .footer-grid {
  display: grid !important;
  grid-template-columns: 1.45fr 1fr 1fr 1fr !important;
  gap: clamp(34px, 5vw, 88px) !important;
  align-items: start !important;
  padding: 22px 0 120px !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

footer.aot-soft-footer .footer-grid > div,
body footer.aot-soft-footer .footer-grid > div,
html body footer.aot-soft-footer .footer-grid > div,
footer.aot-soft-footer .footer-grid .widget,
body footer.aot-soft-footer .footer-grid .widget,
html body footer.aot-soft-footer .footer-grid .widget {
  min-width: 0 !important;
}

footer.aot-soft-footer h3,
footer.aot-soft-footer .widget-title,
body footer.aot-soft-footer h3,
body footer.aot-soft-footer .widget-title,
html body footer.aot-soft-footer h3,
html body footer.aot-soft-footer .widget-title {
  margin: 0 0 20px !important;
  color: #2b211c !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(18px, 1.25vw, 24px) !important;
  font-weight: 500 !important;
  letter-spacing: .02em !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.86) !important;
}

footer.aot-soft-footer p,
footer.aot-soft-footer li,
footer.aot-soft-footer a,
footer.aot-soft-footer span,
body footer.aot-soft-footer p,
body footer.aot-soft-footer li,
body footer.aot-soft-footer a,
body footer.aot-soft-footer span,
html body footer.aot-soft-footer p,
html body footer.aot-soft-footer li,
html body footer.aot-soft-footer a,
html body footer.aot-soft-footer span {
  color: #322821 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.86), 0 0 12px rgba(255,255,255,.56) !important;
}

footer.aot-soft-footer p,
body footer.aot-soft-footer p,
html body footer.aot-soft-footer p {
  max-width: 330px !important;
  margin: 0 !important;
  font-size: 13px !important;
}

footer.aot-soft-footer ul,
body footer.aot-soft-footer ul,
html body footer.aot-soft-footer ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

footer.aot-soft-footer li,
body footer.aot-soft-footer li,
html body footer.aot-soft-footer li {
  margin: 8px 0 !important;
  font-size: 13px !important;
}

footer.aot-soft-footer a,
body footer.aot-soft-footer a,
html body footer.aot-soft-footer a {
  text-decoration: none !important;
}

footer.aot-soft-footer a:hover,
body footer.aot-soft-footer a:hover,
html body footer.aot-soft-footer a:hover {
  color: #8b5c3a !important;
}

footer.aot-soft-footer .copyright,
body footer.aot-soft-footer .copyright,
html body footer.aot-soft-footer .copyright {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  color: rgba(48, 38, 31, .76) !important;
  font-size: 12px !important;
}

footer.aot-soft-footer .cards,
body footer.aot-soft-footer .cards,
html body footer.aot-soft-footer .cards {
  display: none !important;
}

@media (max-width: 900px) {
  footer.aot-soft-footer,
  body footer.aot-soft-footer,
  html body footer.aot-soft-footer {
    min-height: 720px !important;
    padding: 48px 0 34px !important;
    background-size: 100% 100%, auto 58% !important;
    background-position: center top, center bottom !important;
  }
  footer.aot-soft-footer > .wrap,
  body footer.aot-soft-footer > .wrap,
  html body footer.aot-soft-footer > .wrap {
    width: min(100% - 38px, 680px) !important;
  }
  footer.aot-soft-footer .footer-grid,
  body footer.aot-soft-footer .footer-grid,
  html body footer.aot-soft-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 32px !important;
    padding: 0 0 250px !important;
  }
}

@media (max-width: 560px) {
  footer.aot-soft-footer,
  body footer.aot-soft-footer,
  html body footer.aot-soft-footer {
    min-height: 790px !important;
    padding-top: 38px !important;
    background-size: 100% 100%, auto 48% !important;
  }
  footer.aot-soft-footer .footer-grid,
  body footer.aot-soft-footer .footer-grid,
  html body footer.aot-soft-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding-bottom: 280px !important;
    text-align: left !important;
  }
  footer.aot-soft-footer h3,
  footer.aot-soft-footer .widget-title,
  body footer.aot-soft-footer h3,
  body footer.aot-soft-footer .widget-title,
  html body footer.aot-soft-footer h3,
  html body footer.aot-soft-footer .widget-title {
    margin-bottom: 10px !important;
    font-size: 18px !important;
  }
  footer.aot-soft-footer p,
  footer.aot-soft-footer li,
  body footer.aot-soft-footer p,
  body footer.aot-soft-footer li,
  html body footer.aot-soft-footer p,
  html body footer.aot-soft-footer li {
    font-size: 12px !important;
  }
  footer.aot-soft-footer .copyright,
  body footer.aot-soft-footer .copyright,
  html body footer.aot-soft-footer .copyright {
    bottom: 8px !important;
    padding: 0 16px !important;
    font-size: 10px !important;
  }
}


/* --- Gradient background patch: keep original layout/images/header intact --- */
:root {
  --aot-magic-bg-start: #fffafd;
  --aot-magic-bg-mid: #f7eefb;
  --aot-magic-bg-end: #eadcf3;
  --aot-magic-haze: rgba(214, 196, 236, .48);
  --aot-magic-light: rgba(255, 255, 255, .72);
}

body {
  background-color: var(--aot-magic-bg-mid) !important;
  background-image:
    radial-gradient(circle at 7% 8%, var(--aot-magic-light) 0 78px, transparent 245px),
    radial-gradient(circle at 92% 24%, var(--aot-magic-haze) 0 120px, transparent 360px),
    radial-gradient(circle at 12% 76%, rgba(255,255,255,.55) 0 90px, transparent 300px),
    linear-gradient(180deg, var(--aot-magic-bg-start) 0%, var(--aot-magic-bg-mid) 46%, var(--aot-magic-bg-end) 100%) !important;
}

.site-main,
.intro-copy,
.split,
.home-products,
.blogs,
.reviews,
.newsletter,
.purpose-section,
.aot-shop-main,
.aot-page,
.woocommerce-page .site-main,
.woocommerce .site-main {
  background-color: transparent !important;
  background-image: none !important;
}

.site-main > section:not(.hero),
.home-products,
.reviews,
.purpose-section {
  border-top-color: rgba(126, 90, 184, .08) !important;
  border-bottom-color: rgba(126, 90, 184, .06) !important;
}

.intro-copy,
.home-products,
.reviews,
.purpose-section {
  background-image:
    radial-gradient(circle at 90% 15%, rgba(224, 211, 242, .36) 0 95px, transparent 280px),
    linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.06)) !important;
}

.split,
.site-main > section:not(.hero):not(.intro-copy):not(.home-products):not(.reviews):not(.purpose-section) {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04)) !important;
}

/* Keep fixed navigation and menus clean; only the page canvas changes. */
.nav,
.topbar,
.mega-menu,
.side-panel,
.cart-panel,
.currency-menu {
  background-image: none !important;
}

/* Footer gets the same soft gradient tone without changing its layout. */
body footer.aot-soft-footer,
footer.aot-soft-footer,
footer {
  background-color: var(--aot-magic-bg-mid) !important;
  background-image:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,.78) 0 80px, transparent 250px),
    radial-gradient(circle at 86% 28%, rgba(214,196,236,.42) 0 120px, transparent 350px),
    linear-gradient(180deg, #fffafd 0%, #f7eefb 52%, #eadcf3 100%) !important;
}

/* Purpose / Belief immersive hero redesign
   Uses the existing Customizer image field: belief_image.
   Any replacement image will keep the same full-screen overlay layout. */
.purpose-section.purpose-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #17120f !important;
  border: 0 !important;
}

.purpose-section.purpose-hero .purpose-image,
.purpose-section.purpose-hero .purpose-hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  margin: 0 !important;
  object-fit: cover;
  box-shadow: none;
  transform: scale(1.01);
}

.purpose-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 50%, rgba(255, 207, 138, .18) 0, transparent 34%),
    linear-gradient(90deg, rgba(12, 10, 9, .86) 0%, rgba(12, 10, 9, .66) 34%, rgba(12, 10, 9, .34) 62%, rgba(12, 10, 9, .18) 100%),
    linear-gradient(180deg, rgba(12, 10, 9, .26) 0%, rgba(12, 10, 9, .04) 38%, rgba(12, 10, 9, .46) 100%);
  pointer-events: none;
}

.purpose-hero-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 44%;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 8, 7, .62) 100%);
  pointer-events: none;
}

.purpose-hero-inner {
  width: min(1240px, calc(100% - clamp(36px, 9vw, 150px)));
  margin: 0 auto;
  padding: clamp(88px, 11vh, 150px) 0 clamp(70px, 9vh, 120px);
  color: #f8efe3;
}

.purpose-hero-kicker {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 clamp(22px, 3vw, 34px);
  color: rgba(248, 239, 227, .88);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(13px, 1.05vw, 18px);
  font-weight: 600;
  letter-spacing: .34em;
  line-height: 1;
  text-transform: uppercase;
}

.purpose-hero-kicker::after {
  content: "";
  display: block;
  width: 112px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 153, 82, .95), rgba(201, 153, 82, .35));
}

.purpose-hero-title {
  max-width: 980px;
  margin: 0 0 clamp(32px, 5.5vw, 72px);
  color: #f8efe3;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7vw, 112px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .92;
  text-wrap: balance;
  text-shadow: 0 18px 46px rgba(0, 0, 0, .42);
}

.purpose-section.purpose-hero .purpose-copy-grid,
.purpose-hero-cards {
  width: min(760px, 100%) !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
  align-items: stretch;
}

.purpose-card {
  min-height: clamp(260px, 28vw, 355px);
  padding: clamp(26px, 3.4vw, 44px) clamp(24px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .07)),
    rgba(24, 20, 18, .38);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.purpose-section.purpose-hero .purpose-copy-grid article,
.purpose-card {
  border-top: 0;
}

.purpose-card-icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 0 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
}

.purpose-card-icon::before {
  content: "✥";
  color: #c99b59;
  font-size: 26px;
  line-height: 1;
}

.purpose-card h3 {
  position: relative;
  margin: 0 0 26px;
  padding: 0 0 18px;
  color: #fff7ea;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 600;
  letter-spacing: .28em;
  line-height: 1.15;
  text-transform: uppercase;
}

.purpose-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 153, 82, .95), rgba(201, 153, 82, .2));
}

.purpose-section.purpose-hero .purpose-copy-grid p,
.purpose-card p {
  margin: 0;
  color: rgba(255, 250, 240, .86);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: .02em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .24);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .purpose-card {
    background: rgba(32, 27, 24, .78);
  }
}

@media (max-width: 900px) {
  .purpose-section.purpose-hero {
    min-height: auto;
    align-items: flex-end;
  }

  .purpose-hero::before {
    background:
      linear-gradient(180deg, rgba(12, 10, 9, .25) 0%, rgba(12, 10, 9, .58) 42%, rgba(12, 10, 9, .9) 100%),
      linear-gradient(90deg, rgba(12, 10, 9, .62) 0%, rgba(12, 10, 9, .28) 100%);
  }

  .purpose-hero-inner {
    width: min(100% - 32px, 680px);
    padding: 58vh 0 42px;
  }

  .purpose-hero-title {
    font-size: clamp(42px, 12vw, 76px);
    margin-bottom: 26px;
  }

  .purpose-section.purpose-hero .purpose-copy-grid,
  .purpose-hero-cards {
    width: 100% !important;
    grid-template-columns: 1fr;
  }

  .purpose-card {
    min-height: 0;
    padding: 26px 24px 28px;
    border-radius: 18px;
  }
}

@media (max-width: 520px) {
  .purpose-hero-inner {
    width: calc(100% - 28px);
    padding-top: 52vh;
  }

  .purpose-hero-kicker {
    font-size: 12px;
    letter-spacing: .26em;
  }

  .purpose-hero-title {
    font-size: clamp(38px, 14vw, 60px);
  }

  .purpose-card h3 {
    letter-spacing: .2em;
  }
}

/* 1.4.2 ritual lifestyle redesign overrides */
:root {
  --aot-warm-ivory: #f6efe7;
  --aot-sand: #e7d7c3;
  --aot-gold: #c99a4a;
  --aot-wood: #2b1c14;
  --aot-red: #8b2f24;
  --aot-ink: #18120e;
  --aot-muted: #725f51;
  --aot-line: rgba(80, 50, 30, .14);
}

body,
.site-main,
.intro-copy,
.home-products,
.blogs,
.reviews,
.newsletter,
.aot-shop-main {
  background: var(--aot-warm-ivory) !important;
  color: var(--aot-ink);
}

#aot-wp-clone {
  background: linear-gradient(180deg, #f9f3ec 0%, var(--aot-warm-ivory) 38%, #f3e8dd 100%);
}

.nav.aot-site-nav {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 76px !important;
  display: grid !important;
  grid-template-columns: minmax(160px, 240px) 1fr minmax(220px, 310px) !important;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 64px) !important;
  background: rgba(246, 239, 231, .82) !important;
  border-bottom: 1px solid rgba(80, 50, 30, .12) !important;
  box-shadow: 0 18px 48px rgba(28, 18, 12, .08);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
.admin-bar .nav.aot-site-nav { top: 32px; }
.nav.aot-site-nav .site-logo,
.nav.aot-site-nav .custom-logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.nav.aot-site-nav .custom-logo { width: clamp(110px, 10vw, 158px); height: auto; }
.nav.aot-site-nav .text-logo {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--aot-wood);
  font-size: clamp(18px, 1.5vw, 26px);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav.aot-site-nav .navlinks,
.nav.aot-site-nav .navlinks .menu {
  gap: clamp(18px, 2.2vw, 38px) !important;
  justify-content: center !important;
  align-items: center;
}
.nav.aot-site-nav .navlinks .menu > li { height: 76px !important; }
.nav.aot-site-nav .navlinks a,
.nav.aot-site-nav .nav-link,
.nav.aot-site-nav .actions a,
.nav.aot-site-nav .actions button,
.nav.aot-site-nav .icon-btn {
  color: var(--aot-wood) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: transparent;
}
.nav.aot-site-nav .actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}
.nav.aot-site-nav .hamburger { display: none; }

.hero.hero-slider,
.hero {
  min-height: clamp(660px, 88vh, 900px) !important;
  padding-top: 96px !important;
  background-color: var(--aot-ink) !important;
}
.hero.hero-slider::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  pointer-events: none !important;
  z-index: 1 !important;
  background:
    linear-gradient(90deg, rgba(22, 14, 8, .34) 0%, rgba(22, 14, 8, .18) 36%, rgba(22, 14, 8, .04) 66%, rgba(22, 14, 8, 0) 100%),
    linear-gradient(180deg, rgba(22, 14, 8, .10) 0%, rgba(22, 14, 8, .02) 42%, rgba(22, 14, 8, .16) 100%) !important;
}
.hero.hero-slider .hero-card {
  position: relative !important;
  z-index: 2 !important;
  align-self: flex-start !important;
  margin: 0 0 clamp(70px, 10vh, 130px) clamp(28px, 8vw, 132px) !important;
  max-width: 760px !important;
  text-align: left !important;
}
.hero.hero-slider .hero-card::before {
  content: "";
  position: absolute;
  inset: -22px -28px;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(28, 18, 10, .20) 0%, rgba(28, 18, 10, .10) 48%, rgba(28, 18, 10, 0) 100%);
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
}
.hero .hero-kicker {
  color: #d8b07a !important;
  font-size: 12px !important;
  letter-spacing: .32em !important;
  font-weight: 700 !important;
  margin-bottom: 18px !important;
  text-shadow: 0 6px 18px rgba(0,0,0,.28), 0 2px 6px rgba(0,0,0,.18) !important;
}
.hero h1 {
  color: #fff8ef !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 500 !important;
  font-size: clamp(56px, 7vw, 112px) !important;
  letter-spacing: -.045em !important;
  line-height: .92 !important;
  text-shadow: 0 18px 42px rgba(0,0,0,.34), 0 4px 12px rgba(0,0,0,.22) !important;
}
.hero p {
  max-width: 620px;
  color: rgba(255, 248, 235, .94) !important;
  font-size: clamp(15px, 1.25vw, 20px) !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  text-shadow: 0 8px 22px rgba(0,0,0,.22), 0 2px 6px rgba(0,0,0,.16) !important;
}
@media (max-width: 768px) {
  .hero.hero-slider::after {
    background:
      linear-gradient(90deg, rgba(22, 14, 8, .42) 0%, rgba(22, 14, 8, .22) 48%, rgba(22, 14, 8, .06) 100%),
      linear-gradient(180deg, rgba(22, 14, 8, .14) 0%, rgba(22, 14, 8, .04) 40%, rgba(22, 14, 8, .20) 100%) !important;
  }
  .hero.hero-slider .hero-card::before {
    inset: -18px -18px;
    background: linear-gradient(180deg, rgba(28, 18, 10, .18) 0%, rgba(28, 18, 10, .08) 50%, rgba(28, 18, 10, 0) 100%);
  }
}
.btn,
.hero .btn,
.product-card .product-action,
.aot-product-pagination a,
.aot-product-pagination span.current {
  border-radius: 999px !important;
  background: var(--aot-ink) !important;
  color: #fff7eb !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: 0 16px 36px rgba(24,18,14,.14);
}

.intro-copy {
  padding: clamp(64px, 8vw, 118px) 24px !important;
  background: var(--aot-warm-ivory) !important;
}
.intro-copy h2,
.section-title h2,
.ritual-section-head h2,
.objects-head h3 {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 500 !important;
  color: var(--aot-wood) !important;
  letter-spacing: -.02em;
}
.intro-copy h2 {
  max-width: 980px;
  margin: 0 auto 22px !important;
  font-size: clamp(34px, 4.8vw, 76px) !important;
  line-height: 1.02 !important;
}
.intro-copy p {
  max-width: 760px !important;
  color: var(--aot-muted) !important;
  font-size: clamp(16px, 1.25vw, 20px) !important;
  line-height: 1.75 !important;
}

.split { background: #efe2d4; }
.split-copy h2 { color: var(--aot-wood); font-family: Georgia, 'Times New Roman', serif !important; font-weight: 500 !important; }
.split-copy p { color: #5e4a3d !important; }

.ritual-commerce-section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 124px) clamp(18px, 4vw, 56px) clamp(88px, 9vw, 140px);
  background:
    radial-gradient(circle at 8% 10%, rgba(201,154,74,.14), transparent 28%),
    linear-gradient(180deg, #f7f0e8 0%, #efe2d5 100%);
}
.ritual-commerce-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.55), transparent 24%, transparent 72%, rgba(80,42,26,.08));
}
.ritual-section-head,
.objects-head {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.ritual-eyebrow {
  margin: 0 0 12px;
  color: var(--aot-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.ritual-section-head h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 78px);
  line-height: 1;
}
.ritual-section-head p {
  margin: 18px auto 0;
  max-width: 680px;
  color: var(--aot-muted);
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.8;
}
.ritual-category-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1440px;
  margin: clamp(36px, 5vw, 72px) auto clamp(52px, 6vw, 88px);
}
.ritual-category-card {
  position: relative;
  display: block;
  min-height: clamp(360px, 38vw, 560px);
  overflow: hidden;
  border-radius: 28px;
  background: var(--aot-ink);
  box-shadow: 0 24px 80px rgba(51, 31, 18, .16);
  transform: translateZ(0);
}
.ritual-category-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .8s ease, opacity .8s ease;
}
.ritual-category-card:hover img { transform: scale(1.055); opacity: .9; }
.ritual-category-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,12,8,.05) 0%, rgba(18,12,8,.2) 34%, rgba(18,12,8,.82) 100%),
    radial-gradient(circle at 20% 12%, rgba(255,235,190,.18), transparent 28%);
}
.ritual-category-copy {
  position: absolute;
  left: clamp(22px, 2.4vw, 38px);
  right: clamp(22px, 2.4vw, 38px);
  bottom: clamp(24px, 3vw, 44px);
  color: #fff8eb;
}
.ritual-category-title {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 2.3vw, 42px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.ritual-category-text {
  display: block;
  max-width: 420px;
  margin-top: 12px;
  color: rgba(255,248,235,.8);
  font-size: 14px;
  line-height: 1.65;
}
.ritual-category-cta {
  display: inline-flex;
  margin-top: 22px;
  padding: 11px 18px;
  border: 1px solid rgba(255,248,235,.3);
  border-radius: 999px;
  color: #fff8eb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.objects-head { margin-bottom: 30px; }
.objects-head h3 {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(28px, 3.2vw, 50px);
  line-height: 1.12;
}
.ritual-product-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(22px, 2.8vw, 38px) !important;
  max-width: 1440px !important;
}
.product-card.ritual-product-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  min-width: 0;
  padding: 10px 10px 20px;
  border: 1px solid var(--aot-line);
  border-radius: 24px;
  background: rgba(255, 252, 246, .56) !important;
  box-shadow: 0 18px 56px rgba(68, 44, 26, .08);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.product-card.ritual-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,47,36,.22);
  box-shadow: 0 28px 80px rgba(68, 44, 26, .14);
}
.product-card.ritual-product-card .product-image-wrap {
  aspect-ratio: 4 / 5 !important;
  border-radius: 18px;
  background: #eadcca !important;
}
.product-card.ritual-product-card img { object-fit: cover; }
.product-card.ritual-product-card .product-badge,
.woocommerce ul.products li.product .onsale,
.product-badge {
  top: 14px !important;
  right: 14px !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  background: var(--aot-red) !important;
  color: #fff7eb !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ritual-product-meta { padding: 18px 8px 0; }
.ritual-product-label {
  display: block;
  margin-bottom: 9px;
  color: var(--aot-red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.product-card.ritual-product-card h3 {
  min-height: auto !important;
  margin: 0 0 8px !important;
  color: var(--aot-wood) !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(18px, 1.35vw, 24px) !important;
  font-weight: 500 !important;
  line-height: 1.18 !important;
}
.ritual-product-meaning {
  margin: 0 0 14px;
  min-height: 68px;
  color: var(--aot-muted);
  font-size: 13px;
  line-height: 1.65;
}
.product-card.ritual-product-card .product-price {
  min-height: 0 !important;
  color: var(--aot-red) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}
.product-card.ritual-product-card .product-price del { color: rgba(43,28,20,.42) !important; }
.product-card.ritual-product-card .product-card-actions { margin-top: 16px !important; }
.product-card.ritual-product-card .product-action {
  margin: 0 !important;
  padding: 12px 18px !important;
  font-size: 11px !important;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.purpose-section.purpose-hero {
  min-height: clamp(660px, 74vh, 820px) !important;
}
.purpose-hero-inner {
  padding-top: clamp(110px, 12vh, 160px) !important;
  padding-bottom: clamp(70px, 9vh, 120px) !important;
}
.purpose-hero-title {
  font-size: clamp(50px, 6vw, 98px) !important;
}
.reviews { background: #f2e7dc !important; }
.footer,
.site-footer { background-color: #f8f1e9 !important; }

@media (max-width: 1100px) {
  .nav.aot-site-nav {
    grid-template-columns: auto 1fr auto !important;
    height: 68px !important;
  }
  .nav.aot-site-nav .hamburger { display: inline-flex !important; }
  .nav.aot-site-nav .navlinks { display: none !important; }
  .nav.aot-site-nav .actions .hide-mobile { display: none !important; }
  .ritual-category-grid { grid-template-columns: 1fr; }
  .ritual-category-card { min-height: 420px; }
  .ritual-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 782px) { .admin-bar .nav.aot-site-nav { top: 46px; } }
@media (max-width: 680px) {
  .nav.aot-site-nav { padding: 0 14px !important; }
  .hero.hero-slider .hero-card { margin-left: 20px !important; margin-right: 20px !important; }
  .hero h1 { font-size: clamp(42px, 14vw, 68px) !important; }
  .ritual-commerce-section { padding-left: 14px; padding-right: 14px; }
  .ritual-product-grid { grid-template-columns: 1fr !important; }
  .ritual-product-meaning { min-height: 0; }
  .ritual-category-card { min-height: 360px; border-radius: 22px; }
}

/* v1.4.3 header refinement: premium overlay header for homepage */
.nav.aot-site-nav {
  max-width: none !important;
  width: 100% !important;
  overflow: visible !important;
}
body.home .nav.aot-site-nav,
body.front-page .nav.aot-site-nav {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  height: 78px !important;
  grid-template-columns: minmax(170px, 260px) minmax(0, 1fr) minmax(190px, 300px) !important;
  gap: clamp(14px, 2vw, 30px) !important;
  padding: 0 clamp(22px, 5vw, 76px) !important;
  background: linear-gradient(180deg, rgba(16, 10, 7, .56), rgba(16, 10, 7, .18) 72%, rgba(16, 10, 7, 0)) !important;
  border-bottom: 1px solid rgba(255, 248, 235, .12) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, backdrop-filter .22s ease;
}
body.admin-bar.home .nav.aot-site-nav,
body.admin-bar.front-page .nav.aot-site-nav { top: 32px; }
body.home .nav.aot-site-nav.is-scrolled,
body.front-page .nav.aot-site-nav.is-scrolled {
  background: rgba(246, 239, 231, .92) !important;
  border-bottom-color: rgba(80, 50, 30, .14) !important;
  box-shadow: 0 18px 48px rgba(28, 18, 12, .10) !important;
  backdrop-filter: blur(18px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(120%) !important;
}
body.home .nav.aot-site-nav .site-logo,
body.front-page .nav.aot-site-nav .site-logo {
  justify-self: start !important;
  max-width: 260px;
}
body.home .nav.aot-site-nav .custom-logo,
body.front-page .nav.aot-site-nav .custom-logo {
  width: clamp(116px, 9vw, 164px) !important;
  max-height: 46px !important;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 6px 18px rgba(0,0,0,.22));
  transition: filter .22s ease;
}
body.home .nav.aot-site-nav.is-scrolled .custom-logo,
body.front-page .nav.aot-site-nav.is-scrolled .custom-logo {
  filter: none;
}
body.home .nav.aot-site-nav .text-logo,
body.front-page .nav.aot-site-nav .text-logo {
  color: #fff7eb !important;
  text-shadow: 0 8px 24px rgba(0,0,0,.28);
  font-size: clamp(18px, 1.35vw, 24px) !important;
  letter-spacing: .12em;
}
body.home .nav.aot-site-nav.is-scrolled .text-logo,
body.front-page .nav.aot-site-nav.is-scrolled .text-logo { color: var(--aot-wood) !important; text-shadow: none; }
body.home .nav.aot-site-nav .navlinks,
body.home .nav.aot-site-nav .navlinks .menu,
body.front-page .nav.aot-site-nav .navlinks,
body.front-page .nav.aot-site-nav .navlinks .menu {
  min-width: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: clamp(16px, 2vw, 34px) !important;
}
body.home .nav.aot-site-nav .navlinks .menu > li,
body.front-page .nav.aot-site-nav .navlinks .menu > li {
  height: 78px !important;
  flex: 0 0 auto;
}
body.home .nav.aot-site-nav .navlinks a,
body.home .nav.aot-site-nav .nav-link,
body.home .nav.aot-site-nav .actions a,
body.home .nav.aot-site-nav .actions button,
body.home .nav.aot-site-nav .icon-btn,
body.front-page .nav.aot-site-nav .navlinks a,
body.front-page .nav.aot-site-nav .nav-link,
body.front-page .nav.aot-site-nav .actions a,
body.front-page .nav.aot-site-nav .actions button,
body.front-page .nav.aot-site-nav .icon-btn {
  color: #fff7eb !important;
  font-size: clamp(11px, .78vw, 13px) !important;
  font-weight: 650 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
  white-space: nowrap !important;
}
body.home .nav.aot-site-nav.is-scrolled .navlinks a,
body.home .nav.aot-site-nav.is-scrolled .nav-link,
body.home .nav.aot-site-nav.is-scrolled .actions a,
body.home .nav.aot-site-nav.is-scrolled .actions button,
body.home .nav.aot-site-nav.is-scrolled .icon-btn,
body.front-page .nav.aot-site-nav.is-scrolled .navlinks a,
body.front-page .nav.aot-site-nav.is-scrolled .nav-link,
body.front-page .nav.aot-site-nav.is-scrolled .actions a,
body.front-page .nav.aot-site-nav.is-scrolled .actions button,
body.front-page .nav.aot-site-nav.is-scrolled .icon-btn {
  color: var(--aot-wood) !important;
  text-shadow: none !important;
}
body.home .nav.aot-site-nav .actions,
body.front-page .nav.aot-site-nav .actions {
  justify-self: end !important;
  gap: clamp(10px, 1.1vw, 16px) !important;
  min-width: 0 !important;
}
body.home .nav.aot-site-nav .actions .icon-btn,
body.front-page .nav.aot-site-nav .actions .icon-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 248, 235, .22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
body.home .nav.aot-site-nav.is-scrolled .actions .icon-btn,
body.front-page .nav.aot-site-nav.is-scrolled .actions .icon-btn {
  border-color: rgba(80, 50, 30, .16);
  background: rgba(255,255,255,.44);
}
body.home .hero.hero-slider,
body.home .hero,
body.front-page .hero.hero-slider,
body.front-page .hero {
  margin-top: 0 !important;
  padding-top: 78px !important;
}
@media (max-width: 1180px) {
  body.home .nav.aot-site-nav,
  body.front-page .nav.aot-site-nav {
    grid-template-columns: auto 1fr auto !important;
    height: 70px !important;
  }
  body.home .nav.aot-site-nav .hamburger,
  body.front-page .nav.aot-site-nav .hamburger { display: inline-flex !important; }
  body.home .nav.aot-site-nav .navlinks,
  body.front-page .nav.aot-site-nav .navlinks { display: none !important; }
  body.home .nav.aot-site-nav .actions .hide-mobile,
  body.front-page .nav.aot-site-nav .actions .hide-mobile { display: none !important; }
}
@media (max-width: 782px) {
  body.admin-bar.home .nav.aot-site-nav,
  body.admin-bar.front-page .nav.aot-site-nav { top: 46px; }
}
@media (max-width: 680px) {
  body.home .nav.aot-site-nav,
  body.front-page .nav.aot-site-nav { padding: 0 16px !important; }
  body.home .nav.aot-site-nav .actions button[data-open-search],
  body.front-page .nav.aot-site-nav .actions button[data-open-search] { display: none !important; }
}

/* v1.4.4 header true-center fix: center the primary nav against the viewport, not the remaining grid column. */
@media (min-width: 1181px) {
  body.home .nav.aot-site-nav,
  body.front-page .nav.aot-site-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    grid-template-columns: none !important;
    position: fixed !important;
    height: 78px !important;
    padding-left: clamp(28px, 5vw, 76px) !important;
    padding-right: clamp(28px, 5vw, 76px) !important;
  }

  body.home .nav.aot-site-nav .site-logo,
  body.front-page .nav.aot-site-nav .site-logo {
    position: absolute !important;
    left: clamp(28px, 5vw, 76px) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    justify-self: auto !important;
    z-index: 2;
  }

  body.home .nav.aot-site-nav .navlinks,
  body.front-page .nav.aot-site-nav .navlinks {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    max-width: min(980px, 58vw) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1;
  }

  body.home .nav.aot-site-nav .navlinks .menu,
  body.front-page .nav.aot-site-nav .navlinks .menu {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(18px, 1.45vw, 30px) !important;
    white-space: nowrap !important;
  }

  body.home .nav.aot-site-nav .navlinks a,
  body.home .nav.aot-site-nav .nav-link,
  body.front-page .nav.aot-site-nav .navlinks a,
  body.front-page .nav.aot-site-nav .nav-link {
    font-size: clamp(10px, .68vw, 12px) !important;
    letter-spacing: .055em !important;
    line-height: 1 !important;
  }

  body.home .nav.aot-site-nav .actions,
  body.front-page .nav.aot-site-nav .actions {
    position: absolute !important;
    right: clamp(28px, 5vw, 76px) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    justify-self: auto !important;
    z-index: 2;
  }
}

@media (max-width: 1280px) {
  body.home .nav.aot-site-nav,
  body.front-page .nav.aot-site-nav {
    grid-template-columns: auto 1fr auto !important;
  }
  body.home .nav.aot-site-nav .hamburger,
  body.front-page .nav.aot-site-nav .hamburger {
    display: inline-flex !important;
  }
  body.home .nav.aot-site-nav .navlinks,
  body.front-page .nav.aot-site-nav .navlinks {
    display: none !important;
  }
}


/* v1.4.5 logo/header fix: remove nested-logo side effects and keep the logo anchored left. */
@media (min-width: 1181px) {
  body.home .nav.aot-site-nav,
  body.front-page .nav.aot-site-nav {
    isolation: isolate !important;
  }

  body.home .nav.aot-site-nav .site-logo,
  body.front-page .nav.aot-site-nav .site-logo {
    position: absolute !important;
    left: clamp(28px, 5vw, 76px) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: clamp(150px, 15vw, 260px) !important;
    max-width: clamp(150px, 15vw, 260px) !important;
    pointer-events: auto !important;
  }

  body.home .nav.aot-site-nav .site-logo .custom-logo,
  body.front-page .nav.aot-site-nav .site-logo .custom-logo,
  body.home .nav.aot-site-nav .custom-logo,
  body.front-page .nav.aot-site-nav .custom-logo {
    display: block !important;
    width: auto !important;
    max-width: clamp(136px, 13vw, 230px) !important;
    max-height: 44px !important;
    object-fit: contain !important;
    object-position: left center !important;
    filter: brightness(0) invert(1) drop-shadow(0 6px 18px rgba(0,0,0,.32)) !important;
    opacity: 1 !important;
  }

  body.home .nav.aot-site-nav.is-scrolled .site-logo .custom-logo,
  body.front-page .nav.aot-site-nav.is-scrolled .site-logo .custom-logo,
  body.home .nav.aot-site-nav.is-scrolled .custom-logo,
  body.front-page .nav.aot-site-nav.is-scrolled .custom-logo {
    filter: brightness(0) saturate(100%) invert(14%) sepia(19%) saturate(973%) hue-rotate(341deg) brightness(92%) contrast(94%) !important;
  }

  body.home .nav.aot-site-nav .text-logo,
  body.front-page .nav.aot-site-nav .text-logo {
    color: #fff7eb !important;
    text-shadow: 0 8px 24px rgba(0,0,0,.35) !important;
  }

  body.home .nav.aot-site-nav.is-scrolled .text-logo,
  body.front-page .nav.aot-site-nav.is-scrolled .text-logo {
    color: var(--aot-wood) !important;
    text-shadow: none !important;
  }

  body.home .nav.aot-site-nav .navlinks,
  body.front-page .nav.aot-site-nav .navlinks {
    z-index: 3 !important;
    max-width: min(980px, calc(100vw - 620px)) !important;
  }

  body.home .nav.aot-site-nav .actions,
  body.front-page .nav.aot-site-nav .actions {
    z-index: 5 !important;
  }
}

@media (max-width: 1180px) {
  body.home .nav.aot-site-nav .site-logo,
  body.front-page .nav.aot-site-nav .site-logo,
  .nav.aot-site-nav .site-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.home .nav.aot-site-nav .custom-logo,
  body.front-page .nav.aot-site-nav .custom-logo,
  .nav.aot-site-nav .custom-logo {
    display: block !important;
    width: auto !important;
    max-width: 168px !important;
    max-height: 40px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) drop-shadow(0 6px 18px rgba(0,0,0,.28)) !important;
  }

  body.home .nav.aot-site-nav.is-scrolled .custom-logo,
  body.front-page .nav.aot-site-nav.is-scrolled .custom-logo {
    filter: brightness(0) saturate(100%) invert(14%) sepia(19%) saturate(973%) hue-rotate(341deg) brightness(92%) contrast(94%) !important;
  }
}


/* v1.4.6 language switcher contrast + thematic footer artwork refresh */
body.home .nav.aot-site-nav .actions .aot-language-switcher,
body.front-page .nav.aot-site-nav .actions .aot-language-switcher,
.nav.aot-site-nav .actions .aot-language-switcher {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

body.home .nav.aot-site-nav .actions .aot-language-switcher > ul,
body.front-page .nav.aot-site-nav .actions .aot-language-switcher > ul,
.nav.aot-site-nav .actions .aot-language-switcher > ul {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.home .nav.aot-site-nav .actions .aot-language-switcher a,
body.home .nav.aot-site-nav .actions .aot-language-switcher span,
body.front-page .nav.aot-site-nav .actions .aot-language-switcher a,
body.front-page .nav.aot-site-nav .actions .aot-language-switcher span,
.nav.aot-site-nav .actions .aot-language-switcher a,
.nav.aot-site-nav .actions .aot-language-switcher span {
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 248, 235, .28) !important;
  background: rgba(24, 18, 14, .26) !important;
  color: #fff7eb !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  text-shadow: 0 6px 18px rgba(0,0,0,.26) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
}

body.home .nav.aot-site-nav .actions .aot-language-switcher .current-lang a,
body.home .nav.aot-site-nav .actions .aot-language-switcher .current-lang span,
body.front-page .nav.aot-site-nav .actions .aot-language-switcher .current-lang a,
body.front-page .nav.aot-site-nav .actions .aot-language-switcher .current-lang span,
.nav.aot-site-nav .actions .aot-language-switcher .current-lang a,
.nav.aot-site-nav .actions .aot-language-switcher .current-lang span {
  background: rgba(201, 154, 74, .26) !important;
  border-color: rgba(255, 232, 188, .52) !important;
  color: #fff9f1 !important;
}

body.home .nav.aot-site-nav.is-scrolled .actions .aot-language-switcher a,
body.home .nav.aot-site-nav.is-scrolled .actions .aot-language-switcher span,
body.front-page .nav.aot-site-nav.is-scrolled .actions .aot-language-switcher a,
body.front-page .nav.aot-site-nav.is-scrolled .actions .aot-language-switcher span,
.nav.aot-site-nav.is-scrolled .actions .aot-language-switcher a,
.nav.aot-site-nav.is-scrolled .actions .aot-language-switcher span {
  background: rgba(255, 250, 242, .92) !important;
  border-color: rgba(80, 50, 30, .16) !important;
  color: #2b1c14 !important;
  text-shadow: none !important;
  box-shadow: 0 10px 26px rgba(54, 36, 22, .10) !important;
}

body.home .nav.aot-site-nav.is-scrolled .actions .aot-language-switcher .current-lang a,
body.home .nav.aot-site-nav.is-scrolled .actions .aot-language-switcher .current-lang span,
body.front-page .nav.aot-site-nav.is-scrolled .actions .aot-language-switcher .current-lang a,
body.front-page .nav.aot-site-nav.is-scrolled .actions .aot-language-switcher .current-lang span,
.nav.aot-site-nav.is-scrolled .actions .aot-language-switcher .current-lang a,
.nav.aot-site-nav.is-scrolled .actions .aot-language-switcher .current-lang span {
  background: rgba(201, 154, 74, .18) !important;
  border-color: rgba(154, 107, 69, .28) !important;
  color: #2b1c14 !important;
}

/* Robust styling for plugin-generated language dropdowns or language submenus */
.nav.aot-site-nav .sub-menu,
.nav.aot-site-nav .lang-item ul,
.nav.aot-site-nav .menu-item-language ul {
  background: rgba(255, 250, 242, .98) !important;
  border: 1px solid rgba(94, 71, 54, .14) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 40px rgba(33, 22, 14, .16) !important;
  padding: 10px !important;
}

.nav.aot-site-nav .sub-menu li,
.nav.aot-site-nav .lang-item ul li,
.nav.aot-site-nav .menu-item-language ul li {
  margin: 0 !important;
}

.nav.aot-site-nav .sub-menu a,
.nav.aot-site-nav .lang-item ul a,
.nav.aot-site-nav .menu-item-language ul a,
.nav.aot-site-nav .sub-menu span,
.nav.aot-site-nav .lang-item ul span,
.nav.aot-site-nav .menu-item-language ul span {
  color: #2b1c14 !important;
  text-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 8px 12px !important;
  font-weight: 700 !important;
}

.nav.aot-site-nav .sub-menu a:hover,
.nav.aot-site-nav .lang-item ul a:hover,
.nav.aot-site-nav .menu-item-language ul a:hover {
  background: rgba(201, 154, 74, .12) !important;
  color: #2b1c14 !important;
}

.mobile-menu .aot-language-switcher,
.side-panel .aot-language-switcher {
  display: block !important;
  margin-top: 20px !important;
}

.mobile-menu .aot-language-switcher ul,
.side-panel .aot-language-switcher ul {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 12px !important;
  border-radius: 18px !important;
  background: #fffaf2 !important;
  border: 1px solid rgba(94, 71, 54, .12) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6) !important;
}

.mobile-menu .aot-language-switcher a,
.mobile-menu .aot-language-switcher span,
.side-panel .aot-language-switcher a,
.side-panel .aot-language-switcher span {
  width: 100% !important;
  justify-content: flex-start !important;
  min-height: 42px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(227, 212, 195, .9) !important;
  background: #ffffff !important;
  color: #2b1c14 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.mobile-menu .aot-language-switcher .current-lang a,
.mobile-menu .aot-language-switcher .current-lang span,
.side-panel .aot-language-switcher .current-lang a,
.side-panel .aot-language-switcher .current-lang span {
  background: #f6ede1 !important;
  border-color: rgba(154, 107, 69, .24) !important;
  color: #2b1c14 !important;
}

footer.aot-soft-footer,
body footer.aot-soft-footer,
html body footer.aot-soft-footer {
  min-height: 520px !important;
  padding: 72px 0 34px !important;
  background-color: #f8f1e7 !important;
  background-image:
    linear-gradient(180deg, rgba(250,245,238,.96) 0%, rgba(250,245,238,.90) 26%, rgba(250,245,238,.68) 54%, rgba(250,245,238,.34) 74%, rgba(250,245,238,.22) 100%),
    url('assets/images/footer-landscape.png') !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center top, center bottom !important;
  background-size: 100% 100%, cover !important;
}

footer.aot-soft-footer::after,
body footer.aot-soft-footer::after,
html body footer.aot-soft-footer::after {
  background:
    radial-gradient(circle at 50% 16%, rgba(250,245,238,.94) 0 24%, rgba(250,245,238,.62) 52%, rgba(250,245,238,0) 76%),
    linear-gradient(180deg, rgba(250,245,238,.76) 0%, rgba(250,245,238,.36) 44%, rgba(250,245,238,.10) 100%) !important;
}

footer.aot-soft-footer .footer-grid,
body footer.aot-soft-footer .footer-grid,
html body footer.aot-soft-footer .footer-grid {
  gap: clamp(28px, 4vw, 74px) !important;
}

@media (max-width: 1180px) {
  .nav.aot-site-nav .actions .aot-language-switcher {
    display: none !important;
  }
}

/* v1.4.7 editorial polish: story statement, premium image overlays, and video-ready artisan media */
.editorial-intro,
body .site-main .editorial-intro {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 28%, rgba(201,154,74,.12) 0 18%, rgba(201,154,74,0) 46%),
    linear-gradient(180deg, #f8f1e7 0%, #f5eadc 100%) !important;
  padding: clamp(76px, 9vw, 136px) 24px clamp(66px, 8vw, 118px) !important;
  text-align: center !important;
}
.editorial-intro::before,
.editorial-intro::after {
  content: "" !important;
  position: absolute !important;
  pointer-events: none !important;
  opacity: .36 !important;
}
.editorial-intro::before {
  inset: 0 !important;
  background:
    linear-gradient(90deg, rgba(43,28,20,.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(43,28,20,.04) 1px, transparent 1px) !important;
  background-size: 92px 92px !important;
  mask-image: radial-gradient(circle at center, #000 0 36%, transparent 72%) !important;
}
.editorial-intro::after {
  width: min(780px, 76vw) !important;
  height: min(780px, 76vw) !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) rotate(12deg) !important;
  border: 1px solid rgba(154,107,69,.18) !important;
  border-radius: 50% !important;
  box-shadow:
    inset 0 0 0 28px rgba(201,154,74,.025),
    inset 0 0 0 58px rgba(139,47,36,.025),
    inset 0 0 0 102px rgba(43,28,20,.018) !important;
}
.intro-inner {
  position: relative !important;
  z-index: 2 !important;
  width: min(960px, calc(100% - 24px)) !important;
  margin: 0 auto !important;
}
.intro-kicker,
.split-kicker {
  margin: 0 0 18px !important;
  font: 800 12px/1.2 Inter, Arial, sans-serif !important;
  letter-spacing: .34em !important;
  color: #8b2f24 !important;
  text-transform: uppercase !important;
}
.editorial-intro h2,
body .intro-copy.editorial-intro h2 {
  margin: 0 auto 24px !important;
  max-width: 900px !important;
  font-family: Cormorant Garamond, Playfair Display, Georgia, serif !important;
  font-weight: 600 !important;
  font-size: clamp(48px, 5.9vw, 96px) !important;
  line-height: .94 !important;
  letter-spacing: -.045em !important;
  color: #2b1c14 !important;
}
.editorial-intro p:not(.intro-kicker),
body .intro-copy.editorial-intro p:not(.intro-kicker) {
  max-width: 740px !important;
  margin: 0 auto !important;
  font-size: clamp(15px, 1.05vw, 19px) !important;
  line-height: 1.8 !important;
  color: #7b624f !important;
}
.intro-values {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 34px !important;
}
.intro-values span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 38px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(154,107,69,.30) !important;
  border-radius: 999px !important;
  background: rgba(255,250,242,.54) !important;
  box-shadow: 0 12px 36px rgba(54,36,22,.06) !important;
  color: #4b332f !important;
  font: 800 11px/1 Inter, Arial, sans-serif !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

/* Premium editorial tile captions: replaces simple white labels with image-integrated overlays. */
.arts-grid .tile.editorial-tile,
.craft-grid .tile.editorial-tile,
.tile.editorial-tile {
  border-radius: 0 !important;
  box-shadow: 0 18px 52px rgba(54,36,22,.10) !important;
  background: #2b1c14 !important;
}
.tile.editorial-tile img {
  filter: saturate(1.02) contrast(1.02) !important;
  transform-origin: center !important;
}
.tile.editorial-tile:hover img {
  transform: scale(1.055) !important;
}
.tile-shade {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(24,18,14,0) 38%, rgba(24,18,14,.24) 62%, rgba(24,18,14,.72) 100%),
    linear-gradient(90deg, rgba(24,18,14,.26) 0%, rgba(24,18,14,0) 44%) !important;
  opacity: .92 !important;
  transition: opacity .35s ease !important;
}
.tile.editorial-tile:hover .tile-shade { opacity: 1 !important; }
.tile.editorial-tile .label.tile-caption,
.tile.editorial-tile .label {
  left: 24px !important;
  right: 24px !important;
  bottom: 22px !important;
  transform: none !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  white-space: normal !important;
  text-align: left !important;
  color: #fff7eb !important;
}
.tile-title {
  display: block !important;
  font-family: Cormorant Garamond, Playfair Display, Georgia, serif !important;
  font-size: clamp(22px, 1.8vw, 34px) !important;
  line-height: 1.02 !important;
  font-weight: 600 !important;
  letter-spacing: -.02em !important;
  text-shadow: 0 10px 24px rgba(0,0,0,.42) !important;
}
.tile-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 13px !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,232,188,.48) !important;
  background: rgba(24,18,14,.42) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #fff7eb !important;
  font: 800 10px/1 Inter, Arial, sans-serif !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.20) !important;
  transition: background .22s ease, border-color .22s ease, transform .22s ease !important;
}
.tile.editorial-tile:hover .tile-cta {
  background: rgba(139,47,36,.70) !important;
  border-color: rgba(255,232,188,.70) !important;
  transform: translateY(-2px) !important;
}

/* Artisan section now accepts MP4/WebM video or image while keeping the same layout. */
.artisan-split,
body .site-main .artisan-split {
  background: #fbf6ee !important;
  border-top: 1px solid rgba(154,107,69,.10) !important;
  border-bottom: 1px solid rgba(154,107,69,.10) !important;
}
.split-media {
  position: relative !important;
  width: 100% !important;
  min-height: 480px !important;
  overflow: hidden !important;
  background: #2b1c14 !important;
}
.split-media::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: linear-gradient(90deg, rgba(24,18,14,.12), rgba(24,18,14,0) 42%, rgba(24,18,14,.10)) !important;
}
.split-media img,
.split-media video,
.split-video {
  width: 100% !important;
  height: 480px !important;
  object-fit: cover !important;
  display: block !important;
}
.artisan-split .split-copy {
  padding: clamp(58px, 7vw, 112px) min(8vw, 130px) !important;
}
.artisan-split .split-copy h2 {
  font-family: Cormorant Garamond, Playfair Display, Georgia, serif !important;
  font-size: clamp(38px, 3.4vw, 64px) !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  letter-spacing: -.035em !important;
  color: #2b1c14 !important;
}
.artisan-split .split-copy p {
  color: #765c49 !important;
  font-size: clamp(15px, 1vw, 18px) !important;
  line-height: 1.85 !important;
}

@media (max-width: 900px) {
  .editorial-intro,
  body .site-main .editorial-intro {
    padding: 58px 18px 54px !important;
  }
  .editorial-intro h2,
  body .intro-copy.editorial-intro h2 {
    font-size: clamp(36px, 11vw, 54px) !important;
    line-height: .98 !important;
  }
  .intro-values {
    gap: 8px !important;
  }
  .intro-values span {
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 9px !important;
    letter-spacing: .10em !important;
  }
  .tile.editorial-tile .label.tile-caption,
  .tile.editorial-tile .label {
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
  }
  .tile-title {
    font-size: 23px !important;
  }
  .tile-cta {
    min-height: 30px !important;
    padding: 0 11px !important;
    font-size: 9px !important;
  }
  .split-media,
  .split-media img,
  .split-media video,
  .split-video {
    height: 320px !important;
    min-height: 320px !important;
  }
  .artisan-split .split-copy {
    padding: 36px 22px 44px !important;
  }
}


/* v1.4.8 contrast hardening + Zi Wei layout polish + premium shop/product cards */
:root {
  --aot-cream: #f7efe5;
  --aot-cream-2: #efe1d0;
  --aot-rich-brown: #241711;
  --aot-deep-red: #8b2f24;
  --aot-bronze: #b9853d;
  --aot-text: #2b1c14;
  --aot-subtext: #6f5746;
}

/* Make every dropdown and second-level navigation readable on image headers. */
.nav.aot-site-nav .menu-item-has-children,
.nav.aot-site-nav .menu li,
.nav.aot-site-nav .navlinks .menu > li {
  position: relative !important;
}
.nav.aot-site-nav .menu .sub-menu,
.nav.aot-site-nav .navlinks .sub-menu,
.nav.aot-site-nav ul ul,
body.home .nav.aot-site-nav .menu .sub-menu,
body.front-page .nav.aot-site-nav .menu .sub-menu,
body.home .nav.aot-site-nav ul ul,
body.front-page .nav.aot-site-nav ul ul {
  position: absolute !important;
  top: calc(100% - 8px) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  display: block !important;
  width: max-content !important;
  min-width: 220px !important;
  max-width: 320px !important;
  margin: 0 !important;
  padding: 12px !important;
  list-style: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  background: rgba(255, 250, 242, .98) !important;
  color: var(--aot-text) !important;
  border: 1px solid rgba(71, 47, 33, .16) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 56px rgba(33, 22, 14, .22) !important;
  backdrop-filter: blur(14px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
  z-index: 10020 !important;
}
.nav.aot-site-nav .menu li:hover > .sub-menu,
.nav.aot-site-nav .menu li:focus-within > .sub-menu,
body.home .nav.aot-site-nav .menu li:hover > .sub-menu,
body.front-page .nav.aot-site-nav .menu li:hover > .sub-menu,
body.home .nav.aot-site-nav .menu li:focus-within > .sub-menu,
body.front-page .nav.aot-site-nav .menu li:focus-within > .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}
.nav.aot-site-nav .sub-menu li,
.nav.aot-site-nav ul ul li,
body.home .nav.aot-site-nav .sub-menu li,
body.front-page .nav.aot-site-nav .sub-menu li {
  height: auto !important;
  width: 100% !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.nav.aot-site-nav .sub-menu a,
.nav.aot-site-nav ul ul a,
.nav.aot-site-nav .sub-menu span,
.nav.aot-site-nav ul ul span,
body.home .nav.aot-site-nav .sub-menu a,
body.home .nav.aot-site-nav ul ul a,
body.front-page .nav.aot-site-nav .sub-menu a,
body.front-page .nav.aot-site-nav ul ul a {
  display: flex !important;
  align-items: center !important;
  min-height: 42px !important;
  width: 100% !important;
  padding: 10px 14px !important;
  color: var(--aot-text) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .05em !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
  white-space: normal !important;
}
.nav.aot-site-nav .sub-menu a:hover,
.nav.aot-site-nav ul ul a:hover,
body.home .nav.aot-site-nav .sub-menu a:hover,
body.front-page .nav.aot-site-nav .sub-menu a:hover {
  background: rgba(201, 154, 74, .14) !important;
  color: var(--aot-deep-red) !important;
}
.nav.aot-site-nav .sub-menu .sub-menu,
.nav.aot-site-nav ul ul ul {
  left: 100% !important;
  top: 0 !important;
  transform: translateX(10px) !important;
}
.nav.aot-site-nav ul ul li:hover > ul,
.nav.aot-site-nav ul ul li:focus-within > ul {
  transform: translateX(0) !important;
}

/* Language dropdown contrast, including Polylang/GTranslate generated markup. */
.nav.aot-site-nav .aot-language-switcher ul ul,
.nav.aot-site-nav .lang-item .sub-menu,
.nav.aot-site-nav .menu-item-language .sub-menu,
.nav.aot-site-nav .aot-language-switcher .sub-menu,
.nav.aot-site-nav .aot-language-switcher select,
.goog-te-menu-frame,
.gt_switcher .gt_option,
.gt_switcher-popup,
.pll-parent-menu-item .sub-menu {
  background: #fffaf2 !important;
  color: var(--aot-text) !important;
}
.nav.aot-site-nav .aot-language-switcher ul ul a,
.nav.aot-site-nav .aot-language-switcher .sub-menu a,
.nav.aot-site-nav .aot-language-switcher li a,
.nav.aot-site-nav .lang-item a,
.nav.aot-site-nav .lang-item span,
.gt_switcher .gt_option a,
.gt_switcher-popup a,
.pll-parent-menu-item .sub-menu a {
  color: var(--aot-text) !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
.nav.aot-site-nav .aot-language-switcher img,
.gt_switcher img {
  filter: none !important;
  opacity: 1 !important;
}

/* Zi Wei page: strong contrast on hero, clearer form card, better spacing under fixed header. */
.aot-ziwei-page {
  background: linear-gradient(180deg, #f7efe5 0%, #f0e2d1 100%) !important;
  color: var(--aot-text) !important;
}
.aot-ziwei-hero {
  position: relative !important;
  min-height: 430px !important;
  padding: 138px 24px 72px !important;
  overflow: hidden !important;
  background-color: #1e130d !important;
  background-image:
    linear-gradient(180deg, rgba(24, 15, 10, .78), rgba(24, 15, 10, .64)),
    radial-gradient(circle at 50% 18%, rgba(201,154,74,.22), transparent 42%),
    url("https://www.artoftibet.com/cdn/shop/files/slide_1_2000x.jpg?v=1767019756") !important;
  background-position: center !important;
  background-size: cover !important;
  color: #fff7eb !important;
}
.aot-ziwei-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.34) 100%),
    radial-gradient(circle at 50% 54%, rgba(255,248,235,.10), transparent 46%) !important;
}
.aot-ziwei-hero .aot-ziwei-shell {
  position: relative !important;
  z-index: 1 !important;
}
.aot-ziwei-kicker,
.aot-ziwei-hero h1,
.aot-ziwei-subtitle,
.aot-ziwei-note {
  text-shadow: 0 8px 28px rgba(0,0,0,.46) !important;
}
.aot-ziwei-kicker {
  color: #f0c574 !important;
  font-size: 13px !important;
  letter-spacing: .20em !important;
}
.aot-ziwei-hero h1 {
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: #fff7eb !important;
  font-family: Cormorant Garamond, Playfair Display, Georgia, serif !important;
  font-size: clamp(46px, 6vw, 86px) !important;
  font-weight: 650 !important;
  line-height: .95 !important;
  letter-spacing: -.035em !important;
}
.aot-ziwei-subtitle {
  color: rgba(255,247,235,.96) !important;
  font-size: clamp(16px, 1.35vw, 22px) !important;
  font-weight: 700 !important;
}
.aot-ziwei-note {
  max-width: 820px !important;
  color: rgba(255,247,235,.86) !important;
  font-size: 14px !important;
}
.aot-ziwei-workspace {
  padding: clamp(48px, 7vw, 88px) 0 clamp(76px, 9vw, 120px) !important;
}
.aot-ziwei-form,
.aot-ziwei-results {
  background: rgba(255, 252, 246, .94) !important;
  border: 1px solid rgba(113, 84, 61, .16) !important;
  border-radius: 28px !important;
  box-shadow: 0 28px 80px rgba(59, 37, 22, .13) !important;
}
.aot-ziwei-form {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px 28px !important;
  padding: clamp(28px, 4vw, 54px) !important;
}
.aot-ziwei-field label,
.aot-ziwei-checkbox span,
.aot-ziwei-result-head h2 {
  color: var(--aot-text) !important;
  text-shadow: none !important;
}
.aot-ziwei-field label {
  margin-bottom: 3px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
}
.aot-ziwei-field label span {
  color: var(--aot-deep-red) !important;
  font-weight: 900 !important;
}
.aot-ziwei-field input,
.aot-ziwei-field select {
  min-height: 54px !important;
  border-radius: 0 !important;
  border: 1px solid rgba(113, 84, 61, .24) !important;
  background: #fffaf2 !important;
  color: var(--aot-text) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72) !important;
}
.aot-ziwei-field input::placeholder {
  color: rgba(43, 28, 20, .45) !important;
}
.aot-ziwei-helper,
.aot-ziwei-result-head p,
.aot-ziwei-result-subtitle,
.aot-ziwei-disclaimer {
  color: #6f5746 !important;
}
.aot-ziwei-checkbox {
  color: var(--aot-text) !important;
}
.aot-ziwei-submit,
.aot-ziwei-actions .btn {
  min-width: 210px !important;
  min-height: 52px !important;
  border-radius: 999px !important;
  background: var(--aot-rich-brown) !important;
  color: #fff7eb !important;
  border: 1px solid rgba(255, 232, 188, .18) !important;
  box-shadow: 0 18px 42px rgba(43,28,20,.18) !important;
}
.aot-ziwei-alert {
  background: #fff3ef !important;
  color: #6f160d !important;
  border-left-color: var(--aot-deep-red) !important;
}
@media (max-width: 900px) {
  .aot-ziwei-hero { min-height: 340px !important; padding-top: 100px !important; }
  .aot-ziwei-form { grid-template-columns: 1fr !important; border-radius: 22px !important; }
}

/* Premium WooCommerce archive cards: same language as the homepage ritual cards. */
.aot-shop-main {
  background:
    radial-gradient(circle at 10% 4%, rgba(201,154,74,.12), transparent 24%),
    linear-gradient(180deg, #f8f1e7 0%, #efe2d4 100%) !important;
}
.woocommerce-products-header {
  align-items: center !important;
  margin-bottom: 36px !important;
}
.woocommerce-products-header__title {
  font-family: Cormorant Garamond, Playfair Display, Georgia, serif !important;
  font-size: clamp(42px, 4.8vw, 74px) !important;
  font-weight: 650 !important;
  letter-spacing: -.035em !important;
  color: var(--aot-text) !important;
}
.woocommerce .woocommerce-result-count {
  color: var(--aot-subtext) !important;
  font-size: 13px !important;
}
.woocommerce .woocommerce-ordering select {
  min-height: 46px !important;
  border: 1px solid rgba(113,84,61,.22) !important;
  border-radius: 999px !important;
  background: rgba(255,250,242,.9) !important;
  color: var(--aot-text) !important;
  padding: 0 18px !important;
  font-weight: 700 !important;
}
.woocommerce ul.products {
  gap: clamp(24px, 2.6vw, 42px) clamp(18px, 2.2vw, 32px) !important;
}
.woocommerce ul.products li.product .product-card.aot-wc-card,
.product-card.aot-wc-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  height: 100% !important;
  padding: 10px 10px 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(80, 50, 30, .14) !important;
  border-radius: 24px !important;
  background: rgba(255, 252, 246, .70) !important;
  box-shadow: 0 18px 56px rgba(68, 44, 26, .08) !important;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}
.woocommerce ul.products li.product .product-card.aot-wc-card:hover,
.product-card.aot-wc-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(139,47,36,.22) !important;
  box-shadow: 0 28px 80px rgba(68, 44, 26, .14) !important;
}
.woocommerce ul.products li.product .product-card.aot-wc-card .product-image-wrap,
.product-card.aot-wc-card .product-image-wrap {
  position: relative !important;
  display: block !important;
  aspect-ratio: 4 / 5 !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #eadcca !important;
  box-shadow: none !important;
}
.product-card.aot-wc-card img,
.woocommerce ul.products li.product .product-card.aot-wc-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.aot-loop-product-label,
.aot-loop-product-meaning {
  display: block !important;
}
.aot-loop-product-label {
  margin-bottom: 9px !important;
  color: var(--aot-deep-red) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}
.product-card.aot-wc-card .aot-card-body {
  display: grid !important;
  gap: 0 !important;
  padding: 18px 8px 0 !important;
}
.woocommerce ul.products li.product .product-card.aot-wc-card .woocommerce-loop-product__title,
.product-card.aot-wc-card h2.woocommerce-loop-product__title,
.product-card.aot-wc-card h3 {
  min-height: 0 !important;
  margin: 0 0 8px !important;
  color: var(--aot-text) !important;
  font-family: Cormorant Garamond, Playfair Display, Georgia, serif !important;
  font-size: clamp(20px, 1.35vw, 26px) !important;
  font-weight: 650 !important;
  line-height: 1.1 !important;
}
.aot-loop-product-meaning {
  min-height: 66px !important;
  margin: 0 0 14px !important;
  color: var(--aot-subtext) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}
.woocommerce ul.products li.product .product-card.aot-wc-card .price,
.product-card.aot-wc-card .product-price {
  margin: 0 !important;
  color: var(--aot-deep-red) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}
.woocommerce ul.products li.product .product-card.aot-wc-card .price del,
.product-card.aot-wc-card .product-price del {
  color: rgba(43,28,20,.42) !important;
  opacity: 1 !important;
}
.woocommerce ul.products li.product .product-card.aot-wc-card .price ins,
.product-card.aot-wc-card .product-price ins {
  text-decoration: none !important;
}
.woocommerce span.onsale,
.product-card.aot-wc-card .product-badge {
  top: 14px !important;
  right: 14px !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  background: var(--aot-deep-red) !important;
  color: #fff7eb !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}
.product-card.aot-wc-card .product-card-actions {
  display: flex !important;
  margin-top: 16px !important;
  gap: 10px !important;
}
.product-card.aot-wc-card .product-card-actions .product-action,
.woocommerce ul.products li.product .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: var(--aot-rich-brown) !important;
  color: #fff7eb !important;
  border: 1px solid rgba(255,232,188,.15) !important;
  box-shadow: 0 14px 32px rgba(43,28,20,.14) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .13em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}
.product-card.aot-wc-card .product-card-actions .product-action:hover,
.woocommerce ul.products li.product .button:hover {
  background: var(--aot-deep-red) !important;
  color: #fff7eb !important;
  transform: translateY(-1px) !important;
}
@media (max-width: 700px) {
  .aot-loop-product-meaning { min-height: 0 !important; }
  .woocommerce-products-header { display: grid !important; gap: 12px !important; }
  .product-card.aot-wc-card .product-card-actions { display: grid !important; }
}

/* Premium single product presentation. */
body.single-product .aot-shop-main {
  background:
    radial-gradient(circle at 12% 0%, rgba(201,154,74,.14), transparent 26%),
    linear-gradient(180deg, #f8f1e7 0%, #efe2d4 100%) !important;
}
.woocommerce div.product {
  gap: clamp(32px, 5vw, 86px) !important;
  align-items: start !important;
}
.woocommerce div.product div.images {
  padding: clamp(14px, 2vw, 24px) !important;
  border: 1px solid rgba(80,50,30,.13) !important;
  border-radius: 28px !important;
  background: rgba(255,252,246,.58) !important;
  box-shadow: 0 28px 80px rgba(68,44,26,.12) !important;
}
.woocommerce div.product div.images img {
  border-radius: 20px !important;
  background: #eadcca !important;
}
.woocommerce div.product div.summary {
  position: sticky !important;
  top: 112px !important;
  overflow: hidden !important;
  padding: clamp(32px, 4vw, 56px) !important;
  border: 1px solid rgba(80,50,30,.14) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(201,154,74,.12), transparent 26%),
    rgba(255,252,246,.82) !important;
  box-shadow: 0 28px 90px rgba(68,44,26,.13) !important;
}
.woocommerce div.product div.summary::before {
  content: "RITUAL OBJECT" !important;
  display: inline-flex !important;
  margin-bottom: 16px !important;
  color: var(--aot-deep-red) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
}
.woocommerce div.product .product_title {
  color: var(--aot-text) !important;
  font-family: Cormorant Garamond, Playfair Display, Georgia, serif !important;
  font-size: clamp(40px, 4.2vw, 76px) !important;
  font-weight: 650 !important;
  line-height: .98 !important;
  letter-spacing: -.04em !important;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--aot-deep-red) !important;
  font-size: clamp(22px, 1.8vw, 30px) !important;
  font-weight: 900 !important;
}
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .summary p,
.woocommerce div.product .product_meta {
  color: var(--aot-subtext) !important;
  line-height: 1.85 !important;
}
.woocommerce .quantity .qty {
  min-height: 52px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(113,84,61,.24) !important;
  background: #fffaf2 !important;
  color: var(--aot-text) !important;
}
.woocommerce div.product form.cart .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
  border-radius: 999px !important;
  background: var(--aot-rich-brown) !important;
  color: #fff7eb !important;
  border: 1px solid rgba(255,232,188,.16) !important;
  box-shadow: 0 18px 42px rgba(43,28,20,.18) !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}
.woocommerce div.product form.cart .aot-buy-now-button,
.woocommerce div.product form.cart .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
  background: var(--aot-deep-red) !important;
  color: #fff7eb !important;
}
.aot-product-trust {
  border-top-color: rgba(80,50,30,.14) !important;
}
.aot-product-trust div {
  border-left-color: var(--aot-bronze) !important;
}
.aot-product-trust strong {
  color: var(--aot-text) !important;
}
.aot-product-trust span {
  color: var(--aot-subtext) !important;
}
.woocommerce div.product .woocommerce-tabs {
  border: 1px solid rgba(80,50,30,.12) !important;
  border-radius: 28px !important;
  background: rgba(255,252,246,.78) !important;
  box-shadow: 0 24px 70px rgba(68,44,26,.09) !important;
}
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs p,
.woocommerce div.product .woocommerce-tabs li {
  color: #4f3f34 !important;
  line-height: 1.82 !important;
}
@media (max-width: 1100px) {
  .woocommerce div.product div.summary { position: static !important; }
}

/* v1.4.9 Premium slide-out cart drawer and archive Buy Now actions */
.cart-panel,
body .cart-panel {
  position: fixed !important;
  inset: 0 0 0 auto !important;
  width: min(500px, 94vw) !important;
  height: 100vh !important;
  z-index: 2500 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-left: 1px solid rgba(80,50,30,.16) !important;
  background:
    radial-gradient(circle at 80% 2%, rgba(201,154,74,.18), transparent 26%),
    linear-gradient(180deg, #fff6ef 0%, #f8eadf 100%) !important;
  box-shadow: -30px 0 90px rgba(24,12,7,.30) !important;
  transform: translateX(105%) !important;
  transition: transform .34s cubic-bezier(.22,.72,.16,1) !important;
}
.cart-panel.open,
body .cart-panel.open { transform: translateX(0) !important; }
.cart-panel .panel-head {
  flex: 0 0 auto !important;
  min-height: 76px !important;
  padding: 18px 22px !important;
  border-bottom: 1px solid rgba(80,50,30,.13) !important;
  background: rgba(255,250,244,.76) !important;
  backdrop-filter: blur(16px) !important;
}
.cart-panel .panel-head span {
  color: var(--aot-text, #2b1c14) !important;
  font-family: Cormorant Garamond, Playfair Display, Georgia, serif !important;
  font-size: 25px !important;
  font-weight: 650 !important;
  letter-spacing: -.02em !important;
}
.cart-panel .panel-head .icon-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  background: var(--aot-rich-brown, #2b1c14) !important;
  color: #fff7eb !important;
  border: 1px solid rgba(255,232,188,.18) !important;
  font-size: 13px !important;
  box-shadow: 0 12px 28px rgba(43,28,20,.16) !important;
}
.cart-panel .cart-body {
  flex: 1 1 auto !important;
  display: block !important;
  padding: 0 !important;
  overflow: auto !important;
  color: var(--aot-text, #2b1c14) !important;
  text-align: left !important;
  align-content: unset !important;
}
.aot-drawer-fragment,
.aot-drawer-cart-content {
  min-height: 100% !important;
}
.aot-drawer-cart-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  padding: 22px !important;
}
.aot-drawer-empty {
  padding: 30px 22px 26px !important;
  border: 1px solid rgba(80,50,30,.14) !important;
  border-radius: 24px !important;
  background: rgba(255,252,246,.76) !important;
  box-shadow: 0 20px 60px rgba(68,44,26,.08) !important;
  text-align: center !important;
}
.aot-drawer-kicker,
.aot-drawer-label,
.aot-drawer-recs-head span,
.aot-drawer-rec-card > span {
  display: block !important;
  color: var(--aot-deep-red, #8b2f24) !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
}
.aot-drawer-empty h3,
.aot-drawer-recs-head h3 {
  margin: 8px 0 8px !important;
  color: var(--aot-text, #2b1c14) !important;
  font-family: Cormorant Garamond, Playfair Display, Georgia, serif !important;
  font-size: 32px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
}
.aot-drawer-empty p {
  margin: 0 auto 18px !important;
  max-width: 310px !important;
  color: var(--aot-subtext, #6f5746) !important;
  line-height: 1.65 !important;
}
.aot-drawer-progress,
.aot-drawer-totals,
.aot-drawer-recs {
  border: 1px solid rgba(80,50,30,.14) !important;
  border-radius: 24px !important;
  background: rgba(255,252,246,.74) !important;
  box-shadow: 0 20px 60px rgba(68,44,26,.08) !important;
}
.aot-drawer-progress { padding: 16px !important; }
.aot-drawer-progress-top,
.aot-drawer-totals div {
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  color: var(--aot-text, #2b1c14) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}
.aot-drawer-progress-line {
  display: block !important;
  height: 8px !important;
  margin-top: 12px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: rgba(80,50,30,.10) !important;
}
.aot-drawer-progress-line span {
  display: block !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, var(--aot-deep-red, #8b2f24), var(--aot-bronze, #c99a4a)) !important;
}
.aot-drawer-items {
  display: grid !important;
  gap: 12px !important;
}
.aot-drawer-item {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 86px 1fr 28px !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 12px !important;
  border: 1px solid rgba(80,50,30,.12) !important;
  border-radius: 22px !important;
  background: rgba(255,252,246,.68) !important;
}
.aot-drawer-item-image {
  aspect-ratio: 1 !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  background: #eadcca !important;
}
.aot-drawer-item-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.aot-drawer-item-title,
.aot-drawer-rec-title {
  display: block !important;
  color: var(--aot-text, #2b1c14) !important;
  text-decoration: none !important;
  font-weight: 850 !important;
  line-height: 1.25 !important;
}
.aot-drawer-item-title { margin: 4px 0 10px !important; font-size: 14px !important; }
.aot-drawer-item-meta {
  display: flex !important;
  justify-content: space-between !important;
  gap: 10px !important;
  color: var(--aot-subtext, #6f5746) !important;
  font-size: 12px !important;
}
.aot-drawer-item-meta strong,
.aot-drawer-rec-card strong,
.aot-drawer-totals strong {
  color: var(--aot-deep-red, #8b2f24) !important;
}
.aot-drawer-remove {
  width: 28px !important;
  height: 28px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: rgba(139,47,36,.10) !important;
  color: var(--aot-deep-red, #8b2f24) !important;
  text-decoration: none !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}
.aot-drawer-totals { padding: 18px !important; }
.aot-drawer-totals p {
  margin: 10px 0 16px !important;
  color: var(--aot-subtext, #6f5746) !important;
  font-size: 12px !important;
}
.aot-drawer-primary,
.aot-drawer-secondary,
.aot-drawer-rec-add,
.product-card.aot-wc-card .product-card-actions .product-buy-now {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}
.aot-drawer-primary,
.product-card.aot-wc-card .product-card-actions .product-buy-now {
  background: var(--aot-deep-red, #8b2f24) !important;
  color: #fff7eb !important;
  border: 1px solid rgba(255,232,188,.18) !important;
  box-shadow: 0 16px 36px rgba(139,47,36,.20) !important;
}
.aot-drawer-secondary {
  width: 100% !important;
  margin-top: 10px !important;
  background: transparent !important;
  color: var(--aot-text, #2b1c14) !important;
  border: 1px solid rgba(80,50,30,.18) !important;
}
.aot-drawer-primary { width: 100% !important; }
.aot-drawer-recs { padding: 18px !important; }
.aot-drawer-recs-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 14px !important;
}
.aot-drawer-rec-arrows { display: flex !important; gap: 8px !important; }
.aot-drawer-rec-arrows button {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(80,50,30,.14) !important;
  border-radius: 999px !important;
  background: #fffaf2 !important;
  color: var(--aot-text, #2b1c14) !important;
  cursor: pointer !important;
  font-size: 22px !important;
  line-height: 1 !important;
}
.aot-drawer-rec-track {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: minmax(158px, 46%) !important;
  gap: 12px !important;
  overflow-x: auto !important;
  overscroll-behavior-x: contain !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
}
.aot-drawer-rec-track::-webkit-scrollbar { display: none !important; }
.aot-drawer-rec-card {
  scroll-snap-align: start !important;
  display: grid !important;
  gap: 8px !important;
  padding: 10px !important;
  border: 1px solid rgba(80,50,30,.12) !important;
  border-radius: 18px !important;
  background: rgba(255,250,242,.78) !important;
}
.aot-drawer-rec-image {
  aspect-ratio: 1 !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  background: #eadcca !important;
}
.aot-drawer-rec-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.aot-drawer-rec-title {
  min-height: 34px !important;
  font-size: 12px !important;
}
.aot-drawer-rec-card strong {
  font-size: 12px !important;
}
.aot-drawer-rec-add {
  min-height: 36px !important;
  background: var(--aot-rich-brown, #2b1c14) !important;
  color: #fff7eb !important;
  border: 1px solid rgba(255,232,188,.18) !important;
}
.product-card.aot-wc-card .product-card-actions {
  grid-template-columns: 1fr 1fr !important;
  display: grid !important;
  gap: 10px !important;
}
.product-card.aot-wc-card .product-card-actions .product-action,
.product-card.aot-wc-card .product-card-actions .product-buy-now {
  width: 100% !important;
  min-width: 0 !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
}
.product-card.aot-wc-card .product-card-actions .product-buy-now:hover,
.aot-drawer-primary:hover,
.aot-drawer-rec-add:hover {
  background: var(--aot-rich-brown, #2b1c14) !important;
  color: #fff7eb !important;
  transform: translateY(-1px) !important;
}
@media (max-width: 700px) {
  .cart-panel, body .cart-panel { width: min(420px, 96vw) !important; }
  .aot-drawer-cart-content { padding: 16px !important; }
  .product-card.aot-wc-card .product-card-actions { grid-template-columns: 1fr !important; }
}

/* 1.5.0 homepage object cards: include View Meaning + Buy Now without losing the premium look. */
.product-card.ritual-product-card .product-card-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
}
.product-card.ritual-product-card .product-action.product-action-buy,
.product-card.aot-wc-card .product-action.product-action-buy {
  background: var(--aot-deep-red) !important;
  color: #fff7eb !important;
  border-color: rgba(255,232,188,.20) !important;
}
.product-card.ritual-product-card .product-action.product-action-buy:hover,
.product-card.aot-wc-card .product-action.product-action-buy:hover {
  background: #6f241c !important;
  color: #fff7eb !important;
}
@media (max-width: 700px) {
  .product-card.ritual-product-card .product-card-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}


/* v1.5.1 brand flow polish */
body.home .hero-card h1 {
  max-width: 540px;
}
body.home .hero-card p {
  max-width: 520px;
  line-height: 1.75;
}

/* Move the store toward a premium editorial rhythm. */
.ritual-commerce-section {
  padding-top: clamp(72px, 8vw, 120px);
  padding-bottom: clamp(72px, 8vw, 120px);
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 154, 74, .10), transparent 42%),
    linear-gradient(180deg, #fbf6ee 0%, #f3eadf 100%);
}
.ritual-section-head h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: .94;
}
.ritual-section-head p {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}
.objects-head {
  margin-top: clamp(52px, 6vw, 78px);
}
.ritual-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.ritual-product-card h3,
.product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.55em;
}
.ritual-product-meaning,
.product-card .ritual-product-meaning {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.05em;
}
.product-card-actions {
  gap: 8px;
}
.product-card-actions .product-action,
.product-card-actions .product-action-buy {
  white-space: nowrap;
}
.objects-view-all {
  display: flex;
  justify-content: center;
  margin: 34px 0 0;
}
.aot-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(43, 28, 20, .34);
  color: #2b1c14;
  background: rgba(255,255,255,.48);
  box-shadow: 0 16px 38px rgba(43,28,20,.08);
  font-size: 12px;
  letter-spacing: .13em;
  font-weight: 800;
  text-transform: uppercase;
}
.aot-outline-btn:hover {
  background: #2b1c14;
  color: #f8efe3;
  border-color: #2b1c14;
}

/* Brand statement: less poster-like, more editorial. */
.editorial-intro {
  padding: clamp(70px, 8vw, 118px) 0;
  background:
    radial-gradient(circle at 12% 30%, rgba(139, 47, 36, .08), transparent 35%),
    radial-gradient(circle at 88% 20%, rgba(201, 154, 74, .12), transparent 34%),
    #f7efe5;
}
.editorial-intro .intro-inner {
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(300px, .68fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  text-align: left;
}
.editorial-intro .intro-kicker {
  grid-column: 1 / -1;
  margin: 0 0 -14px;
  color: #9d3a31;
  letter-spacing: .28em;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
}
.editorial-intro h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(42px, 5.2vw, 82px);
  line-height: .92;
  letter-spacing: -.04em;
}
.editorial-intro p {
  max-width: 460px;
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: #6f5b4d;
}
.editorial-intro .intro-values {
  grid-column: 2;
  margin-top: 24px;
  justify-content: flex-start;
}

.section-title h2,
.line-title h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  text-transform: none;
  letter-spacing: -.02em;
}
.section-title p,
.line-title p {
  max-width: 720px;
  font-size: 15px;
  color: #7b6658;
}

/* Philosophy should feel like a supporting brand chapter, not a second homepage hero. */
.purpose-hero {
  min-height: 680px;
}
.purpose-hero-title {
  font-size: clamp(42px, 5.6vw, 76px);
}
.purpose-hero-cards .purpose-card {
  padding: 30px 28px;
}
.purpose-hero-cards .purpose-card p {
  font-size: 14px;
  line-height: 1.85;
}

/* Stronger testimonial section. */
.ritual-reviews {
  padding: clamp(70px, 8vw, 110px) 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(201,154,74,.12), transparent 36%),
    #f7efe5;
  text-align: center;
}
.reviews-head {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto 34px;
}
.reviews-head h2 {
  margin: 8px 0 8px;
  font-family: Georgia, 'Times New Roman', serif;
  color: #2b1c14;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: .95;
  letter-spacing: -.04em;
}
.reviews-head p {
  margin: 0;
  color: #7b6658;
}
.editorial-review-grid {
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.editorial-review-card {
  text-align: left;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(70,45,32,.14);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 48px rgba(43,28,20,.08);
  min-height: 260px;
}
.editorial-review-card .stars {
  color: #9d3a31;
  letter-spacing: .18em;
  margin-bottom: 16px;
}
.editorial-review-card strong {
  display: block;
  color: #2b1c14;
  font-size: 18px;
  margin-bottom: 10px;
}
.editorial-review-card p {
  color: #6f5b4d;
  line-height: 1.75;
  margin: 0 0 18px;
}
.editorial-review-card cite {
  color: #9d3a31;
  font-style: normal;
  font-weight: 700;
}
.review-product-chip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  color: #2b1c14;
  font-size: 12px;
  font-weight: 700;
}
.review-product-chip img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 1100px) {
  .ritual-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .editorial-intro .intro-inner {
    width: min(100% - 40px, 560px);
    grid-template-columns: 1fr;
    text-align: center;
  }
  .editorial-intro .intro-kicker,
  .editorial-intro .intro-values { grid-column: auto; justify-content: center; }
  .editorial-intro p { margin: 0 auto; }
  .ritual-product-grid { grid-template-columns: 1fr; }
  .editorial-review-grid { width: min(100% - 40px, 560px); }
}

/* v1.5.2: ritual oracle, story media, and calmer philosophy chapter */

.ritual-oracle-section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 120px) 24px;
  background: linear-gradient(180deg, #efe4d6 0%, #e6d8c5 100%);
  color: #2f2018;
}
.ritual-oracle-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .08;
  filter: saturate(.55) sepia(.14) blur(1px);
  transform: scale(1.02);
  mix-blend-mode: multiply;
}
.ritual-oracle-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(201,154,74,.12), transparent 28%),
    radial-gradient(circle at 12% 40%, rgba(255,255,255,.55), transparent 35%),
    radial-gradient(circle at 88% 60%, rgba(76,41,23,.06), transparent 30%);
}
.ritual-oracle-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}
.ritual-oracle-head {
  max-width: 760px;
  margin: 0 auto clamp(34px, 4vw, 56px);
  text-align: center;
}
.ritual-oracle-head .ritual-eyebrow { color: #8b5c31; }
.ritual-oracle-head h2 {
  margin: 0;
  color: #2f2018;
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: .96;
}
.ritual-oracle-head p {
  margin: 18px auto 0;
  max-width: 760px;
  color: rgba(47,32,24,.74);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.85;
}
.ritual-oracle-app {
  border: 1px solid rgba(122,79,43,.18);
  border-radius: 34px;
  padding: clamp(24px, 3vw, 46px);
  background:
    linear-gradient(180deg, rgba(36,22,16,.92), rgba(24,15,11,.96)),
    radial-gradient(circle at 50% 0, rgba(201,154,74,.10), transparent 30%);
  box-shadow: 0 30px 90px rgba(54,36,22,.20), inset 0 1px 0 rgba(255,255,255,.05);
}
.oracle-progress {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}
.oracle-progress span {
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,247,234,.22);
}
.oracle-progress span.is-active { background: #d4a35c; }
.oracle-round { display: none; text-align: center; }
.oracle-round.is-active { display: block; }
.oracle-round h3 {
  margin: 0 0 28px;
  color: #fff7ea;
  font-size: clamp(24px, 2.6vw, 40px);
}
.oracle-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 36px);
}
.oracle-card {
  position: relative;
  min-height: clamp(260px, 28vw, 380px);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1200px;
}
.oracle-card[disabled] { pointer-events: none; }
.oracle-card-back,
.oracle-card-face {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 26px;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease, filter .35s ease;
  backface-visibility: hidden;
  overflow: hidden;
}
.oracle-card-back {
  border: 1px solid rgba(234,201,145,.34);
  background:
    radial-gradient(circle at center, rgba(201,154,74,.16), transparent 28%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.028) 0 2px, transparent 2px 11px),
    linear-gradient(145deg, #573220 0%, #281711 48%, #160d09 100%);
  box-shadow: 0 24px 70px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.05);
}
.oracle-card-back::before,
.oracle-card-back::after {
  content: '';
  position: absolute;
  border-radius: 20px;
}
.oracle-card-back::before {
  inset: 16px;
  border: 1px solid rgba(234,201,145,.38);
}
.oracle-card-back::after {
  inset: 30px;
  border: 1px solid rgba(234,201,145,.16);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 28%, rgba(212,163,92,.18) 29% 30%, transparent 31% 100%),
    radial-gradient(circle at 50% 50%, rgba(139,47,36,.12), transparent 55%);
}
.oracle-card-emblem {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 108px;
  height: 108px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(234,201,145,.42);
  box-shadow: inset 0 0 0 16px rgba(212,163,92,.06), inset 0 0 0 36px rgba(255,255,255,.015);
}
.oracle-card-emblem::before,
.oracle-card-emblem::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.oracle-card-emblem::before {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(234,201,145,.32);
}
.oracle-card-emblem::after {
  width: 12px;
  height: 12px;
  background: #d4a35c;
  box-shadow: 0 -34px 0 -3px rgba(212,163,92,.92), 0 34px 0 -3px rgba(212,163,92,.92), -34px 0 0 -3px rgba(212,163,92,.92), 34px 0 0 -3px rgba(212,163,92,.92);
}
.oracle-card-face {
  transform: rotateY(180deg);
  border: 1px solid rgba(234,201,145,.38);
  background: #1f140f;
  box-shadow: 0 24px 70px rgba(0,0,0,.26);
}
.oracle-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.02) contrast(1.02);
}
.oracle-card-face::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,11,8,.02), rgba(17,11,8,.30));
}
.oracle-card:hover .oracle-card-back {
  transform: translateY(-8px);
  border-color: rgba(234,201,145,.62);
  box-shadow: 0 32px 92px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
}
.oracle-card.is-chosen .oracle-card-back { transform: rotateY(180deg); }
.oracle-card.is-chosen .oracle-card-face { transform: rotateY(360deg); }
.oracle-result {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.oracle-result h3 {
  margin: 0 0 14px;
  color: #fff7ea;
  font-size: clamp(36px, 5vw, 68px);
}
.oracle-result p:not(.ritual-eyebrow) {
  color: rgba(255,247,234,.8);
  font-size: 17px;
  line-height: 1.8;
}
.oracle-selection-path {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 30px;
}
.oracle-selection-path span {
  padding: 9px 13px;
  border: 1px solid rgba(234,201,145,.28);
  border-radius: 999px;
  color: #f5d7a2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.oracle-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.oracle-actions .aot-outline-btn {
  background: transparent;
  color: #fff7ea;
  border-color: rgba(255,247,234,.34);
}
.oracle-recommendations {
  margin-top: 28px;
  padding: clamp(20px, 2.2vw, 30px);
  border: 1px solid rgba(234,201,145,.16);
  border-radius: 28px;
  background: rgba(255,247,234,.07);
}
.oracle-recommendations h3 {
  margin: 0 0 18px;
  color: #fff7ea;
  font-size: clamp(20px, 2vw, 28px);
}
.oracle-rec-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.oracle-rec-card[hidden] { display: none !important; }
.oracle-rec-card a {
  display: grid;
  gap: 9px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,247,234,.10);
  color: #fff7ea;
  text-decoration: none;
}
.oracle-rec-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 13px;
}
.oracle-rec-card span {
  color: #fff7ea;
  font: 700 13px/1.25 Inter, Arial, sans-serif;
}
.oracle-rec-card small {
  color: #eac991;
  font-weight: 800;
}
.editorial-intro-media {
  text-align: left !important;
  padding: clamp(74px, 8vw, 120px) 24px !important;
}
.editorial-intro-media .intro-media-grid {
  display: grid !important;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr) !important;
  align-items: center !important;
  gap: clamp(32px, 5vw, 76px) !important;
  width: min(1280px, calc(100% - 24px)) !important;
}
.editorial-intro-media .intro-copy-col { position: relative; z-index: 2; }
.editorial-intro-media .intro-kicker,
.editorial-intro-media .intro-values { justify-content: flex-start !important; }
.editorial-intro-media h2,
body .intro-copy.editorial-intro-media h2 {
  margin-left: 0 !important;
  max-width: 620px !important;
  font-size: clamp(42px, 4.9vw, 76px) !important;
  line-height: .98 !important;
}
.editorial-intro-media p:not(.intro-kicker),
body .intro-copy.editorial-intro-media p:not(.intro-kicker) {
  margin-left: 0 !important;
  max-width: 570px !important;
}
.intro-media-col {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: clamp(360px, 38vw, 560px);
  background: #2b1c14;
  box-shadow: 0 30px 90px rgba(54,36,22,.18);
}
.intro-media-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,18,14,0) 45%, rgba(24,18,14,.38));
  pointer-events: none;
}
.intro-media-col img,
.intro-media-col video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}
.purpose-section.purpose-editorial {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 8vw, 128px) 24px !important;
  background:
    radial-gradient(circle at 80% 20%, rgba(201,154,74,.13), transparent 32%),
    linear-gradient(180deg, #f3e6d8, #ead9c6) !important;
  color: #2b1c14;
  min-height: 0 !important;
}
.purpose-editorial-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
  width: min(1320px, 100%);
  margin: 0 auto;
}
.purpose-editorial-copy { position: relative; z-index: 2; }
.purpose-editorial .purpose-hero-kicker {
  color: #8b2f24 !important;
  text-align: left !important;
}
.purpose-editorial .purpose-hero-kicker::after { margin-left: 0 !important; }
.purpose-editorial .purpose-hero-title {
  margin: 0 0 20px !important;
  max-width: 720px;
  color: #2b1c14 !important;
  font-size: clamp(42px, 5vw, 82px) !important;
  line-height: .96 !important;
}
.purpose-lede {
  max-width: 620px;
  margin: 0 0 28px;
  color: #6d5545;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.75;
}
.purpose-editorial .purpose-copy-grid,
.purpose-editorial .purpose-hero-cards {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 !important;
  max-width: 760px !important;
}
.purpose-editorial .purpose-card {
  border: 1px solid rgba(80,50,30,.14) !important;
  border-radius: 24px !important;
  background: rgba(255,250,242,.58) !important;
  color: #2b1c14 !important;
  box-shadow: 0 18px 60px rgba(54,36,22,.08) !important;
  backdrop-filter: blur(10px);
}
.purpose-editorial .purpose-card h3 { color: #2b1c14 !important; }
.purpose-editorial .purpose-card p { color: #6d5545 !important; }
.purpose-editorial-media {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: clamp(360px, 42vw, 620px);
  background: #2b1c14;
  box-shadow: 0 34px 100px rgba(54,36,22,.18);
}
.purpose-editorial-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}
.purpose-editorial-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,12,8,.02), rgba(18,12,8,.22));
}
@media (max-width: 980px) {
  .oracle-card-row,
  .oracle-rec-track,
  .editorial-intro-media .intro-media-grid,
  .purpose-editorial-inner,
  .purpose-editorial .purpose-copy-grid,
  .purpose-editorial .purpose-hero-cards {
    grid-template-columns: 1fr !important;
  }
  .editorial-intro-media { text-align: center !important; }
  .editorial-intro-media .intro-kicker,
  .editorial-intro-media .intro-values { justify-content: center !important; }
  .editorial-intro-media h2,
  .editorial-intro-media p:not(.intro-kicker) { margin-left: auto !important; margin-right: auto !important; }
  .purpose-editorial .purpose-hero-kicker,
  .purpose-editorial .purpose-hero-title,
  .purpose-lede { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .purpose-editorial .purpose-hero-kicker::after { margin-left: auto !important; margin-right: auto !important; }
}
@media (max-width: 640px) {
  .ritual-oracle-section { padding-left: 14px; padding-right: 14px; }
  .ritual-oracle-app { padding: 20px 14px; border-radius: 24px; }
  .oracle-card { min-height: 220px; }
  .oracle-rec-track { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}


/* ===== Zi Wei Oracle Deck v1.6.0 ===== */
.ziwei-oracle-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f5ede2 0%, #efe5d9 50%, #ecdfd0 100%);
}
.ziwei-oracle-section .ritual-oracle-bg {
  opacity: .08;
  filter: saturate(.55) sepia(.18) blur(1.2px);
  mix-blend-mode: multiply;
}
.ziwei-oracle-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(198,150,87,.14), transparent 32%),
    radial-gradient(circle at 18% 30%, rgba(255,255,255,.75), transparent 32%),
    radial-gradient(circle at 82% 72%, rgba(110,72,42,.06), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 0;
}
.ziwei-oracle-section .ritual-oracle-shell,
.ziwei-oracle-section .ritual-oracle-head,
.ziwei-oracle-section .ziwei-oracle-app { position: relative; z-index: 1; }
.ziwei-oracle-section .ritual-oracle-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 88px 24px 96px;
}
.ziwei-oracle-section .ritual-oracle-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
  color: #2f2018;
}
.ziwei-oracle-section .ritual-oracle-head .ritual-eyebrow {
  color: #956336;
}
.ziwei-oracle-section .ritual-oracle-head h2 {
  color: #2f2018;
  font-size: clamp(2.2rem, 4vw, 4.35rem);
  line-height: 1.02;
}
.ziwei-oracle-section .ritual-oracle-head p:last-child {
  max-width: 760px;
  margin: 14px auto 0;
  color: rgba(47,32,24,.74);
}
.ziwei-oracle-app {
  max-width: 1160px;
  margin: 0 auto;
  border-radius: 36px;
  padding: 36px 32px 38px;
  background:
    linear-gradient(180deg, rgba(255,252,247,.88), rgba(249,242,233,.94)),
    radial-gradient(circle at 50% 0, rgba(198,150,87,.09), transparent 34%);
  border: 1px solid rgba(141,99,56,.16);
  backdrop-filter: blur(8px);
  box-shadow: 0 28px 60px rgba(77,52,33,.12), inset 0 1px 0 rgba(255,255,255,.68);
}
.ziwei-oracle-app::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 28px;
  border: 1px solid rgba(198,150,87,.16);
  background:
    radial-gradient(circle at center, rgba(198,150,87,.06) 0 1px, transparent 1px 100%),
    radial-gradient(circle at center, transparent 0 38%, rgba(198,150,87,.07) 38.2% 38.5%, transparent 38.8% 100%),
    radial-gradient(circle at center, transparent 0 62%, rgba(198,150,87,.05) 62.2% 62.4%, transparent 62.7% 100%);
  pointer-events: none;
}
.ziwei-round-label {
  margin: 14px auto 24px;
  text-align: center;
  color: #6d4a2c;
  font-family: Georgia, serif;
  font-size: clamp(1.12rem, 2vw, 1.75rem);
  letter-spacing: 0.04em;
}
.ziwei-oracle-app .oracle-progress {
  justify-content: center;
  margin-bottom: 10px;
}
.ziwei-oracle-app .oracle-progress span {
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: rgba(109,74,44,.16);
}
.ziwei-oracle-app .oracle-progress span.is-active { background: #c39559; }
.oracle-stage { min-height: 560px; }
.ziwei-oracle-app .oracle-card-row {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  margin: 0;
}
.ziwei-choice-card.oracle-card {
  --card-width: clamp(220px, 17vw, 268px);
  position: relative;
  width: var(--card-width);
  aspect-ratio: 7 / 12;
  min-height: auto;
  border: 0;
  border-radius: 28px;
  background: transparent;
  padding: 0;
  box-shadow: none;
  perspective: 1400px;
  transform: translateY(0);
  transition: transform .35s ease, filter .35s ease;
}
.ziwei-choice-card.oracle-card:hover {
  transform: translateY(-10px) scale(1.01);
  filter: drop-shadow(0 22px 34px rgba(52,34,22,.22));
}
.ziwei-choice-card.oracle-card[disabled] { pointer-events: none; }
.ziwei-choice-card .oracle-card-back,
.ziwei-choice-card .oracle-card-face {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  backface-visibility: hidden;
  overflow: hidden;
  transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .35s ease, box-shadow .35s ease;
  box-shadow: 0 18px 36px rgba(48,31,19,.18), inset 0 0 0 1px rgba(255,255,255,.08);
}
.ziwei-choice-card .oracle-card-back {
  transform: rotateY(0deg);
  background-color: #1c1726;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(193,148,89,.44);
}
.ziwei-choice-card .oracle-card-back::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px solid rgba(242,215,168,.42);
  box-shadow: inset 0 0 0 1px rgba(193,148,89,.14);
}
.ziwei-choice-card .oracle-card-back::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.20), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 26%, rgba(0,0,0,.18));
}
.ziwei-choice-card .oracle-card-face {
  transform: rotateY(180deg);
  background: #140f0d;
  border: 1px solid rgba(193,148,89,.28);
}
.ziwei-choice-card .oracle-card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.ziwei-choice-card.is-chosen .oracle-card-back { transform: rotateY(180deg); }
.ziwei-choice-card.is-chosen .oracle-card-face { transform: rotateY(360deg); }
.ziwei-oracle-result {
  margin-top: 16px;
  border-radius: 34px;
  padding: 34px;
  background: linear-gradient(180deg, rgba(56,37,26,.98), rgba(37,24,17,.98));
  border: 1px solid rgba(237, 220, 190, 0.12);
  color: #f4ead6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 22px 54px rgba(45,29,20,.16);
}
.ziwei-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 26px;
  align-items: start;
}
.ziwei-result-main {
  padding-right: 10px;
}
.ziwei-oracle-result h3 {
  margin: 10px 0 12px;
  color: #fff3de;
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1.04;
}
.ziwei-oracle-result > .ziwei-result-layout p[data-oracle-result-text],
.ziwei-result-main > p[data-oracle-result-text] {
  max-width: 640px;
  margin: 0 0 22px;
  color: rgba(255,255,255,.84);
  text-align: left;
  font-size: 1rem;
  line-height: 1.8;
}
.ziwei-result-picked {
  border-radius: 26px;
  padding: 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.ziwei-result-panel-label {
  margin: 0 0 14px;
  color: #e9d7b5;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .76rem;
}
.ziwei-picked-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}
.ziwei-picked-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.ziwei-picked-card-image {
  width: 72px;
  aspect-ratio: 7 / 12;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 20px rgba(0,0,0,.28);
}
.ziwei-picked-card-copy strong {
  display: block;
  color: #fff3de;
  font-size: 1rem;
  margin-bottom: 4px;
}
.ziwei-picked-card-copy span {
  display: block;
  color: #d1b480;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.ziwei-picked-card-copy p {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: .9rem;
  line-height: 1.55;
}
.ziwei-oracle-result .oracle-selection-path {
  justify-content: flex-start;
  margin-top: 0;
  margin-bottom: 22px;
}
.ziwei-oracle-result .oracle-selection-path span {
  background: rgba(216, 178, 113, .14);
  border-color: rgba(216, 178, 113, .25);
  color: #f2ddba;
}
.ziwei-oracle-result .oracle-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}
.ziwei-oracle-result .oracle-actions .btn,
.ziwei-oracle-result .oracle-actions .aot-outline-btn {
  min-width: 180px;
  text-align: center;
}
.ziwei-recommendations {
  margin-top: 20px;
  padding: 24px 20px 20px;
  border-radius: 28px;
  background: rgba(74, 49, 33, .12);
  border: 1px solid rgba(141,99,56,.12);
}
.ziwei-recommendations h3 {
  color: #3a2618;
  margin-bottom: 18px;
  text-align: left;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}
.ziwei-recommendations .oracle-rec-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ziwei-recommendations .oracle-rec-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(141,99,56,.10);
  box-shadow: 0 10px 22px rgba(76,54,36,.08);
}
.ziwei-recommendations .oracle-rec-card a {
  display: block;
  padding: 0 0 14px;
}
.ziwei-recommendations .oracle-rec-card img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
}
.ziwei-recommendations .oracle-rec-card span,
.ziwei-recommendations .oracle-rec-card small {
  display: block;
  padding: 0 12px;
}
.ziwei-recommendations .oracle-rec-card span {
  margin-top: 10px;
  color: #2f1b1b;
  font-weight: 600;
  font-size: .95rem;
}
.ziwei-recommendations .oracle-rec-card small {
  margin-top: 8px;
  color: #7d5932;
}
@media (max-width: 980px) {
  .ziwei-picked-cards,
  .ziwei-result-layout { grid-template-columns: 1fr; }
  .ziwei-result-main { padding-right: 0; }
  .ziwei-recommendations .oracle-rec-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ziwei-choice-card.oracle-card { --card-width: min(214px, 32vw); }
}
@media (max-width: 720px) {
  .ziwei-oracle-section .ritual-oracle-shell { padding: 76px 14px 86px; }
  .ziwei-oracle-app { padding: 22px 14px 22px; border-radius: 24px; }
  .ziwei-oracle-result { padding: 20px 16px; border-radius: 24px; }
  .ziwei-result-picked { padding: 16px; }
  .oracle-stage { min-height: 360px; }
  .ziwei-choice-card.oracle-card { --card-width: min(174px, 44vw); border-radius: 20px; }
  .ziwei-choice-card .oracle-card-back,
  .ziwei-choice-card .oracle-card-face { border-radius: 20px; }
  .ziwei-picked-cards,
  .ziwei-recommendations .oracle-rec-track { grid-template-columns: 1fr; }
  .ziwei-picked-card { grid-template-columns: 72px 1fr; }
  .ziwei-picked-card-image { width: 72px; }
}

/* v1.6.4: oracle result compaction, premium recommendations, guofeng card treatment */
.ziwei-oracle-app.is-result .oracle-stage {
  display: none;
  min-height: 0 !important;
}
.ziwei-oracle-app.is-result .ziwei-round-label {
  display: none;
}
.ziwei-oracle-app.is-result {
  max-width: 1180px;
  padding-top: 30px;
}
.ziwei-oracle-app.is-result::before {
  opacity: .45;
}
.ziwei-choice-card .oracle-card-back {
  background-color: #211812;
}
.ziwei-choice-card .oracle-card-back::after {
  background:
    radial-gradient(circle at 50% 16%, rgba(255,235,190,.16), transparent 21%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 24%, rgba(0,0,0,.12));
}
.ziwei-recommendations {
  background: linear-gradient(180deg, rgba(255,252,247,.92), rgba(248,239,226,.96));
  border-color: rgba(141,99,56,.16);
  box-shadow: 0 18px 45px rgba(70,47,31,.10), inset 0 1px 0 rgba(255,255,255,.7);
}
.ziwei-recommendations h3 {
  color: #342015;
  font-family: Georgia, serif;
  text-align: center;
  margin-bottom: 20px;
}
.ziwei-recommendations .oracle-rec-track {
  gap: 18px;
}
.ziwei-recommendations .oracle-rec-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(124,82,45,.14);
  box-shadow: 0 15px 34px rgba(72,49,32,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ziwei-recommendations .oracle-rec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(72,49,32,.18);
}
.ziwei-recommendations .oracle-rec-image-link {
  display: block;
  padding: 10px 10px 0;
}
.ziwei-recommendations .oracle-rec-image-link img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 15px;
}
.oracle-rec-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 13px 14px;
}
.oracle-rec-kicker {
  color: #9a392c;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.ziwei-recommendations .oracle-rec-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  color: #2e1d15;
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 1.35;
  text-decoration: none;
}
.oracle-rec-price {
  margin: 10px 0 12px;
  color: #8f2e24;
  font-weight: 800;
  line-height: 1.2;
}
.oracle-rec-price .price,
.oracle-rec-price .amount,
.oracle-rec-price bdi,
.oracle-rec-price del,
.oracle-rec-price ins {
  display: inline !important;
  white-space: nowrap;
}
.oracle-rec-price del {
  color: rgba(47,32,24,.45);
  margin-right: 7px;
  font-weight: 600;
}
.oracle-rec-price ins {
  text-decoration: none;
  color: #8f2e24;
}
.oracle-rec-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.oracle-rec-view,
.oracle-rec-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}
.oracle-rec-view {
  border: 1px solid rgba(52,32,21,.16);
  color: #2e1d15;
  background: rgba(255,255,255,.75);
}
.oracle-rec-buy {
  color: #fff7ea;
  background: #8f2e24;
  box-shadow: 0 8px 18px rgba(143,46,36,.20);
}
@media (max-width: 720px) {
  .ziwei-oracle-app.is-result { padding-top: 22px; }
  .oracle-rec-actions { grid-template-columns: 1fr; }
}


/* v1.6.5: oriental fantasy oracle refinement */
.ziwei-oracle-section {
  background: linear-gradient(180deg, #f5efe5 0%, #f7f2ea 100%);
}
.ziwei-oracle-section .ritual-oracle-bg {
  opacity: .12;
  filter: sepia(.28) saturate(.9) brightness(1.06);
}
.ziwei-oracle-section::before {
  background:
    radial-gradient(circle at 50% 10%, rgba(214,174,108,.16), transparent 25%),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.9), transparent 34%),
    radial-gradient(circle at 80% 25%, rgba(197,154,80,.08), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0));
  opacity: 1;
}
.ziwei-oracle-app {
  background:
    linear-gradient(180deg, rgba(255,253,249,.92), rgba(247,240,229,.92)),
    radial-gradient(circle at 50% 0, rgba(215,175,112,.10), transparent 38%);
  border: 1px solid rgba(181,138,78,.14);
  box-shadow: 0 24px 55px rgba(88,61,40,.08), inset 0 1px 0 rgba(255,255,255,.75);
}
.ziwei-oracle-app::before {
  opacity: .42;
  background:
    radial-gradient(circle at center, rgba(205,168,105,.16), transparent 62%),
    radial-gradient(circle at center, rgba(255,255,255,.3) 0, rgba(255,255,255,0) 60%);
}
.ziwei-choice-card.oracle-card {
  --card-width: min(210px, 18vw);
  aspect-ratio: 7 / 12;
  border-radius: 22px;
  box-shadow: 0 20px 36px rgba(62,40,24,.16);
}
.ziwei-choice-card .oracle-card-back,
.ziwei-choice-card .oracle-card-face {
  border-radius: 22px;
}
.ziwei-choice-card .oracle-card-back {
  background-color: #f1e5d6;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  box-shadow: inset 0 0 0 1px rgba(205,165,102,.38), inset 0 0 38px rgba(255,228,176,.18);
}
.ziwei-choice-card .oracle-card-back::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,0) 36%, rgba(110,67,28,.08) 100%);
}
.ziwei-choice-card .oracle-card-back::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 10%, rgba(255,239,196,.18), transparent 20%),
    radial-gradient(circle at 50% 85%, rgba(228,179,94,.12), transparent 18%);
}
.ziwei-choice-card.oracle-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 42px rgba(92,62,38,.20);
}
.ziwei-oracle-result {
  background:
    linear-gradient(135deg, rgba(83,52,30,.93), rgba(150,105,59,.70) 58%, rgba(104,69,40,.88)),
    radial-gradient(circle at 78% 24%, rgba(255,227,161,.16), transparent 20%),
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.08), transparent 22%);
  border: 1px solid rgba(227,191,130,.25);
  box-shadow: inset 0 1px 0 rgba(255,246,225,.08), 0 20px 44px rgba(60,38,22,.16);
}
.ziwei-oracle-result h3 {
  color: #fff8ec;
  text-shadow: 0 1px 0 rgba(0,0,0,.14);
}
.ziwei-oracle-result > .ziwei-result-layout p[data-oracle-result-text],
.ziwei-result-main > p[data-oracle-result-text] {
  color: rgba(255,249,239,.90);
}
.ziwei-result-picked {
  background: rgba(255,246,233,.08);
  border: 1px solid rgba(236,204,149,.16);
}
.ziwei-picked-card {
  background: linear-gradient(180deg, rgba(255,249,240,.07), rgba(255,246,235,.03));
  border: 1px solid rgba(236,205,150,.14);
}
.ziwei-picked-card-copy strong { color: #fff6e8; }
.ziwei-picked-card-copy span { color: #e3c48c; }
.ziwei-picked-card-copy p { color: rgba(255,248,236,.82); }
.ziwei-recommendations {
  margin-top: 24px;
  padding: 26px 22px 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,253,249,.94), rgba(247,239,227,.98)),
    radial-gradient(circle at top, rgba(217,175,103,.10), transparent 28%);
  border: 1px solid rgba(177,133,72,.14);
  box-shadow: 0 20px 42px rgba(78,54,35,.08), inset 0 1px 0 rgba(255,255,255,.8);
}
.ziwei-recommendations h3 {
  text-align: center;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: #342116;
  margin-bottom: 22px;
}
.ziwei-recommendations .oracle-rec-track {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.ziwei-recommendations .oracle-rec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffefb 0%, #fbf6ef 100%);
  border: 1px solid rgba(187,145,87,.16);
  box-shadow: 0 14px 30px rgba(84,58,36,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
.ziwei-recommendations .oracle-rec-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(205,156,85,0), rgba(205,156,85,.75), rgba(205,156,85,0));
}
.ziwei-recommendations .oracle-rec-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(84,58,36,.14);
}
.ziwei-recommendations .oracle-rec-image-link {
  padding: 12px 12px 0;
}
.ziwei-recommendations .oracle-rec-image-link img {
  aspect-ratio: 1 / 1.02;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(61,42,26,.08);
}
.oracle-rec-copy {
  padding: 14px 15px 16px;
}
.oracle-rec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(163,107,56,.08);
  color: #8c4d23;
  letter-spacing: .08em;
  font-size: .68rem;
}
.ziwei-recommendations .oracle-rec-title {
  min-height: 2.85em;
  margin-bottom: 8px;
  color: #2e1d15;
  font-size: 1.02rem;
  line-height: 1.42;
}
.oracle-rec-desc {
  min-height: 2.8em;
  margin: 0 0 12px;
  color: #7a624d;
  font-size: .86rem;
  line-height: 1.6;
}
.oracle-rec-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.oracle-rec-price-current {
  color: #982f26;
  font-weight: 800;
  font-size: 1.12rem;
}
.oracle-rec-price-old {
  color: rgba(71,47,31,.45);
  text-decoration: line-through;
  font-size: .88rem;
}
.oracle-rec-actions {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.oracle-rec-view,
.oracle-rec-buy {
  min-height: 40px;
  font-size: .74rem;
  letter-spacing: .05em;
}
.oracle-rec-view {
  border: 1px solid rgba(75,49,28,.14);
  background: rgba(255,255,255,.85);
  color: #2f1d15;
}
.oracle-rec-buy {
  background: linear-gradient(135deg, #9b3126, #7a231c);
  color: #fff6ea;
  box-shadow: 0 10px 18px rgba(122,35,28,.18);
}
.oracle-rec-buy:hover {
  filter: brightness(1.04);
}
@media (max-width: 1080px) {
  .ziwei-recommendations .oracle-rec-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ziwei-choice-card.oracle-card { --card-width: min(200px, 26vw); }
}
@media (max-width: 720px) {
  .ziwei-choice-card.oracle-card { --card-width: min(168px, 42vw); }
  .ziwei-recommendations .oracle-rec-track { grid-template-columns: 1fr; }
  .oracle-rec-actions { grid-template-columns: 1fr; }
}


/* v1.6.8: oracle result clarity, premium recommendation cards, guaranteed 4-card reveal */
.ziwei-oracle-result {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: clamp(28px, 3vw, 42px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255,245,221,.86), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(214,175,116,.20), transparent 26%),
    radial-gradient(circle at 52% 115%, rgba(193,150,89,.18), transparent 36%),
    linear-gradient(135deg, rgba(255,249,239,.98) 0%, rgba(244,234,218,.96) 46%, rgba(213,179,131,.96) 100%);
  border: 1px solid rgba(137, 97, 51, .18);
  color: #2f1c12;
  box-shadow: 0 28px 68px rgba(84, 58, 35, .14), inset 0 1px 0 rgba(255,255,255,.78);
}
.ziwei-oracle-result::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 40%, rgba(156, 111, 59, .07) 40.5% 41.2%, transparent 41.9% 58%, rgba(156, 111, 59, .045) 58.5% 59%, transparent 59.6%),
    linear-gradient(118deg, transparent 0 18%, rgba(191,150,93,.07) 18.4%, transparent 19% 49%, rgba(255,255,255,.18) 49.3%, transparent 49.9% 100%);
  opacity: .9;
}
.ziwei-result-layout,
.ziwei-result-main,
.ziwei-result-picked,
.ziwei-recommendations > * {
  position: relative;
  z-index: 1;
}
.ziwei-oracle-result .ritual-eyebrow {
  color: #9a4331;
}
.ziwei-oracle-result h3 {
  color: #2f1c12;
  max-width: 9ch;
  text-wrap: balance;
}
.ziwei-oracle-result > .ziwei-result-layout p[data-oracle-result-text],
.ziwei-result-main > p[data-oracle-result-text] {
  color: rgba(47,28,18,.88);
  font-size: 1.04rem;
}
.ziwei-result-picked {
  background: linear-gradient(180deg, rgba(255,250,243,.56), rgba(255,247,236,.42));
  border: 1px solid rgba(137, 97, 51, .12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62);
}
.ziwei-result-panel-label {
  color: #8d6033;
}
.ziwei-picked-card {
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(137,97,51,.12);
}
.ziwei-picked-card-copy strong {
  color: #2f1c12;
}
.ziwei-picked-card-copy span {
  color: #a67634;
}
.ziwei-picked-card-copy p {
  color: rgba(47,28,18,.76);
}
.ziwei-oracle-result .oracle-selection-path span {
  background: rgba(188,145,87,.10);
  border-color: rgba(188,145,87,.22);
  color: #7e5528;
}
.ziwei-oracle-result .oracle-actions .btn {
  background: linear-gradient(135deg, #1f1512, #5d2b1f 56%, #b88a4d 100%);
  color: #fff7ec;
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(84, 43, 28, .18);
}
.ziwei-oracle-result .oracle-actions .aot-outline-btn {
  background: rgba(255,255,255,.26);
  color: #3f2717;
  border-color: rgba(90,59,29,.22);
}
.ziwei-oracle-result .oracle-actions .aot-outline-btn:hover {
  background: rgba(255,255,255,.44);
  border-color: rgba(90,59,29,.34);
}

.ziwei-recommendations {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: clamp(22px, 2.5vw, 32px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 0%, rgba(201,154,74,.16), transparent 26%),
    radial-gradient(circle at 10% 100%, rgba(201,154,74,.08), transparent 24%),
    linear-gradient(180deg, rgba(255,253,249,.98), rgba(248,240,228,.98));
  border: 1px solid rgba(137,97,51,.12);
  box-shadow: 0 22px 52px rgba(71,49,31,.10), inset 0 1px 0 rgba(255,255,255,.8);
}
.ziwei-recommendations::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 60%, rgba(255,255,255,.16) 60.4%, transparent 61%),
    radial-gradient(circle at center, transparent 0 53%, rgba(195,151,92,.05) 53.4% 54%, transparent 54.6%);
}
.ziwei-recommendations h3 {
  margin-bottom: 22px;
  color: #342015;
  text-align: center;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.15;
}
.ziwei-recommendations .oracle-rec-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  align-items: stretch;
}
.ziwei-recommendations .oracle-rec-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,247,239,.98));
  border: 1px solid rgba(127,88,50,.12);
  box-shadow: 0 16px 36px rgba(72,49,32,.10);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.ziwei-recommendations .oracle-rec-card:hover {
  transform: translateY(-7px);
  border-color: rgba(143,52,38,.22);
  box-shadow: 0 24px 46px rgba(72,49,32,.16);
}
.ziwei-recommendations .oracle-rec-image-link {
  display: block;
  padding: 14px 14px 0;
}
.ziwei-recommendations .oracle-rec-image-link img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(84,59,35,.12);
  transition: transform .5s ease, filter .35s ease;
}
.ziwei-recommendations .oracle-rec-card:hover .oracle-rec-image-link img {
  transform: scale(1.03);
  filter: saturate(1.03) contrast(1.02);
}
.ziwei-recommendations .oracle-rec-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 16px 16px 18px;
}
.ziwei-recommendations .oracle-rec-kicker {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(188,145,87,.10);
  color: #7b4d22;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
}
.ziwei-recommendations .oracle-rec-title {
  min-height: 2.85em;
  margin: 0;
  color: #2f1d15;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.08rem;
  line-height: 1.42;
  text-decoration: none;
}
.ziwei-recommendations .oracle-rec-desc {
  margin: 0;
  color: #665043;
  font-size: .95rem;
  line-height: 1.72;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 4.95em;
}
.ziwei-recommendations .oracle-rec-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.ziwei-recommendations .oracle-rec-price-current,
.ziwei-recommendations .oracle-rec-price-current .amount,
.ziwei-recommendations .oracle-rec-price-current bdi {
  color: #872d23;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
}
.ziwei-recommendations .oracle-rec-price-old,
.ziwei-recommendations .oracle-rec-price-old .amount,
.ziwei-recommendations .oracle-rec-price-old bdi {
  color: rgba(47,32,24,.45);
  font-size: .92rem;
  text-decoration: line-through;
}
.ziwei-recommendations .oracle-rec-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}
.ziwei-recommendations .oracle-rec-view,
.ziwei-recommendations .oracle-rec-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: none;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.ziwei-recommendations .oracle-rec-view {
  border: 1px solid rgba(111,74,40,.18);
  background: rgba(255,255,255,.92);
  color: #4a311f;
}
.ziwei-recommendations .oracle-rec-view:hover {
  transform: translateY(-1px);
  border-color: rgba(111,74,40,.30);
  background: rgba(255,255,255,1);
  color: #2f1d15;
}
.ziwei-recommendations .oracle-rec-buy {
  background: linear-gradient(135deg, #933126, #77231d 55%, #b8894b 100%);
  color: #fff8ef;
  box-shadow: 0 12px 20px rgba(122,35,28,.18);
}
.ziwei-recommendations .oracle-rec-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(122,35,28,.22);
  filter: brightness(1.03);
}
@media (max-width: 1080px) {
  .ziwei-recommendations .oracle-rec-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .ziwei-oracle-result h3 {
    max-width: none;
  }
  .ziwei-recommendations .oracle-rec-track {
    grid-template-columns: 1fr;
  }
  .ziwei-recommendations .oracle-rec-actions {
    grid-template-columns: 1fr;
  }
}



/* v1.7.0: clean oracle result readability and 2x2 premium recommendations */
.ziwei-oracle-result {
  position: relative;
  overflow: hidden;
  color: #2f1d14;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 248, 231, .92), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(214, 174, 104, .24), transparent 28%),
    radial-gradient(circle at 52% 112%, rgba(183, 137, 78, .20), transparent 38%),
    linear-gradient(135deg, rgba(255, 250, 242, .98) 0%, rgba(245, 234, 218, .97) 54%, rgba(221, 184, 130, .92) 100%) !important;
  border: 1px solid rgba(142, 98, 51, .18) !important;
  box-shadow: 0 26px 66px rgba(80, 55, 35, .13), inset 0 1px 0 rgba(255,255,255,.78) !important;
}
.ziwei-oracle-result::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 38%, rgba(153, 108, 58, .08) 38.4% 39%, transparent 39.6% 57%, rgba(153, 108, 58, .05) 57.4% 58%, transparent 58.6%),
    linear-gradient(118deg, transparent 0 17%, rgba(186, 142, 80, .07) 17.5%, transparent 18.2% 48%, rgba(255,255,255,.18) 48.4%, transparent 49%);
}
.ziwei-result-layout,
.ziwei-result-main,
.ziwei-result-picked {
  position: relative;
  z-index: 1;
}
.ziwei-oracle-result .ritual-eyebrow {
  color: #9a4331 !important;
}
.ziwei-oracle-result h3 {
  color: #2f1d14 !important;
  text-shadow: none !important;
}
.ziwei-result-main > p[data-oracle-result-text],
.ziwei-oracle-result > .ziwei-result-layout p[data-oracle-result-text] {
  color: rgba(47,29,20,.88) !important;
  text-shadow: none !important;
}
.ziwei-result-picked {
  background: rgba(255, 251, 244, .78) !important;
  border: 1px solid rgba(142, 98, 51, .14) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 12px 30px rgba(80, 55, 35, .08) !important;
}
.ziwei-result-panel-label {
  color: #8a5a2e !important;
  text-shadow: none !important;
}
.ziwei-picked-card {
  background: rgba(255, 252, 247, .92) !important;
  border: 1px solid rgba(142, 98, 51, .12) !important;
}
.ziwei-picked-card-copy strong {
  color: #2f1d14 !important;
  text-shadow: none !important;
}
.ziwei-picked-card-copy span {
  color: #9a6b34 !important;
  text-shadow: none !important;
}
.ziwei-picked-card-copy p {
  color: rgba(47, 29, 20, .76) !important;
  text-shadow: none !important;
}
.ziwei-oracle-result .oracle-selection-path span {
  color: #795025 !important;
  background: rgba(188, 145, 87, .12) !important;
  border-color: rgba(188, 145, 87, .24) !important;
}
.ziwei-oracle-result .oracle-actions .btn {
  background: linear-gradient(135deg, #1f1512, #5d2b1f 58%, #b8894b 100%) !important;
  color: #fff7ec !important;
}
.ziwei-oracle-result .oracle-actions .aot-outline-btn {
  color: #3f2717 !important;
  background: rgba(255,255,255,.34) !important;
  border-color: rgba(90,59,29,.24) !important;
}

.ziwei-recommendations {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: clamp(22px, 2.6vw, 34px) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(201,154,74,.14), transparent 28%),
    radial-gradient(circle at 10% 100%, rgba(201,154,74,.08), transparent 24%),
    linear-gradient(180deg, rgba(255,253,249,.98), rgba(248,240,228,.98)) !important;
  border: 1px solid rgba(137,97,51,.12) !important;
  box-shadow: 0 22px 52px rgba(71,49,31,.10), inset 0 1px 0 rgba(255,255,255,.82) !important;
}
.ziwei-recommendations h3 {
  margin: 0 0 24px !important;
  color: #342015 !important;
  text-align: center !important;
  font-size: clamp(1.55rem, 2.2vw, 2rem) !important;
  line-height: 1.15 !important;
}
.ziwei-recommendations .oracle-rec-card[hidden] {
  display: none !important;
}
.ziwei-recommendations .oracle-rec-track.product-showcase-grid.ritual-product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 24px) !important;
  max-width: 1080px !important;
  margin: 0 auto !important;
  align-items: stretch !important;
}
.ziwei-recommendations .oracle-rec-card.product-card.ritual-product-card:not([hidden]) {
  display: grid !important;
  grid-template-columns: minmax(150px, 38%) minmax(0, 1fr) !important;
  gap: 0 !important;
  min-height: 285px !important;
  padding: 10px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,247,239,.98)) !important;
  border: 1px solid rgba(127,88,50,.12) !important;
  box-shadow: 0 16px 36px rgba(72,49,32,.10) !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
}
.ziwei-recommendations .oracle-rec-card.product-card.ritual-product-card:not([hidden]):hover {
  transform: translateY(-6px) !important;
  border-color: rgba(143,52,38,.22) !important;
  box-shadow: 0 24px 46px rgba(72,49,32,.15) !important;
}
.ziwei-recommendations .oracle-rec-image-link.product-image-wrap {
  display: block !important;
  aspect-ratio: auto !important;
  height: 100% !important;
  min-height: 265px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: #eadcca !important;
}
.ziwei-recommendations .oracle-rec-image-link.product-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  min-height: 265px !important;
  object-fit: cover !important;
  border-radius: 18px !important;
  transition: transform .45s ease, filter .35s ease !important;
}
.ziwei-recommendations .oracle-rec-card:hover .oracle-rec-image-link img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}
.ziwei-recommendations .oracle-rec-copy.ritual-product-meta {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  padding: 10px 6px 4px 18px !important;
}
.ziwei-recommendations .oracle-rec-kicker.ritual-product-label {
  display: inline-flex !important;
  align-self: flex-start !important;
  width: auto !important;
  margin: 0 0 10px !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: rgba(188,145,87,.10) !important;
  color: #7b4d22 !important;
  font-size: .70rem !important;
  font-weight: 900 !important;
  letter-spacing: .10em !important;
}
.ziwei-recommendations .oracle-rec-title,
.ziwei-recommendations .oracle-rec-title a {
  min-height: 2.7em !important;
  margin: 0 0 10px !important;
  color: var(--aot-wood, #2f1d15) !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(18px, 1.25vw, 22px) !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}
.ziwei-recommendations .oracle-rec-desc.ritual-product-meaning {
  min-height: 4.7em !important;
  margin: 0 0 14px !important;
  color: #675044 !important;
  font-size: .93rem !important;
  line-height: 1.65 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
}
.ziwei-recommendations .oracle-rec-price-row.product-price {
  display: block !important;
  min-height: 1.6em !important;
  margin-top: auto !important;
  margin-bottom: 16px !important;
  color: #8d3026 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
.ziwei-recommendations .oracle-rec-price-row.product-price del {
  color: rgba(47,32,24,.45) !important;
}
.ziwei-recommendations .oracle-rec-price-row.product-price ins {
  color: #8d3026 !important;
  text-decoration: none !important;
}
.ziwei-recommendations .oracle-rec-actions.product-card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin-top: 0 !important;
}
.ziwei-recommendations .oracle-rec-actions .product-action,
.ziwei-recommendations .oracle-rec-actions .product-action-buy {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  font-size: .75rem !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
}
.ziwei-recommendations .oracle-rec-actions .product-action:not(.product-action-buy) {
  border: 1px solid rgba(111,74,40,.18) !important;
  background: rgba(255,255,255,.92) !important;
  color: #4a311f !important;
}
.ziwei-recommendations .oracle-rec-actions .product-action-buy {
  background: linear-gradient(135deg, #933126, #77231d 58%, #b8894b 100%) !important;
  color: #fff8ef !important;
  border-color: transparent !important;
  box-shadow: 0 12px 20px rgba(122,35,28,.18) !important;
}
@media (max-width: 980px) {
  .ziwei-recommendations .oracle-rec-track.product-showcase-grid.ritual-product-grid {
    grid-template-columns: 1fr !important;
  }
  .ziwei-recommendations .oracle-rec-card.product-card.ritual-product-card:not([hidden]) {
    grid-template-columns: minmax(130px, 34%) minmax(0, 1fr) !important;
  }
}
@media (max-width: 620px) {
  .ziwei-recommendations .oracle-rec-card.product-card.ritual-product-card:not([hidden]) {
    grid-template-columns: 1fr !important;
  }
  .ziwei-recommendations .oracle-rec-image-link.product-image-wrap,
  .ziwei-recommendations .oracle-rec-image-link.product-image-wrap img {
    min-height: auto !important;
    aspect-ratio: 4 / 5 !important;
  }
  .ziwei-recommendations .oracle-rec-copy.ritual-product-meta {
    padding: 16px 8px 4px !important;
  }
}


/* v1.7.1: enlarge oracle stage and result area, reduce empty space, improve product readability */
.ziwei-oracle-section .ritual-oracle-shell {
  max-width: 1400px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
.ziwei-oracle-app {
  max-width: 1280px !important;
  padding: 40px 38px 42px !important;
}
.ziwei-oracle-app::before {
  inset: 14px !important;
}
.ziwei-oracle-app .oracle-progress {
  margin-bottom: 12px !important;
}
.ziwei-round-label {
  margin: 12px auto 18px !important;
}
.oracle-stage {
  min-height: 0 !important;
}
.ziwei-oracle-app .oracle-card-row {
  gap: clamp(28px, 3vw, 48px) !important;
  align-items: flex-start !important;
  padding: 6px 0 4px !important;
}
.ziwei-choice-card.oracle-card {
  --card-width: clamp(250px, 19vw, 320px) !important;
}
.ziwei-choice-card .oracle-card-back,
.ziwei-choice-card .oracle-card-face {
  border-radius: 30px !important;
}
.ziwei-choice-card .oracle-card-back::before {
  inset: 15px !important;
  border-radius: 24px !important;
}

.ziwei-oracle-app.is-result {
  max-width: 1320px !important;
}
.ziwei-oracle-result {
  padding: 38px !important;
}
.ziwei-result-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr) !important;
  gap: 32px !important;
}
.ziwei-result-main {
  padding-right: 8px !important;
}
.ziwei-oracle-result h3 {
  font-size: clamp(2.3rem, 3.3vw, 4.05rem) !important;
  line-height: 1.02 !important;
}
.ziwei-result-main > p[data-oracle-result-text],
.ziwei-oracle-result > .ziwei-result-layout p[data-oracle-result-text] {
  max-width: 720px !important;
  font-size: 1.02rem !important;
  line-height: 1.78 !important;
}
.ziwei-result-picked {
  padding: 22px !important;
}
.ziwei-picked-cards {
  gap: 16px !important;
}
.ziwei-picked-card {
  grid-template-columns: 86px 1fr !important;
  gap: 16px !important;
  padding: 14px !important;
}
.ziwei-picked-card-image {
  width: 86px !important;
  border-radius: 14px !important;
}

.ziwei-recommendations {
  margin-top: 28px !important;
  padding: clamp(24px, 2.8vw, 36px) !important;
}
.ziwei-recommendations .oracle-rec-track.product-showcase-grid.ritual-product-grid {
  max-width: 1180px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(20px, 2.2vw, 28px) !important;
}
.ziwei-recommendations .oracle-rec-card.product-card.ritual-product-card:not([hidden]) {
  grid-template-columns: minmax(190px, 40%) minmax(0, 1fr) !important;
  min-height: 330px !important;
  padding: 12px !important;
}
.ziwei-recommendations .oracle-rec-image-link.product-image-wrap {
  min-height: 306px !important;
}
.ziwei-recommendations .oracle-rec-image-link.product-image-wrap img {
  min-height: 306px !important;
}
.ziwei-recommendations .oracle-rec-copy.ritual-product-meta {
  padding: 12px 8px 8px 20px !important;
}
.ziwei-recommendations .oracle-rec-title,
.ziwei-recommendations .oracle-rec-title a {
  min-height: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: clamp(20px, 1.45vw, 25px) !important;
  line-height: 1.22 !important;
  margin-bottom: 10px !important;
}
.ziwei-recommendations .oracle-rec-desc.ritual-product-meaning {
  min-height: 5.1em !important;
  -webkit-line-clamp: 3 !important;
  font-size: .95rem !important;
}
.ziwei-recommendations .oracle-rec-price-row.product-price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 8px 12px !important;
  margin-bottom: 18px !important;
}
.ziwei-recommendations .oracle-rec-price-row.product-price del,
.ziwei-recommendations .oracle-rec-price-row.product-price ins,
.ziwei-recommendations .oracle-rec-price-row.product-price > span,
.ziwei-recommendations .oracle-rec-price-row.product-price .amount,
.ziwei-recommendations .oracle-rec-price-row.product-price bdi {
  display: inline !important;
}
.ziwei-recommendations .oracle-rec-actions.product-card-actions {
  margin-top: auto !important;
}
@media (max-width: 1180px) {
  .ziwei-oracle-app {
    max-width: 1180px !important;
    padding: 34px 28px 36px !important;
  }
  .ziwei-choice-card.oracle-card {
    --card-width: clamp(220px, 24vw, 280px) !important;
  }
  .ziwei-result-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ziwei-recommendations .oracle-rec-track.product-showcase-grid.ritual-product-grid {
    grid-template-columns: 1fr !important;
    max-width: 760px !important;
  }
}
@media (max-width: 767px) {
  .ziwei-oracle-section .ritual-oracle-shell {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .ziwei-oracle-app {
    padding: 22px 16px 24px !important;
  }
  .ziwei-choice-card.oracle-card {
    --card-width: min(100%, 260px) !important;
  }
  .ziwei-oracle-result {
    padding: 22px !important;
  }
  .ziwei-picked-card {
    grid-template-columns: 76px 1fr !important;
  }
  .ziwei-picked-card-image {
    width: 76px !important;
  }
  .ziwei-recommendations .oracle-rec-card.product-card.ritual-product-card:not([hidden]) {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }
  .ziwei-recommendations .oracle-rec-image-link.product-image-wrap,
  .ziwei-recommendations .oracle-rec-image-link.product-image-wrap img {
    min-height: auto !important;
    aspect-ratio: 4 / 5 !important;
  }
  .ziwei-recommendations .oracle-rec-copy.ritual-product-meta {
    padding: 16px 8px 8px !important;
  }
}


/* v1.7.2: WooCommerce product detail image magnifier */
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a,
.single-product .product .images .woocommerce-product-gallery__image,
.single-product .product .images .woocommerce-product-gallery__image a {
  position: relative;
}

.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
.single-product .product .images .woocommerce-product-gallery__image img {
  cursor: zoom-in;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  cursor: pointer;
}

.aot-product-magnifier-lens {
  position: absolute;
  width: clamp(150px, 12vw, 210px);
  height: clamp(150px, 12vw, 210px);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 30;
  border: 2px solid rgba(255, 243, 218, .92);
  box-shadow:
    0 18px 42px rgba(58, 37, 24, .22),
    inset 0 0 0 1px rgba(172, 126, 63, .48),
    inset 0 0 28px rgba(255, 244, 218, .26);
  background-repeat: no-repeat;
  background-color: #f7efe5;
  transform: translate3d(-50%, -50%, 0) scale(.96);
  transition: opacity .16s ease, transform .16s ease;
  will-change: left, top, background-position, background-size;
}

.aot-product-magnifier-lens.is-visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.aot-product-magnifier-lens::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(177, 128, 63, .34);
  box-shadow: 0 0 0 6px rgba(255,255,255,.12);
}

@media (hover: none), (pointer: coarse) {
  .aot-product-magnifier-lens {
    display: none !important;
  }

  .single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
  .single-product .product .images .woocommerce-product-gallery__image img {
    cursor: default;
  }
}


/* v1.7.6: Shop by Ritual cards - natural bright images with only bottom text gradient */
.ritual-category-card {
  background: #f5eee4 !important;
  box-shadow: 0 24px 70px rgba(51, 31, 18, .13) !important;
}
.ritual-category-card img {
  opacity: 1 !important;
  filter: none !important;
  transition: transform .8s ease, filter .55s ease !important;
}
.ritual-category-card:hover img {
  opacity: 1 !important;
  filter: saturate(1.04) contrast(1.02) !important;
  transform: scale(1.045) !important;
}
.ritual-category-shade {
  background: linear-gradient(
    180deg,
    rgba(18,12,8,0) 0%,
    rgba(18,12,8,0) 48%,
    rgba(18,12,8,.16) 70%,
    rgba(18,12,8,.42) 100%
  ) !important;
}
.ritual-category-copy {
  text-shadow: 0 12px 30px rgba(0,0,0,.36), 0 2px 8px rgba(0,0,0,.24) !important;
}
.ritual-category-title {
  color: #fffaf0 !important;
  text-shadow: 0 14px 34px rgba(0,0,0,.44), 0 2px 8px rgba(0,0,0,.30) !important;
}
.ritual-category-text {
  color: rgba(255,250,241,.94) !important;
  text-shadow: 0 8px 22px rgba(0,0,0,.34), 0 2px 6px rgba(0,0,0,.24) !important;
}
.ritual-category-cta {
  background: rgba(255,250,241,.10) !important;
  border-color: rgba(255,250,241,.58) !important;
  color: #fffaf0 !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.16) !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.25) !important;
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
}
.ritual-category-card:hover .ritual-category-cta {
  background: rgba(255,250,241,.18) !important;
  border-color: rgba(255,250,241,.78) !important;
}


/* v1.7.7: make homepage hero fill the whole visible first screen */
body.home .hero.hero-slider,
body.front-page .hero.hero-slider,
body.home .hero,
body.front-page .hero {
  min-height: 100vh !important;
  height: 100vh !important;
  max-height: none !important;
  box-sizing: border-box !important;
}
@supports (height: 100svh) {
  body.home .hero.hero-slider,
  body.front-page .hero.hero-slider,
  body.home .hero,
  body.front-page .hero {
    min-height: 100svh !important;
    height: 100svh !important;
  }
}
body.home .hero-slides,
body.home .hero-slide,
body.front-page .hero-slides,
body.front-page .hero-slide {
  height: 100% !important;
}
body.home .hero-dots,
body.front-page .hero-dots {
  bottom: 28px !important;
}
@media (max-width: 900px) {
  body.home .hero.hero-slider,
  body.front-page .hero.hero-slider,
  body.home .hero,
  body.front-page .hero {
    min-height: 100vh !important;
    height: 100vh !important;
  }
  @supports (height: 100svh) {
    body.home .hero.hero-slider,
    body.front-page .hero.hero-slider,
    body.home .hero,
    body.front-page .hero {
      min-height: 100svh !important;
      height: 100svh !important;
    }
  }
}


/* v1.7.8: use larger product images and keep card images crisp */
.product-image-wrap img,
.product-card img.product-main-image,
.product-card img.product-hover-image,
.ritual-product-card img.product-main-image,
.ritual-product-card img.product-hover-image,
.woocommerce ul.products li.product img {
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}


/* v1.7.9: product detail gallery arrows and active thumbnails */
.single-product .woocommerce-product-gallery,
.single-product .product .images {
  position: relative;
}

.single-product .woocommerce-product-gallery__image,
.single-product .product .images .woocommerce-product-gallery__image {
  overflow: hidden;
}

.aot-product-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 40;
  width: clamp(42px, 3.6vw, 58px);
  height: clamp(42px, 3.6vw, 58px);
  border-radius: 999px;
  border: 1px solid rgba(105, 72, 39, .18);
  background: rgba(255, 250, 240, .84);
  color: #2c1b12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  box-shadow: 0 14px 34px rgba(54, 35, 20, .14), inset 0 1px 0 rgba(255,255,255,.72);
  transform: translateY(-50%);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, opacity .2s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.aot-product-gallery-nav:hover {
  background: rgba(255, 246, 229, .96);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 18px 38px rgba(54, 35, 20, .20), inset 0 1px 0 rgba(255,255,255,.84);
}
.aot-product-gallery-prev { left: clamp(12px, 1.8vw, 24px); }
.aot-product-gallery-next { right: clamp(12px, 1.8vw, 24px); }
.aot-product-gallery-nav[hidden] { display: none !important; }

.single-product .woocommerce-product-gallery .flex-control-thumbs,
.single-product .product .images .flex-control-thumbs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs li,
.single-product .product .images .flex-control-thumbs li {
  width: auto !important;
  margin: 0 !important;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs img,
.single-product .product .images .flex-control-thumbs img {
  width: clamp(78px, 7vw, 118px) !important;
  height: clamp(78px, 7vw, 118px) !important;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid transparent;
  opacity: .78;
  box-shadow: 0 10px 22px rgba(59, 42, 26, .09);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover,
.single-product .product .images .flex-control-thumbs img:hover,
.single-product .woocommerce-product-gallery .flex-control-thumbs img.aot-is-active,
.single-product .product .images .flex-control-thumbs img.aot-is-active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(168, 115, 58, .62);
  box-shadow: 0 14px 28px rgba(59, 42, 26, .14);
}

@media (hover: none), (pointer: coarse) {
  .aot-product-gallery-nav {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }
}


/* v1.8.2: keep flags visible after language label normalization */
.aot-language-switcher a,
.nav.aot-site-nav .aot-language-switcher li a,
.nav.aot-site-nav .lang-item a,
.pll-parent-menu-item .sub-menu a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.aot-language-switcher img,
.nav.aot-site-nav .aot-language-switcher img,
.nav.aot-site-nav .lang-item img,
.pll-parent-menu-item .sub-menu img,
.aot-lang-emoji {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  align-items: center !important;
  justify-content: center !important;
  object-fit: contain !important;
  margin: 0 !important;
  opacity: 1 !important;
  filter: none !important;
  vertical-align: middle !important;
  font-size: 16px !important;
  line-height: 1 !important;
}
.aot-lang-name {
  display: inline-block !important;
}


/* v1.8.5: minimal single product overlap fix only. Do not alter gallery sizing. */
body.single-product .aot-shop-shell {
  padding-top: max(78px, clamp(58px, 5vw, 92px)) !important;
}
body.single-product .aot-back-wrap {
  position: relative !important;
  z-index: 80 !important;
  margin: 0 0 24px !important;
  clear: both !important;
}
body.single-product .aot-back-link {
  position: relative !important;
  z-index: 81 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 40px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: rgba(255, 252, 246, .94) !important;
  border: 1px solid rgba(111, 74, 40, .18) !important;
  box-shadow: 0 10px 24px rgba(68, 44, 26, .08) !important;
  line-height: 1 !important;
}
body.single-product .woocommerce div.product {
  position: relative !important;
  overflow: visible !important;
}
body.single-product .woocommerce div.product > span.onsale,
body.single-product .woocommerce span.onsale {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 35 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 8px 13px !important;
  border-radius: 999px !important;
  background: var(--aot-deep-red, #9a2f25) !important;
  color: #fff8ef !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  box-shadow: 0 10px 22px rgba(83, 34, 24, .16) !important;
  transform: none !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}
body.single-product .aot-product-gallery-nav {
  z-index: 45 !important;
}
@media (max-width: 1100px) {
  body.single-product .aot-shop-shell {
    padding-top: max(64px, clamp(48px, 7vw, 76px)) !important;
  }
  body.single-product .aot-back-wrap {
    margin-bottom: 18px !important;
  }
  body.single-product .woocommerce div.product > span.onsale,
  body.single-product .woocommerce span.onsale {
    top: 12px !important;
    left: 12px !important;
    padding: 7px 11px !important;
    font-size: 9px !important;
  }
}
@media (max-width: 700px) {
  body.single-product .aot-shop-shell {
    width: min(100% - 24px, 560px) !important;
    padding-top: 58px !important;
  }
  body.single-product .aot-back-link {
    min-height: 38px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }
}

/* v1.8.8 Return & Refund Policy page */
.aot-refund-policy-page .aot-page-section {
  padding-top: 70px;
}
.aot-refund-policy-list {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.aot-refund-policy-list .aot-page-lead {
  margin-bottom: 30px;
  padding: 26px 28px;
  border: 1px solid #e8e1d5;
  border-radius: 22px;
  background: #fffaf2;
  box-shadow: 0 18px 44px rgba(68,44,26,.06);
}
.aot-refund-policy-item {
  padding: 28px 30px;
  border: 1px solid #e8e1d5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(68,44,26,.05);
}
.aot-refund-policy-item + .aot-refund-policy-item {
  margin-top: 18px;
}
.aot-refund-policy-item h2 {
  margin: 0 0 14px;
  color: var(--aot-text, #2b1c14);
  font-family: Cormorant Garamond, Playfair Display, Georgia, serif;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.12;
}
.aot-refund-policy-item p {
  margin: 0 0 12px;
}
.aot-refund-policy-item p:last-child {
  margin-bottom: 0;
}
.aot-refund-policy-item ul {
  margin: 10px 0 0;
  padding-left: 1.25rem;
  color: #3e3a35;
  font-size: 15px;
  line-height: 1.85;
}
.aot-refund-policy-item li + li {
  margin-top: 8px;
}
@media (max-width: 720px) {
  .aot-refund-policy-list .aot-page-lead,
  .aot-refund-policy-item {
    padding: 22px 20px;
  }
}
