/* ============================================
   DURIBLE3D — Vessera-inspired minimal theme
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #3b3b3b;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- HEADER ---- */

.site-header {
  padding: 40px 24px 20px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.logo-link {
  display: inline-block;
}

.logo-img {
  display: block;
  width: 160px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #3b3b3b;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #000000;
}

/* ---- HERO ---- */

.hero {
  padding: 60px 24px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  border-top: 4px solid #3b3b3b;
  border-bottom: 4px solid #3b3b3b;
  padding: 42px 0;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero p {
  font-size: 15px;
  color: #3b3b3b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- PRODUCT SECTION ---- */

.product-section {
  padding: 60px 0 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.product-card {
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 12px 0;
}

.product-info h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 21px;
  font-weight: 400;
  color: #000000;
  margin-bottom: 4px;
}

.product-price {
  font-size: 15px;
  font-weight: 500;
  color: #000000;
}

.product-shipping {
  font-size: 13px;
  color: #888;
  margin-top: 2px;
}

.product-details {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.product-details h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 16px;
}

.product-details ul {
  list-style: disc;
  text-align: left;
  display: inline-block;
  padding-left: 20px;
}

.product-details li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #3b3b3b;
}

/* ---- PRODUCT HERO (single product page) ---- */

.product-hero {
  padding: 40px 0 60px;
  border-top: 4px solid #3b3b3b;
  border-bottom: 4px solid #3b3b3b;
  margin: 0 24px;
}

.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-hero-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
}

.product-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-info .back-link {
  display: inline-block;
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.2s;
}

.product-hero-info .back-link:hover {
  color: #000;
}

.product-hero-info h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 16px;
}

.product-price-lg {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #000;
  margin-bottom: 16px;
}

.product-price-lg span {
  font-size: 16px;
  font-weight: 400;
  color: #888;
}

.product-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #3b3b3b;
  max-width: 520px;
}

/* ---- ORDER SECTION ---- */

.order-section {
  padding: 60px 0;
  background: #fafafa;
}

.order-header {
  text-align: center;
  margin-bottom: 32px;
}

.order-header h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.order-header p {
  font-size: 15px;
  color: #3b3b3b;
}

.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 40px 32px;
}

.order-form .form-row {
  margin-bottom: 22px;
}

.order-form label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  margin-bottom: 8px;
}

.order-form .req {
  color: #c0392b;
}

.order-form input[type="text"],
.order-form input[type="email"],
.order-form input[type="tel"],
.order-form select,
.order-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #000;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: #000;
}

.order-form textarea {
  resize: vertical;
  min-height: 70px;
}

.order-form small {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}

.checkbox-group,
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.chk,
.rdo {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  font-family: 'Roboto', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #3b3b3b !important;
  margin-bottom: 0 !important;
  cursor: pointer;
}

.chk input,
.rdo input {
  accent-color: #000;
  cursor: pointer;
}

.file-input {
  display: block;
  width: 100%;
  padding: 10px;
  background: #fafafa;
  border: 1px dashed #c0c0c0;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  cursor: pointer;
}

.mt-8 {
  margin-top: 8px;
}

.items-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 22px;
}

.item-card {
  border: 2px solid #000;
  background: #ffffff;
  padding: 24px 22px 10px;
  position: relative;
}

.item-card-header {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #ffffff;
  background: #000000;
  display: inline-block;
  padding: 6px 14px;
  margin: -34px 0 18px -12px;
}

.item-card .form-row {
  margin-bottom: 18px;
}

.item-card .form-row:last-child {
  margin-bottom: 8px;
}

.total-box {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  padding: 18px 20px;
  margin: 28px 0;
}

.total-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #3b3b3b;
  padding: 4px 0;
}

.total-grand {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  border-top: 1px solid #d0d0d0;
  margin-top: 6px;
  padding-top: 10px;
}

.submit-btn {
  width: 100%;
  padding: 18px 24px;
  background: #000;
  color: #fff;
  border: none;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-btn:hover:not(:disabled) {
  background: #c6a96a;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  margin-top: 20px;
  padding: 14px 18px;
  font-size: 14px;
  display: none;
}

.form-message.success {
  display: block;
  background: #e8f5e8;
  border-left: 4px solid #2e7d32;
  color: #1b5e20;
}

.form-message.error {
  display: block;
  background: #fde8e8;
  border-left: 4px solid #c0392b;
  color: #7b1e1e;
}

/* ---- PRICING SECTION ---- */

.pricing-section {
  padding: 60px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  border: 2px solid #e0e0e0;
  padding: 40px 32px;
  text-align: center;
  transition: border-color 0.2s;
}

.pricing-card:hover {
  border-color: #3b3b3b;
}

.pricing-card.featured {
  border-color: #000000;
  background: #000000;
  color: #ffffff;
}

.pricing-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.price-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #000000;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card.featured .price-tag {
  color: #c6a96a;
}

.pricing-card > p {
  font-size: 13px;
  margin-bottom: 20px;
  opacity: 0.7;
}

.pricing-card ul {
  text-align: left;
  list-style: none;
}

.pricing-card li {
  font-size: 14px;
  padding: 6px 0;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.pricing-card li:last-child {
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

/* ---- FOOTER ---- */

.site-footer {
  background: #000000;
  color: #ffffff;
  padding: 60px 24px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col nav a {
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-col nav a:hover {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.social-links a {
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.social-links a:hover {
  opacity: 1;
}

.deadline {
  margin-top: 12px;
  font-weight: 500;
  color: #c6a96a;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  opacity: 0.5;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .main-nav {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-inner {
    padding: 28px 16px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    width: 130px;
  }

  .main-nav {
    gap: 14px;
    font-size: 14px;
  }
}
