/* ===== IPT — minimal override: dark table headings only ===== */
/* Theme background/layout stays default (white). Just the table headers go dark. */

th,
thead th,
table thead td,
.cart th, .cart_table th,
.data-table th, .table th,
.account_table th,
.checkout_table th {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border-color: #c20710 !important;
}

th a, thead th a { color: #ffffff !important; }

/* Section/table heading bars: theme's orange (#fe6200) -> IPT logo red (#c20710) */
.pro_head,
#header #cart .heading h4 {
    background-color: #c20710 !important;
}
.box .box-heading span { border-bottom-color: #c20710 !important; }

/* Refine Search subcategory thumbnails: stop forcing width:100% (which up-scales/stretches
   the small thumbnails). Show them at natural size, capped to the box, aspect preserved. */
.category-grid .image img,
.category-list .category-grid .image img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 140px !important;
}

/* Footer logo: smaller + aligned to the top of the footer */
.foot_logo { padding-top: 0 !important; vertical-align: top !important; }
.foot_logo a img { max-width: 170px !important; height: auto !important; }

/* Dark glow around the (transparent) logo so it pops on the white header */
.logo img {
    max-width: 260px;      /* was ~370px natural; smaller */
    height: auto;
    filter:
        drop-shadow(0 0 2px rgba(0,0,0,0.95))
        drop-shadow(0 0 6px rgba(0,0,0,0.85))
        drop-shadow(0 0 12px rgba(0,0,0,0.55));
}
