.wc-container{
    max-width: 1200px;
    padding: 20px 0px;
}

.woocommerce img, .woocommerce-page img {
    height: 100%;
    max-width: 100%;
}
.woocommerce ul.products::before {
    display: none;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product {
    width: 100%;
    margin: 0;
    float: none;
}

/* Tablet */
@media (max-width: 992px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   Product Gallery Layout
================================ */

/* Layout */
.wc-single-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

/* Main image */
.wc-main-img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    background: #ffffff;
}

/* Thumbnails */
.wc-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.wc-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #ddd;
}

/* Swatches */
/* .wc-variation-swatches {
    margin: 24px 0;
} */

.wc-swatches {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.related h2{
    margin: 40px 0px 20px 0px;
}


.wc-swatch {
    width: 50px;
    height: 50px;
    border: 2px solid transparent;
    cursor: pointer;
}

.wc-swatch img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wc-swatch.active {
    border-color: #000;
}

/* Inquiry Button */
.wc-inquiry-btn {
    display: inline-block;
    /* margin: 20px 0px; */
    padding: 6px 12px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .wc-single-layout {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   CUSTOM PRODUCT TABS
================================ */
.wc-single-info{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wc-single-tabs {
    margin-top: 50px;
    border-top: 1px solid #e5e5e5;
}

/* Tab buttons */
.wc-tab-head {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.wc-tab-btn {
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #666;
    position: relative;
}

.wc-tab-btn.active {
    color: #000;
}

.wc-tab-btn.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: #000;
}

/* Tab content */
.wc-tab-body {
    padding-top: 30px;
}

.wc-tab-panel {
    display: none;
    line-height: 1.7;
    color: #444;
}

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

/* Description content */
.wc-tab-panel p {
    margin-bottom: 15px;
}

.wc-tab-panel ul {
    padding-left: 20px;
}

/* Reviews fix */
#reviews {
    max-width: 700px;
}

#reviews .commentlist {
    margin: 0;
    padding: 0;
}

#reviews .commentlist li {
    list-style: none;
    margin-bottom: 25px;
}

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

@media (max-width: 768px) {

    .wc-tab-head {
        gap: 20px;
    }

    .wc-tab-btn {
        font-size: 14px;
        padding: 12px 0;
    }

}

/* ===============================
   ADDITIONAL INFORMATION TAB
================================ */

.wc-additional-info {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.wc-additional-info th,
.wc-additional-info td {
    padding: 12px 15px;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
    font-size: 14px;
}

.wc-additional-info th {
    width: 35%;
    font-weight: 600;
    color: #222;
    background: #fafafa;
}

.wc-additional-info td {
    color: #555;
}
.wc-add-to-cart a{
    background: linear-gradient(135deg, #111, #333) !important;
    color: white !important;
}


.product-detail-swatch{
    justify-content: flex-start;
}

/* ===============================
   PRODUCT BADGES (SINGLE PAGE)
================================ */

/* ===============================
   SALE BADGE STYLE
================================ */

/* Ribbon Badge */
/* Ribbon container */
.wc-sale-badge {
    position: absolute;/* Adjust to stick outside corner */
    z-index: 10;
    overflow: visible;
}

/* Ribbon style */
.wc-badge-ribbon {
    display: inline-block;
    background-color: #e63946; /* Main color */
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 5px 10px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transform-origin: left top;
}

/* Ribbon tail (triangle) */
.wc-badge-ribbon::after {
    content: '';
    position: absolute;
    right: -10px;
    top: -2px;
    border-radius: 9px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 11px solid #e63946;
    
}

.wc-inquiry .btn-gradient {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #181717, #3e3b2f);
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    font-size:16px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.wc-inquiry .btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.custom-cart-form {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    height: 40px;
}

.quantity-wrapper input[type="number"] {
    width: 50px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 16px;
}

.qty-btn {
    background-color: #f4f4f4;
    border: none;
    width: 40px;
    height: 100%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: background 0.2s;
}

.qty-btn:hover {
    background-color: #ddd;
}

.custom-add-to-cart {
    padding: 12px 25px;
    background: linear-gradient(135deg, #261c00, #cb9e21);
    /* background: linear-gradient(135deg, #6a11cb, #2575fc); */
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-content{
    max-width: 1200px;
    margin: 40px auto;
}
.wc-empty-cart{
    margin: 30px auto;
}