/* Bouqshop florist shop — pixel QA pass (visual fidelity) */
:root {
    --bq-shop-green: #2f6b4f;
    --bq-shop-green-dark: #24553f;
    --bq-shop-green-soft: #e8f2ec;
    --bq-shop-blush: #f8e8ea;
    --bq-shop-blush-deep: #c45b6a;
    --bq-shop-text: #1f2a24;
    --bq-shop-muted: #60646c;
    --bq-shop-border: #e7e7e5;
    --bq-shop-bg: #ffffff;
    --bq-shop-soft: #f7f8f6;
    --bq-shop-radius-hero: 26px;
    --bq-shop-radius: 15px;
    --bq-shop-radius-sm: 12px;
    --bq-shop-radius-tile: 11px;
    --bq-shop-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 3px 10px rgba(0, 0, 0, 0.03);
    --bq-shop-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.04), 0 8px 18px rgba(0, 0, 0, 0.06);
    --bq-shop-serif: var(--bq-font, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    --bq-shop-sans: var(--bq-font, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    --bq-shop-max: 1440px;
    --bq-shop-pad: 40px;
    --bq-shop-section-gap: 40px;
}

.bq-shop-page {
    background: var(--bq-shop-soft);
    color: var(--bq-shop-text);
    font-family: var(--bq-shop-sans);
    padding: 20px 0 64px;
}

.bq-shop-shell {
    width: 100%;
    max-width: var(--bq-shop-max);
    margin: 0 auto;
    padding-left: var(--bq-shop-pad);
    padding-right: var(--bq-shop-pad);
    box-sizing: border-box;
}

.bq-shop-shell > * {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

/* ========== Hero ========== */
.bq-shop-hero {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
}

.bq-shop-hero-cover {
    width: 100%;
    height: 200px;
    border-radius: var(--bq-shop-radius-hero) var(--bq-shop-radius-hero) 0 0;
    overflow: hidden;
    background: #dfe8e2;
}

.bq-shop-hero-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bq-shop-hero-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin-top: -68px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--bq-shop-border);
    border-radius: var(--bq-shop-radius-hero);
    box-shadow: var(--bq-shop-shadow);
    padding: 24px 28px;
    box-sizing: border-box;
    min-height: 0;
}

.bq-shop-hero-avatar-wrap {
    align-self: stretch;
    display: flex;
    align-items: flex-start;
}

.bq-shop-hero-avatar-frame {
    position: relative;
    width: 145px;
    height: 145px;
    margin-top: -72px;
    flex-shrink: 0;
}

.bq-shop-hero-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid #fff;
    background: var(--bq-shop-green);
    box-shadow: 0 6px 18px rgba(47, 107, 79, 0.14);
    overflow: hidden;
}

.bq-shop-hero-avatar-badge {
    position: absolute;
    right: 4px;
    bottom: 6px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--bq-shop-border);
    box-shadow: 0 2px 8px rgba(31, 42, 36, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bq-shop-green);
    font-size: 14px;
    text-decoration: none;
    z-index: 2;
}

.bq-shop-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bq-shop-hero-details {
    min-width: 0;
    text-align: left;
}

.bq-shop-hero-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    font-family: var(--bq-shop-serif);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--bq-shop-text);
}

.bq-shop-verified {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    align-self: center;
}

.bq-shop-hero-bio {
    margin: 6px 0 0;
    color: var(--bq-shop-muted);
    font-size: 14px;
    line-height: 1.45;
    max-width: 48ch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bq-shop-hero-bio + .bq-shop-hero-bio {
    margin-top: 2px;
    -webkit-line-clamp: 1;
}

.bq-shop-hero-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    color: var(--bq-shop-text);
    font-size: 13px;
    font-weight: 500;
}

.bq-shop-hero-location i {
    color: var(--bq-shop-green);
    font-size: 16px;
    line-height: 1;
}

.bq-shop-hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 22px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--bq-shop-muted);
}

.bq-shop-hero-stats > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    padding: 0;
    border: 0;
}

.bq-shop-hero-stats > span:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -11px;
    top: 50%;
    width: 1px;
    height: 12px;
    background: #e0e2df;
    transform: translateY(-50%);
}

.bq-shop-hero-stats i {
    color: #f0b429;
    font-size: 13px;
}

.bq-shop-hero-stats strong {
    color: var(--bq-shop-text);
    font-weight: 600;
}

.bq-shop-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    justify-self: end;
}

.bq-shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 43px;
    min-height: 43px;
    padding: 0 16px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.bq-shop-btn-primary {
    min-width: 112px;
    max-width: 125px;
    background: var(--bq-shop-green);
    color: #fff;
}

.bq-shop-btn-primary:hover {
    background: var(--bq-shop-green-dark);
    color: #fff;
}

.bq-shop-btn-secondary {
    min-width: 112px;
    max-width: 125px;
    background: #fff;
    color: var(--bq-shop-text);
    border-color: var(--bq-shop-border);
}

.bq-shop-btn-secondary:hover {
    background: var(--bq-shop-soft);
    color: var(--bq-shop-text);
}

.bq-shop-btn-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    background: #fff;
    border-color: var(--bq-shop-border);
    color: var(--bq-shop-text);
    border-radius: 11px;
}

.bq-shop-btn-icon:hover {
    background: var(--bq-shop-soft);
}

.bq-shop-btn-accent {
    background: var(--bq-shop-blush-deep);
    color: #fff;
    height: 32px;
    min-height: 32px;
    padding: 0 14px;
    font-size: 12px;
    border-radius: 8px;
    width: auto;
    align-self: flex-start;
}

.bq-shop-btn-accent:hover {
    filter: brightness(0.96);
    color: #fff;
}

/* ========== Tabs ========== */
.bq-shop-tabs {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 56px;
    height: 56px;
    margin: 0 0 32px;
    padding: 0 24px;
    background: #fff;
    border: 1px solid var(--bq-shop-border);
    border-radius: 15px;
    box-shadow: var(--bq-shop-shadow);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bq-shop-tabs::-webkit-scrollbar {
    display: none;
}

.bq-shop-tab {
    flex: 0 0 auto;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--bq-shop-muted);
    font-size: 14px;
    font-weight: 600;
    padding: 0 2px;
    border-radius: 0;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    text-transform: none;
    display: inline-flex;
    align-items: center;
}

.bq-shop-tab:hover {
    color: var(--bq-shop-text);
}

.bq-shop-tab.is-active {
    color: var(--bq-shop-text);
    background: transparent;
}

.bq-shop-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--bq-shop-green);
}

/* ========== Sections ========== */
.bq-shop-section {
    margin-top: var(--bq-shop-section-gap);
    margin-bottom: 0;
    scroll-margin-top: 96px;
}

.bq-shop-section:first-of-type {
    margin-top: 0;
}

.bq-shop-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.bq-shop-section-title {
    margin: 0;
    font-family: var(--bq-shop-serif);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--bq-shop-text);
}

.bq-shop-section-link {
    color: var(--bq-shop-green);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.bq-shop-section-link:hover {
    text-decoration: underline;
    color: var(--bq-shop-green-dark);
}

/* Empty states */
.bq-shop-empty-state {
    text-align: center;
    padding: 28px 24px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--bq-shop-border);
    border-radius: var(--bq-shop-radius);
    box-shadow: var(--bq-shop-shadow);
}

.bq-shop-empty-state-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--bq-shop-green-soft);
    color: var(--bq-shop-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.bq-shop-empty-state h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--bq-shop-text);
}

.bq-shop-empty-state p {
    margin: 0 auto;
    max-width: 400px;
    color: var(--bq-shop-muted);
    font-size: 13px;
    line-height: 1.5;
}

.bq-shop-empty {
    text-align: center;
    padding: 28px 16px;
    min-height: 120px;
    background: #fff;
    border: 1px solid var(--bq-shop-border);
    border-radius: var(--bq-shop-radius);
    color: var(--bq-shop-muted);
    box-shadow: var(--bq-shop-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bq-shop-empty i {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
    color: var(--bq-shop-green);
}

/* ========== Products ========== */
.bq-shop-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

@media (min-width: 1280px) {
    .bq-shop-products-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.bq-shop-product-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--bq-shop-border);
    border-radius: var(--bq-shop-radius);
    box-shadow: var(--bq-shop-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}

.bq-shop-product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--bq-shop-shadow-hover);
}

.bq-shop-product-media {
    position: relative;
    aspect-ratio: 1 / 1.05;
    background: #f2f5f3;
    border-radius: var(--bq-shop-radius) var(--bq-shop-radius) 0 0;
    overflow: hidden;
}

.bq-shop-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bq-shop-product-wish {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #8a9390;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-size: 15px;
    z-index: 1;
}

.bq-shop-product-wish:hover {
    color: #c45b6a;
}

.bq-shop-product-body {
    position: relative;
    padding: 10px 11px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.bq-shop-product-name {
    color: var(--bq-shop-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.bq-shop-product-name:hover {
    color: var(--bq-shop-green);
}

.bq-shop-product-sub {
    color: var(--bq-shop-muted);
    font-size: 12px;
    line-height: 1.3;
}

.bq-shop-product-meta {
    margin-top: auto;
    padding-top: 8px;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bq-shop-product-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--bq-shop-text);
}

.bq-shop-product-price del {
    margin-right: 5px;
    color: #9aa39e;
    font-weight: 500;
    font-size: 12px;
}

.bq-shop-product-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    color: var(--bq-shop-muted);
}

.bq-shop-product-rating i {
    color: #f0b429;
    font-size: 13px;
}

.bq-shop-product-cart {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--bq-shop-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

.bq-shop-product-cart:hover {
    background: var(--bq-shop-green-dark);
}

/* ========== Gallery ========== */
.bq-shop-gallery-masonry {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    grid-auto-rows: 145px;
    gap: 9px;
    min-height: 290px;
}

.bq-shop-gallery-masonry.is-single {
    display: block;
    min-height: 0;
}

.bq-shop-gallery-masonry.is-single .bq-shop-gallery-tile {
    max-width: 640px;
    width: 100%;
    margin: 0;
    aspect-ratio: 16 / 10;
    height: auto;
    border-radius: var(--bq-shop-radius);
}

.bq-shop-gallery-tile {
    display: block;
    overflow: hidden;
    border-radius: var(--bq-shop-radius-tile);
    background: #e8eee9;
    height: 100%;
}

.bq-shop-gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .3s ease;
}

.bq-shop-gallery-tile:hover img {
    transform: scale(1.03);
}

.bq-shop-gallery-tile.tile-1 {
    grid-column: 1;
    grid-row: span 2;
}

.bq-shop-gallery-tile.tile-2,
.bq-shop-gallery-tile.tile-3,
.bq-shop-gallery-tile.tile-4,
.bq-shop-gallery-tile.tile-5,
.bq-shop-gallery-tile.tile-6,
.bq-shop-gallery-tile.tile-7 {
    grid-row: span 1;
}

/* ========== Coupons ========== */
.bq-shop-coupons-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.bq-shop-coupon-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 112px;
    max-height: 130px;
    background: linear-gradient(135deg, #fff7f8 0%, #fff 55%);
    border: 1px solid #f0d7db;
    border-radius: var(--bq-shop-radius);
    overflow: hidden;
    box-shadow: var(--bq-shop-shadow);
}

.bq-shop-coupon-pct {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bq-shop-blush);
    color: var(--bq-shop-blush-deep);
    font-family: var(--bq-shop-serif);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    padding: 12px 6px;
    text-align: center;
    border-right: 1px dashed #e7c4ca;
}

.bq-shop-coupon-pct small {
    display: block;
    margin-top: 4px;
    font-family: var(--bq-shop-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.bq-shop-coupon-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bq-shop-coupon-body h3 {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bq-shop-coupon-body p {
    margin: 0 0 6px;
    color: var(--bq-shop-muted);
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bq-shop-coupon-code {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 3px;
    padding: 3px 8px;
    border-radius: 6px;
    background: #fff;
    border: 1px dashed #e0b8be;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.bq-shop-coupon-valid {
    margin-bottom: 8px;
    color: var(--bq-shop-muted);
    font-size: 11px;
}

.bq-shop-coupon-body .bq-shop-btn-accent {
    margin-top: auto;
}

/* ========== Reviews ========== */
.bq-shop-reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.bq-shop-review-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--bq-shop-border);
    border-radius: var(--bq-shop-radius);
    box-shadow: var(--bq-shop-shadow);
    padding: 12px;
    min-height: 130px;
    max-height: 165px;
}

.bq-shop-review-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bq-shop-review-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    margin-bottom: 8px;
}

.bq-shop-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.bq-shop-review-top strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.2;
}

.bq-shop-review-top time {
    font-size: 11px;
    color: var(--bq-shop-muted);
    white-space: nowrap;
}

.bq-shop-review-stars {
    line-height: 1;
}

.bq-shop-review-stars i {
    color: #d8dde0;
    font-size: 12px;
}

.bq-shop-review-stars i.is-on {
    color: #f0b429;
}

.bq-shop-review-main p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #46514b;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bq-shop-review-thumb {
    width: 50px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: #eef2f0;
    align-self: end;
}

.bq-shop-review-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== Contact ========== */
.bq-shop-contact-grid {
    display: grid;
    grid-template-columns: minmax(210px, 0.8fr) minmax(280px, 1fr) minmax(420px, 1.6fr);
    gap: 14px;
    align-items: stretch;
}

.bq-shop-contact-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.bq-shop-contact-card,
.bq-shop-hours-card,
.bq-shop-map-card {
    background: #fff;
    border: 1px solid var(--bq-shop-border);
    border-radius: 16px;
    box-shadow: var(--bq-shop-shadow);
}

.bq-shop-contact-card {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    min-height: 54px;
}

.bq-shop-contact-card i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bq-shop-green-soft);
    color: var(--bq-shop-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.bq-shop-contact-card span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--bq-shop-muted);
    margin-bottom: 1px;
    line-height: 1.2;
}

.bq-shop-contact-card strong,
.bq-shop-contact-card a {
    color: var(--bq-shop-text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    word-break: break-word;
    line-height: 1.3;
}

.bq-shop-contact-card a:hover {
    color: var(--bq-shop-green);
}

.bq-shop-hours-card {
    padding: 14px 16px;
    height: 100%;
}

.bq-shop-hours-card h3,
.bq-shop-social h4 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
}

.bq-shop-hours-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bq-shop-hours-card li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px solid #f0f3f1;
    font-size: 12px;
}

.bq-shop-hours-card li:last-child {
    border-bottom: 0;
}

.bq-shop-hours-card li span {
    color: var(--bq-shop-muted);
}

.bq-shop-hours-card li strong {
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.bq-shop-social {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f3f1;
}

.bq-shop-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bq-shop-social-icons a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--bq-shop-border);
    color: var(--bq-shop-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
}

.bq-shop-social-icons a:hover {
    background: var(--bq-shop-green-soft);
}

.bq-shop-map-card {
    position: relative;
    min-height: 200px;
    overflow: hidden;
    height: 100%;
    border-radius: 16px;
}

.bq-shop-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 200px;
    border: 0;
    display: block;
}

.bq-shop-map-pin {
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: min(240px, calc(100% - 24px));
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--bq-shop-border);
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    box-shadow: var(--bq-shop-shadow);
}

.bq-shop-map-pin strong {
    display: block;
    color: var(--bq-shop-text);
    font-size: 13px;
    margin-bottom: 2px;
}

.bq-shop-map-pin span {
    color: var(--bq-shop-muted);
    font-size: 12px;
    line-height: 1.35;
}

.bq-shop-map-empty {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 0;
    box-shadow: none;
}

/* ========== Responsive ========== */
@media (max-width: 1360px) {
    .bq-shop-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }

    .bq-shop-contact-grid {
        grid-template-columns: minmax(200px, 0.85fr) minmax(250px, 1fr) minmax(360px, 1.4fr);
    }
}

@media (max-width: 1280px) {
    :root {
        --bq-shop-pad: 28px;
        --bq-shop-section-gap: 36px;
    }

    .bq-shop-tabs {
        gap: 40px;
    }

    .bq-shop-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bq-shop-gallery-masonry {
        grid-template-columns: 1.25fr 1fr 1fr;
        grid-auto-rows: 130px;
        min-height: 260px;
    }
}

@media (max-width: 1024px) {
    .bq-shop-hero-panel {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 16px;
        padding: 20px 22px;
    }

    .bq-shop-hero-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        flex-wrap: wrap;
        justify-self: start;
    }

    .bq-shop-hero-avatar-frame {
        width: 120px;
        height: 120px;
        margin-top: -52px;
    }

    .bq-shop-hero-name {
        font-size: 26px;
    }

    .bq-shop-tabs {
        gap: 32px;
        justify-content: flex-start;
        height: 52px;
    }

    .bq-shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bq-shop-gallery-masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 120px;
        min-height: 240px;
    }

    .bq-shop-gallery-tile.tile-1 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bq-shop-coupons-grid {
        grid-template-columns: 1fr;
    }

    .bq-shop-coupon-card {
        max-height: none;
    }

    .bq-shop-contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bq-shop-contact-col:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    :root {
        --bq-shop-pad: 16px;
        --bq-shop-section-gap: 32px;
    }

    .bq-shop-page {
        padding-top: 12px;
        padding-bottom: 48px;
    }

    .bq-shop-hero {
        margin-bottom: 20px;
    }

    .bq-shop-hero-cover {
        height: 150px;
        border-radius: 18px 18px 0 0;
    }

    .bq-shop-hero-panel {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 16px 16px 18px;
        margin-top: -56px;
        border-radius: 20px;
        gap: 12px;
    }

    .bq-shop-hero-details {
        text-align: center;
    }

    .bq-shop-hero-avatar-wrap {
        justify-content: center;
    }

    .bq-shop-hero-avatar-frame {
        width: 112px;
        height: 112px;
        margin-top: -60px;
    }

    .bq-shop-hero-name {
        justify-content: center;
        font-size: 22px;
    }

    .bq-shop-hero-bio {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .bq-shop-hero-location,
    .bq-shop-hero-stats,
    .bq-shop-hero-actions {
        justify-content: center;
    }

    .bq-shop-hero-stats {
        gap: 8px 14px;
    }

    .bq-shop-hero-stats > span:not(:last-child)::after {
        display: none;
    }

    .bq-shop-hero-actions {
        width: 100%;
    }

    .bq-shop-btn-primary,
    .bq-shop-btn-secondary {
        flex: 1 1 auto;
        max-width: none;
    }

    .bq-shop-tabs {
        gap: 22px;
        margin-bottom: 28px;
        height: 50px;
        padding: 0 14px;
        justify-content: flex-start;
    }

    .bq-shop-section-title {
        font-size: 24px;
    }

    .bq-shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .bq-shop-reviews-grid {
        grid-template-columns: 1fr;
    }

    .bq-shop-review-card {
        max-height: none;
    }

    .bq-shop-contact-grid {
        grid-template-columns: 1fr;
    }

    .bq-shop-map-card,
    .bq-shop-map-card iframe,
    .bq-shop-map-empty {
        min-height: 220px;
    }

    .bq-shop-gallery-masonry.is-single .bq-shop-gallery-tile {
        max-width: 100%;
    }
}

@media (max-width: 420px) {
    .bq-shop-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bq-shop-product-card,
    .bq-shop-gallery-tile img,
    .bq-shop-btn {
        transition: none;
    }

    .bq-shop-product-card:hover {
        transform: none;
    }
}
