/* ============================================================
   product.css — Product page: gallery, purchase box, reviews, specs, related products
   Loaded on: Product & listing pages
   ============================================================ */

/* --- Styles from product/product --- */

/* --- The styles below depend on your main external CSS file for brand colors. --- */
/* --- Informational Box --- */
.product-info-box {
  background-color: var(--brand-pink);    /* CHANGED: Pink background */
  border: 1px solid var(--brand-pink);    /* CHANGED: Border to match */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
}
.product-info-box h2 {
  font-size: 1.2em;
  color: #FFFFFF;        /* CHANGED: White text for high contrast */
  margin: 0;
  font-weight: 600;      /* CHANGED: Bolder font to make it stand out */
  line-height: 1.5;
}

/* --- NEW: Additional Info Box (for pef.5) --- */
.additional-info-container {
  background-color: var(--brand-blue); /* Light grey background like the purchase box */
  border: 1px solid #e7e7e7;         /* Subtle border */
  border-radius: 8px;                /* Rounded corners */
  padding: 20px;                     /* Standard padding */
  margin-bottom: 25px;             /* Spacing below */
  text-align: center;                /* Center the content inside */
}
/* Styles for the inner div you mentioned */
.additional-info-container .additional-info-block {
  font-size: 1.3em;
  color: #FFF;
  line-height: 1.6;
  font-weight: 600;
  word-wrap: break-word;             /* Prevent long links from clipping */
}
/* Style for the link inside */
.additional-info-container .additional-info-block a {
  color: #b4c7ff;
  font-weight: 750;
  text-decoration: underline;
  word-break: break-all;
}
.additional-info-container .additional-info-block a:hover {
  color: var(--brand-pink);
}

/* --- Full Width Title --- */
.product-page-title h1 {
      /* Fluid Typography: Scales smoothly from 20px on mobile to 32px on desktop */
      font-size: clamp(20px, 3.5vw, 32px);
      font-weight: 600;
      color: var(--text-dark);
      margin-top: 10px;
      margin-bottom: 20px;
}

/* --- Main Layout --- */
.product-page-main-columns {
    margin-bottom: 40px;
}
.product-info-bottom {
    margin-top: 25px;
}

/* --- Image Gallery --- */
.image-gallery-container .main-image-wrapper {
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #fff;
    text-align: center;
}
.image-gallery-container .main-image-wrapper img {
    width: 100%;
    max-height: 400px; /* Prevents the image from becoming huge on large screens */
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.image-gallery-container .image-thumbnails {
    list-style: none;
    padding: 0;
    margin: 0 -5px;
    display: flex;
    flex-wrap: wrap;
}
.image-gallery-container .image-thumbnails li {
    flex: 0 0 70px;
    height: 70px;
    padding: 0 5px;
    margin-bottom: 10px;
}
.image-gallery-container .image-thumbnails .thumbnail-link {
    display: block;
    border: 2px solid #e7e7e7;
    border-radius: 6px;
    transition: border-color 0.2s;
    background: #fff;
    cursor: pointer;
    height: 100%;
    padding: 3px;
}
.image-gallery-container .image-thumbnails .thumbnail-link.active,
.image-gallery-container .image-thumbnails .thumbnail-link:hover {
    border-color: var(--brand-pink);
}
.image-gallery-container .image-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

/* --- Purchase Box --- */
.purchase-box {
    border: 2px solid var(--brand-pink, #d81b60) !important;
    border-radius: 8px;
    padding: 20px;
    background: #ffffff !important;
    margin-bottom: 30px;
    position: sticky;
    bottom: 20px;
    z-index: 1020;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.15) !important;
    transform: translateZ(0);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.purchase-box .product-meta {
    margin-bottom: 15px;
}

.purchase-box .product-meta li {
    font-size: clamp(13px, 1vw + 10px, 16px);
    color: #555;
    margin-bottom: 5px;
    word-wrap: break-word;
}

.jump-to-related {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #333;
    font-weight: 600;
    flex-grow: 1;
    white-space: nowrap;
    text-align: center;
}

.jump-to-related:hover {
    background-color: #f4f4f4;
    color: var(--brand-pink);
}

/* --- Dynamic Meta Visibility (Desktop vs Mobile) --- */
.dynamic-meta-block { display: none; }
.dynamic-pb-meta { display: block; }

@media (max-width: 767px) {
    .dynamic-meta-block { display: block !important; }
    .dynamic-pb-meta { display: none !important; }
}

@media (min-width: 768px) and (max-height: 900px) {
    .dynamic-meta-block { display: block !important; }
    .dynamic-pb-meta { display: none !important; }
    
    .purchase-box {
        padding: 10px 15px !important;
    }
    .purchase-box .product-price h2 {
        font-size: clamp(20px, 2.5vw, 24px) !important;
    }
    .flex-purchase-box {
        gap: 10px !important;
    }
    .purchase-box .control-label {
        font-size: 11px;
        margin-bottom: 2px !important;
    }
}

/* --- Flex Layout for Wide Purchase Box --- */
.flex-purchase-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.flex-purchase-box > div {
    flex: 1 1 25%;
}
.flex-purchase-box .product-meta {
    margin-bottom: 0;
}
.flex-purchase-box .product-price {
    margin-bottom: 0;
    text-align: center;
}
.flex-purchase-box .add-to-cart-section {
    margin-top: 0;
    justify-content: flex-end;
}
@media (max-width: 991px) {
    .flex-purchase-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .flex-purchase-box > div {
        width: 100%;
        flex: 1 1 100%;
    }
    .flex-purchase-box .product-price {
        text-align: left;
        margin: 15px 0;
        padding: 15px 0;
        border-top: 1px solid #dcdcdc;
        border-bottom: 1px solid #dcdcdc;
    }
    .flex-purchase-box .add-to-cart-section {
        justify-content: flex-start;
    }
}
@media (max-width: 767px) {
    .purchase-box .add-to-cart-section {
        flex-direction: column;
        align-items: stretch;
    }
    .purchase-box .add-to-cart-section > * {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 8px;
    }
    .purchase-box .add-to-cart-section label {
        text-align: left;
    }
}

/* --- Right-hand container (needed for sticky purchase box) --- */
.right-hand-container {
    display: block;
    position: relative;
    min-height: 100%;
}

/* --- Headings & Full-width Bottom Sections --- */
.right-hand-container h3,
.compatible-printers-container h3,
.specification-container h3,
.related-products-container h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brand-grey);
    font-weight: 600;
}

/* --- Specification Table & Compatible Printers List --- */
.specification-container {
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.specification-container h3 {
    text-align: center;
}
.specification-container .table-bordered,
.compatible-printers-container .table {
    margin-bottom: 0;
}
.compatible-printers-container {
    margin-top: 30px;
    margin-bottom: 30px;
}
.compatible-printers-container a {
    color: var(--brand-blue);
    font-weight: 600;
}
.compatible-printers-container a:hover {
    color: var(--brand-pink);
}

/* --- Enhanced Compatible Printers Table (Responsive) --- */
.product-grouped-hierarchical-categories {
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    background: #fff;
    overflow-x: auto; /* Allows horizontal scrolling on narrow screens */
    -webkit-overflow-scrolling: touch;
    margin-bottom: 0;
}
.product-grouped-hierarchical-categories .table {
    border: none;
    margin-bottom: 0;
    min-width: 500px; /* Forces scrolling on small devices instead of clipping the page */
}
.printer-cat-level-1 td {
    background-color: #f8f9fa;
    color: #333;
    font-size: 16px;
    padding: 12px 20px !important;
    border-bottom: 2px solid #e7e7e7;
    border-top: none !important;
}
.printer-cat-level-2 td {
    background-color: #ffffff;
    color: #555;
    font-size: 15px;
    padding: 10px 20px 10px 35px !important;
    border-bottom: 1px dashed #e7e7e7;
}
.printer-cat-level-3 td {
    background-color: #ffffff;
    color: #666;
    font-size: 14px;
    border-bottom: 1px dashed #eee;
}
.printer-cat-level-1 a, .printer-cat-level-2 a, .printer-cat-level-3 a {
    color: inherit;
}
.printer-cat-level-1 a:hover, .printer-cat-level-2 a:hover, .printer-cat-level-3 a:hover {
    color: var(--brand-pink);
    text-decoration: none;
}
.product-grouped-hierarchical-categories .category-leaf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    padding: 15px 20px 20px 35px;
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
}
@media (max-width: 767px) {
    .product-grouped-hierarchical-categories .category-leaf-grid {
        padding-left: 15px !important; /* Overrides inline padding on very small screens to save space */
    }
}
.category-leaf-item a {
    display: block;    padding: 8px 12px;
    background-color: #f4f7f9;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    color: var(--brand-blue);
    font-size: 13px;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
    word-wrap: break-word;
}
.category-leaf-item a:hover {
    background-color: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.price-tax-label {
  font-size: 0.4em;        /* Set to 90% of the parent's size. Adjust if needed. */
  font-weight: 500;        /* Makes it a normal or medium weight, not bold */
  color: #666;            /* A muted grey color */
  margin-left: 2px;        /* Adds a little space after the price */
  vertical-align: middle; /* Helps align it nicely with the main price */
}

/* --- Description Redesign --- */
.product-description-container {
    margin-bottom: 30px;
}
.product-description {
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-family: var(--font-body, 'Open Sans', sans-serif);
    font-size: clamp(14px, 1.2vw + 10px, 18px);
    line-height: 1.6; /* Much more breathable space */
    color: #444;      /* High readability deep grey */
}
.product-description p {
    margin-bottom: 15px; /* Clean gap between paragraphs */
}
.product-description h2 { font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 600;
  }
.product-description ul {
    margin-bottom: 20px;
    padding-left: 20px;
}
.product-description li {
    margin-bottom: 8px; /* Clean gap between bullet points */
}

/* --- Related Products --- */
.related-products-container {
    margin-top: 30px;
    margin-bottom: 40px;
}

/* Custom Grid for Scrolling Layout */
.related-products-grid {
    display: grid;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px; /* Spacing for the scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--brand-pink) #f0f0f0;
    
    /* Desktop default: 1 row, 6 items across */
    grid-template-rows: 1fr;
    grid-auto-flow: column;
    grid-auto-columns: calc(16.666% - 12.5px); /* 100/6% minus proportionate gap */
}

/* Webkit Scrollbar Styling */
.related-products-grid::-webkit-scrollbar {
    height: 8px;
}
.related-products-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}
.related-products-grid::-webkit-scrollbar-thumb {
    background: var(--brand-pink);
    border-radius: 4px;
}

/* Responsive breakpoints */
@media (max-width: 1199px) {
    .related-products-grid {
        grid-auto-columns: calc(20% - 12px); /* 5 across on medium screens */
    }
}
@media (max-width: 991px) {
    .related-products-grid {
        grid-auto-columns: calc(25% - 11.25px); /* 4 across on tablets */
    }
}
@media (max-width: 767px) {
    .related-products-grid {
        grid-template-rows: 1fr 1fr; /* Stack into 2 rows on mobile */
        grid-auto-columns: calc(50% - 7.5px); /* 2 items across */
    }
}

.related-product-item {
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    text-align: center;
    transition: box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.related-product-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.related-product-item .image img {
    margin: 0 auto;
}
.related-product-item .caption {
    margin-top: 15px;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}
.related-product-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    word-wrap: break-word;
}
.related-product-item h4 a {
    color: var(--text-dark);
}
.related-product-item .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-pink);
    margin-bottom: 10px;
    margin-top: auto !important;
}
.related-product-item .price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
    margin-left: 5px;
}
.related-product-item .price-tax {
    display: block;
    font-size: 12px;
    color: #777;
    font-weight: 400;
    margin-top: 3px;
}
.related-product-item .button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}
.related-product-item .button-group .btn-primary {
    background-image: none !important;
    background-color: var(--brand-pink, #d81b60) !important;
    border-color: var(--brand-pink, #d81b60) !important;
    padding: 6px 12px;
    flex-grow: 1;
    color: #fff !important;
    font-weight: 700;
}
.related-product-item .button-group .btn-primary:hover {
    background-image: none !important;
    background-color: #184484 !important;
    border-color: #184484 !important;
}

/* --- Product List Quantity & Add to Cart --- */
.product-thumb .button-group.list-qty-group {
    display: flex !important;
    align-items: center;
    justify-content: stretch;
    gap: 5px;
    padding: 10px;
    border-top: 1px solid #f0f0f0;
    background: #fdfdfd;
    clear: both;
    overflow: visible;
}
.product-thumb .button-group.list-qty-group > * {
    float: none !important; /* Eradicate OpenCart float layout */
    margin: 0 !important;
    border: none !important;
}
/* Input element */
.product-thumb .button-group.list-qty-group .list-qty-input {
    width: 50px !important;
    flex: 0 0 50px !important;
    height: 38px !important;
    text-align: center;
    padding: 0;
    border: 1px solid #dcdcdc !important;
    border-radius: 6px;
    font-weight: 600;
}
/* Main ADD TO CART Button */
.product-thumb .button-group.list-qty-group .btn-list-cart {
    flex-grow: 1 !important;
    width: auto !important; /* Eradicate OpenCart 60% layout */
    height: 38px !important;
    line-height: normal !important;
    background-image: none !important;
    background-color: #d81b60 !important;
    border-color: #d81b60 !important;
    color: #fff !important;
    border-radius: 6px !important;
    transition: 0.2s all;
    font-weight: 700;
    font-size: 13px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.product-thumb .button-group.list-qty-group .btn-list-cart i {
    font-size: 16px;
}
.product-thumb .button-group.list-qty-group .btn-list-cart:hover {
    background-image: none !important;
    background-color: #184484 !important;
    border-color: #184484 !important;
}

/* ==========================================================================
   SEO & SEMANTIC STRUCTURAL UPDATES
   ========================================================================== */
.category-heading {
    /* Categories should be H1, not H2, for SEO compliance */
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--brand-blue, #184484);
}
.category-description-box {
    margin-bottom: 20px;
}
.product-thumb .caption h2.product-title {
    /* Product lists should use H2 instead of H4 to pass semantic outlining tools! */
    font-size: 15px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.3;
}
.product-thumb .caption h2.product-title a {
    color: var(--brand-blue, #184484);
    text-decoration: none;
    transition: color 0.2s;
}
.product-thumb .caption h2.product-title a:hover {
    color: var(--brand-pink, #d81b60);
}
.product-teaser {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}
/* Wishlist & Compare Buttons */
.product-thumb .button-group.list-qty-group button[data-toggle="tooltip"] {
    width: 38px !important; /* Eradicate OpenCart 20% layout */
    flex: 0 0 38px !important;
    height: 38px !important;
    line-height: normal !important;
    background: #fff !important;
    color: var(--brand-blue, #184484) !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 6px !important;
    transition: 0.2s all;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.product-thumb .button-group.list-qty-group button[data-toggle="tooltip"]:hover {
    color: var(--brand-pink, #d81b60) !important;
    border-color: var(--brand-pink, #d81b60) !important;
}

/* ==========================================================================
   MOBILE STICKY PURCHASE BAR
   ========================================================================== */
@media (max-width: 767px) {
  body {
    padding-bottom: 90px;
  }
  .purchase-box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    margin: 0 !important;
    padding: 12px 15px !important;
    z-index: 1040;
    border-radius: 16px 16px 0 0 !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15) !important;
    border: none !important;
    border-top: 1px solid #e7e7e7 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  .purchase-box .pb-meta {
    display: none !important;
  }
  .purchase-box .pb-price {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    width: auto !important;
    text-align: left !important;
  }
  .purchase-box .product-price {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }
  .purchase-box .product-price h2 {
    font-size: 22px !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    line-height: 1;
  }
  .purchase-box .price-tax-label {
    font-size: 11px !important;
    margin: 2px 0 0 0 !important;
    font-weight: 600;
  }
  .purchase-box .price-tax, .purchase-box .price-old {
    display: none !important;
  }
  .purchase-box .pb-action {
    flex: 1 1 auto !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .purchase-box #product {
    margin: 0 !important;
  }
  .purchase-box .add-to-cart-section {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    margin: 0 !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .purchase-box .add-to-cart-section label {
    display: none !important;
  }
  .purchase-box #input-quantity {
    flex: 0 0 60px !important;
    width: 60px !important;
    height: 48px !important;
    margin: 0 !important;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px !important;
  }
  .purchase-box #button-cart {
    flex-grow: 1;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    font-weight: 700 !important;
    background-image: none;
    flex: 1 1 auto !important;
    height: 48px !important;
    margin: 0 !important;
    font-size: 18px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    border-radius: 8px !important;
    padding: 0 20px !important;
    transition: background-color 0.2s;
}
  .purchase-box #button-cart:hover {
    background-color: #218838 !important;
    border-color: #218838 !important;
  }
  .purchase-box .jump-to-related,
  .purchase-box .alert {
    display: none !important;
  }
}

#column-left .list-group-item {
  font-size: 14px !important; /* Locks side-navigation size preventing fluid typography inheritance */
  padding: 10px 15px;
  color: #444;
  border-color: #f0f0f0;
  transition: all 0.2s;
}
#column-left .list-group-item.active,
#column-left .list-group-item.active:hover,
#column-left .list-group-item.active:focus {
  background-color: var(--brand-blue, #184484);
  border-color: var(--brand-blue, #184484);
  color: #fff;
  font-weight: 600;
  text-shadow: none !important;
}
#column-left .list-group-item:hover {
  background-color: #fdfdfd;
  color: var(--brand-pink, #d81b60);
  border-left: 2px solid var(--brand-pink, #d81b60);
}
#column-left h2,
#column-left h3 {
  font-size: 18px !important;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
}

/* ==========================================================================
   PRODUCT GRID UNIFORM SIZING (Equal Heights + Bottom-Aligned Buttons)
   ========================================================================== */

/* 1. Parent row: flex container so ALL tiles in the same row are equal height.
      .product-row class is set in the category/search Twig templates on the
      <div class="row"> that wraps the {% for product in products %} loop.    */
#content .product-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* 2. Each Bootstrap grid column becomes a flex container so product-thumb
      can stretch to fill it fully.                                           */
.product-layout.product-grid {
    display: flex;
    margin-bottom: 20px;
}

/* 3. Thumb fills the full column as a vertical flex stack.                  */
.product-grid .product-thumb {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0;
    border: 1px solid #e7e7e7;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

/* 4. Image: fixed size, never stretches.                                    */
.product-grid .product-thumb .image {
    flex: 0 0 auto;
    text-align: center;
    background: #fafafa;
    padding: 10px;
}
/* Force a consistent image box so all titles align at the same Y position   */
.product-grid .product-thumb .image img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 208px;   /* column width minus 2×10px padding */
    height: 208px;
    object-fit: contain;
}

/* 5. Content wrapper (caption + button-group) fills remaining height.       */
.product-grid .product-thumb > div:not(.image) {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* 6. Caption grows — overrides the fixed min-height from stylesheet.css.    */
.product-grid .product-thumb .caption {
    flex: 1;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
    padding: 10px 12px 0;
}

/* 7. Price sits at the bottom of the caption, above the button row.         */
.product-grid .product-thumb .caption .price {
    margin-top: auto;
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-pink, #d81b60);
}
.product-grid .product-thumb .caption .price-new  { font-weight: 700; }
.product-grid .product-thumb .caption .price-old  { color: #999; text-decoration: line-through; font-size: 13px; margin-left: 5px; font-weight: normal; }
.product-grid .product-thumb .caption .price-tax  { color: #777; font-size: 12px; display: block; font-weight: normal; margin-top: 3px; }

/* 8. Button group: already flex via list-qty-group rules; ensure no top gap. */
.product-grid .product-thumb .button-group {
    margin-top: 0;
}

/* ==========================================================================
   LIST VIEW RESET
   Undo any accidental flex-column bleed from the grid rules above.
   ========================================================================== */
.product-list .product-thumb {
    display: block;
    height: auto;
    width: 100%;
    margin-bottom: 20px;
    border: none;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}
.product-list .product-thumb > div:not(.image) {
    display: block;
    flex: none;
}
.product-list .product-thumb .caption {
    display: block;
    flex: none;
    min-height: 0 !important;
    padding: 0 20px;
}
@media (min-width: 768px) {
    .product-list .product-thumb .image {
        float: left;
        width: 228px;
        padding: 0 15px;
        text-align: center;
        background: none;
    }
    .product-list .product-thumb > div:not(.image) {
        margin-left: 258px;
    }
}
@media (max-width: 767px) {
    .product-list .product-thumb .image {
        float: none;
        width: 100%;
        text-align: center;
        background: none;
        padding: 0;
    }
    .product-list .product-thumb > div:not(.image) {
        margin-left: 0;
    }
}

/* === Extracted from oc_theme product/product === */

.spec-table-responsive {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.spec-col-minwidth {
    min-width: 120px;
}

