/* Print4your Master Style Suite - Version 1.1.0 */
:root {
  --p4y-bg: #faf7f2;
  --p4y-primary: #0c4a60;
  --p4y-teal: #0d828a;
  --p4y-teal-hover: #0a6970;
  --p4y-gold: #c5a059;
  --p4y-card-bg1: #edf9fa;
  --p4y-card-bg2: #fff9ea;
  --p4y-card-bg3: #eef8ee;
  --p4y-border: #e7ded0;
  --p4y-text: #1a222d;
  --p4y-muted: #486581;
}

body.woocommerce-cart, body.woocommerce-checkout {
  background-color: var(--p4y-bg) !important;
}

.p4y-page-wrapper {
  width: 100%;
  background-color: var(--p4y-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--p4y-text);
  line-height: 1.5;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* ========================================================
   NAVBAR (FIXED CLICKABLE WITH HIGH Z-INDEX & POINTER-EVENTS)
   ======================================================== */
.p4y-navbar {
  position: relative !important;
  z-index: 999999 !important;
  width: 100%;
  padding: 18px 24px;
  background-color: var(--p4y-bg);
  border-bottom: 1px solid #ebdcd2;
  pointer-events: auto !important;
}

.p4y-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 999999 !important;
  pointer-events: auto !important;
}

.p4y-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 999999 !important;
}

.p4y-logo-icon { font-size: 32px; }

.p4y-logo-text {
  display: flex;
  flex-direction: column;
}

.p4y-brand-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--p4y-primary);
  line-height: 1;
}

.p4y-brand-accent { color: var(--p4y-teal); }

.p4y-brand-tagline {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #607d8b;
  font-weight: 700;
}

.p4y-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 999999 !important;
  pointer-events: auto !important;
}

.p4y-nav-item {
  display: inline-block;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 600;
  color: #334e68 !important;
  position: relative;
  cursor: pointer !important;
  pointer-events: auto !important;
  padding: 6px 4px;
  transition: color 0.2s ease;
}

.p4y-nav-item:hover, .p4y-nav-item.active {
  color: var(--p4y-teal) !important;
}

.p4y-nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--p4y-teal);
  border-radius: 2px;
}

.p4y-nav-cta {
  position: relative;
  z-index: 999999 !important;
  pointer-events: auto !important;
}

/* Global Buttons */
.p4y-btn-teal {
  background-color: var(--p4y-teal) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 30px;
  padding: 12px 24px;
  border: none;
  cursor: pointer !important;
  pointer-events: auto !important;
  box-shadow: 0 4px 14px rgba(13, 130, 138, 0.25);
  transition: all 0.2s ease;
}

.p4y-btn-teal:hover {
  background-color: var(--p4y-teal-hover) !important;
  transform: translateY(-2px);
}

.p4y-btn-outline {
  border: 2px solid var(--p4y-primary) !important;
  background: transparent !important;
  color: var(--p4y-primary) !important;
  text-decoration: none !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 30px;
  padding: 12px 24px;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: all 0.2s ease;
}

.p4y-btn-outline:hover {
  background: #e4edf3 !important;
  transform: translateY(-2px);
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.p4y-hero-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 24px;
  position: relative;
  z-index: 10;
}

.p4y-hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.p4y-hero-left { flex: 1.1; }

.p4y-hero-title {
  font-size: 56px;
  line-height: 1.12;
  font-weight: 900;
  color: var(--p4y-primary);
  margin: 0 0 16px 0;
}

.p4y-highlight-teal { color: var(--p4y-teal); }

.p4y-hero-desc {
  font-size: 18px;
  color: var(--p4y-muted);
  max-width: 480px;
  margin: 0 0 30px 0;
}

.p4y-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.p4y-visual-stage {
  position: relative;
  width: 440px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p4y-video-arch {
  width: 380px;
  height: 430px;
  border-radius: 200px 200px 140px 140px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(12, 74, 96, 0.16);
  border: 7px solid #ffffff;
  background-color: #f0e6d6;
  position: relative;
  z-index: 2;
}

.p4y-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p4y-float-piece {
  position: absolute;
  font-size: 36px;
  z-index: 3;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
}

.p4y-p-tl { top: 40px; left: -10px; transform: rotate(-15deg); }
.p4y-p-tr { top: 70px; right: -8px; transform: rotate(20deg); }
.p4y-p-bl { bottom: 130px; left: -20px; transform: rotate(10deg); }
.p4y-p-br { bottom: 110px; right: -15px; transform: rotate(-25deg); }

/* Feature Strip */
.p4y-strip-section {
  max-width: 1280px;
  margin: 0 auto 50px auto;
  padding: 0 24px;
}

.p4y-strip-container {
  background-color: #f1f8f9;
  border-radius: 50px;
  padding: 16px 36px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: 1px solid #d8ecef;
}

.p4y-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--p4y-primary);
}

.p4y-strip-divider {
  width: 1px;
  height: 24px;
  background: #cfe1e5;
}

/* Steps Section */
.p4y-bottom-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 60px 24px;
}

.p4y-section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--p4y-primary);
  margin: 0 0 24px 0;
}

.p4y-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 20px;
}

.p4y-step-card {
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.p4y-card-step1 { background-color: var(--p4y-card-bg1); }
.p4y-card-step2 { background-color: var(--p4y-card-bg2); }
.p4y-card-step3 { background-color: var(--p4y-card-bg3); }

.p4y-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 12px;
}

.p4y-badge-1 { background-color: var(--p4y-teal); }
.p4y-badge-2 { background-color: #f2aa3b; }
.p4y-badge-3 { background-color: #5ea85f; }
.p4y-card-title { font-size: 18px; font-weight: 800; color: var(--p4y-primary); margin: 0 0 8px 0; }
.p4y-card-text { font-size: 13px; color: var(--p4y-muted); margin: 0 0 16px 0; flex-grow: 1; }

.p4y-did-you-know-card {
  background-color: #fff8f4;
  border-radius: 18px;
  padding: 24px 20px;
  border: 1.5px solid #fce8dd;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p4y-dyk-heading { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: #d96f43; }
.p4y-dyk-item { display: flex; gap: 12px; align-items: flex-start; }
.p4y-dyk-item p { margin: 0; font-size: 12.5px; color: var(--p4y-muted); }

/* ========================================================
   SINGLE PRODUCT PAGE STYLING
   ======================================================== */
.p4y-product-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.p4y-product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.p4y-main-product-img {
  width: 100%;
  border-radius: 20px;
  border: 5px solid #ffffff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  object-fit: cover;
}

.p4y-product-info h1 {
  font-size: 36px;
  color: var(--p4y-primary);
  font-weight: 800;
  margin: 0 0 10px 0;
}

.p4y-price-tag {
  font-size: 26px;
  color: var(--p4y-teal);
  font-weight: 800;
  margin-bottom: 20px;
}

.p4y-wc-upload-container {
  background: #ffffff;
  border: 2px dashed #b8d9dc;
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
}

.p4y-field-label { display: block; margin-bottom: 8px; color: var(--p4y-primary); font-size: 14px; }
.p4y-file-input, .p4y-text-input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d3e2e5;
  box-sizing: border-box;
}

.p4y-preview-box {
  margin-top: 18px;
  background: #f7fafb;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

.preview-title { font-size: 13px; font-weight: 700; color: var(--p4y-teal); margin-bottom: 10px; }
.preview-frame {
  position: relative;
  display: inline-block;
  border: 4px solid #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.preview-frame img { max-width: 220px; display: block; }
.preview-puzzle-grid {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(255,255,255,0.7);
  pointer-events: none;
}

/* ========================================================
   ABOUT US PAGE STYLING
   ======================================================== */
.p4y-about-container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 24px;
}

.p4y-about-hero {
  text-align: center;
  margin-bottom: 50px;
}

.p4y-about-hero h1 {
  font-size: 44px;
  color: var(--p4y-primary);
  font-weight: 900;
  margin: 0 0 16px 0;
}

.p4y-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.p4y-about-box {
  background: #ffffff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.p4y-about-box h3 {
  font-size: 22px;
  color: var(--p4y-teal);
  margin-top: 0;
}

/* Footer */
.p4y-footer {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: #829ab1;
  border-top: 1px solid #ebdcd2;
  background-color: var(--p4y-bg);
}

/* Responsive */
@media (max-width: 860px) {
  .p4y-hero-grid, .p4y-product-container, .p4y-about-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
  }
  .p4y-bottom-grid { grid-template-columns: 1fr; }
  .p4y-nav-links {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
  }
  .p4y-nav-container {
    flex-direction: column;
    gap: 14px;
  }
  .p4y-hero-title { font-size: 36px; }
  .p4y-strip-container { flex-direction: column; gap: 16px; border-radius: 20px; }
  .p4y-strip-divider { display: none; }
}
