
/* PH164_EXPIRED_GRAY_INLINE_V2_20261108 */

article.ph164-expired>.ph164-card{
 background:#f1f3f5!important;
 border-color:#cfd5dc!important;
 box-shadow:0 2px 10px #65717e14!important;
 color:#56616e!important;
}

article.ph164-expired .ph164-mediaframe{
 background:#e6e9ec!important;
}

article.ph164-expired .ph164-mediaframe img{
 filter:grayscale(.75) saturate(.55)!important;
 opacity:.78!important;
}

article.ph164-expired .ph164-kind{
 background:#dfe3e7!important;
 color:#56616d!important;
}

article.ph164-expired .ph164-expiry{
 background:#e7e9ec!important;
 color:#6e7782!important;
}

article.ph164-expired .ph164-title,
article.ph164-expired .ph164-title a{
 color:#626c78!important;
}

article.ph164-expired .ph164-price-main{
 color:#74808e!important;
}

article.ph164-expired .ph164-old{
 color:#9ba5ae!important;
}

article.ph164-expired .ph164-body{
 grid-template-rows:auto auto auto auto 35px!important;
 gap:4px!important;
 min-height:0!important;
 overflow:visible!important;
}

article.ph164-expired .ph164-pricing{
 display:flex!important;
 flex-wrap:wrap!important;
 align-items:center!important;
 gap:4px 9px!important;
 min-height:0!important;
 overflow:visible!important;
}

article.ph164-expired .ph164-historical-label{
 flex:0 0 100%!important;
 font-size:10px!important;
 font-weight:700!important;
 color:#818b98!important;
 line-height:1.15!important;
}

article.ph164-expired .ph164-expired-note{
 padding:4px 7px!important;
 border-radius:6px!important;
 background:#e2e5e9!important;
 color:#65707e!important;
 font-weight:750!important;
 font-size:10px!important;
}

article.ph164-expired .ph164-actions{
 min-height:35px!important;
 justify-content:flex-end!important;
 overflow:visible!important;
}

article.ph164-expired .ph164-actions>a.ph164-similar-action{
 display:inline-flex!important;
 align-items:stretch!important;
 flex:0 0 auto!important;
 gap:0!important;
 max-width:100%!important;
 height:35px!important;
 width:max-content!important;
 margin-left:auto!important;
 text-decoration:none!important;
 background:transparent!important;
 border:0!important;
 padding:0!important;
 box-shadow:none!important;
}

article.ph164-expired .ph164-actions>a.ph164-similar-action .card-promo-copy{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 flex:0 0 auto!important;
 min-width:0!important;
 width:auto!important;
 height:35px!important;
 padding:0 12px!important;
 margin:0!important;
 background:#ffca08!important;
 color:#241c08!important;
 border-radius:9px 0 0 9px!important;
 clip-path:none!important;
}

article.ph164-expired .ph164-actions>a.ph164-similar-action .promo-label{
 font-size:11px!important;
 font-weight:850!important;
 white-space:nowrap!important;
 color:#241c08!important;
 text-transform:none!important;
}

article.ph164-expired .ph164-actions>a.ph164-similar-action .promo-cut{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 position:relative!important;
 width:32px!important;
 flex:0 0 32px!important;
 height:35px!important;
 background:#ffca08!important;
 border-left:1px dashed #b88a00!important;
 border-radius:0 9px 9px 0!important;
 color:#241c08!important;
 font-size:16px!important;
}

article.ph164-expired .ph164-actions>a.ph164-similar-action .promo-cut::before,
article.ph164-expired .ph164-actions>a.ph164-similar-action .promo-cut::after{
 content:""!important;
 position:absolute!important;
 left:-4px!important;
 width:7px!important;
 height:7px!important;
 border-radius:50%!important;
 background:#f1f3f5!important;
}

article.ph164-expired .ph164-actions>a.ph164-similar-action .promo-cut::before{
 top:-4px!important;
}

article.ph164-expired .ph164-actions>a.ph164-similar-action .promo-cut::after{
 bottom:-4px!important;
}

@container ph164card (max-width:420px){
 article.ph164-expired .ph164-actions>a.ph164-similar-action .card-promo-copy{
  padding:0 8px!important;
 }
 article.ph164-expired .ph164-actions>a.ph164-similar-action .promo-label{
  font-size:9px!important;
 }
 article.ph164-expired .ph164-actions>a.ph164-similar-action .promo-cut{
  width:27px!important;
  flex-basis:27px!important;
 }
}

@container ph164card (max-width:288px){
 article.ph164-expired .ph164-actions>a.ph164-similar-action .card-promo-copy{
  padding:0 4px!important;
 }
 article.ph164-expired .ph164-actions>a.ph164-similar-action .promo-label{
  font-size:8px!important;
 }
 article.ph164-expired .ph164-actions>a.ph164-similar-action .promo-cut{
  width:23px!important;
  flex-basis:23px!important;
 }
}



/* PRICEHACK_MARKETPLACES_DIRECT_FEED_V11 */

.ph-marketplace-selector {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 5px 0 12px !important;
    scrollbar-width: thin;
}

.ph-marketplace-selector .ph-marketplace-chip {
    flex: 0 0 auto !important;
    height: 32px !important;
    min-height: 32px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    background: #3D3424 !important;
    border: 1px solid #79652F !important;
    color: #FFCC00 !important;
    border-radius: 9px !important;
}

.ph-marketplace-selector .ph-marketplace-chip.active {
    background: #FFCC00 !important;
    border-color: #FFCC00 !important;
    color: #111111 !important;
}

.ph-marketplace-selector .ph-marketplace-chip:hover:not(.active) {
    background: #51452F !important;
}



/* PRICEHACK_COMPACT_LOGO_TILES_V1 */

.ph-logo-selector {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0 10px;
    -webkit-overflow-scrolling: touch;
}

.ph-logo-selector .ph-logo-tile,
.ph-marketplace-selector .ph-logo-tile,
.ph-qf-bar .ph-logo-tile {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 120px !important;
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #dce1e7 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #20242a !important;
    text-decoration: none !important;
    box-shadow: none !important;
    line-height: normal !important;
    cursor: pointer;
}

.ph-logo-selector .ph-logo-tile.active,
.ph-marketplace-selector .ph-logo-tile.active,
.ph-qf-bar .ph-logo-tile.active {
    border: 2px solid #ffcc00 !important;
    background: #fff !important;
    color: #20242a !important;
}

.ph-logo-tile .ph-logo-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    z-index: 1;
}

.ph-logo-tile .ph-logo-fallback {
    display: block;
    max-width: 100%;
    padding: 0 5px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    overflow-wrap: anywhere;
}

.ph-logo-tile .ph-logo-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.ph-logo-selector .ph-logo-unavailable {
    opacity: .35 !important;
    cursor: not-allowed !important;
    filter: grayscale(1);
}

.ph-logo-tile:hover:not(.active):not(:disabled) {
    border-color: #d0a900 !important;
}

@media (max-width: 600px) {
    .ph-logo-selector .ph-logo-tile,
    .ph-marketplace-selector .ph-logo-tile,
    .ph-qf-bar .ph-logo-tile {
        flex-basis: 96px !important;
        width: 96px !important;
        min-width: 96px !important;
        max-width: 96px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }
}


/* PRICEHACK_LOGO_UI_V3 */
/* Keep the review-points marketplace selector inside the feed, below banner and above sorting. */
.ph-review-logo-position-v3 {margin: 5px 0 12px !important;}
/* Use the same full-area WebP tile styling for the Yandex coupon filter. */
.ph-qf-bar .ph-coupon-market-logo-v3 {
    width:120px !important; min-width:120px !important; max-width:120px !important;
    height:56px !important; min-height:56px !important; max-height:56px !important;
    padding:0 !important; border-radius:9px !important; overflow:hidden !important;
    position:relative !important; background:#fff !important;
    border:1px solid #dce1e7 !important;
}
.ph-qf-bar .ph-coupon-market-logo-v3.active {border:2px solid #ffcc00 !important;}
.ph-qf-bar .ph-coupon-market-logo-v3 .ph-logo-image {
    display:block !important; width:100% !important; height:100% !important;
    object-fit:contain !important; inset:0 !important; position:absolute !important;
}
/* The expanded store chooser remains searchable; options become image-first tiles. */
.ph-qf-overlay .ph-qf-list {
    display:grid !important;
    grid-template-columns:repeat(auto-fill,minmax(112px,1fr)) !important;
    align-items:start !important; gap:9px !important;
}
.ph-qf-overlay .ph-qf-list .ph-qf-option.ph-store-option-v3 {
    box-sizing:border-box !important; position:relative !important;
    display:flex !important; align-items:center !important; justify-content:center !important;
    min-width:0 !important; width:100% !important;
    height:56px !important; min-height:56px !important; max-height:56px !important;
    overflow:hidden !important; padding:0 !important; margin:0 !important;
    border:1px solid #dce1e7 !important; border-radius:9px !important;
    background:#fff !important;
}
.ph-qf-overlay .ph-qf-list .ph-qf-option.ph-store-option-v3.active {
    border:2px solid #ffcc00 !important;
}
.ph-qf-overlay .ph-qf-list .ph-qf-option.ph-store-option-v3 img.ph-store-option-logo-v3 {
    display:block !important; position:absolute !important; inset:0 !important;
    width:100% !important; height:100% !important;
    object-fit:contain !important; object-position:center !important;
    margin:0 !important; padding:0 !important;
}
.ph-qf-overlay .ph-qf-list .ph-qf-option.ph-has-logo-v3 > :not(img) {
    position:absolute !important; clip-path:inset(50%) !important;
    width:1px !important; height:1px !important; overflow:hidden !important;
}
@media(max-width:600px) {
    .ph-qf-bar .ph-coupon-market-logo-v3 {
        width:96px !important; min-width:96px !important; max-width:96px !important;
        height:48px !important; min-height:48px !important; max-height:48px !important;
    }
    .ph-qf-overlay .ph-qf-list {grid-template-columns:repeat(auto-fill,minmax(96px,1fr)) !important;}
    .ph-qf-overlay .ph-qf-list .ph-qf-option.ph-store-option-v3 {
        height:48px !important; min-height:48px !important; max-height:48px !important;
    }
}



/* PRICEHACK_UNIFIED_OFFER_FALLBACK_V131 */

.ph-unified-no-image {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 190px;
  height: 100%;
  box-sizing: border-box;
  padding: 20px;
  background: #f3f4f6;
  color: #64748b;
  text-align: center;
}

.ph-unified-no-image-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 2px dashed #b8c1cc;
  border-radius: 16px;
  font-size: 32px;
  font-weight: 700;
}

.ph-unified-no-image-text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.ph-unified-empty-description {
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #334155;
}

.ph-unified-empty-description strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.ph-unified-empty-description p {
  margin: 0;
  line-height: 1.65;
}

.ph-unified-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ph-unified-help-item {
  padding: 17px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  min-width: 0;
}

.ph-unified-help-item h3 {
  margin: 0 0 9px;
  font-size: 15px;
  line-height: 1.4;
}

.ph-unified-help-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

@media (max-width: 680px) {
  .ph-unified-help-grid {
    grid-template-columns: 1fr;
  }

  .ph-unified-help-item {
    padding: 14px;
  }

  .ph-unified-no-image {
    min-height: 150px;
  }
}


/* PRICEHACK_V132C3_SHARED_MEDIA */

.ph-unified-no-image.ph-unified-no-image-preview {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 120px;
    aspect-ratio: 4 / 3;
    padding: 12px;
    gap: 8px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #64748b;
    text-align: center;
}

.ph-unified-no-image-preview .ph-unified-no-image-symbol {
    width: 44px;
    height: 44px;
    font-size: 24px;
    border-radius: 12px;
}

.ph-unified-no-image-preview .ph-unified-no-image-text {
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.cpa-mobile-image-v229 .ph-unified-no-image-preview {
    min-height: 90px;
    aspect-ratio: 16 / 9;
}

@media (max-width: 680px) {
    .ph-unified-no-image.ph-unified-no-image-preview {
        padding: 10px;
    }
}


/* PRICEHACK_V133A_UNIFIED_EMPTY_STATE */

.ph-unified-empty-v133 {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  box-sizing: border-box;
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
  text-align: left;
}

.ph-empty-symbol-v133 {
  display: flex;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  border: 2px dashed #cbd5e1;
  border-radius: 18px;
  background: #fff;
  color: #64748b;
  font-size: 35px;
  font-weight: 700;
}

.ph-empty-body-v133 {
  flex: 1;
  min-width: 0;
}

.ph-empty-body-v133 h2 {
  margin: 0 0 9px;
  font-size: 21px;
  line-height: 1.35;
}

.ph-empty-body-v133 p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.ph-empty-actions-v133 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ph-empty-primary-v133 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  box-sizing: border-box;
  border-radius: 9px;
  background: #202936;
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ph-empty-primary-v133:hover {
  background: #39465a;
  color: white;
}

@media (max-width: 680px) {
  .ph-unified-empty-v133 {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
  }

  .ph-empty-symbol-v133 {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border-radius: 13px;
    font-size: 25px;
  }

  .ph-empty-body-v133 h2 {
    font-size: 18px;
  }

  .ph-empty-primary-v133 {
    width: 100%;
  }
}


/* PRICEHACK_V133C_UNIFIED_EMPTY_STATES */

.offer-grid > .ph-unified-empty-v133,
.catalog-root-grid > .ph-unified-empty-v133,
.brand-grid > .ph-unified-empty-v133,
.grid > .ph-unified-empty-v133,
.ph-cpa-embed > .ph-unified-empty-v133 {
    grid-column: 1 / -1;
    max-width: 100%;
}

.brand-search-empty {
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
}


/* PRICEHACK_V134C_UNIFIED_RECOMMENDATIONS */

.ph-recommendations-v134 {
    width: 100%;
    box-sizing: border-box;
    margin: 26px 0;
    padding: 0;
}

.ph-rec-heading-v134 {
    margin: 0 0 16px;
}

.ph-rec-heading-v134 h2 {
    margin: 0 0 6px;
    font-size: 23px;
    line-height: 1.35;
}

.ph-rec-heading-v134 p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.ph-rec-grid-v134 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ph-rec-grid-cpa {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ph-rec-card-v134 {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, box-shadow .15s;
}

.ph-rec-card-v134:hover {
    border-color: #94a3b8;
    box-shadow: 0 5px 16px rgba(15,23,42,.07);
}

.ph-rec-image-v134 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f8fafc;
}

.ph-rec-image-v134 > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ph-rec-image-v134 .ph-unified-no-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 0;
}

.ph-rec-info-v134 {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 13px;
    min-width: 0;
}

.ph-rec-kind-v134 {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.ph-rec-title-v134 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.ph-rec-brand-v134 {
    color: #64748b;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.ph-rec-link-v134 {
    margin-top: auto;
    padding-top: 7px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 720px) {
    .ph-rec-heading-v134 h2 {
        font-size: 19px;
    }

    .ph-rec-grid-v134 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ph-rec-grid-cpa {
        grid-template-columns: minmax(0, 1fr);
    }

    .ph-rec-hide-mobile-v134 {
        display: none;
    }

    .ph-rec-info-v134 {
        padding: 10px;
    }

    .ph-rec-title-v134 {
        font-size: 13px;
    }
}


/* PRICEHACK_V134E_VISUAL_REFINEMENT */

/* Offer information */

.ph-unified-help-grid {
    gap: 12px !important;
    margin-top: 17px !important;
    align-items: stretch !important;
}

.ph-unified-help-grid > * {
    min-height: 0 !important;
    padding: 18px 20px !important;

    border: 1px solid #dee6f0 !important;
    border-left: 3px solid #9cb9e8 !important;
    border-radius: 12px !important;

    background: #f8fafd !important;
    box-shadow: none !important;

    justify-content: flex-start !important;
    gap: 9px !important;
}

.ph-unified-help-grid :is(h3, h4, h5) {
    margin: 0 0 9px !important;
    color: #162b45 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.ph-unified-help-grid p {
    margin: 0 !important;
    color: #475e79 !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
}

.ph-unified-offer-content > :is(h2, h3) {
    margin-bottom: 12px !important;
    color: #102b49;
    font-size: 18px;
    font-weight: 700;
}

/* Useful sections */

.ph-v134e-useful-title {
    display: block;
    margin: 20px 0 12px !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    color: #142d4a !important;
    font-weight: 700 !important;
}

:is(section, div, nav):has(> .ph-v134e-useful-title) a,
:is(
    .seo-nav-links,
    .seo-nav-grid,
    .seo-nav-chips,
    .seo-links-grid,
    .seo-link-grid
) a {
    padding: 10px 12px !important;
    border: 1px solid #dce5f0 !important;
    border-radius: 9px !important;

    background: #fff !important;
    color: #162b45 !important;

    font-size: 12.5px !important;
    line-height: 1.4 !important;

    box-shadow: 0 1px 2px rgba(20,42,68,.025);

    transition:
        border-color .15s ease,
        background .15s ease;
}

:is(section, div, nav):has(> .ph-v134e-useful-title) a:hover,
:is(
    .seo-nav-links,
    .seo-nav-grid,
    .seo-nav-chips,
    .seo-links-grid,
    .seo-link-grid
) a:hover {
    border-color: #aac4e8 !important;
    background: #f6faff !important;
}

:is(section, div, nav):has(> .ph-v134e-useful-title) a
:is(small, span),
:is(
    .seo-nav-links,
    .seo-nav-grid,
    .seo-nav-chips,
    .seo-links-grid,
    .seo-link-grid
) a :is(small, span) {
    font-size: 10.5px;
    line-height: 1.35;
}

/* Recommendation cards */

.ph-rec-card-v134 {
    border-radius: 12px;
    border-color: #dfe6ee;
}

.ph-rec-image-v134 {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f3f6fa;
    overflow: hidden;
}

.ph-rec-image-v134 > img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center !important;
}

.ph-rec-info-v134 {
    gap: 8px;
    padding: 13px 14px 15px;
}

.ph-rec-kind-v134 {
    color: #557395;
    font-size: 11px;
}

.ph-rec-title-v134 {
    color: #112c4d;
    line-height: 1.45;
}

.ph-rec-brand-v134 {
    color: #5c7796;
}

.ph-rec-link-v134 {
    color: #2464c7;
}

/* Mobile */

@media (max-width: 720px) {
    .ph-unified-help-grid {
        grid-template-columns: 1fr !important;
    }

    .ph-unified-help-grid > * {
        padding: 15px 16px !important;
    }

    .ph-v134e-useful-title {
        font-size: 16px !important;
    }

    .ph-rec-info-v134 {
        padding: 10px 11px 13px;
    }
}


/* PRICEHACK_V134G_VISUAL_FIX */

/* =========================
   1. INFO BLOCKS
   ========================= */

.ph-unified-help-grid {
    gap: 14px !important;
    margin-top: 12px !important;
    align-items: stretch !important;
}

.ph-unified-help-grid > * {
    min-height: 0 !important;
    padding: 14px 18px 16px !important;
    border: 1px solid #efd7bf !important;
    border-left: 0 !important;
    border-radius: 14px !important;
    background: #fff6ed !important;
    box-shadow: none !important;
}

.ph-unified-help-grid :is(h3, h4, h5) {
    margin: 0 0 6px !important;
    color: #7b4b1f !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.ph-unified-help-grid p {
    margin: 0 !important;
    color: #6c5338 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.ph-unified-offer-content > :is(h2, h3) {
    margin-bottom: 8px !important;
}

/* =========================
   2. USEFUL SECTIONS
   ========================= */

.ph-v134e-useful-title {
    display: block;
    margin: 18px 0 10px !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    color: #16304d !important;
    font-weight: 700 !important;
}

:is(section, div, nav):has(> .ph-v134e-useful-title) a,
:is(
    .seo-nav-links,
    .seo-nav-grid,
    .seo-nav-chips,
    .seo-links-grid,
    .seo-link-grid
) a {
    padding: 10px 12px !important;
    border: 1px solid #d6e0ea !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #18324f !important;
    text-decoration: none !important;
}

:is(section, div, nav):has(> .ph-v134e-useful-title) a:hover,
:is(
    .seo-nav-links,
    .seo-nav-grid,
    .seo-nav-chips,
    .seo-links-grid,
    .seo-link-grid
) a:hover {
    border-color: #bfd0e2 !important;
    background: #f8fbfe !important;
}

:is(section, div, nav):has(> .ph-v134e-useful-title) a * ,
:is(
    .seo-nav-links,
    .seo-nav-grid,
    .seo-nav-chips,
    .seo-links-grid,
    .seo-link-grid
) a * {
    text-decoration: none !important;
}

:is(section, div, nav):has(> .ph-v134e-useful-title) a :is(small, span),
:is(
    .seo-nav-links,
    .seo-nav-grid,
    .seo-nav-chips,
    .seo-links-grid,
    .seo-link-grid
) a :is(small, span) {
    color: #6d7f92 !important;
    font-size: 10.5px !important;
    line-height: 1.3 !important;
}

/* =========================
   3. RECOMMENDATION CARDS
   ========================= */

.ph-recommendations-v134 {
    margin: 24px 0 !important;
}

.ph-rec-heading-v134 {
    margin: 0 0 14px !important;
}

.ph-rec-heading-v134 h2 {
    margin: 0 0 4px !important;
    color: #112c4d !important;
}

.ph-rec-heading-v134 p {
    color: #637a92 !important;
}

.ph-rec-grid-v134 {
    gap: 14px !important;
}

.ph-rec-card-v134 {
    border: 1px solid #dde5ee !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
}

.ph-rec-card-v134:hover {
    border-color: #c8d5e3 !important;
    box-shadow: 0 4px 14px rgba(17,44,77,.06) !important;
}

.ph-rec-image-v134 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 196px !important;
    aspect-ratio: auto !important;
    background: #f5f7fa !important;
    overflow: hidden !important;
}

.ph-rec-image-v134 > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f5f7fa !important;
}

.ph-rec-image-v134 .ph-unified-no-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: 0 !important;
}

.ph-rec-info-v134 {
    gap: 8px !important;
    padding: 12px 13px 14px !important;
}

.ph-rec-kind-v134 {
    color: #607a97 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

.ph-rec-title-v134 {
    color: #16304d !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

.ph-rec-brand-v134 {
    color: #72869a !important;
    font-size: 12px !important;
}

.ph-rec-link-v134 {
    margin-top: auto !important;
    color: #285fb8 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* =========================
   4. MOBILE
   ========================= */

@media (max-width: 720px) {
    .ph-unified-help-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .ph-unified-help-grid > * {
        padding: 13px 14px 14px !important;
    }

    .ph-v134e-useful-title {
        margin: 16px 0 9px !important;
        font-size: 16px !important;
    }

    .ph-rec-grid-v134 {
        gap: 10px !important;
    }

    .ph-rec-image-v134 {
        height: 170px !important;
    }

    .ph-rec-info-v134 {
        padding: 10px 11px 12px !important;
    }

    .ph-rec-title-v134 {
        font-size: 13px !important;
    }
}


/* PRICEHACK_V135A_EXISTING_COUPON_RECOMMENDATIONS */

/* Compact warm information blocks */

.ph-unified-help-grid > * {
    min-height: 0 !important;
    height: auto !important;
    padding: 13px 16px 14px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 6px !important;
    background: #fff8f2 !important;
    border: 1px solid #f0ddc9 !important;
    border-radius: 12px !important;
}

.ph-unified-help-grid :is(h3,h4,h5) {
    margin: 0 0 5px !important;
}

.ph-unified-help-grid p {
    margin: 0 !important;
}

/* Useful sections: one concise title per tile */

.ph-v135-useful-tile {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 37px !important;
    padding: 9px 12px !important;
    border: 1px solid #dfe5ed !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #173454 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background .15s, border-color .15s !important;
}

.ph-v135-useful-tile:hover {
    background: #f7f9fc !important;
    border-color: #b9cadd !important;
}

.ph-v135-useful-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
}

/* Coupon recommendations based on the existing CPA template */

.ph-rec-coupon-feed-v135 {
    margin: 22px 0 !important;
}

.ph-rec-coupon-grid-v135 {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}

.ph-rec-coupon-item-v135 {
    min-width: 0;
}

.ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 {
    display: grid !important;
    grid-template-columns: 145px minmax(0,1fr) !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 175px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid #dfe6ee !important;
    border-radius: 13px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.ph-rec-coupon-grid-v135 .ph-rec-coupon-v135:hover {
    border-color: #b7c8dd !important;
    box-shadow: 0 4px 14px rgba(25,45,70,.06) !important;
}

.ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 > .picture {
    display: flex !important;
    position: relative !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 175px !important;
    margin: 0 !important;
    padding: 7px !important;
    box-sizing: border-box !important;
    background: #f5f7fa !important;
    overflow: hidden !important;
}

.ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 > .picture > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 180px !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 6px !important;
}

.ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 > .details {
    display: flex !important;
    position: relative !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 9px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 14px !important;
    box-sizing: border-box !important;
}

.ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 .pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 0 !important;
}

.ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 .pill {
    padding: 4px 8px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
}

.ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 .merchant {
    margin: 0 !important;
    color: #71829a !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
}

.ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 .title {
    margin: 0 !important;
    color: #173454 !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere;
}

.ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 .descr,
.ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 .dates,
.ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 .cpa-mobile-image-v229 {
    display: none !important;
}

.ph-rec-coupon-grid-v135 .ph-rec-coupon-v135
> .ph-cpa-card-detail-link {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 8 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
}

.ph-rec-coupon-grid-v135 .ph-rec-open-v135 {
    display: inline-block;
    margin-top: auto;
    color: #2767c7;
    font-size: 12px;
    font-weight: 600;
}

@media(max-width:720px) {
    .ph-rec-coupon-grid-v135 {
        grid-template-columns: minmax(0,1fr);
        gap: 10px;
    }

    .ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 {
        grid-template-columns: 115px minmax(0,1fr) !important;
        min-height: 146px !important;
    }

    .ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 > .picture {
        min-height: 146px !important;
    }

    .ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 > .details {
        padding: 11px !important;
        gap: 7px !important;
    }

    .ph-rec-coupon-grid-v135 .ph-rec-coupon-v135 .title {
        font-size: 13px !important;
    }

    .ph-rec-coupon-item-v135.ph-rec-hide-mobile-v134 {
        display: none !important;
    }
}


/* PRICEHACK_V135D_USE_EXISTING_BREADCRUMBS */

.ph-useful-crumbs-v135d {
    font-size: 13px;
    margin: 0 0 18px;
}

.ph-useful-crumbs-v135d > a {
    font-size: 13px;
    min-height: 40px;
    padding: 0 15px;
}

