:root {
  --primary-color: #8b2640;
  --secondary-color: #d4a574;
  --accent-color: #ff6b35;
  --text-color: #333;
  --light-bg: #f8f9fa;
  --dark-bg: #2c2c2c;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

/* Navigation */
.navbar {
  background-color: var(--dark-bg);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-brand h1 {
  color: var(--white);
  font-size: 28px;
  margin: 0;
  font-weight: 300;
  letter-spacing: 2px;
}

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

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-color);
  background-color: rgba(255,255,255,0.1);
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.section-header p {
  font-size: 18px;
  color: #666;
  margin: 0;
}

/* Gallery */
.gallery-section {
  padding-bottom: 4rem;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Orange Price Tag */
.price-tag {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
  z-index: 10;
}

.price-tag::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 8px 8px 0;
  border-style: solid;
  border-color: transparent var(--accent-color) transparent transparent;
}

.gallery-item-info {
  padding: 1rem;
  text-align: center;
}

.gallery-item-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 18px;
  color: var(--text-color);
  font-weight: 500;
}

.gallery-item-info .view-details {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.gallery-item-info .view-details:hover {
  color: var(--accent-color);
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--white);
  text-align: center;
  padding: 2rem;
  margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
}

/* Lazy Loading */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Painting Overlay */
.painting-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
}

/* Form Row for side-by-side inputs */
.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

.order-overlay {
  color: rgba(128, 128, 128, 0.8);
  font-size: 48px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.sold-overlay {
  color: rgba(220, 53, 69, 0.9);
  font-size: 48px;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

.wip-overlay {
  color: rgba(255, 193, 7, 0.9);
  font-size: 48px;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

/* Sold Section */
.sold-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--secondary-color);
}

.sold-section .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.sold-section .section-header h2 {
  margin: 0 0 1rem 0;
  text-align: center;
}

.sold-section .toggle-link-container {
  text-align: center;
}

.sold-section .section-header .toggle-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.sold-section .section-header .toggle-link:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Work in Progress Section */
.wip-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--secondary-color);
}

.wip-section .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.wip-section .section-header h2 {
  margin: 0 0 1rem 0;
  text-align: center;
}

.wip-section .toggle-link-container {
  text-align: center;
}

.wip-section .section-header .toggle-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.wip-section .section-header .toggle-link:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Painting Detail Page */
.breadcrumb {
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 16px;
}

.breadcrumb a:hover {
  color: var(--accent-color);
}

.painting-detail-section {
  padding: 2rem 0 4rem;
}

.painting-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.painting-images {
  position: sticky;
  top: 100px;
}

.main-image {
  background: var(--white);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.main-image img {
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
}

.gallery-thumb {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.painting-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.painting-title {
  font-size: 36px;
  color: var(--primary-color);
  margin: 0 0 1rem 0;
  font-weight: 300;
}

.painting-price {
  font-size: 32px;
  color: var(--accent-color);
  font-weight: bold;
  margin-bottom: 2rem;
}

.painting-attributes {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.attribute {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f5f5f5;
}

.attribute:last-child {
  border-bottom: none;
}

.attribute-label {
  font-weight: 500;
  color: #666;
}

.attribute-value {
  color: var(--text-color);
  font-weight: 500;
}

.attribute-value.available {
  color: #28a745;
}

.attribute-value.sold {
  color: #dc3545;
}

.painting-description {
  margin-bottom: 2rem;
}

.painting-description h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.painting-description p {
  line-height: 1.8;
  color: #555;
}

.painting-tags {
  margin-bottom: 2rem;
}

.painting-tags h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.painting-tags p {
  line-height: 1.8;
  color: #555;
}

.painting-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  flex: 1;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #6b1f32;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 38, 64, 0.4);
}

.btn-large {
  width: 100%;
  padding: 1.25rem;
  font-size: 18px;
}

.btn-disabled {
  background-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

.btn-disabled:hover {
  background-color: #ccc !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--accent-color);
}

.modal-content h2 {
  color: var(--primary-color);
  margin-top: 0;
  font-weight: 300;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.payment-methods {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.payment-methods h3 {
  margin-top: 0;
  color: var(--primary-color);
  font-weight: 500;
}

.payment-option {
  margin: 1rem 0;
  padding: 1rem;
  background: var(--white);
  border-radius: 6px;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option:hover {
  border-color: var(--accent-color);
}

.payment-option input[type="radio"] {
  margin-right: 1rem;
}

.payment-option label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}

.paypal-logo {
  height: 30px;
  margin-right: 1rem;
}

.loading,
.error {
  text-align: center;
  padding: 3rem;
  font-size: 18px;
  color: #666;
}

.error {
  color: var(--accent-color);
}

/* Responsive Design for Detail Page */
@media (max-width: 900px) {
  .painting-detail-container {
    grid-template-columns: 1fr;
  }
  
  .painting-images {
    position: static;
  }
  
  .main-image img {
    max-width: 100%;
  }
}

/* About Page */
.about-section {
  padding: 2rem 0 4rem;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.about-image {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.about-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-bio,
.about-philosophy,
.about-technique,
.about-commissions {
  margin-bottom: 2rem;
}

.about-bio h3,
.about-philosophy h3,
.about-technique h3,
.about-commissions h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.about-content p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
}

.about-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.about-content a:hover {
  color: var(--accent-color);
}

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

.stat-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.stat-label {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .stat-label {
    font-size: 14px;
  }
}

/* Home Page */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 2rem 1rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-weight: 100;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-content .btn {
  background: var(--white);
  color: var(--primary-color);
}

.hero-content .btn:hover {
  background: #f0f0f0;
  color: var(--accent-color);
}

.featured-section {
  padding: 2rem 2rem;
  background: var(--white);
}

.featured-gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.featured-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.featured-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.featured-item:hover img {
  transform: scale(1.05);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem 1rem 1rem;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-item:hover .featured-overlay {
  opacity: 1;
}

.featured-overlay h3 {
  margin: 0 0 0.5rem 0;
  font-size: 20px;
}

.featured-price {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.featured-overlay .btn {
  padding: 0.5rem 1.5rem;
  font-size: 14px;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

.about-preview-section {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.about-preview {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-preview-text p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
  font-size: 18px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .featured-gallery-container {
    grid-template-columns: 1fr;
  }
  
  .about-preview-text p {
    font-size: 16px;
  }
}

/* Contact Page */
.contact-section {
  padding: 2rem 0 4rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.contact-info > p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f5f5f5;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item strong {
  display: block;
  color: #666;
  margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item span {
  color: var(--text-color);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--accent-color);
}

.contact-social h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-social > p {
  color: #666;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.social-link:hover {
  background: var(--accent-color);
}

.contact-form-container {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .social-links {
    flex-wrap: wrap;
  }
}

/* Shipping Page */
.shipping-section {
  padding: 2rem 0 4rem;
}

.shipping-calculator {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto 3rem;
}

.shipping-calculator h3 {
  color: var(--primary-color);
  margin: 0 0 0.25rem 0;
  font-weight: 500;
  font-size: 24px;
}

.calculator-subtitle {
  color: #666;
  margin: 0 0 2rem 0;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-row {
  display: flex;
  gap: 1.5rem;
}

.calc-field {
  flex: 1;
}

.calc-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.calc-field select,
.calc-field input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: var(--white);
}

.calc-field select:focus,
.calc-field input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.insurance-toggle {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 500;
}

.toggle-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color);
}

.estimate-result {
  margin-top: 2rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

.estimate-result h4 {
  color: var(--primary-color);
  margin: 0 0 1.5rem 0;
  font-size: 20px;
}

.estimate-breakdown {
  margin-bottom: 1rem;
}

.estimate-line {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 16px;
}

.estimate-line:last-child {
  border-bottom: none;
}

.estimate-total {
  font-weight: bold;
  font-size: 20px;
  color: var(--accent-color);
  border-top: 2px solid var(--accent-color);
  border-bottom: none;
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.estimate-delivery {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: 6px;
  font-size: 16px;
}

.estimate-note {
  margin-top: 1rem;
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

/* Rates Table */
.shipping-rates-section {
  margin-bottom: 3rem;
}

.shipping-rates-section h3 {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  margin-bottom: 0.5rem;
}

.shipping-rates-section > p {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}

.rates-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 15px;
}

.rates-table thead {
  background: var(--dark-bg);
  color: var(--white);
}

.rates-table th {
  padding: 1rem;
  text-align: center;
  font-weight: 500;
}

.rates-table th:first-child {
  text-align: left;
}

.th-sub {
  font-size: 12px;
  font-weight: 300;
  opacity: 0.8;
}

.rates-table td {
  padding: 0.85rem 1rem;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.rates-table td:first-child {
  text-align: left;
}

.rates-table tbody tr:hover {
  background: #fdf6f0;
}

.rates-table tbody tr:last-child td {
  border-bottom: none;
}

.table-note {
  text-align: center;
  font-size: 14px;
  color: #888;
  margin-top: 1rem;
}

/* Carriers Grid */
.shipping-carriers {
  margin-bottom: 3rem;
}

.shipping-carriers h3 {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  margin-bottom: 0.5rem;
}

.shipping-carriers > p {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}

.carriers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.carrier-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.carrier-card:hover {
  transform: translateY(-3px);
}

.carrier-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.carrier-desc {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 14px;
}

.carrier-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.carrier-feature {
  padding: 0.25rem 0.75rem;
  background: #f0e8e4;
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.carriers-note {
  text-align: center;
  font-size: 14px;
  color: #888;
  margin-top: 1.5rem;
}

/* Packaging & Insurance detail cards */
.shipping-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.shipping-detail-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.shipping-detail-card h3 {
  color: var(--primary-color);
  margin: 0 0 1rem 0;
  font-weight: 500;
}

.shipping-detail-card > p {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.detail-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: #555;
  line-height: 1.6;
}

.detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
}

.insurance-recommendation {
  margin-top: 1rem;
  padding: 1rem;
  background: #fdf6f0;
  border-radius: 6px;
  border-left: 3px solid var(--accent-color);
  font-size: 14px;
  color: var(--text-color);
  font-weight: 500;
}

/* How It Works - Process Steps */
.shipping-process {
  margin-bottom: 3rem;
}

.shipping-process h3 {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  margin-bottom: 2rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step {
  text-align: center;
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.process-step h4 {
  color: var(--primary-color);
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}

.process-step p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.process-step a {
  color: var(--primary-color);
  text-decoration: none;
}

.process-step a:hover {
  color: var(--accent-color);
}

/* Customs Info */
.customs-info {
  margin-bottom: 3rem;
}

.customs-info h3 {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  margin-bottom: 2rem;
}

.customs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.customs-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.customs-card h4 {
  color: var(--primary-color);
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}

.customs-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.customs-cert-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 15px;
  color: #555;
}

.customs-cert-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.customs-cert-link a:hover {
  color: var(--accent-color);
}

/* FAQ */
.shipping-faq {
  margin-bottom: 3rem;
}

.shipping-faq h3 {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  margin-bottom: 2rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 0.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--accent-color);
  margin-right: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::before {
  content: '−';
}

.faq-item summary:hover {
  color: var(--accent-color);
}

.faq-item p {
  padding: 0 1.5rem 1.25rem 3rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.faq-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.faq-item a:hover {
  color: var(--accent-color);
}

/* Shipping CTA */
.shipping-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: 12px;
}

.shipping-cta h3 {
  color: var(--white);
  font-size: 28px;
  font-weight: 300;
  margin: 0 0 0.75rem 0;
}

.shipping-cta p {
  margin: 0 0 2rem 0;
  opacity: 0.9;
  font-size: 18px;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.shipping-cta .btn {
  flex: 0 1 auto;
  min-width: 180px;
}

.shipping-cta .btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.shipping-cta .btn-primary:hover {
  background: #f0f0f0;
  color: var(--accent-color);
}

.shipping-cta .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.shipping-cta .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
}

/* Shipping Page Responsive */
@media (max-width: 900px) {
  .shipping-details-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .calc-row {
    flex-direction: column;
    gap: 1rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .carriers-grid {
    grid-template-columns: 1fr;
  }

  .customs-grid {
    grid-template-columns: 1fr;
  }

  .rates-table {
    font-size: 13px;
  }

  .rates-table th,
  .rates-table td {
    padding: 0.6rem 0.5rem;
  }

  .shipping-calculator {
    padding: 1.5rem;
  }
}

/* ============================================
   Certification & Authenticity Page
   ============================================ */
.certification-section {
  padding: 2rem 0 4rem;
}

.cert-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.cert-block {
  margin-bottom: 3rem;
}

.cert-block h3 {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  margin-bottom: 0.25rem;
}

.cert-subtitle {
  text-align: center;
  color: #666;
  margin: 0 0 2rem 0;
  font-size: 16px;
}

.cert-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.cert-detail-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cert-detail-card h4 {
  color: var(--primary-color);
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}

.cert-detail-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.cert-note {
  text-align: center;
  font-size: 14px;
  color: #888;
  margin-top: 1rem;
}

.cert-note a {
  color: var(--primary-color);
  text-decoration: none;
}

.cert-note a:hover {
  color: var(--accent-color);
}

.cert-info-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--accent-color);
}

.cert-info-box h4 {
  color: var(--primary-color);
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}

.cert-info-box p {
  color: #555;
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

.cert-info-box p:last-child {
  margin-bottom: 0;
}

.cert-info-box a {
  color: var(--primary-color);
  text-decoration: none;
}

.cert-info-box a:hover {
  color: var(--accent-color);
}

.cert-intro-text {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #555;
  line-height: 1.7;
}

.cert-checklist {
  padding-left: 1.5rem;
  margin: 1rem 0;
  color: #555;
  line-height: 2;
}

/* Import Requirements Grid */
.import-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.import-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.import-card h4 {
  color: var(--primary-color);
  margin: 0 0 0.5rem 0;
  font-weight: 500;
  font-size: 18px;
}

.import-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 1rem;
}

.import-status-easy {
  background: #e8f5e9;
  color: #2e7d32;
}

.import-status-info {
  background: #fff3e0;
  color: #e65100;
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.tip-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tip-card h4 {
  color: var(--primary-color);
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}

.tip-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.tip-card a {
  color: var(--primary-color);
  text-decoration: none;
}

.tip-card a:hover {
  color: var(--accent-color);
}

/* Certification FAQ (reuses shipping FAQ styles) */
.cert-faq {
  margin-bottom: 3rem;
}

.cert-faq h3 {
  color: var(--primary-color);
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  margin-bottom: 2rem;
}

/* Certification CTA (reuses shipping CTA pattern) */
.cert-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: 12px;
}

.cert-cta h3 {
  color: var(--white);
  font-size: 28px;
  font-weight: 300;
  margin: 0 0 0.75rem 0;
}

.cert-cta p {
  margin: 0 0 2rem 0;
  opacity: 0.9;
  font-size: 18px;
}

.cert-cta .btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.cert-cta .btn-primary:hover {
  background: #f0f0f0;
  color: var(--accent-color);
}

.cert-cta .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cert-cta .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
}

.cert-cta .btn {
  flex: 0 1 auto;
  min-width: 180px;
}

/* Certification Page Responsive */
@media (max-width: 768px) {
  .cert-details-grid {
    grid-template-columns: 1fr;
  }

  .import-grid {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Certificate Modal (Admin) ===== */
.certificate-modal-content {
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
}

.cert-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color);
}

.cert-tab {
  padding: 0.6rem 1.2rem;
  border: none;
  background: var(--light-bg);
  cursor: pointer;
  font-size: 0.95rem;
  border-radius: 6px 6px 0 0;
  transition: background 0.2s;
}

.cert-tab.active {
  background: var(--primary-color);
  color: var(--white);
}

.cert-tab-content {
  display: none;
}

.cert-tab-content.active {
  display: block;
}

.cert-image-preview {
  text-align: center;
  margin-bottom: 1rem;
}

.cert-image-preview img {
  border: 2px solid var(--secondary-color);
  border-radius: 6px;
}

.cert-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.cert-form-grid .form-group {
  margin-bottom: 0;
}

.cert-form-grid input {
  font-size: 0.9rem;
  padding: 0.4rem 0.6rem;
}

/* Copyright registration fields */
.copyright-fields {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.copyright-field-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--light-bg);
  border-radius: 6px;
}

.copyright-label {
  font-weight: bold;
  min-width: 180px;
  font-size: 0.9rem;
}

.copyright-value {
  flex: 1;
  font-size: 0.9rem;
}

.copy-btn {
  background: none;
  border: 1px solid var(--secondary-color);
  border-radius: 4px;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
  transition: background 0.2s;
}

.copy-btn:hover {
  background: var(--secondary-color);
  color: var(--white);
}

.btn-cert {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  margin-left: 0.4rem;
  white-space: nowrap;
}

.btn-cert:hover {
  opacity: 0.85;
}

/* ===== Home Page Search ===== */
.search-section {
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  border: 2px solid var(--secondary-color);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--primary-color);
}

.search-results {
  margin-top: 0.5rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0.8rem;
  text-decoration: none;
  color: var(--text-color);
  border-radius: 6px;
  transition: background 0.15s;
}

.search-result-item:hover {
  background: var(--light-bg);
}

.search-result-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.search-result-info {
  display: flex;
  flex-direction: column;
}

.search-result-info strong {
  font-size: 0.95rem;
}

.search-result-info span {
  font-size: 0.8rem;
  color: #777;
}

.search-no-results {
  text-align: center;
  padding: 1rem;
  color: #999;
}

/* ===== Certification Badge (Painting Detail) ===== */
.cert-badge-container {
  margin: 1rem 0;
}

.cert-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary-color), #a03050);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 6px rgba(139, 38, 64, 0.3);
}

.cert-badge-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 38, 64, 0.4);
}

.cert-badge-icon {
  flex-shrink: 0;
}

.cert-badge-text {
  white-space: nowrap;
}