/* Classima storefront only. The theme's HTML order already places info after the image. */
.classima-store-single .rtin-banner-wrap {
    margin-bottom: 32px !important;
}
.classima-store-single .rtin-banner-wrap .rtin-banner-img::before,
.classima-store-single .rtin-banner-wrap .rtin-banner-img::after {
    content: none !important;
    display: none !important;
    background: none !important;
}
.classima-store-single .rtin-banner-wrap .rtin-banner-img {
    opacity: 1 !important;
    filter: none !important;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
}
.classima-store-single .rtin-banner-wrap .rtin-banner-img img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}
.classima-store-single .rtin-banner-wrap .rtin-banner-content {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 26px !important;
    margin: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-sizing: border-box !important;
    border: 1px solid #e5e7eb;
    border-top: 0;
    border-radius: 0 0 6px 6px;
}
.classima-store-single .rtin-banner-wrap .rtin-banner-content .rtin-logo {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    flex: 0 0 100px !important;
    max-width: 100px !important;
    align-self: center !important;
    margin: 0 !important;
}
.classima-store-single .rtin-banner-wrap .rtin-banner-content .rtin-logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.classima-store-single .rtin-banner-wrap .rtin-banner-content .rtin-store-title-area {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #111 !important;
}
.classima-store-single .rtin-banner-wrap .rtin-banner-content .rtin-store-title-area .rtin-store-title {
    margin: 0 0 8px !important;
    color: #111 !important;
    font-size: 28px !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere;
}
.classima-store-single .rtin-banner-wrap .rtin-banner-content .rtin-store-title-area .rtin-store-slogan {
    color: #111 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    overflow-wrap: anywhere;
}
.classima-store-single .rtin-banner-wrap .rtin-banner-content .rtin-store-title-area .rtin-title-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 16px 0 0 !important;
}
.classima-store-single .rtin-banner-wrap .rtin-banner-content .rtin-store-title-area .rtin-title-meta li {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 0 !important;
    margin: 0 !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}
.classima-store-single .rtin-banner-wrap .rtin-title-meta li a,
.classima-store-single .rtin-banner-wrap .rtin-title-meta li span {
    color: #111 !important;
}
.classima-store-single .classima-store-info .rtin-email > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 44px !important;
    height: auto !important;
    padding: 12px 16px !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    text-align: center !important;
}
.classima-store-single .classima-store-info .rtin-email > a > i {
    flex: 0 0 auto;
    margin: 0 !important;
}
@media (max-width: 767px) {
    .classima-store-single .rtin-banner-wrap .rtin-banner-content {
        padding: 20px 16px !important;
        gap: 16px !important;
        align-items: flex-start !important;
    }
    .classima-store-single .rtin-banner-wrap .rtin-banner-content .rtin-logo {
        flex-basis: 70px !important;
        max-width: 70px !important;
    }
    .classima-store-single .rtin-banner-wrap .rtin-banner-content .rtin-store-title-area .rtin-store-title {
        font-size: 24px !important;
    }
    .classima-store-single .rtin-banner-wrap .rtin-banner-content .rtin-store-title-area .rtin-title-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
}
@media (max-width: 420px) {
    .classima-store-single .rtin-banner-wrap .rtin-banner-content {
        flex-direction: column !important;
    }
}

/* Hide only the duplicate title in the gray theme banner. Keep breadcrumbs. */
body.single-store .banner-content > h1.entry-title {
    display: none !important;
}

/* Direct store reviews: separate from the listings' review system. */
.amxml-reviews,.amxml-reviews * { box-sizing: border-box; }
.amxml-reviews { margin-top:32px; padding:26px; border:1px solid #e5e7eb; border-radius:8px; background:#fff; color:#222; scroll-margin-top:110px; }
.amxml-reviews .amxml-review-top { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; }
.amxml-reviews h2 { font-size:24px; margin:0 0 6px; line-height:1.35; }
.amxml-reviews h3 { font-size:20px; margin:0 0 14px; }
.amxml-reviews p { line-height:1.65; }
.amxml-reviews .amxml-review-summary { margin:0; color:#4b5563; }
.amxml-reviews .amxml-review-item { padding:20px 0; border-top:1px solid #edf0f3; }
.amxml-reviews .amxml-review-meta { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }
.amxml-reviews time { font-size:13px; color:#697386; }
.amxml-reviews .amxml-review-stars { color:#bd8200; font-size:21px; margin:6px 0; letter-spacing:2px; }
.amxml-reviews .amxml-review-item p { margin:6px 0 0; white-space:normal; overflow-wrap:anywhere; }
.amxml-reviews .amxml-review-write { border-top:1px solid #e5e7eb; margin-top:22px; padding-top:24px; scroll-margin-top:110px; }
.amxml-reviews fieldset { border:0; padding:0; margin:0 0 18px; }
.amxml-reviews legend,.amxml-reviews .amxml-review-form > label { font-size:15px; font-weight:600; margin-bottom:8px; display:block; }
.amxml-reviews .amxml-review-choices { display:flex; gap:10px; flex-wrap:wrap; }
.amxml-reviews .amxml-review-choices label { display:inline-flex; align-items:center; margin:0; cursor:pointer; }
.amxml-reviews .amxml-review-choices input { position:absolute; width:1px; height:1px; opacity:0; }
.amxml-reviews .amxml-review-choices label > span { display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:9px 14px; min-width:58px; border:1px solid #cdd3da; border-radius:6px; color:#555; background:#fff; }
.amxml-reviews .amxml-review-choices input:checked + span { color:#805500; border-color:#bd8200; background:#fff4d8; font-weight:700; }
.amxml-reviews .amxml-review-choices input:focus-visible + span { outline:2px solid #b21f26; outline-offset:3px; }
.amxml-reviews textarea { display:block; width:100%; max-width:100%; min-height:110px; padding:12px; font:inherit; color:#222; border:1px solid #cdd3da; border-radius:6px; resize:vertical; }
.amxml-reviews .amxml-review-help { font-size:13px; color:#697386; margin:10px 0 16px; }
.amxml-reviews .amxml-review-button,.amxml-reviews button[data-amxml-page] { display:inline-flex; align-items:center; justify-content:center; padding:10px 16px; min-height:42px; border:0; border-radius:6px; background:#e52d31; color:#fff; font:inherit; font-weight:600; line-height:1.4; text-decoration:none; cursor:pointer; }
.amxml-reviews button:disabled { opacity:.55; cursor:default; }
.amxml-reviews .amxml-review-pagination { display:flex; align-items:center; justify-content:center; gap:14px; margin:15px 0; }
.amxml-reviews .amxml-review-status { margin:12px 0 0; font-size:14px; }
.amxml-reviews .amxml-review-link { color:#b51f25; font-weight:600; text-decoration:underline; }
.amxml-reviews :is(button,a,textarea):focus-visible { outline:2px solid #b21f26; outline-offset:3px; }
@media(max-width:767px) { .amxml-reviews{padding:20px 16px}.amxml-reviews .amxml-review-top{align-items:flex-start;flex-direction:column}.amxml-reviews .amxml-review-choices{gap:6px}.amxml-reviews .amxml-review-choices label > span{padding:8px 10px;min-width:48px}.amxml-reviews h2{font-size:22px} }

.classima-store-single .rtin-banner-wrap .rtin-title-meta li a.amxml-review-summary-link { text-decoration:underline; text-underline-offset:3px; }

/* Store descriptions are plain text; preserve the author's paragraph breaks. */
.classima-store-single .classima-store-details > div > p {
    white-space: pre-line !important;
    overflow-wrap: anywhere;
    margin: 0 0 1em !important;
}
.classima-store-single .classima-store-details > div > p:last-child {
    margin-bottom: 0 !important;
}

/* Search is scoped to the current store and sits above the result count. */
.amxml-store-search { width:100%; box-sizing:border-box; padding:6px 28px; margin:0 0 24px; background:#fff; border:1px solid #e5e7eb; border-radius:6px; }
.amxml-store-search label { display:block; margin:0 0 10px; color:#111; font-size:17px; font-weight:600; }
.amxml-store-search-row { display:flex; gap:12px; }
.amxml-store-search input[type="search"] { box-sizing:border-box; flex:1 1 0; min-width:0; width:100%; height:46px; padding:10px 14px; border:1px solid #cdd3da; border-radius:5px; background:#fff; color:#222; font:inherit; }
.amxml-store-search button { flex:0 0 auto; min-height:46px; padding:10px 24px; border:0; border-radius:5px; background:#e52d31; color:#fff; font:inherit; font-weight:600; cursor:pointer; }
.amxml-store-search-clear { display:inline-block; margin-top:12px; color:#b51f25; text-decoration:underline; }
.amxml-store-search :is(input,button,a):focus-visible { outline:2px solid #b21f26; outline-offset:3px; }
@media(max-width:575px) { .amxml-store-search{padding:8px 16px}.amxml-store-search-row{flex-direction:column}.amxml-store-search button{width:100%} }

/* Keep an accessible name without a visible heading above the search field. */
.amxml-store-search label.amxml-search-label {
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    padding:0 !important;
    margin:-1px !important;
    overflow:hidden !important;
    clip:rect(0,0,0,0) !important;
    clip-path:inset(50%) !important;
    white-space:nowrap !important;
    border:0 !important;
}
