:root {
  --color-primary: #7ec8e3;
  --color-primary-soft: #b3e0f2;
  --color-secondary: #a8d8b9;
  --color-accent: #f2d06b;
  --color-accent-deep: #e0ba45;
  --color-dark: #2d3331;
  --color-gray: #5a6360;
  --color-light: #fafafa;
  --color-muted: #f5f7f6;
  --font-display: "Poppins", system-ui, sans-serif;
  --font-sans: "Poppins", system-ui, sans-serif;
}

body.vippaw-theme,
body.vippaw-theme button,
body.vippaw-theme input,
body.vippaw-theme select,
body.vippaw-theme textarea {
  font-family: var(--font-sans);
  color: var(--color-dark);
}

body.vippaw-theme {
  background: var(--color-light);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

.vippaw-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-light) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--color-dark) 8%, transparent);
}

.vippaw-site-header__inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.vippaw-logo {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
}

.vippaw-logo span {
  margin-left: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gray);
  opacity: 0.75;
}

.vippaw-nav {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vippaw-nav a {
  color: var(--color-gray);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.vippaw-site-header nav {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  height: 100%;
}

.vippaw-nav a:hover,
.vippaw-nav .current-menu-item a,
.vippaw-nav a.is-current {
  color: #3b82f6;
}

.vippaw-header-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.vippaw-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #1a1a1a;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.vippaw-header-action:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #3b82f6;
}

.vippaw-header-action svg {
  display: block;
}

.vippaw-header-cart {
  position: relative;
}

.vippaw-header-cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 10px;
  background: #3b82f6;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 17px;
  text-align: center;
  box-sizing: border-box;
}

.vippaw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  font-family: inherit;
}

.vippaw-btn--primary {
  background: var(--color-primary);
  color: var(--color-dark);
}

.vippaw-btn--primary:hover {
  background: var(--color-primary-soft);
  transform: translateY(-1px);
}

.vippaw-btn--accent {
  background: var(--color-accent);
  color: var(--color-dark);
}

.vippaw-btn--accent:hover {
  background: var(--color-accent-deep);
}

.vippaw-btn--ghost {
  background: transparent;
  color: inherit;
  border: 1.5px solid color-mix(in srgb, currentColor 35%, transparent);
}

.vippaw-site-footer {
  margin-top: 4rem;
  background: var(--color-dark);
  color: var(--color-light);
  padding: 3.5rem 1.25rem 1.5rem;
}

.vippaw-site-footer__grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.vippaw-site-footer a {
  color: var(--color-primary-soft);
  text-decoration: none;
}

.vippaw-site-footer a:hover {
  color: var(--color-accent);
}

.vippaw-site-footer__copy {
  max-width: 1140px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.5;
}

.vippaw-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-light);
  background:
    linear-gradient(90deg, rgba(45, 51, 49, 0.75), rgba(45, 51, 49, 0.25)),
    url("https://images.unsplash.com/photo-1548199973-03cce0bbc87b?w=2000&q=85")
      center 35% / cover no-repeat;
}

.vippaw-hero__inner {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1.25rem 4rem;
}

.vippaw-hero__brand {
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.vippaw-hero__title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 22ch;
  margin: 0;
  font-weight: 500;
  line-height: 1.15;
}

.vippaw-hero__text {
  max-width: 42ch;
  margin: 1.25rem 0 0;
  opacity: 0.9;
  line-height: 1.6;
}

.vippaw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.vippaw-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.vippaw-section__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gray);
  opacity: 0.7;
  margin: 0;
}

.vippaw-section__title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0.5rem 0 0;
  font-weight: 600;
}

.vippaw-features {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2.5rem;
}

.vippaw-feature h3 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  margin: 0.5rem 0;
  font-weight: 600;
}

.vippaw-feature p {
  color: var(--color-gray);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.vippaw-muted-band {
  background: var(--color-muted);
}

.vippaw-hiw {
  background: var(--color-light);
  padding: 4.5rem 1.25rem;
}

.vippaw-hiw__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.vippaw-hiw__head {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto 2.25rem;
}

.vippaw-hiw__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gray);
  opacity: 0.75;
}

.vippaw-hiw__title {
  margin: 0.5rem 0 0;
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.vippaw-hiw__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.vippaw-hiw__step {
  overflow: hidden;
  border-radius: 1.5rem;
  background: #f4f8fb;
  border: 1px solid color-mix(in srgb, var(--color-dark) 8%, transparent);
}

.vippaw-hiw__media {
  height: 168px;
  display: grid;
  place-items: center;
}

.vippaw-hiw__media--select {
  background: linear-gradient(180deg, #d9eef8, #cfe6f2);
}

.vippaw-hiw__media--upload {
  background: linear-gradient(180deg, #d4f0e4, #c5e6d8);
}

.vippaw-hiw__media--ship {
  background: linear-gradient(180deg, #f8ecd3, #f3e2bc);
}

.vippaw-hiw__body {
  padding: 1.15rem 1.15rem 1.35rem;
}

.vippaw-hiw__n {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3d7ea0;
}

.vippaw-hiw__body h3 {
  margin: 0.3rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.vippaw-hiw__body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-gray);
}

.vippaw-hiw__cta {
  margin: 2rem 0 0;
  text-align: center;
}

/* Beat Elementor kit `a { background: transparent }` */
.vippaw-hiw__cta a,
.vippaw-hiw a.vippaw-hiw__btn,
.vippaw-hiw a.vippaw-btn,
.elementor .vippaw-hiw__cta a,
.elementor-widget-html .vippaw-hiw__cta a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0;
  padding: 0.85rem 1.5rem !important;
  border: none !important;
  border-radius: 999px !important;
  background: #7ec8e3 !important;
  background-color: #7ec8e3 !important;
  color: #2d3331 !important;
  font-family: inherit;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: none;
}

.vippaw-hiw__cta a:hover,
.vippaw-hiw a.vippaw-hiw__btn:hover,
.vippaw-hiw a.vippaw-btn:hover,
.elementor .vippaw-hiw__cta a:hover,
.elementor-widget-html .vippaw-hiw__cta a:hover {
  background: #b3e0f2 !important;
  background-color: #b3e0f2 !important;
  color: #2d3331 !important;
  text-decoration: none !important;
}

@media (max-width: 860px) {
  .vippaw-hiw__steps {
    grid-template-columns: 1fr;
  }
}

.vippaw-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.vippaw-content h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0.5rem 0 1.5rem;
}

.vippaw-content .vippaw-btn {
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}

.vippaw-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
}

.vippaw-content p,
.vippaw-content li {
  color: var(--color-gray);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .vippaw-nav {
    display: none;
  }
  .vippaw-site-footer .vippaw-nav {
    display: flex;
  }
}

/* WooCommerce product customization (uploads → order line items) */
.vippaw-customize-fields {
  margin: 1.25rem 0 1.5rem;
  padding: 1.25rem;
  background: var(--color-muted);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--color-dark) 8%, transparent);
}

.vippaw-customize-fields__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.vippaw-customize-fields__hint {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--color-gray);
}

.vippaw-customize-fields .form-row {
  margin-bottom: 0.85rem;
}

.vippaw-customize-fields label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.vippaw-customize-fields input[type="text"],
.vippaw-customize-fields input[type="file"],
.vippaw-customize-fields select,
.vippaw-customize-fields textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--color-dark) 15%, transparent);
  background: #fff;
}

.vippaw-customize-fields abbr.required {
  color: #c45c5c;
  text-decoration: none;
  margin-left: 0.15rem;
}

/* WooCommerce product detail title: readable multi-line spacing */
body.single-product div.product h1.product_title,
body.single-product div.product .product_title,
body.single-product .summary h1,
body.single-product .elementor-widget-woocommerce-product-title h1,
body.single-product .elementor-widget-woocommerce-product-title .product_title {
  line-height: 1.45 !important;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Hide WooCommerce Related products on PDPs */
body.single-product section.related.products {
  display: none !important;
}

/* You May Also Like slider arrows */
body.single-product .prc-arrow,
body.single-product button.prc-arrow {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 4px !important;
  border: 1px solid #d0d5d2 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #2d3331 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
body.single-product .prc-arrow:hover,
body.single-product .prc-arrow:focus {
  background: #fff !important;
  border-color: #7ec8e3 !important;
  color: #2d3331 !important;
}
body.single-product .prc-wrapper {
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

/* Shop All: hide old CSS-generated FEATURED / 10 DAYS copy */
body.woocommerce ul.products li.product {
  position: relative;
}
body.woocommerce-shop ul.products li.product.featured::after,
body.woocommerce ul.products li.product.featured::after,
body.woocommerce-shop ul.products li.product .price::after,
body.woocommerce ul.products li.product .price::after {
  content: none !important;
  display: none !important;
}
.vippaw-shop-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  pointer-events: none;
}
body.woocommerce ul.products li.product.is-vp-cat-hidden {
  display: none !important;
}
.vippaw-shop-empty {
  margin: 1.5rem 0 0;
  color: #5a6360;
  font-size: 0.95rem;
}

.vippaw-shop-lead {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #9aa0a6;
  text-transform: uppercase;
}

/* Guest / delayed-JS: WooCommerce starts the gallery at opacity 0 until
   body.woocommerce-js is applied. Cached guest pages often keep woocommerce-no-js. */
html body.woocommerce-page .woocommerce-product-gallery,
html body.single-product .woocommerce-product-gallery,
html body.woocommerce-no-js .woocommerce-product-gallery,
html body.woocommerce-js .woocommerce-product-gallery {
  opacity: 1 !important;
}
html body.single-product .woocommerce-product-gallery img,
html body.woocommerce ul.products li.product img {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

.vippaw-login-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.vippaw-login-modal[hidden] {
  display: none !important;
}
.vippaw-login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 34, 51, 0.5);
  cursor: pointer;
}
.vippaw-login-modal__box {
  position: relative;
  z-index: 1;
  width: min(400px, 92vw);
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem 1.45rem 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  text-align: center;
}
.vippaw-login-modal__box h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2233;
}
.vippaw-login-modal__box p {
  margin: 0 0 1.1rem;
  color: #5a6b7d;
  font-size: 0.92rem;
  line-height: 1.5;
}
.vippaw-login-modal__actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.vippaw-login-modal__actions a,
.vippaw-login-modal__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.vippaw-login-modal__login {
  background: #b3e0f2;
  color: #1a2233;
  border: 1px solid #8fc9e0;
}
.vippaw-login-modal__cancel {
  background: #fff;
  color: #1a2233;
  border: 1px solid #8fc9e0;
}

/* Cart: composed preview thumbs */
.woocommerce-cart-form .product-thumbnail img.vippaw-cart-preview,
.woocommerce-mini-cart-item img.vippaw-cart-preview,
.woocommerce-checkout-review-order-table .product-thumbnail img.vippaw-cart-preview {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
