  /* SUBINCHO Home cards: latest/special, desktop grid and existing carousels.
     All selectors are scoped to this module; no category/special/other-page changes. */
  .cz-cart-layout .product-block,
  .cz-cart-layout .product-block-inner,
  .cz-cart-layout .product-details,
  .cz-cart-layout .caption {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .cz-cart-layout .product-block { width: 100%; }
  .cz-cart-layout .product-block-inner > .image {
    position: relative;
    flex-shrink: 0;
    min-height: 104px; /* fit both actions even for unusually short thumbnails */
  }

  /* eMAG-style positioning: neutral actions at the top-right of the photo. */
  .cz-cart-layout .image > .sb-image-actions {
    position: absolute !important;
    z-index: 12;
    top: 8px;
    right: 8px;
    left: auto !important;
    bottom: auto !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    opacity: 1 !important;
    visibility: visible;
    transform: none !important;
    pointer-events: auto;
  }
  /* The sale badge also occupies the upper-right corner. */
  .cz-cart-layout .image > .sb-image-actions-sale { top: 35px; }

  .cz-cart-layout .sb-image-actions > button.wishlist,
  .cz-cart-layout .sb-image-actions > button.compare {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    position: static !important;
    float: none;
    box-sizing: border-box;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(205, 216, 226, .85);
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    color: #536474;
    text-shadow: none;
    box-shadow: 0 1px 4px rgba(23, 46, 62, .10);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
  }
  .cz-cart-layout .sb-image-actions > button.wishlist:hover,
  .cz-cart-layout .sb-image-actions > button.compare:hover {
    background: #fff;
    color: #007ea8;
    border-color: #93cfe4;
  }
  .cz-cart-layout .sb-image-actions > button.wishlist:focus-visible,
  .cz-cart-layout .sb-image-actions > button.compare:focus-visible {
    outline: 2px solid #00aef0 !important;
    outline-offset: 2px;
  }
  .cz-cart-layout .sb-image-actions .sb-icon {
    display: inline-block !important;
    font-size: 18px;
    line-height: 1;
    color: inherit;
    pointer-events: none;
  }

  /* Hover and keyboard focus: visible feedback without adding more blue blocks. */
  #content .cz-cart-layout .product-block {
    transition: border-color .18s ease, box-shadow .18s ease;
  }
  #content .cz-cart-layout .product-block:hover {
    border: 1px solid #d5e9f1 !important;
    box-shadow: 0 3px 12px rgba(20, 47, 68, .12) !important;
  }
  .cz-cart-layout .product-block-inner > .image > a {
    position: relative;
    display: block;
  }
  .cz-cart-layout .product-block-inner > .image > a > img.hover-image {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  @media (hover: hover) {
    .cz-cart-layout .product-block-inner > .image:hover > a > img.hover-image {
      opacity: 1;
    }
  }
  .cz-cart-layout .sb-image-actions > button.wishlist:hover,
  .cz-cart-layout .sb-image-actions > button.compare:hover,
  .cz-cart-layout .sb-image-actions > button.wishlist:focus-visible,
  .cz-cart-layout .sb-image-actions > button.compare:focus-visible {
    background-color: #eaf8fe;
    color: #007ea8;
    border-color: #93cfe4;
    box-shadow: 0 2px 7px rgba(23, 46, 62, .18);
  }
  .cz-cart-layout .sb-image-actions > button.wishlist:active,
  .cz-cart-layout .sb-image-actions > button.compare:active {
    background-color: #d7f2fc;
  }

  /* Purchase block: the only large blue action on the product card. */
  .cz-cart-layout .category-card-footer {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding: 10px 0;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .cz-cart-layout .category-card-footer > .timer { max-width: 100%; }
  .cz-cart-layout .category-card-footer > .price {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 8px;
    order: 0;
    float: none;
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
    text-align: right;
    white-space: normal;
    box-sizing: border-box;
  }
  #content .cz-cart-layout .category-card-footer > button.category-cart-button {
    display: block !important;
    position: static;
    float: none;
    width: 100%;
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: 10px 8px;
    border: 0;
    border-radius: 3px;
    background: #00aef0;
    color: #fff;
    text-align: center;
    white-space: normal;
    box-sizing: border-box;
    cursor: pointer;
  }
  #content .cz-cart-layout .category-cart-button::before {
    content: none !important;
    display: none !important;
    background-image: none !important;
  }
  #content .cz-cart-layout .category-cart-button > .sb-icon-cart {
    display: inline-block !important;
    font-size: 20px;
    line-height: 1;
    vertical-align: -2px;
    margin-right: 7px;
    color: inherit;
  }
  /* Codezeel hides labels inside carousel buttons; keep these explicitly visible. */
  #content .cz-cart-layout .category-cart-button > span.cart-label-full {
    display: inline !important;
    background: none;
  }
  #content .cz-cart-layout .category-cart-button > span.cart-label-short {
    display: none !important;
    background: none;
  }
  /* Equal or greater specificity than the blue base rule above. */
  #content .cz-cart-layout .category-card-footer > button.category-cart-button:hover,
  #content .cz-cart-layout .category-card-footer > button.category-cart-button:focus { background: #000; }
  #content .cz-cart-layout .category-cart-button:focus-visible {
    outline: 2px solid #222;
    outline-offset: 2px;
  }
  #content .cz-cart-layout .category-cart-button.is-hidden {
    display: block !important;
    visibility: hidden;
  }

  @media (max-width: 991px) {
    .cz-cart-layout .image > .sb-image-actions { top: 5px; right: 5px; gap: 4px; }
    .cz-cart-layout .image > .sb-image-actions-sale { top: 30px; }
    .cz-cart-layout .sb-image-actions > button.wishlist,
    .cz-cart-layout .sb-image-actions > button.compare {
      flex-basis: 31px;
      min-height: 31px;
      min-width: 31px;
      width: 31px;
      height: 31px;
    }
    .cz-cart-layout .sb-image-actions .sb-icon { font-size: 16px; }
    #content .cz-cart-layout .category-cart-button > span.cart-label-full { display: none !important; }
    #content .cz-cart-layout .category-cart-button > span.cart-label-short { display: inline !important; }
    #content .cz-cart-layout .category-card-footer > button.category-cart-button {
      min-height: 36px;
      padding: 7px 5px;
      font-size: 13px;
      line-height: 20px;
    }
    #content .cz-cart-layout .category-cart-button > .sb-icon-cart {
      font-size: 18px;
      margin-right: 5px;
    }
  }