/* The full page of a product, the wishlist, the comparison, the buttons of a card and the phone layout of the Flex design.
   Everything takes its colors from the variables of the design (--s-*), so it fits every design. */

/* ---- buttons of a card: wishlist and compare (they show on hover, on a touch screen always) */
.f-act { position: absolute; top: 8px; right: 8px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.f-act__b { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #2b2f3a; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); cursor: pointer; opacity: 0; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, color .15s ease; }
.f-act__b svg { width: 17px; height: 17px; }
.f-card:hover .f-act__b, .s-card:hover .f-act__b, .f-act__b:focus-visible, .f-act__b[aria-pressed="true"] { opacity: 1; transform: none; }
.f-act__b[data-fav]:hover, .f-act__b[data-cmp]:hover { color: var(--s-accent); }
.f-act__b[data-fav][aria-pressed="true"] { color: #e11d48; }
.f-act__b[data-fav][aria-pressed="true"] svg { fill: #e11d48; }
.f-act__b[data-cmp][aria-pressed="true"] { color: var(--s-accent); }
@media (hover: none) { .f-act__b { opacity: 1; transform: none; } }
.s-card { cursor: pointer; }
.s-card:focus-visible, .f-card:focus-visible, .f-banner:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 2px; }
.s-logo[data-home] { cursor: pointer; }
[data-fav-count].is-zero, [data-cmp-count].is-zero { display: none; }
button[data-fav][aria-pressed="true"].pp-sq, .pp-sq[data-fav][aria-pressed="true"] { color: #e11d48; border-color: #e11d48; }
.pp-sq[data-fav][aria-pressed="true"] svg { fill: #e11d48; }
.pp-sq[data-cmp][aria-pressed="true"] { color: var(--s-accent); border-color: var(--s-accent); }

/* parts of the Flex design that other designs use on the product page too */
.f-stock { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #e8f6ee; color: #1f8a4d; font-size: 11px; font-weight: 700; }
.f-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; color: #fff; font-size: 10px; font-weight: 800; }
.f-badge--hit { background: #9333ea; }
.f-badge--new { background: var(--s-accent); }

/* ---- the product page */
.pp { display: grid; gap: 12px; padding: 0 16px 8px; }
.pp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 4px 0; color: var(--s-muted); font-size: 12px; }
.pp-crumbs a { display: inline-flex; align-items: center; gap: 5px; color: inherit; }
.pp-crumbs svg { width: 14px; height: 14px; }
.pp-crumbs i { font-style: normal; opacity: .6; }
.pp-crumbs > span:last-child { color: var(--s-text); font-weight: 600; }
.pp-title { margin: 0; font-family: var(--s-head); font-size: 24px; line-height: 1.2; }
.pp-title--m { display: none; }
.pp-pills { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pp-pills__in { display: flex; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.pp-pills__in::-webkit-scrollbar { display: none; }
.pp-pills a { flex: none; padding: 9px 16px; border: 1px solid var(--s-line); border-radius: 999px; background: var(--s-card); color: var(--s-text); font-size: 13px; font-weight: 600; }
.pp-pills a:hover { border-color: var(--s-accent); color: var(--s-accent); }
.pp-sku { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 5px 5px 5px 14px; border: 1px solid var(--s-line); border-radius: 12px; background: var(--s-card); color: var(--s-muted); font-size: 12px; }
.pp-sku b { color: var(--s-text); }
.pp-sku button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: var(--s-soft); color: var(--s-accent); cursor: pointer; }
.pp-sku svg { width: 15px; height: 15px; }
.pp-main { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.pp-box { border: 1px solid var(--s-line); border-radius: 20px; background: var(--s-card); }
.pp-left { overflow: hidden; }
.pp-gal { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 12px; padding: 20px 20px 16px; }
.pp-gal__main { grid-column: 1; grid-row: 1; aspect-ratio: 1 / 1; border-radius: 16px; background: var(--s-card); }
.pp-gal__main img { object-fit: contain; }
.pp-gal__main .s-ph { font-size: 120px; }
.pp-badges { position: absolute; top: 24px; left: 24px; z-index: 2; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pp-thumbs { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.pp-th { width: 64px; height: 64px; padding: 0; border: 1px solid var(--s-line); border-radius: 12px; background: var(--s-card); overflow: hidden; cursor: pointer; }
.pp-th .s-img { aspect-ratio: auto; width: 100%; height: 100%; background: var(--s-card); }
.pp-th .s-ph { font-size: 22px; }
.pp-th[aria-pressed="true"] { border-color: var(--s-accent); box-shadow: 0 0 0 1px var(--s-accent); }
.pp-arr { position: absolute; top: 44%; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--s-line); border-radius: 50%; background: var(--s-card); color: var(--s-text); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); cursor: pointer; }
.pp-arr svg { width: 18px; height: 18px; }
.pp-arr--l { left: 32px; }
.pp-arr--r { right: 108px; }
.pp-dots { display: none; }
.pp-specs { padding: 4px 20px 20px; border-top: 1px solid var(--s-line); }
.pp-spec { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--s-line); font-size: 13px; }
.pp-spec span { color: var(--s-muted); }
.pp-spec b { font-weight: 500; overflow-wrap: anywhere; }
.pp-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; height: 42px; border: 0; border-radius: 12px; background: var(--s-soft); color: var(--s-text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.pp-more svg { width: 14px; height: 14px; }
.pp-right { display: grid; gap: 14px; padding: 20px; }
.pp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-bottom: 14px; border-bottom: 1px solid var(--s-line); font-size: 13px; }
.pp-meta small { color: var(--s-muted); }
.pp-meta a { color: var(--s-accent); font-weight: 600; }
.pp-brand { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: var(--s-soft); color: var(--s-muted); font-size: 12px; }
.pp-brand b { color: var(--s-text); }
.pp-buy { display: grid; gap: 14px; }
.pp-price__v { font-family: var(--s-head); font-size: 34px; font-weight: 800; line-height: 1.1; }
.pp-pricerow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pp-act { display: flex; align-items: center; gap: 8px; }
.pp-qty { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid var(--s-line); border-radius: 12px; }
.pp-qty button { width: 40px; height: 46px; padding: 0; border: 0; background: var(--s-card); color: var(--s-text); cursor: pointer; display: grid; place-items: center; }
.pp-qty svg { width: 14px; height: 14px; }
.pp-qty span { min-width: 44px; text-align: center; font-weight: 700; }
.pp-add { flex: 1 1 0; min-width: 0; height: 48px; gap: 8px; }
.pp-add svg { width: 18px; height: 18px; }
.pp-sq { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--s-line); border-radius: 12px; background: var(--s-card); color: var(--s-text); cursor: pointer; transition: border-color .15s, color .15s, transform .15s; }
.pp-sq:hover { border-color: var(--s-accent); color: var(--s-accent); }
.pp-sq svg { width: 18px; height: 18px; }
.pp-acc { padding-top: 12px; border-top: 1px solid var(--s-line); }
.pp-acc summary { display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer; }
.pp-acc summary::-webkit-details-marker { display: none; }
.pp-acc summary i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--s-soft); color: var(--s-accent); }
.pp-acc summary i svg { width: 20px; height: 20px; }
.pp-acc summary b { flex: 1; font-size: 14px; }
.pp-acc summary u { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--s-soft); transition: transform .2s ease; }
.pp-acc summary u svg { width: 14px; height: 14px; }
.pp-acc:not([open]) summary u { transform: rotate(-90deg); }
.pp-acc ul { display: grid; gap: 9px; margin: 12px 0 2px 52px; padding: 0; list-style: none; font-size: 13px; }
.pp-acc li { display: flex; align-items: center; gap: 8px; }
.pp-acc li svg { flex: none; width: 14px; height: 14px; color: #1f8a4d; }
.pp-share { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--s-line); color: var(--s-muted); font-size: 12px; }
.pp-share i { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--s-line); border-radius: 50%; color: var(--s-text); font-size: 12px; font-style: normal; font-weight: 800; }
.pp-sec { padding: 20px; }
.pp-sec h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--s-line); font-family: var(--s-head); font-size: 18px; }
.pp-sec h3 i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--s-soft); color: var(--s-accent); }
.pp-sec h3 svg { width: 18px; height: 18px; }
.pp-sec p { white-space: pre-line; margin: 0 0 12px; color: var(--s-muted); font-size: 14px; line-height: 1.6; }
.pp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-tags span { padding: 6px 12px; border-radius: 999px; background: var(--s-soft); font-size: 12px; font-weight: 600; }
.pp-revs { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.m-reviews__grid--pp { grid-template-columns: 1fr; }
.store:not(.has-reviews) .m-rev-list { display: none; }
.store.has-reviews .m-noreviews { display: none; }
.pp-form { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: var(--s-soft); }
.pp-form h4 { margin: 0; font-size: 16px; }
.pp-rel h3 { margin: 8px 4px 12px; font-family: var(--s-head); font-size: 22px; }
.pp-rel .s-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---- wishlist and comparison */
.s-line--w { grid-template-columns: 64px 1fr auto; align-items: start; }
.s-line--w small { display: block; margin: 2px 0 6px; }
.s-line__a { display: flex; gap: 6px; }
.s-btn--sm { height: 32px; padding: 0 12px; font-size: 12px; }
.s-compare { margin: 16px auto; width: min(1000px, calc(100% - 24px)); padding: 22px; border-radius: var(--s-radius); background: var(--s-bg); color: var(--s-text); }
.s-compare h2 { margin: 4px 0 16px; font-family: var(--s-head); font-size: 24px; }
.cmp-scroll { overflow-x: auto; }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13px; }
.cmp th { width: 120px; padding: 12px 10px; text-align: left; color: var(--s-muted); font-weight: 600; vertical-align: top; }
.cmp td { padding: 12px 10px; border-top: 1px solid var(--s-line); vertical-align: top; }
.cmp th { border-top: 1px solid var(--s-line); }
.cmp tr:first-child th, .cmp tr:first-child td { border-top: 0; }
.cmp-head { position: relative; min-width: 150px; }
.cmp-head .s-img { display: block; width: 90px; margin-bottom: 8px; border-radius: 10px; }
.cmp-head b { cursor: pointer; font-size: 13px; }
.cmp-x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--s-soft); color: var(--s-muted); font-size: 16px; cursor: pointer; }

@media (max-width: 1000px) {
    .pp-main { grid-template-columns: 1fr; }
    .pp-rel .s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- the phone layout of the Flex design (the bar below, rows that scroll aside, the header with icons) */
.f-bar, .f-totop, .f-mic, .f-catbig, .f-arrows, .f-all--m, .f-dots { display: none; }
@media (max-width: 700px) {
    .theme-flex .f-top { display: none; }
    .theme-flex .f-head { flex-wrap: wrap; gap: 10px 12px; padding: 12px 14px 10px; border-bottom: 0; }
    .theme-flex .f-icons, .theme-flex .f-catbtn { display: none; }
    .theme-flex .f-mic { display: flex; align-items: center; gap: 16px; margin-left: auto; }
    .theme-flex .f-mi { position: relative; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: #1e1e1e; cursor: pointer; }
    .theme-flex .f-mi svg { width: 24px; height: 24px; }
    .theme-flex .f-mi b { position: absolute; top: -6px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--s-accent); color: #fff; font-size: 10px; line-height: 17px; text-align: center; }
    .theme-flex .f-search { order: 9; flex: 1 0 100%; height: 46px; border: 0; border-radius: 14px; background: #f1f2f6; }
    .theme-flex .f-banners { display: flex; gap: 10px; padding: 10px 14px 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .theme-flex .f-banners::-webkit-scrollbar { display: none; }
    .theme-flex .f-banner { flex: 0 0 72%; min-height: 300px; scroll-snap-align: center; }
    .theme-flex .f-dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 2px; }
    .theme-flex .f-dots i { width: 6px; height: 6px; border-radius: 3px; background: #cfd4de; transition: width .2s ease, background-color .2s ease; }
    .theme-flex .f-dots i.is-on { width: 20px; background: var(--s-accent); }
    .theme-flex .f-catbig { display: flex; align-items: center; justify-content: center; gap: 10px; width: calc(100% - 28px); height: 50px; margin: 10px 14px 0; border: 0; border-radius: 14px; background: var(--s-accent); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
    .theme-flex .f-catbig svg { width: 20px; height: 20px; }
    .theme-flex .f-perks { display: flex; gap: 10px; padding: 10px 14px 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .theme-flex .f-perks::-webkit-scrollbar { display: none; }
    .theme-flex .f-perk { flex: 0 0 78%; scroll-snap-align: start; }
    .theme-flex .f-sec__h { gap: 10px; }
    .theme-flex .f-sec__h .f-chip, .theme-flex .f-sec__h .f-all { display: none; }
    .theme-flex .f-sec h2 { font-size: 19px; }
    .theme-flex .f-arrows { display: flex; gap: 8px; margin-left: auto; }
    .theme-flex .f-arrows button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #f1f2f6; color: #1e1e1e; cursor: pointer; }
    .theme-flex .f-arrows svg { width: 16px; height: 16px; }
    .theme-flex .f-cats, .theme-flex .f-grid[data-snap] { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .theme-flex .f-cats::-webkit-scrollbar, .theme-flex .f-grid[data-snap]::-webkit-scrollbar { display: none; }
    .theme-flex .f-cat { flex: 0 0 150px; scroll-snap-align: start; }
    .theme-flex .f-grid[data-snap] > .f-card { flex: 0 0 calc(50% - 6px); scroll-snap-align: start; }
    .theme-flex .f-all--m { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; padding: 14px; border-radius: 12px; background: #f1f2f6; font-size: 13px; font-weight: 600; }
    .theme-flex .f-all--m svg { width: 14px; height: 14px; }
    .theme-flex .f-card { padding: 8px; }
    .theme-flex .f-card__p { font-size: 15px; }
    .theme-flex .f-buy { font-size: 12px; padding: 0 8px; }
    .theme-flex .f-buy svg { display: none; }
    .theme-flex .f-act__b { opacity: 1; transform: none; width: 30px; height: 30px; }
    .store.theme-flex { padding-bottom: 96px; }
    .theme-flex .f-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; justify-content: space-around; padding: 8px 4px; border: 1px solid var(--s-line); border-radius: 26px; background: rgba(255, 255, 255, .96); box-shadow: 0 14px 34px -12px rgba(10, 30, 80, .45); backdrop-filter: blur(8px); }
    .theme-flex .f-bar__i { position: relative; display: grid; justify-items: center; gap: 3px; min-width: 56px; padding: 4px 2px; border: 0; background: none; color: #6b7280; font: inherit; font-size: 10px; font-weight: 600; cursor: pointer; }
    .theme-flex .f-bar__i svg { width: 22px; height: 22px; }
    .theme-flex .f-bar__i b { position: absolute; top: -2px; right: 10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--s-accent); color: #fff; font-size: 9px; line-height: 16px; text-align: center; }
    .theme-flex .f-bar__i:active { color: var(--s-accent); }
    .theme-flex .f-totop { position: fixed; right: 16px; bottom: 90px; z-index: 29; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--s-line); border-radius: 50%; background: #fff; color: #1e1e1e; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4); cursor: pointer; }
    .theme-flex .f-totop svg { width: 20px; height: 20px; }

    .pp { padding: 0 10px 8px; }
    .pp-title--m { display: block; font-size: 22px; padding: 4px 4px 0; }
    .pp-right .pp-title { display: none; }
    .pp-sku { display: none; }
    .pp-main { gap: 10px; }
    .pp-gal { grid-template-columns: 1fr; padding: 14px 14px 12px; }
    .pp-thumbs { display: none; }
    .pp-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
    .pp-dots i { width: 6px; height: 6px; border-radius: 3px; background: #cfd4de; cursor: pointer; }
    .pp-dots i.is-on { width: 20px; background: var(--s-accent); }
    .pp-gal__main .s-ph { font-size: 80px; }
    .pp-arr--l { left: 20px; }
    .pp-arr--r { right: 20px; }
    .pp-arr { top: 40%; }
    .pp-specs { padding: 4px 14px 14px; }
    .pp-right { padding: 14px; }
    .pp-brand { margin-left: 0; }
    .pp-price__v { font-size: 28px; }
    .pp-act { gap: 8px; }
    .pp-sq { width: 44px; height: 44px; }
    .pp-revs { grid-template-columns: 1fr; }
    .pp-rel .s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s-compare { padding: 14px; }
}
.f-bar__i b.is-zero, .f-mi b.is-zero { display: none; }

/* real reviews of Etsy */
.m-rev__t { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.m-rev__img { display: block; width: 72px; height: 72px; margin-top: 8px; border-radius: 8px; object-fit: cover; }
.m-rev__all { margin: 12px 0 0; font-size: 13px; }
.m-rev__all a { font-weight: 700; text-decoration: underline; }
.store.has-reviews .m-noreviews.is-always { display: block; }

/* the Instagram feed, as the module Instagram Feed draws it (white header of the profile, cards in a slider, the window of a post) */
.m-insta .ig__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.m-insta .ig__top h3 { margin: 0 !important; }
.ig__more { display: inline-flex; align-items: center; gap: 6px; color: inherit; font-size: 13px; font-weight: 700; }
.ig__more svg { width: 16px; height: 16px; }
.ig { padding: 18px; border: 1px solid rgba(0, 0, 0, .08); border-radius: 12px; background: #fff; color: #000; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.ig a { color: inherit; }
.ig__head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.ig__av { position: relative; display: grid; place-items: center; flex: none; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.ig__av--l { width: 80px; height: 80px; padding: 3px; }
.ig__av--s { width: 32px; height: 32px; padding: 2px; }
.ig__av img, .ig__av b { display: grid; place-items: center; width: 100%; height: 100%; border: 2px solid #fff; border-radius: 50%; background: #f2f2f2; color: #111; object-fit: cover; font-size: 28px; font-weight: 700; box-sizing: border-box; }
.ig__av--s b { font-size: 13px; border-width: 1.5px; }
.ig__info { flex: 1; min-width: 0; }
.ig__names { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ig__names b { font-size: 18px; font-weight: 700; }
.ig__names span { color: #737373; font-size: 14px; }
.ig__counts { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; font-size: 14px; }
.ig__counts b { font-weight: 700; }
.ig__bio { margin: 6px 0 0; color: #262626; font-size: 14px; }
.ig__follow { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 38px; padding: 0 18px; border-radius: 8px; background: #0095f6; color: #fff !important; font-size: 14px; font-weight: 700; }
.ig__follow:hover { text-decoration: none; filter: brightness(1.08); }
.ig__follow svg { width: 18px; height: 18px; }
.ig__follow--s { height: 30px; padding: 0 16px; margin-left: auto; }
.ig__view { position: relative; }
.ig__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ig__track::-webkit-scrollbar { display: none; }
.ig__post { flex: 0 0 calc((100% - 36px) / 4); min-width: 0; overflow: hidden; border: 1px solid rgba(0, 0, 0, .08); border-radius: 12px; background: #fff; scroll-snap-align: start; }
.ig__ph { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.ig__who { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.ig__who a { overflow: hidden; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.ig__who time { color: #737373; font-size: 11px; }
.ig__logo { display: grid; place-items: center; width: 24px; height: 24px; }
.ig__logo svg { width: 20px; height: 20px; }
.ig__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 0; background: #efefef; }
.ig__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ig__media .s-ph { font-size: 64px; }
.ig__media:hover img { transform: scale(1.04); }
.ig__badge { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 24px; height: 24px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.ig__badge svg { width: 20px; height: 20px; }
.ig__body { padding: 10px 12px 14px; }
.ig__act { display: flex; gap: 14px; font-size: 14px; }
.ig__act span { display: inline-flex; align-items: center; gap: 6px; }
.ig__act svg { width: 20px; height: 20px; }
.ig__cap { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin-top: 8px; overflow: hidden; font-size: 13px; line-height: 1.4; }
.ig__cap a, .ig-pop__cap a { color: #00376b; }
.ig__arrow { position: absolute; top: 40%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .7); color: #fff; cursor: pointer; }
.ig__arrow svg { width: 18px; height: 18px; }
.ig__arrow--prev { left: -12px; }
.ig__arrow--next { right: -12px; }
.ig__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.ig__dots i { width: 8px; height: 8px; border-radius: 50%; background: #cfcfcf; }
.ig__dots i.is-on { background: #000; }
.ig-pop { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); width: min(1000px, calc(100% - 24px)); max-height: calc(100% - 32px); margin: auto; overflow: hidden; border-radius: 12px; background: #fff; color: #000; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.ig-pop__img { aspect-ratio: 1 / 1; border-radius: 0; background: #efefef; }
.ig-pop__img img { object-fit: cover; }
.ig-pop__img .s-ph { font-size: 120px; }
.ig-pop__side { display: flex; flex-direction: column; min-width: 0; }
.ig-pop__h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.ig-pop__cap { flex: 1; padding: 8px 16px; overflow: auto; font-size: 14px; line-height: 1.5; }
.ig-pop__f { display: grid; gap: 8px; padding: 14px 16px; font-size: 14px; }
.ig-pop__f time { color: #737373; font-size: 12px; }
.ig-pop__f > a { font-weight: 700; text-decoration: underline; }
@media (max-width: 1000px) { .ig__post { flex-basis: calc((100% - 24px) / 3); } }
@media (max-width: 700px) {
    .ig { padding: 12px; }
    .ig__head { flex-wrap: wrap; gap: 12px; }
    .ig__av--l { width: 64px; height: 64px; }
    .ig__follow { width: 100%; justify-content: center; }
    .ig__post { flex-basis: 66%; }
    .ig__arrow { display: none; }
    .ig-pop { grid-template-columns: 1fr; overflow: auto; }
}
