.rip-wrapper,
.rip-wrapper * {
box-sizing: border-box;
}
.rip-wrapper {
--rip-columns: 6;
--rip-gap: 20px;
--rip-card-padding: 12px;
display: block;
max-width: 100%;
width: 100%; min-width: 0;
flex: 1 1 100%;
overflow-x: hidden; margin: 24px 0; container-type: inline-size;
container-name: rip;
}
.rip-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 16px;
}
@media (max-width: 480px) {
.rip-header {
flex-direction: column;
align-items: stretch;
}
.rip-sort-label {
justify-content: space-between;
}
.rip-sort {
flex: 1;
min-width: 0;
}
}
.rip-title {
font-size: 22px;
font-weight: 700;
margin: 0;
}
.rip-sort-label {
font-size: 14px;
display: flex;
align-items: center;
gap: 8px;
color: #444;
}
.rip-sort {
padding: 6px 10px;
border: 1px solid #d7d7d7;
border-radius: 4px;
background: #fff;
font-size: 14px;
cursor: pointer;
}
.rip-grid {
display: grid;
grid-template-columns: repeat(var(--rip-columns), 1fr);
gap: var(--rip-gap);
width: 100%;
} @media (max-width: 1200px) {
.rip-grid {
grid-template-columns: repeat(4, 1fr);
}
}
@media (max-width: 768px) {
.rip-grid {
grid-template-columns: repeat(3, 1fr);
--rip-gap: 14px;
}
}
@media (max-width: 480px) {
.rip-grid {
grid-template-columns: repeat(2, 1fr);
--rip-gap: 10px;
--rip-card-padding: 8px;
}
.rip-title {
font-size: 18px;
}
} @container rip (max-width: 1200px) {
.rip-grid {
grid-template-columns: repeat(4, 1fr);
}
}
@container rip (max-width: 768px) {
.rip-grid {
grid-template-columns: repeat(3, 1fr);
--rip-gap: 14px;
}
}
@container rip (max-width: 480px) {
.rip-grid {
grid-template-columns: repeat(2, 1fr);
--rip-gap: 10px;
--rip-card-padding: 8px;
}
.rip-title {
font-size: 18px;
}
.rip-header {
flex-direction: column;
align-items: stretch;
}
.rip-sort {
flex: 1;
min-width: 0;
}
}
.rip-card {
display: flex;
flex-direction: column; min-width: 0;
text-decoration: none;
color: inherit;
background: #fff;
border: 1px solid #eee;
border-radius: 6px;
padding: var(--rip-card-padding);
transition: box-shadow 0.2s ease, transform 0.2s ease;
opacity: 0;
animation: rip-fade-in 0.35s ease forwards;
}
@keyframes rip-fade-in {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.rip-card:hover {
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
transform: translateY(-2px);
}
.rip-card-image {
display: block;
aspect-ratio: 1 / 1;
overflow: hidden;
background: #f5f5f5;
border-radius: 4px;
margin-bottom: 10px;
}
.rip-card-image img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
opacity: 0;
transition: opacity 0.35s ease;
}
.rip-card-image img.rip-loaded {
opacity: 1;
}
.rip-card-title {
font-size: 14px;
line-height: 1.4;
color: #1a73c1;
margin-bottom: 6px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
overflow-wrap: anywhere;
word-break: break-word;
}
.rip-card:hover .rip-card-title {
text-decoration: underline;
}
.rip-card-price {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px;
font-size: 15px;
font-weight: 600;
color: #e8590c;
overflow-wrap: anywhere;
word-break: break-word;
}
@media (max-width: 480px) {
.rip-card-price {
font-size: 13px;
}
.rip-card-title {
font-size: 13px;
}
}
.rip-card-price del {
color: #999;
font-weight: 400;
font-size: 13px;
}
.rip-card-price ins {
text-decoration: none;
}
.rip-status {
text-align: center;
padding: 20px 0;
}
.rip-spinner {
width: 30px;
height: 30px;
margin: 0 auto;
border: 3px solid #e5e5e5;
border-top-color: #1a73c1;
border-radius: 50%;
animation: rip-spin 0.7s linear infinite;
}
@keyframes rip-spin {
to {
transform: rotate(360deg);
}
}
.rip-empty,
.rip-end {
color: #888;
font-size: 14px;
margin: 0;
}
.rip-sentinel {
height: 1px;
}.rpt-carousel,
.rpt-carousel * {
box-sizing: border-box;
}
.rpt-carousel {
position: relative;
margin: 0 0 24px;
}
.rpt-grid.rpt-track {
display: flex;
gap: 16px;
width: 100%;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
padding: 2px 2px 10px;
-ms-overflow-style: none;
scrollbar-width: none;
}
.rpt-grid.rpt-track::-webkit-scrollbar {
display: none;
}
.rpt-tile {
position: relative;
flex: 0 0 auto;
width: 240px;
min-height: 360px;
display: flex;
flex-direction: column;
border-radius: 18px;
text-decoration: none;
overflow: hidden;
scroll-snap-align: start;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rpt-tile::before {
content: '';
position: absolute;
top: -30%;
right: -20%;
width: 65%;
height: 65%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 70%);
pointer-events: none;
z-index: 0;
}
.rpt-tile:not(.rpt-tile-has-photo)::after {
content: '';
position: absolute;
bottom: -18%;
left: -12%;
width: 60%;
height: 60%;
border-radius: 50%;
background: rgba(255, 255, 255, 0.14);
pointer-events: none;
z-index: 0;
}
.rpt-tile:hover {
transform: translateY(-5px);
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}
.rpt-tile:hover .rpt-photo {
transform: scale(1.05);
}
.rpt-tile-text {
position: relative;
z-index: 1;
padding: 18px 18px 6px;
}
.rpt-badge {
display: inline-block;
background: rgba(255, 255, 255, 0.85);
color: #a12727;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.02em;
padding: 3px 9px;
border-radius: 20px;
margin-bottom: 8px;
}
.rpt-title {
display: block;
font-size: 20px;
font-weight: 800;
line-height: 1.25;
}
.rpt-note {
display: flex;
align-items: center;
gap: 6px;
font-size: 12px;
font-weight: 600;
opacity: 0.8;
margin-top: 6px;
}
.rpt-note-icon {
flex-shrink: 0;
}
.rpt-photo-wrap {
position: relative;
z-index: 1;
flex: 1 1 auto;
display: flex;
align-items: flex-end;
justify-content: center;
padding: 0 14px 14px;
min-height: 0;
}
.rpt-photo {
max-width: 100%;
max-height: 100%;
object-fit: contain;
transition: transform 0.3s ease;
}
.rpt-shop-now {
position: relative;
z-index: 1;
display: inline-flex;
align-items: center;
gap: 4px;
align-self: flex-start;
margin: 10px 18px 16px;
font-size: 12px;
font-weight: 700;
padding: 5px 10px 5px 12px;
border-radius: 20px;
background: rgba(255, 255, 255, 0.22);
backdrop-filter: blur(2px);
}
.rpt-tile:not(.rpt-tile-has-photo) .rpt-shop-now {
margin-top: auto;
}
.rpt-nav {
position: absolute;
top: 45%;
transform: translateY(-50%);
z-index: 3;
width: 38px;
height: 38px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.96);
border: 1px solid rgba(0, 0, 0, 0.08);
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: #222;
padding: 0;
}
.rpt-nav:hover {
background: #fff;
}
.rpt-nav-prev {
left: -6px;
}
.rpt-nav-next {
right: -6px;
}
@media (max-width: 900px) {
.rpt-tile {
width: 200px;
min-height: 320px;
}
.rpt-title {
font-size: 17px;
}
}
@media (max-width: 480px) {
.rpt-tile {
width: 168px;
min-height: 280px;
}
.rpt-tile-text {
padding: 14px 14px 4px;
}
.rpt-title {
font-size: 15px;
}
.rpt-nav {
display: none;
}
} .rpt-cat-grid,
.rpt-cat-grid * {
box-sizing: border-box;
}
.rpt-cat-grid {
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 22px 10px;
width: 100%;
margin: 0 0 24px;
}
.rpt-cat-item {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
text-decoration: none;
color: #222;
}
.rpt-cat-icon {
display: flex;
align-items: center;
justify-content: center;
width: 62px;
height: 62px;
border-radius: 18px;
margin-bottom: 8px;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.rpt-cat-item:hover .rpt-cat-icon {
transform: translateY(-3px) scale(1.05);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.rpt-cat-label {
font-size: 12.5px;
font-weight: 600;
line-height: 1.3;
}
@media (max-width: 1000px) {
.rpt-cat-grid {
grid-template-columns: repeat(6, 1fr);
}
}
@media (max-width: 700px) {
.rpt-cat-grid {
grid-template-columns: repeat(4, 1fr);
gap: 18px 8px;
}
.rpt-cat-icon {
width: 54px;
height: 54px;
border-radius: 15px;
}
}
@media (max-width: 420px) {
.rpt-cat-grid {
grid-template-columns: repeat(3, 1fr);
}
}.rpi-popup,
.rpi-popup * {
box-sizing: border-box;
}
.rpi-popup {
--rpi-primary: #FF6B00;
--rpi-text: #222222;
position: fixed;
left: 16px;
right: 16px;
bottom: 16px;
max-width: 360px;
margin: 0 auto;
background: #fff;
border: 1px solid #eee;
border-top: 3px solid var(--rpi-primary);
border-radius: 14px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
padding: 18px;
z-index: 999999;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
color: var(--rpi-text);
opacity: 0;
transform: translateY(16px);
transition: opacity 0.25s ease, transform 0.25s ease;
pointer-events: none;
}
.rpi-popup.rpi-visible {
opacity: 1;
transform: translateY(0);
pointer-events: auto;
}
@media (min-width: 420px) {
.rpi-popup {
left: auto;
right: 20px;
bottom: 20px;
margin: 0;
}
}
.rpi-close {
position: absolute;
top: 10px;
right: 12px;
background: none;
border: none;
font-size: 22px;
line-height: 1;
color: #999;
cursor: pointer;
padding: 4px;
}
.rpi-close:hover {
color: var(--rpi-text);
}
.rpi-header {
display: flex;
align-items: flex-start;
gap: 12px;
padding-right: 20px;
}
.rpi-icon {
width: 40px;
height: 40px;
border-radius: 10px;
flex: 0 0 auto;
object-fit: contain;
}
.rpi-title {
font-size: 15px;
font-weight: 700;
margin-bottom: 2px;
}
.rpi-subtitle {
font-size: 13px;
color: #666;
line-height: 1.4;
}
.rpi-share-glyph {
display: inline-flex;
vertical-align: -2px;
margin: 0 2px;
color: var(--rpi-primary);
}
.rpi-action-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
margin-top: 14px;
padding: 11px 16px;
border: none;
border-radius: 8px;
background: var(--rpi-text);
color: #fff;
font-size: 14px;
font-weight: 700;
cursor: pointer;
transition: filter 0.15s ease;
}
.rpi-action-btn:hover {
filter: brightness(1.15);
}