/* Product cards */
.left-right-section {
   
}
.left-right-panel {
    border: 1px solid #b5b5b5;
    background: #f3f3f3;
    overflow: hidden;
    background-image: url(../images/home/left-right-bg.jpg);
    background-size: cover;
    background-position: center;
}

.left-right-content {
    flex-direction: column;
    justify-content: center;
    display: flex;
    padding: 40px;
}

.left-right-content h1 {
    margin: 0 0 12px;
    color: #111111;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.left-right-content p {
    /* max-width: 560px; */
    /* margin: 0 0 26px; */
    color: #000;
    font-size: 16px;
    line-height: 1.55;
}

.left-right-btn {
    width: fit-content;
    min-height: 36px;
    padding: 10px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1677ff;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.left-right-btn:hover {
    background: #0d61d8;
    color: #ffffff;
}

.left-right-location {
    margin-top: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
}

.left-right-location i {
    color: #111111;
    font-size: 16px;
}

.left-right-image {
    /* min-height: 280px; */
    /* height: 100%; */
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #9f9f9f;
    background: #eeeeee;
}

.left-right-image img {
    /* max-width: min(300px, 82%); */
    /* max-height: 190px; */
    /* width: auto; */
    /* height: auto; */
    /* object-fit: contain; */
    width: auto;
    height: 296px;
}

.products-section {
    /* padding: 56px 0 64px; */
}

.products-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #111111;
}

.products-not-found {
    text-align: center;
    padding: 48px 20px;
    background: #f7f7f7;
    border: 1px dashed #d8d8d8;
}

.products-not-found p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #666666;
}

.catalog-card {
    background: #f3f3f3;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.catalog-card-image-link {
    display: block;
    text-decoration: none;
}

.catalog-card-image {
    background: #d5d5d5;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 20px; */
}

.catalog-card-image img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
}

.catalog-card-body {
    background: #ededed;
    padding: 18px 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalog-card-title {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.catalog-card-title:hover {
    color: #000000;
}

.catalog-card-text {
    color: #000;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 14px;
    flex: 1;
}

.catalog-card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 14px;
}

.catalog-card-rating .fa-star {
    font-size: 15px;
    color: #d8d8d8;
}

.catalog-card-rating .fa-solid.fa-star {
    color: #f5c518;
}

.catalog-card-rating .rating-value {
    margin-left: 6px;
    font-size: 10px;
    color: #777777;
}

.catalog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.catalog-card-price {
    font-size: 13px;
    font-weight: 700;
    color: #111111;
}

.catalog-card-cart-form {
    margin: 0;
}

.catalog-card-btn {
    border: none;
    background: #111111;
    color: #ffffff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.catalog-card-btn:hover {
    background: #333333;
}

/* Stores carousel */
.stores-section {
    /* padding: 56px 0 72px; */
}

.stores-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 36px;
    color: #111111;
}

.stores-swiper {
    overflow: hidden;
    padding-bottom: 8px;
}

.store-card {
    background: linear-gradient(180deg, #2f6fd6 0%, #1f4fa8 100%);
    border-bottom: 5px solid #d62020;
    min-height: 190px;
    padding: 22px 20px;
}

.store-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
}

.store-card-info {
    flex: 1;
    min-width: 0;
}

.store-card-name {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.store-card-count {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 18px;
}

.store-card-btn {
    display: inline-block;
    background: #ffffff;
    color: #111111;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-decoration: none;
    text-transform: uppercase;
    padding: 8px 14px;
}

.store-card-btn:hover {
    background: #f2f2f2;
    color: #111111;
}

.store-card-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    flex-shrink: 0;
}

.store-card-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-card-label {
    color: #d62020;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.1;
}

/* Product detail */
.product-detail-section {
    padding: 48px 0 72px;
}

.product-detail-image {
    background: #ececec;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.product-detail-image img {
    max-height: 360px;
    object-fit: contain;
}

.product-detail-content h1 {
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-detail-store {
    margin-bottom: 16px;
}

.product-detail-store a {
    color: #1f4fa8;
    text-decoration: none;
    font-weight: 600;
}

.product-detail-price {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 20px;
}

.product-detail-rating .fa-star {
    color: #d8d8d8;
    font-size: 14px;
}

.product-detail-rating .fa-solid.fa-star {
    color: #f5c518;
}

.product-detail-description {
    color: #555555;
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-detail-actions form {
    display: inline-block;
}

.product-detail-btn,
.rating-submit-btn,
.cart-btn {
    border: none;
    background: #111111;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.product-detail-btn:hover,
.rating-submit-btn:hover,
.cart-btn:hover {
    background: #333333;
    color: #ffffff;
}

.rating-form-box,
.review-list,
.cart-table-wrap {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #e5e5e5;
}

.rating-form-box h3,
.review-list h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.rating-stars-input {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.rating-stars-input label {
    cursor: pointer;
    font-size: 20px;
    color: #d8d8d8;
}

.rating-stars-input input {
    display: none;
}

.rating-stars-input input:checked ~ label,
.rating-stars-input label:hover,
.rating-stars-input label:hover ~ label {
    color: #f5c518;
}

.rating-stars-input {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.review-item {
    padding: 14px 0;
    border-bottom: 1px solid #efefef;
}

.review-item:last-child {
    border-bottom: none;
}

.review-item-stars .fa-star {
    font-size: 12px;
    color: #d8d8d8;
}

.review-item-stars .fa-solid.fa-star {
    color: #f5c518;
}

/* Store detail */
.store-detail-hero {
    /* background: linear-gradient(180deg, #2f6fd6 0%, #1f4fa8 100%); */
    /* border-bottom: 5px solid #d62020; */
    /* padding: 40px 0; */
    /* color: #ffffff; */
    /* margin-top: 0px; */
}

.store-detail-hero h1 {
    font-size: 34px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.store-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin-top: 20px;
    font-size: 13px;
}

.store-detail-meta span {
    display: block;
}

/* Cart */
.cart-section {
    padding: 48px 0 72px;
}

.cart-section h1 {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #ececec;
    text-align: left;
    vertical-align: middle;
}

.cart-table img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #f3f3f3;
    padding: 6px;
}

.cart-total {
    margin-top: 24px;
    font-size: 20px;
    font-weight: 700;
    text-align: right;
}

.alert-success-custom {
    background: #e8f7e8;
    color: #1f6b1f;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

@media (max-width: 767px) {
    .left-right-section {
        /* padding-top: 30px; */
        /* padding-bottom: 28px; */
    }

    .left-right-content {
        min-height: auto;
        padding: 34px 24px;
        text-align: center;
        align-items: center;
    }

    .left-right-content h1 {
        font-size: 32px;
    }

    .left-right-content p {
        font-size: 13px;
    }

    .left-right-location {
        margin-top: 30px;
        justify-content: center;
    }

    .left-right-image {
        min-height: 210px;
        border-left: 0;
        border-top: 1px solid #9f9f9f;
    }

    .left-right-image img {
        max-height: 150px;
    }

    .products-section,
    .stores-section,
    .product-detail-section,
    .cart-section {
        /* padding-top: 36px; */
        /* padding-bottom: 48px; */
    }

    .catalog-card-image {
        min-height: 180px;
    }

    .store-detail-meta {
        grid-template-columns: 1fr;
    }

    .product-detail-content h1 {
        font-size: 28px;
    }
}
