
/* Mobile Layout Container */
@media screen and (max-width: 1339px) {
  .panel-row-style {
    display: flex;
    flex-wrap: wrap !important;
    -ms-flex-wrap: wrap !important;
    justify-content: space-between;
    -ms-justify-content: space-between;
    flex-shrink: 0;
  }
  .product-info-wrapper,
  .product-wrapper,
  .product-info,
  .order-details {
    width: 100% !important;
  }
  .order-details {
    margin: 15px 0 !important;
  }
}



/* Product Layout  */
.product-main-title {
  padding: 0;
}
.product-section-title {
  padding: 23px;
  padding-bottom: 0;
}
.product-section-title .widget-title {
  margin-bottom: 0;
}
.product-section-content {
  padding: 23px;
}


/* Left Panel */
.product-left-panel {
  padding-top: 0 !important;
  width: 894px;
}

.product-left-panel h2 {
  padding: 20px 30px;
  background: #505050 !important;
  font-size: 2em;
}

.product-left-panel .gallery {
  float: left;
  width: 400px;
}
/* Additional adjustments for smaller phones */
@media screen and (max-width: 400px) {
  .product-left-panel .gallery {
    margin-left: -15px;
  }
}

.product-left-panel .product-primary-content {
  float: left;
  width: 434px;
  min-height: 300px;
  padding-top: 15px;
  padding-left: 30px;
}
@media screen and (max-width: 1339px) {
  .product-left-panel .product-primary-content {
    width: 100%;
    padding-top: 0px;
    padding-left: 0px;
  }
}

.product-left-panel .product-primary-content p {
  line-height: 2;
  font-size: 1.1em;
}

  .product-left-panel .product-primary-content button {
    float: right;
  }





/* Right Panel */
.product-right-panel {
  position: relative;
  width: 350px;
  min-height: 460px;
}

.product-right-panel.order-details h3 {
  margin-bottom: 0;
}
.product-right-panel.order-details p {
  margin-bottom: 5px;
}
.product-right-panel.order-details .quantity {
  width: 100px;
}

.product-right-panel table th {
  background: #7d7e80;
  color: #ffffff;
  font-size: 1.2em;
}

.product-right-panel .no-stock {
  margin-top: 10px;
  display: inline-block;
}
.product-right-panel .no-stock .textwidget {
  background: #e7e7e8;
  padding: 30px 15px;
  text-align: center;
}
.product-right-panel .no-stock .widget-title {
  color: #cd0a0a;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
}

.product-right-panel.programme p {
  margin-bottom: 20px;
  line-height: 2;
  font-size: 1.1em;
}

@media screen and (min-width: 700px) {
  .product-right-panel button {
    position: absolute;
    bottom: 20px;
    right: 30px;
  }
}





/* Key Features Table */
.product-key-features > tbody > tr:nth-child(even) td,
.product-key-features-even td {
  background-color: #c6c6c6;
}
.product-key-features > tbody > tr:nth-child(odd) td,
.product-key-features-odd td {
  background-color: #ffffff;
}
.product-key-features-sorting {
  border-top: 1px solid #c6c6c6;
  border-bottom: 1px solid #c6c6c6;
}


/* Pricing Table */
.product-pricing {
  border-bottom: 1px solid #797979;
}
.product-pricing th,
.product-pricing td {
  text-align: center;
}

input.quantity {
  width: 78px;
  text-align: right;
  padding: 5px !important;
}


/* Render PDF */
.render_pdf {
  height: calc(100vw / 1.7 + 40px); /* Aspect ratio to match width */
  max-height: 800px;
  min-height: 200px;
}