
/* ==========================================
   THE ENGINEERS GROUP - SHOP PAGE
   Premium Navy Blue + Gold
   ========================================== */

.teg-shop-hero {
    position: relative;
    margin-bottom: 38px;
    padding: 54px 48px;
    overflow: hidden;
    border: 1px solid rgba(242, 181, 30, 0.25);
    border-radius: 18px;
    background:
        radial-gradient(circle at 90% 15%, rgba(242, 181, 30, 0.15), transparent 32%),
        linear-gradient(125deg, #06172f, #123c61);
    color: #fff;
}

.teg-shop-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.teg-shop-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: #ffd34f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.teg-shop-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.2;
}

.teg-shop-hero p {
    max-width: 650px;
    margin-bottom: 22px;
    color: #dbe5f0;
    font-size: 15px;
    line-height: 1.8;
}

.teg-shop-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.teg-shop-hero-points span::first-letter {
    color: #ffd34f;
}

/* WooCommerce shop content */
.teg-woocommerce-container .woocommerce-products-header {
    margin-bottom: 25px;
}

.teg-woocommerce-container .woocommerce-products-header__title {
    color: #0b1f3a;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
}

.teg-woocommerce-container .woocommerce-result-count {
    color: #64748b;
    font-size: 13px;
}

.teg-woocommerce-container .woocommerce-ordering select {
    min-height: 43px;
    padding: 8px 34px 8px 12px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #fff;
    color: #25364b;
    font-size: 13px;
}

/* Product grid */
.teg-woocommerce-container ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin: 0 0 35px !important;
    padding: 0 !important;
}

.teg-woocommerce-container ul.products::before,
.teg-woocommerce-container ul.products::after {
    display: none !important;
    content: none !important;
}

.teg-woocommerce-container ul.products li.product {
    display: flex !important;
    flex-direction: column;
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #e0e7f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(11, 31, 58, 0.045);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.teg-woocommerce-container ul.products li.product:hover {
    transform: translateY(-4px);
    border-color: #e7c35a;
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.10);
}

.teg-woocommerce-container ul.products li.product a img {
    display: block;
    width: 100%;
    height: 235px;
    margin: 0 0 18px !important;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.teg-woocommerce-container ul.products li.product .woocommerce-loop-product__title {
    padding: 0;
    margin: 0 0 12px;
    color: #0b1f3a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.teg-woocommerce-container ul.products li.product .woocommerce-loop-product__title:hover {
    color: #a77900;
}

.teg-woocommerce-container ul.products li.product .price {
    display: block;
    margin: 0 0 18px;
    color: #0b1f3a;
    font-size: 18px;
    font-weight: 800;
}

.teg-woocommerce-container ul.products li.product .price del {
    margin-right: 6px;
    color: #8996a8;
    font-size: 13px;
    font-weight: 500;
}

.teg-woocommerce-container ul.products li.product .price ins {
    color: #0b1f3a;
    text-decoration: none;
}

.teg-woocommerce-container ul.products li.product .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 45px;
    margin: auto 0 0 !important;
    padding: 11px 14px;
    border: 1px solid #e3ad13;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffd34f, #e8a900);
    color: #0b1f3a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    transition: filter .2s ease, transform .2s ease;
}

.teg-woocommerce-container ul.products li.product .button:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    background: linear-gradient(135deg, #ffd34f, #e8a900);
    color: #06172f;
}

.teg-woocommerce-container ul.products li.product .onsale {
    top: 12px;
    left: 12px;
    right: auto;
    min-height: 0;
    margin: 0;
    padding: 7px 11px;
    border-radius: 6px;
    background: #0b1f3a;
    color: #ffd34f;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
}

/* Pagination */
.teg-woocommerce-container .woocommerce-pagination {
    margin: 35px 0;
}

.teg-woocommerce-container .woocommerce-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    border: 0;
}

.teg-woocommerce-container .woocommerce-pagination ul.page-numbers li {
    border: 0;
}

.teg-woocommerce-container .woocommerce-pagination .page-numbers li a,
.teg-woocommerce-container .woocommerce-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #e0e7f0;
    border-radius: 7px;
    background: #fff;
    color: #0b1f3a;
    font-size: 13px;
}

.teg-woocommerce-container .woocommerce-pagination .page-numbers li span.current {
    border-color: #0b1f3a;
    background: #0b1f3a;
    color: #ffd34f;
}

/* Notices and empty shop */
.teg-woocommerce-container .woocommerce-info,
.teg-woocommerce-container .woocommerce-message {
    border-top-color: #e3ad13;
    border-radius: 8px;
    background: #f5f8fc;
    color: #25364b;
}

.teg-woocommerce-container .woocommerce-info::before,
.teg-woocommerce-container .woocommerce-message::before {
    color: #a77900;
}

.teg-woocommerce-container .return-to-shop .button {
    margin-top: 12px;
}

/* Tablet */
@media (max-width: 950px) {
    .teg-woocommerce-container ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .teg-woocommerce-container ul.products li.product a img {
        height: 215px;
    }

    .teg-shop-hero {
        padding: 42px 30px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .teg-shop-hero {
        margin-bottom: 28px;
        padding: 32px 22px;
        border-radius: 13px;
    }

    .teg-shop-hero h1 {
        font-size: 30px;
    }

    .teg-shop-hero p {
        font-size: 13px;
    }

    .teg-shop-hero-points {
        flex-direction: column;
        gap: 9px;
    }

    .teg-woocommerce-container ul.products {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .teg-woocommerce-container ul.products li.product {
        padding: 15px;
    }

    .teg-woocommerce-container ul.products li.product a img {
        height: 230px;
    }

    .teg-woocommerce-container .woocommerce-result-count {
        float: none;
        margin-bottom: 12px;
    }

    .teg-woocommerce-container .woocommerce-ordering {
        float: none;
        margin-bottom: 22px;
    }

    .teg-woocommerce-container .woocommerce-ordering select {
        width: 100%;
    }
}
