/* ===============================
   GLOBAL
================================ */

/* ===============================
   PAGE CONTAINERS
================================ */
.emptybackround {
    width: 750px;
    margin: 30px auto 0;
    padding: 20px;
    border-bottom: 2px solid #9ec8fa;
    background-color: #54a6d8;
}

.cart-container {
    width: 750px;
    margin: 0 auto 30px;
    background: #fff;
    border: 1px solid #b5d9f2;
    padding: 20px;
    padding-bottom: 50px;
}
.category{
    color: #222;
   font-weight: 400;
}

/* ===============================
   GRID SYSTEM
================================ */
.row {
    display: flex;
    flex-wrap: wrap;
   
}

.col-md-5,
.col-md-7 {
    padding: 0 12px;
}

/* Desktop columns */
@media (min-width: 769px) {
    .col-md-5 { width: 41.6667%; }
    .col-md-7 { width: 58.3333%; }
}

/* ===============================
   PRODUCT IMAGE
================================ */
.product-image {
  min-height: 300px;
}

.product-image img {
  width: 100%;          /* makes image larger */
  max-width: 420px;     /* control max size */
  height: auto;
  object-fit: contain; /* no stretching */
  display: block;
}

/* ===============================
   PRODUCT DETAILS
================================ */
.rating {
    color: #f5a623;
    font-size: 18px;
    margin-bottom: 5px;
}

.product-title {
    color: #075baf;
    font-size: 1.8em;
    font-weight: normal;
    margin: 0 0 10px;
}

/* ===============================
   PURCHASE ROW
================================ */
.purchase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 15px 0;
}

.price {
    font-size: 20px;
    font-weight: bold;
}

.price strong {
    color: #f51106;
}

.basket-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.basket-count input {
    width: 50px;
    padding: -1px;
    text-align: center;
    border: 1px solid #075BAF;
}

.addtocart {
  background-color: #f46000;
    border: 1px solid #eb5600;
    color: #ffffff;
    padding: 6px 20px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
}

.basket-button-big .add-to-cart:hover {
    background-color: #003f7d;
}

/* ===============================
   INFO TABLE
================================ */
.info {
    width: 100%;
    margin-top: 20px;
    font-size: 12px;
    color: #666;
    border: 1px solid #e9e9e9;
}
.oddtable{
    background: #e9e9e9;
}

.info .label {
    width: 35%;
    color: #555;
   font-weight: 300;
    font-size: 12px;
}

.info .value {
    color: #222;
    padding: 2px 10px;
}
.info .valuelink {
    color: #075baf;
    padding: 2px 10px;
    font-weight: bold;
}

.info a {
    color: #075baf;
    text-decoration: none;
}

/* ===============================
   TABS
================================ */
.tablinks {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    border-bottom: 5px solid #075baf;
}

.tablinks li {
    display: inline-block;
}

.tablinks li.active {
    background-color: #075baf;
}

.tablinks li a {
    display: inline-block;
    padding: 12px 10px 8px;
    text-decoration: none;
    font-weight: 600;
    color: #555;
}

.tablinks li.active a {
    color: #ffffff;
}

/* ===============================
   CONTENT
================================ */
.tabcontent {
    margin-top: 20px;
    line-height: 1.6;
}

.tabcontent p,
.description li {
    font-size: 1.15em;
    line-height: 150%;
}

/* ===============================
   REVIEW SUMMARY
================================ */
.review-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-left h3 {
    color: #075baf;
}

.review-middle {
    text-align: center;
}

.percent {
    font-size: 28px;
    font-weight: bold;
    color: #f5a623;
    line-height: 1;
}
.rating-number{
    color: black;
}
.big-stars {
    font-size: 20px;
    color: #f5a623;
}

.review-right {
    min-width: 10px;
    line-height: 1;
     color: #f5a623;
     font-size: 16px;
}

.rating-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 6px 20px;
}

/* ===============================
   REVIEWS
================================ */
.review-item {
    display: flex;
    background: #f8f8f8;
    padding: 15px;
    margin: 5px 0;

}

.review-item-header {
    width: 17%;
    text-align: center;
}

.review-content {
    width: 83%;
    padding-left: 30px;
    font-size: 12px;
}
.review-user .ratingname { 
   font-weight: 600;
   font-size: 14px;
   color: black;
   margin-bottom: -5px;
}
.review-user .date { 
    color: #aaaaaa; 
    font-size: 70%; 
    margin-bottom: -5px;
}
.review-rating{
color: #f5a623;
font-size: 24px;
}

/* ===============================
   REVIEW FORM
================================ */
.review-form {
    max-width: 700px;
    padding: 20px;
}
.review-form .h1{
  font-size: 56px;
    margin-bottom: 12px;
    margin-top: -10px;
}
.submitrow {
    display: flex;
    gap: 20px;
    font-weight: bold;
}

.field {
    flex: 1;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #222;
}

#shop_score_rating{
    font-size: 22px;
    color: #888 !important;
}

.form-text {
    width: 100%;
    padding: 6px;
    border: 1px solid #d1d1d1;
    background: #f8f8f8;
}

.form-button {
    float: right;
    padding: 10px 20px;
    background: #f46000;
    color: #fff;
    border-radius: 3px;
    border: none;
}

/* ===============================
   MOBILE VIEW
================================ */
@media (max-width: 768px) {

    .emptybackround,
    .cart-container {
        width: 100%;
        margin: 0;
        padding: 15px;
    }

    .col-md-5,
    .col-md-7 {
        width: 100%;
        padding: 0;
    }

    .product-title {
        font-size: 1.4em;
    }

    .purchase-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .price {
        width: 100%;
        font-size: 18px;
    }

    .basket-button-big .add-to-cart {
        width: 100%;
        font-size: 16px;
        padding: 14px;
    }

    .review-box {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .review-item-header,
    .review-content {
        width: 100%;
        padding: 0;
        text-align: left;
    }
    .review-form .h1{
   font-size: 30px;
        margin-bottom: 12px;
        margin-top: -10px;
}

    .submitrow {
        flex-direction: column;
        gap: 0;
    }

    .form-button {
        width: 100%;
        float: none;
        margin-top: 10px;
    }
}
