/*
Theme Name: JoyPrint - Custom Print & Branding Store
Theme URI: https://joyprint.com/
Author: JoyPrint Team & Antigravity
Description: High-fidelity custom printing and branding WooCommerce theme powered by the Hostinger modern palette, DM Sans typography, full responsive layout, and complete static service & support hubs.
Version: 2.0.0
License: GPL-2.0-or-later
Text Domain: vistaprint
*/

:root {
  /* Hostinger Color Palette Primitives */
  --primary--600: #5025D1;
  --primary--500: #673DE6;
  --primary--400: #7253EE;
  --primary--300: #B39EF3;
  --primary--200: #C5B8F8;
  --primary--100: #E2DBFC;
  --primary--50: #F1ECFF;

  --color-18: #FFFFFF;
  --color-17: #F8F9FA;
  --color-16: #F1EDFB;
  --color-1: #222225;
  --color-5: #797980;
  --color-9: #9D9EA4;
  --color-10: #9D99FF;
  --color-6: #7B66FF;
  --color-7: #009E5B;
  --color-8: #FF4646;
  --color-13: #DEDEE2;

  /* Hostinger Elevation Shadows */
  --shadow-sm: rgba(0, 0, 0, 0) 0px 0px 0px 1px;
  --shadow-md: rgb(123, 102, 255) 0px 0px 0px 1px;

  /* Semantic Theme Mappings (Strictly color-only; font & layout preserved) */
  --vp-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --vp-black: var(--color-1);
  --vp-text: var(--color-1);
  --vp-text-muted: var(--color-5);
  --vp-border: var(--color-13);
  --vp-border-dark: var(--color-9);
  --vp-bg-subtle: var(--color-17);
  --vp-bg-brandbar: var(--color-17);
  --vp-green-hero: var(--primary--600);
  --vp-green-sale: var(--color-7);
  --vp-red-deal: var(--color-8);
  --vp-cyan-btn: var(--primary--500);
  --vp-cyan-btn-hover: var(--primary--600);
  --vp-navy-footer: var(--color-1);
  --vp-footer-bottom: #161618;
  --vp-gold-chat: var(--primary--500);
  --container--max: 1352px;
  --container--gutter: 44px;
}

@media (max-width: 1024px) {
  :root {
    --container--gutter: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --container--gutter: 16px;
  }
}

@media (max-width: 360px) {
  :root {
    --container--gutter: 12px;
  }
}

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: var(--vp-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--vp-text);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.site {
  width: 100%;
  max-width: none;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: calc(var(--container--max, 1352px) + (var(--container--gutter, 44px) * 2));
  margin-inline: auto;
  padding-inline: var(--container--gutter, 44px);
}

/* 1. Region Switcher Top Banner */
.vp-locale-banner {
  width: 100%;
  background: #212529;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.35;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.vp-locale-banner__text {
  margin: 0;
  font-weight: 500;
}

.vp-locale-banner__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vp-locale-select {
  background: #212529;
  color: #ffffff;
  border: 1px solid #6c757d;
  border-radius: 4px;
  padding: 5px 28px 5px 10px;
  font-size: 12px;
}

.vp-locale-btn {
  background: transparent;
  color: #ffffff;
  border: 1px solid #6c757d;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
}

.vp-locale-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
  margin-left: 4px;
}

/* 2. Top Brand Bar */
.vp-brand-bar {
  width: 100%;
  background: var(--vp-bg-brandbar);
  border-bottom: 1px solid #eaeaea;
  font-size: 12px;
  color: #333333;
}

.vp-brand-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 32px;
}

.vp-brand-bar__link {
  color: #333333;
  font-weight: 400;
  transition: color 0.15s ease;
}

.vp-brand-bar__link:hover {
  text-decoration: underline;
}

/* 3. Main Site Header */
.vp-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.vp-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 16px 12px;
}

.vp-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.vp-logo img {
  width: auto;
  max-width: 175px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

.vp-search {
  flex: 1;
  max-width: 550px;
  position: relative;
}

.vp-search__form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  border: 1px solid var(--vp-border-dark);
  border-radius: 999px;
  background: #ffffff;
  padding: 0 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vp-search__form:focus-within {
  border-color: #000000;
  box-shadow: 0 0 0 1px #000000;
}

.vp-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #000000;
  background: transparent;
}

.vp-search__input::placeholder {
  color: #5c5c5c;
}

.vp-search__submit {
  background: transparent;
  border: none;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
}

.vp-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.vp-action-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.25;
  color: #000000;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
}

.vp-action-item:hover {
  text-decoration: underline;
}

.vp-action-item__sub {
  display: block;
  font-size: 12px;
  color: #5c5c5c;
}

.vp-action-signin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vp-cyan-btn);
  color: #000000;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  transition: background-color 0.15s ease;
}

.vp-action-signin:hover {
  background: var(--vp-cyan-btn-hover);
}

.vp-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary--500);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

/* 4. Category Mega-Nav */
.vp-nav-bar {
  padding-bottom: 10px;
}

.vp-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vp-nav__item {
  position: relative;
}

.vp-nav__link {
  display: inline-block;
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 500;
  color: #111111;
  text-align: center;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.vp-nav__link:hover {
  border-bottom-color: #000000;
}

.vp-nav__link--accent {
  color: var(--vp-red-deal);
}

.vp-nav__link--accent:hover {
  border-bottom-color: var(--vp-red-deal);
}

/* 5. Black Promo Ticker Bar */
.vp-promo-ticker {
  width: 100%;
  background: #000000;
  color: #ffffff;
  font-size: 13px;
  padding: 9px 0;
}

.vp-promo-ticker__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.vp-promo-ticker__code-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  padding: 0 2px;
}

.vp-promo-ticker__link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 500;
}

/* 6. Hero Section */
.vp-hero {
  width: 100%;
  position: relative;
  background-color: var(--primary--600);
}

.vp-hero__stage {
  width: 100%;
  min-height: 408px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
}

.vp-hero__card {
  background: var(--vp-green-hero);
  color: #ffffff;
  border-radius: 12px;
  max-width: 720px;
  width: 100%;
  padding: 28px 36px 24px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.vp-hero__eyebrow {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 6px;
}

.vp-hero__title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.vp-hero__tiers {
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 14px;
}

.vp-hero__code-row {
  font-size: 14px;
  margin: 0 0 18px;
}

.vp-hero__code-row a {
  text-decoration: underline;
  margin-left: 6px;
}

.vp-hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.vp-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #000000;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 8px;
  border: none;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.vp-btn-white:hover {
  background: #f0f0f0;
}

.vp-hero__fineprint {
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto;
}

/* Secondary Black Strip Below Hero */
.vp-hero-substrip {
  width: 100%;
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 14px 20px;
}

.vp-hero-substrip__headline {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}

.vp-hero-substrip__links {
  font-size: 13px;
  margin: 0 0 4px;
}

.vp-hero-substrip__links a {
  text-decoration: underline;
  margin: 0 8px;
}

.vp-hero-substrip__fineprint {
  font-size: 11px;
  color: #cccccc;
  margin: 0;
}

/* 7. Generic Homepage Sections & Carousels */
.vp-section {
  width: 100%;
  padding-block: 32px 16px;
}

.vp-section__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.vp-section__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
  color: #000000;
}

.vp-section__subtitle {
  font-size: 14px;
  color: #333333;
  margin: 6px 0 0;
}

.vp-section__more {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vp-section__more:hover {
  text-decoration: underline;
}

.vp-carousel {
  position: relative;
}

.vp-carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.vp-carousel__track::-webkit-scrollbar {
  display: none;
}

.vp-carousel__btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #d4d4d4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: #000000;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.vp-carousel__btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.vp-carousel__btn--prev {
  left: -12px;
}

.vp-carousel__btn--next {
  right: -12px;
}

/* Explore All Categories Cards */
.vp-cat-card {
  flex: 0 0 172px;
  border: 1px solid var(--vp-border);
  border-radius: 12px;
  padding: 12px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vp-cat-card:hover {
  border-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.vp-cat-card__img-wrap {
  width: 148px;
  height: 148px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #f6f6f6;
}

.vp-cat-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vp-cat-card__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #000000;
  margin: 0;
}

/* Product Cards (6-up carousel & grid) */
.vp-prod-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}

.vp-carousel__track .vp-prod-card {
  flex: 0 0 calc((100% - (5 * 16px)) / 6);
  min-width: 205px;
}

.vp-product-grid,
.vp-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  margin-bottom: 48px;
}

.vp-product-grid .vp-prod-card,
.vp-archive-grid .vp-prod-card {
  flex: none;
  width: 100%;
  min-width: 0;
}

.vp-prod-card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  background: var(--color-17, #f8f9fa);
  border: 1px solid var(--color-13, #dedee2);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vp-prod-card__img-wrap--bordered {
  border: 1px solid var(--color-13, #dedee2);
  background: var(--color-17, #f8f9fa);
}

.vp-prod-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.vp-prod-card:hover .vp-prod-card__img-wrap img {
  transform: scale(1.03);
}

.vp-prod-card__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-1, #222225);
  margin: 0 0 4px;
}

.vp-prod-card:hover .vp-prod-card__title {
  text-decoration: underline;
  color: var(--primary--500, #673de6);
}

.vp-prod-card__price-row {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-1, #222225);
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.vp-price-old {
  text-decoration: line-through;
  color: var(--color-5, #797980);
  margin-right: 4px;
}

.vp-price-sale {
  color: var(--color-7, #009e5b);
  font-weight: 600;
}

.vp-prod-card__unit {
  font-size: 12px;
  color: var(--color-5, #797980);
  margin-top: 1px;
}

.vp-prod-card__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-7, #009e5b);
  background: rgba(0, 158, 91, 0.08);
  border: 1px solid rgba(0, 158, 91, 0.2);
  padding: 2px 7px;
  border-radius: var(--radius-sm, 8px);
  margin-top: 4px;
}
}

.vp-prod-card__desc {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-5, #797980);
  margin: 2px 0 0;
}

/* 4-up Ambassador Cards */
.vp-prod-card--4up {
  flex: 0 0 calc((100% - (3 * 18px)) / 4);
  min-width: 300px;
}

/* 8. Split 50/50 Promo Section */
.vp-split-banners {
  width: 100%;
  margin-block: 28px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.vp-split-banner {
  position: relative;
  min-height: 485px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 36px 44px;
}

.vp-split-banner__box {
  background: var(--vp-green-hero);
  color: #ffffff;
  border-radius: 12px;
  padding: 28px 28px 24px;
  max-width: 345px;
  width: 100%;
}

.vp-split-banner__eyebrow {
  font-size: 13px;
  margin: 0 0 6px;
}

.vp-split-banner__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
}

.vp-split-banner__text {
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.95);
}

/* 9. UGC #MadeWithJoyPrint Cards */
.vp-ugc-card {
  flex: 0 0 calc((100% - (5 * 16px)) / 6);
  min-width: 205px;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #ececec;
}

.vp-ugc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vp-ugc-card__handle {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17, 24, 39, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* 10. Newsletter Section */
.vp-newsletter {
  width: 100%;
  background: #f4f4f4;
  margin-top: 36px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.vp-newsletter__grid {
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.vp-newsletter__media img {
  width: 100%;
  height: 297px;
  object-fit: cover;
}

.vp-newsletter__content {
  padding: 32px 64px;
  text-align: center;
}

.vp-newsletter__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
}

.vp-newsletter__subtitle {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 18px;
}

.vp-newsletter__input {
  width: 100%;
  height: 46px;
  border: 1px solid #8c8c8c;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  background: #ffffff;
  margin-bottom: 10px;
}

.vp-newsletter__legal {
  font-size: 11.5px;
  color: #444444;
  line-height: 1.45;
  margin: 0 0 16px;
}

.vp-newsletter__legal a {
  text-decoration: underline;
}

.vp-newsletter__submit {
  background: #dfdfdf;
  color: #555555;
  border: none;
  border-radius: 8px;
  padding: 11px 36px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.vp-newsletter__submit.is-ready,
.vp-newsletter__submit:hover {
  background: #000000;
  color: #ffffff;
}

/* 11. Brand Story Section */
.vp-story {
  width: 100%;
  background: #f8f8f8;
  padding: 56px 0;
}

.vp-story__grid {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.vp-story__heading {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}

.vp-story__text {
  font-size: 14px;
  line-height: 1.6;
  color: #222222;
  margin: 0 0 24px;
}

/* 12. Footer */
.vp-footer {
  width: 100%;
  background: var(--vp-navy-footer);
  color: #ffffff;
}

.vp-footer__top {
  padding: 48px 0 56px;
}

.vp-footer__cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.vp-footer__logo-wrap {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
}

.vp-footer__logo {
  max-height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.vp-footer__pyp {
  width: 205px;
  margin-bottom: 20px;
}

.vp-footer__help-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: #e5e7eb;
  max-width: 240px;
}

.vp-footer__help-text a {
  text-decoration: underline;
  color: #ffffff;
}

.vp-footer__col-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 14px;
  color: #ffffff;
}

.vp-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vp-footer__links li {
  margin-bottom: 10px;
}

.vp-footer__links a {
  font-size: 13px;
  color: #e5e7eb;
}

.vp-footer__links a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.vp-footer__trustpilot {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #e5e7eb;
  padding-top: 80px;
}

.vp-footer__trustpilot a {
  text-decoration: underline;
  margin-left: 4px;
}

.vp-footer__bottom {
  background: var(--vp-footer-bottom);
  padding: 28px 0;
  font-size: 11.5px;
  color: #d1d5db;
}

.vp-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.vp-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}

.vp-footer__legal-links a {
  text-decoration: underline;
  color: #ffffff;
}

.vp-footer__copy {
  margin: 0 0 4px;
  color: #9ca3af;
}

.vp-footer__payments {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vp-footer__payments img {
  width: 38px;
  height: 26px;
}

.vp-footer__socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vp-footer__social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-1);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

/* Floating Chat Pill */
.vp-chat-fab {
  position: fixed;
  right: 20px;
  bottom: 24px;
  background: var(--primary--500);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  z-index: 90;
}

/* Inner Pages: Category Archive & Single Product */
.vp-breadcrumb {
  font-size: 13px;
  color: #5c5c5c;
  padding: 18px 0 8px;
}

.vp-breadcrumb a:hover {
  text-decoration: underline;
}

.vp-archive-hero {
  background: #f5f7f6;
  border-radius: 16px;
  padding: 36px 44px;
  margin: 12px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}



/* ==========================================================================
   Product Archive & Category Banner Styles
   ========================================================================== */
.vp-category-banner {
  background: linear-gradient(180deg, var(--primary--50, #f1ecff) 0%, var(--color-18, #ffffff) 100%);
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--color-13, #dedee2);
}

.vp-category-banner__inner {
  max-width: 800px;
}

.vp-category-banner__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary--600, #5025d1);
  margin-bottom: 6px;
}

.vp-category-banner__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-1, #222225);
  margin: 0 0 10px;
}

.vp-category-banner__desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-5, #797980);
  margin: 0;
}

.vp-archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-13, #dedee2);
}

.vp-archive-toolbar__count {
  font-size: 14px;
  color: var(--color-5, #797980);
}

.vp-archive-toolbar__sort select,
.woocommerce .woocommerce-ordering select {
  font-family: inherit;
  font-size: 14px;
  color: var(--color-1, #222225);
  background: var(--color-18, #ffffff);
  border: 1px solid var(--color-13, #dedee2);
  border-radius: var(--radius-sm, 8px);
  padding: 8px 14px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
}

.vp-archive-toolbar__sort select:focus,
.woocommerce .woocommerce-ordering select:focus {
  border-color: var(--primary--500, #673de6);
}

.vp-empty-state {
  text-align: center;
  padding: 56px 24px;
  background: var(--color-17, #f8f9fa);
  border: 1px solid var(--color-13, #dedee2);
  border-radius: var(--radius-md, 12px);
  margin: 24px 0 48px;
}

.vp-empty-state h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-1, #222225);
  margin: 0 0 10px;
}

.vp-empty-state p {
  color: var(--color-5, #797980);
  font-size: 14px;
  margin: 0 0 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.vp-pdp {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  padding: 12px 0 40px;
}

.vp-pdp__gallery {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vp-pdp__gallery img {
  width: 100%;
  max-height: 420px;
  border-radius: 8px;
  object-fit: contain;
}

.vp-pdp__title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px;
}

.vp-pdp__rating {
  color: #06462e;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.vp-pdp__options {
  margin: 20px 0;
  border-top: 1px solid #e5e5e5;
  padding-top: 20px;
}

.vp-pdp__select {
  width: 100%;
  height: 46px;
  border: 1px solid #767676;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  margin-bottom: 16px;
}

.vp-btn-primary {
  width: 100%;
  height: 50px;
  background: var(--primary--500);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.vp-btn-primary:hover {
  background: var(--primary--600);
}

/* Modal & Drawer */
.vp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.vp-modal-backdrop.is-open {
  display: flex;
}

.vp-modal {
  background: #ffffff;
  border-radius: 16px;
  max-width: 440px;
  width: 92%;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.vp-modal--cart {
  max-width: 500px;
}

.vp-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 22px;
}

/* ==========================================================================
   Comprehensive End-to-End Responsive Engine
   ========================================================================== */

/* 1100px - Tablet Landscape / Small Desktop */
@media (max-width: 1100px) {
  .vp-nav__list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 16px;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .vp-nav__list::-webkit-scrollbar {
    display: none;
  }
  .vp-split-banners {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vp-newsletter__grid,
  .vp-story__grid,
  .vp-pdp {
    grid-template-columns: 1fr;
  }
  .vp-footer__cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* 1024px - Tablet Landscape */
@media (max-width: 1024px) {
  .vp-product-grid,
  .vp-archive-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .vp-header__main {
    gap: 16px;
  }
  .vp-action-item__sub {
    display: none;
  }
}

/* 900px - Tablet Portrait */
@media (max-width: 900px) {
  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .woocommerce .cart-collaterals {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .vp-pdp {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .vp-pdp__gallery-main {
    max-height: 340px;
  }
  .vp-pdp__gallery-main img {
    max-height: 300px;
  }
}

/* 768px - Large Mobile & Small Tablet */
@media (max-width: 768px) {
  /* Region Banner */
  .vp-locale-banner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 10px 16px;
  }
  .vp-locale-banner__controls {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Brand Bar */
  .vp-brand-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .vp-brand-bar::-webkit-scrollbar {
    display: none;
  }
  .vp-brand-bar__inner {
    white-space: nowrap;
    width: max-content;
    gap: 16px;
    padding-inline: 16px;
  }

  /* Header & Navigation */
  .vp-header__main {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 10px 8px;
  }
  .vp-logo img {
    width: auto;
    max-width: 135px;
    height: auto;
    max-height: 36px;
    object-fit: contain;
  }
  .vp-search {
    order: 3;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin-top: 2px;
  }
  .vp-search__form {
    height: 40px;
  }
  .vp-actions {
    gap: 14px;
  }
  .vp-action-item span strong,
  .vp-action-item__sub,
  .vp-action-item > span:not(.vp-cart-badge) {
    display: none;
  }
  .vp-action-signin {
    padding: 6px 14px;
    font-size: 12px;
  }

  /* Promo Ticker */
  .vp-promo-ticker {
    font-size: 11.5px;
    padding: 7px 0;
  }

  /* Hero Section */
  .vp-hero__stage {
    min-height: 280px;
    padding: 20px 12px;
  }
  .vp-hero__card {
    padding: 20px 16px 18px;
    border-radius: var(--radius-md, 12px);
    max-width: 100%;
  }
  .vp-hero__title {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .vp-hero__tiers {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .vp-hero__code-row {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .vp-hero__ctas {
    gap: 8px;
  }
  .vp-btn-white {
    padding: 8px 14px;
    font-size: 12.5px;
  }
  .vp-hero__fineprint {
    font-size: 10px;
    margin-top: 10px;
  }
  .vp-hero-substrip {
    padding: 10px 14px;
  }
  .vp-hero-substrip__headline {
    font-size: 13px;
  }
  .vp-hero-substrip__links {
    font-size: 12px;
  }
  .vp-hero-substrip__fineprint {
    font-size: 10px;
  }

  /* Carousels on Mobile */
  .vp-section {
    padding-block: 24px 12px;
  }
  .vp-section__title {
    font-size: 18px;
  }
  .vp-carousel__btn {
    display: none !important;
  }
  .vp-carousel__track {
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-inline: 4px;
  }
  .vp-carousel__track .vp-cat-card {
    flex: 0 0 136px;
    min-width: 136px;
    padding: 10px;
    scroll-snap-align: start;
  }
  .vp-carousel__track .vp-prod-card {
    flex: 0 0 165px;
    min-width: 165px;
    scroll-snap-align: start;
  }
  .vp-carousel__track .vp-prod-card--4up {
    flex: 0 0 210px;
    min-width: 210px;
    scroll-snap-align: start;
  }

  /* Split Banners */
  .vp-split-banner {
    min-height: 280px;
    padding: 20px 16px;
  }
  .vp-split-banner__box {
    max-width: 100%;
    padding: 20px 16px;
  }
  .vp-split-banner__title {
    font-size: 22px;
  }

  /* Product Archive & Shop Grid */
  .vp-category-banner__title {
    font-size: 24px;
  }
  .vp-category-banner__desc {
    font-size: 13.5px;
  }
  .vp-archive-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .vp-product-grid,
  .vp-archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* WooCommerce Responsive Mobile Cart Stack */
  .woocommerce table.shop_table,
  .woocommerce table.shop_table tbody,
  .woocommerce table.shop_table tr,
  .woocommerce table.shop_table td {
    display: block;
    width: 100%;
  }
  .woocommerce table.shop_table thead {
    display: none;
  }
  .woocommerce table.shop_table tr {
    margin-bottom: 16px;
    border: 1px solid var(--color-13, #dedee2);
    border-radius: var(--radius-md, 12px);
    padding: 14px;
    background: #ffffff;
  }
  .woocommerce table.shop_table td {
    border: none;
    border-bottom: 1px dashed var(--color-13, #dedee2);
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
  }
  .woocommerce table.shop_table td:last-child {
    border-bottom: none;
  }
  .woocommerce table.shop_table td.product-thumbnail {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--color-13, #dedee2);
    padding-bottom: 12px;
  }
  .woocommerce table.shop_table td.product-name {
    display: block;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
  }
  .woocommerce table.shop_table td::before {
    content: attr(data-title);
    font-weight: 600;
    color: var(--color-5, #797980);
    text-align: left;
    margin-right: 8px;
  }
  .woocommerce table.shop_table td.product-thumbnail::before,
  .woocommerce table.shop_table td.product-name::before,
  .woocommerce table.shop_table td.actions::before {
    display: none;
  }
  .woocommerce table.shop_table td.actions {
    display: block;
    padding-top: 14px;
  }
  .woocommerce table.shop_table td.actions .coupon {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
  }
  .woocommerce table.shop_table td.actions .coupon input.input-text {
    width: 100% !important;
    height: 42px;
  }
  .woocommerce table.shop_table td.actions .coupon button.button,
  .woocommerce table.shop_table td.actions button[name="update_cart"] {
    width: 100% !important;
    height: 42px;
  }

  /* WooCommerce Responsive Checkout Form */
  .woocommerce form .form-row {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }
  #order_review {
    padding: 16px;
  }

  /* WooCommerce My Account Responsive */
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    float: none;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 24px;
  }

  /* Customer Story & Newsletter */
  .vp-story__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .vp-newsletter__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* 560px - Small Mobile Viewports */
@media (max-width: 560px) {
  .vp-footer__cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .vp-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .vp-footer__legal-links {
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .vp-footer__payments {
    flex-wrap: wrap;
    gap: 6px;
  }
  .vp-newsletter__form {
    flex-direction: column;
    gap: 10px;
  }
  .vp-newsletter__input,
  .vp-newsletter__submit {
    width: 100%;
  }
}

/* 480px - Standard Mobile Viewports */
@media (max-width: 480px) {
  .vp-hero__title {
    font-size: 20px;
  }
  .vp-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .vp-btn-white {
    width: 100%;
    text-align: center;
  }
  .vp-modal {
    width: calc(100% - 24px);
    padding: 22px 16px;
    margin: 12px;
    border-radius: var(--radius-md, 12px);
  }
  .vp-chat-fab {
    bottom: 16px;
    right: 16px;
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* 360px - Ultra-compact Mobile Viewports (320px) */
@media (max-width: 360px) {
  .vp-product-grid,
  .vp-archive-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .vp-carousel__track .vp-cat-card {
    flex: 0 0 120px;
    min-width: 120px;
  }
  .vp-carousel__track .vp-prod-card {
    flex: 0 0 145px;
    min-width: 145px;
  }
}

/* ==========================================================================
   WooCommerce JoyPrint Integration Styles
   ========================================================================== */

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 14px 20px;
  margin-bottom: 24px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f0fdf4;
  border-left: 5px solid #16a34a;
  color: #166534;
}

.woocommerce-info {
  background: #f0f9ff;
  border-left-color: #0284c7;
  color: #075985;
}

.woocommerce-error {
  background: #fef2f2;
  border-left-color: #dc2626;
  color: #991b1b;
  list-style: none;
}

.woocommerce-message .button,
.woocommerce-info .button {
  background: #000000;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  order: 2;
}

/* WooCommerce Cart & Checkout Forms */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  border: 1px solid var(--color-13, #dedee2);
  margin-bottom: 32px;
}

.woocommerce table.shop_table th {
  background: var(--color-17, #f8f9fa);
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-13, #dedee2);
  color: var(--color-1, #222225);
}

.woocommerce table.shop_table td {
  padding: 16px;
  border-bottom: 1px solid var(--color-13, #dedee2);
  vertical-align: middle;
}

.woocommerce table.shop_table td.product-thumbnail img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm, 8px);
  object-fit: cover;
}

.woocommerce table.shop_table td.product-name a {
  font-weight: 600;
  color: var(--color-1, #222225);
  text-decoration: none;
}

.woocommerce table.shop_table td.product-name a:hover {
  text-decoration: underline;
  color: var(--primary--500, #673de6);
}

.woocommerce .quantity input.qty {
  width: 64px;
  height: 40px;
  text-align: center;
  border: 1px solid var(--color-13, #dedee2);
  border-radius: var(--radius-sm, 8px);
  font-weight: 600;
}

.woocommerce .cart-collaterals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

@media (max-width: 800px) {
  .woocommerce .cart-collaterals {
    grid-template-columns: 1fr;
  }
}

.woocommerce .cart_totals {
  background: var(--color-17, #f8f9fa);
  padding: 24px;
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--color-13, #dedee2);
}

.woocommerce .cart_totals h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--color-1, #222225);
}

.woocommerce .cart_totals table.shop_table {
  border: none;
  background: transparent;
}

.woocommerce .cart_totals table.shop_table th,
.woocommerce .cart_totals table.shop_table td {
  border: none;
  background: transparent;
  padding: 8px 0;
}

/* Primary buttons */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce .checkout-button,
.woocommerce input.button {
  background: var(--primary--500) !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce .checkout-button:hover,
.woocommerce input.button:hover {
  background: var(--primary--600) !important;
  transform: translateY(-1px);
}

.woocommerce .checkout-button {
  width: 100%;
  height: 48px;
  line-height: 24px;
}

/* Checkout Page */
.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
  }
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--color-1, #222225);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-13, #dedee2);
  border-radius: var(--radius-sm, 8px);
  font-size: 15px;
  font-family: inherit;
}

.woocommerce form .form-row label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-1, #222225);
  margin-bottom: 6px;
  display: block;
}

#order_review {
  background: var(--color-17, #f8f9fa);
  padding: 24px;
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--color-13, #dedee2);
}

/* My Account Page */
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 25%;
  float: left;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--color-13, #dedee2);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--color-13, #dedee2);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
  border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 14px 18px;
  color: var(--color-1, #222225);
  font-weight: 600;
  text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--primary--50, #f1ecff);
  color: var(--primary--600, #5025d1);
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: 70%;
  float: right;
}

@media (max-width: 800px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    float: none;
    margin-bottom: 32px;
  }
}

