/* Common Product Page Styles */
/* Used across Greeting Cards, Postcards, and Giclée printing pages */

/* Hero Product Section */
.product-hero {
  padding: 3rem 2rem;
  background: var(--brand-white);
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-showcase {
  position: sticky;
  top: 100px;
}

.product-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.product-info h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--brand-dark);
  font-weight: 500;
}

/* Plasma Effect Title - Animated Gradient Text */
.plasma-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  background: linear-gradient(135deg, #924eff 0%, #ff269e 50%, #924eff 100%);
  background-size: 200% 200%;
  animation: gradientShift 20s ease infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-dark);
}

.plasma-subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.product-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.paper-quick-select {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.paper-btn {
  padding: 0.75rem 1rem;
  background: var(--brand-white);
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  color: var(--brand-dark);
  text-decoration: none;
}

.paper-btn:hover {
  border-color: var(--brand-pink);
  background: #fff5f7;
  color: var(--brand-pink);
  transform: translateY(-2px);
}

.sample-pack-cta {
  background: linear-gradient(135deg, rgba(255, 38, 158, 0.05), rgba(146, 78, 255, 0.05));
  border: 2px solid rgba(255, 38, 158, 0.2);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 2rem;
}

.sample-pack-cta h3 {
  margin: 0 0 0.5rem 0;
  color: var(--brand-dark);
  font-size: 1.1rem;
}

.sample-pack-cta p {
  margin: 0 0 1rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--brand-pink);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--brand-purple);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--text-muted);
}

.btn-secondary:hover {
  background: var(--brand-dark);
}

/* Calculator Section */
.calculator-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.calculator-section h2 {
  color: var(--brand-dark);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
}

.calculator-explanation {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.6;
}

.card-calculator-container {
  font-family: inherit;
}

/* Design Items */
.design-entry,
.design-item {
  background: var(--brand-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.design-entry:hover,
.design-item:hover {
  border-color: var(--brand-pink);
}

.design-controls {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.input-field {
  display: flex;
  flex-direction: column;
}

.input-field label {
  font-weight: 600;
  color: var(--brand-dark);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.input-field input[type="text"],
.input-field select {
  padding: 10px;
  border: 2px solid var(--border-light);
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  background: var(--brand-white);
  transition: border-color 0.3s ease;
}

.input-field input[type="text"]:focus,
.input-field select:focus {
  border-color: var(--brand-pink);
  outline: none;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  border: 2px solid var(--border-light);
  background: var(--brand-white);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 6px;
  font-weight: 600;
  color: var(--brand-dark);
}

.quantity-btn:hover:not(:disabled) {
  background: var(--brand-pink);
  border-color: var(--brand-pink);
  color: white;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-input {
  width: 80px;
  text-align: center;
  padding: 10px;
  border: 2px solid var(--border-light);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: var(--brand-white);
  transition: all 0.3s ease;
}

.quantity-input:focus {
  border-color: var(--brand-pink);
  outline: none;
}

.help-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

.checkbox-group {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand-pink);
}

.checkbox-item label {
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--brand-dark);
  margin: 0;
  font-weight: normal;
  user-select: none;
}

.delete-design {
  padding: 10px 16px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: inherit;
  align-self: end;
}

.delete-design:hover {
  background: #cc3333;
  transform: translateY(-1px);
}

.calc-button {
  background: var(--brand-pink);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.calc-button:hover {
  background: var(--brand-purple);
  transform: translateY(-1px);
}

.calc-button.secondary {
  background: var(--text-muted);
}

.calc-button.secondary:hover {
  background: var(--brand-dark);
}

.delivery-section {
  margin: 1.5rem 0;
}

.pricing-summary {
  background: var(--brand-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.summary-title {
  font-size: 1.2rem;
  color: var(--brand-dark);
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.summary-row.total {
  border-top: 2px solid var(--brand-dark);
  border-bottom: none;
  padding-top: 1rem;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.delivery-info {
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.btn-cta {
  display: block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, var(--brand-pink), var(--brand-purple));
  color: white;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(146, 78, 255, 0.3);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--brand-dark);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Paper Options - Parallax Section */
.section {
  padding: 4rem 2rem;
}

.section-alt {
  background: var(--brand-light);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.parallax-container {
  position: relative;
  height: 400px;
  background-image: url('../images/Sixprint_Trees.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  margin-bottom: 3rem;
}

.parallax-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.parallax-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 50px 30px;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
}

.parallax-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 500;
}

.parallax-content p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Paper Rows */
.sidebyside-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.paper-row {
  display: flex;
  background: var(--brand-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
  scroll-margin-top: calc(var(--nav-height) + 2rem);
}

.paper-row:nth-child(even) {
  flex-direction: row-reverse;
}

.paper-row-image {
  flex: 1;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.paper-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.paper-row-image .texture-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.paper-row-image:hover .texture-image {
  opacity: 1;
}

.paper-row-image:hover img {
  transform: scale(1.05);
}

.paper-row-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.paper-row-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  color: var(--brand-pink);
  font-weight: 600;
}

.paper-row-content h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.paper-row-content p {
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.paper-properties {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.paper-property {
  text-align: center;
  background: var(--brand-light);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  min-width: 80px;
}

.property-value {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--brand-dark);
  display: block;
}

.property-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
  display: block;
}

.property-badge {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--brand-dark);
}

.best-for {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.best-for span {
  background: linear-gradient(135deg, rgba(255, 38, 158, 0.1), rgba(146, 78, 255, 0.1));
  color: var(--brand-pink);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255, 38, 158, 0.2);
}

.eco-badge {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.1), rgba(16, 185, 129, 0.1));
  color: #10B981;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid rgba(16, 185, 129, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.surcharge-note {
  display: inline-block;
  background: linear-gradient(135deg, #ff9800, #f57c00);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
}

/* Order Steps */
.order-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.order-step {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--brand-pink), var(--brand-purple));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 1rem;
}

.order-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--brand-dark);
}

.order-step p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .product-showcase {
    position: static;
  }

  .calculator-section {
    padding: 2rem 1rem;
  }

  .paper-row {
    flex-direction: column !important;
  }

  .paper-row-image {
    min-height: 200px;
  }

  .paper-properties {
    justify-content: center;
  }

  .parallax-container {
    height: 300px;
    background-attachment: scroll;
  }

  .parallax-content {
    padding: 20px;
    margin: 0 15px;
  }

  .sidebyside-layout {
    padding: 2rem 1rem;
  }

  .paper-row-content {
    padding: 1.5rem;
  }

  .design-controls {
    grid-template-columns: 1fr !important;
  }

  .delete-design {
    width: 100%;
    margin-top: 1rem;
  }

  .checkbox-group {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* VAT Toggle Switch */
.vat-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}

.vat-toggle-text {
  order: 1;
}

.vat-toggle-label input[type="checkbox"] {
  display: none;
}

.vat-toggle-slider {
  order: 2;
  position: relative;
  width: 48px;
  height: 24px;
  background-color: #ccc;
  border-radius: 24px;
  transition: background-color 0.3s ease;
  border: 1px solid #999;
}

.vat-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: white;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.vat-toggle-label input[type="checkbox"]:checked + .vat-toggle-slider {
  background-color: var(--brand-purple);
  border-color: var(--brand-purple);
}

.vat-toggle-label input[type="checkbox"]:checked + .vat-toggle-slider::before {
  transform: translateX(24px);
}

.vat-toggle-label:hover .vat-toggle-slider {
  opacity: 0.9;
}
