/* ============================================
   CUSTOM QUANTITY CONTROL - NO SPINNERS
   ============================================ */

.qty-wrapper-reorganized {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-label {
  font-size: 14px;
  color: #7A7A76;
  white-space: nowrap;
}

/* Custom quantity box */
.custom-quantity {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 40px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

/* Minus button */
.qty-btn.qty-minus {
  width: 36px;
  height: 40px;
  background: #f8f8f8;
  border: none;
  border-right: 1px solid #e5e5e5;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: #4A4A47;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Plus button */
.qty-btn.qty-plus {
  width: 36px;
  height: 40px;
  background: #f8f8f8;
  border: none;
  border-left: 1px solid #e5e5e5;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: #4A4A47;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qty-btn:hover {
  background: #e8e8e8;
}

/* Number input - hide spinners */
.qty-input {
  width: 50px;
  height: 40px;
  text-align: center;
  border: none;
  font-size: 15px;
  font-weight: 500;
  padding: 0;
  margin: 0;
  background: #fff;
  font-family: inherit;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Hide spinners for Chrome/Safari/Edge */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
  display: none;
}

/* Hide spinners for Firefox */
.qty-input[type=number] {
  -moz-appearance: textfield;
}

/* ============================================
   REST OF CSS (keep everything else the same)
   ============================================ */

/* Product Tabs Container */
.product-tabs-container {
  max-width: 1200px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  overflow: hidden;
}

/* Tab Navigation */
.product-tabs-nav {
  display: flex;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.product-tab-btn {
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  user-select: none;
}

.product-tab-btn:hover {
  color: #333;
}

.product-tab-btn.active {
  color: #333;
  border-bottom-color: #6B9E1F;
}

/* Tab Content */
.product-tab-content {
  padding: 24px;
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.active {
  display: block;
}

/* Description Tab - Two Column Bullet Points */
.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin: 0;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  padding: 8px 0;
}

.feature-bullet {
  width: 6px;
  height: 6px;
  background: #6B9E1F;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* Specification Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.specs-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 14px 16px;
  vertical-align: top;
}

.specs-table td:first-child {
  color: #666;
  width: 45%;
  font-weight: 400;
}

.specs-table td:last-child {
  color: #333;
  font-weight: 500;
}

/* Hide original parameter sections */
.detail-parameters[data-original-params="true"],
.product-top,
.p-detail-inner-header {
  display: none !important;
}

/* ============================================
   LAYOUT REORGANIZATION
   ============================================ */

/* Main Layout Container */
.product-layout-reorganized {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Two Column Layout */
.product-main-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
  align-items: start;
}

/* Left Column - Image */
.product-left-col {
  width: 100%;
}

.product-left-col .p-image-wrapper {
  margin: 0;
  width: 100%;
}

.product-left-col .p-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-left-col .p-image img,
.product-left-col .p-main-image img {
  max-width: 100%;
  height: auto;
  width: 100%;
  object-fit: contain;
}

/* Right Column - Product Info */
.product-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-right-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Product Title */
.product-title-reorganized {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  line-height: 1.2;
  color: #1C1C1A;
  margin: 0;
  font-weight: 400;
}

/* Price Block */
.price-block-reorganized {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  padding: 20px;
}

.price-main-reorganized {
  font-size: 36px;
  font-weight: 300;
  color: #1C1C1A;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.price-main-reorganized .calculated-price {
  font-weight: 500;
}

.price-vat-reorganized {
  font-size: 13px;
  color: #7A7A76;
}

.price-vat-reorganized .calculated-price {
  font-weight: 400;
}

/* Cart Block */
.cart-block-reorganized {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Add to Cart Button */
.btn-add-cart-reorganized {
  width: 100%;
  background: #6B9E1F;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}

.btn-add-cart-reorganized:hover {
  background: #4a7010;
}

/* Tabs Section - Centered Below */
.product-tabs-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Ensure our tabs container is centered when in the section */
.product-tabs-section .product-tabs-container {
  margin: 0 auto;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .product-main-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .product-left-col .p-image img,
  .product-left-col .p-main-image img {
    max-width: 80%;
    margin: 0 auto;
  }
  
  .features-list {
    grid-template-columns: 1fr;
  }
  
  .product-title-reorganized {
    font-size: 22px;
  }
  
  .price-main-reorganized {
    font-size: 28px;
  }
  
  .product-tab-btn {
    padding: 14px 16px;
    font-size: 13px;
  }
  
  .specs-table td {
    padding: 12px;
  }
  
  .specs-table td:first-child {
    width: 50%;
  }
  
  .product-tabs-section {
    padding: 20px 10px;
  }
  
  .custom-quantity,
  .qty-btn.qty-minus,
  .qty-btn.qty-plus,
  .qty-input {
    height: 36px;
    line-height: 36px;
  }
  
  .qty-btn.qty-minus,
  .qty-btn.qty-plus {
    width: 32px;
  }
}