/* LifeDNA physical shop UI refresh */
:root {
    --shop-bg: #fbf6ee;
    --shop-card: #ffffff;
    --shop-text: #33251d;
    --shop-muted: #8a7464;
    --shop-gold: #b88a32;
    --shop-red: #9d2f22;
    --shop-border: #eadfce;
    --shop-shadow: 0 12px 32px rgba(67, 45, 26, 0.10);
}

/* Page base */
.shop-page {
    background: var(--shop-bg);
}

.shop-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    color: var(--shop-text);
}

/* Hero */
.shop-hero {
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0 28px;
    padding: 36px 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(184, 138, 50, 0.18), transparent 32%),
        linear-gradient(135deg, #fffaf2 0%, #f5ead8 100%);
    border: 1px solid var(--shop-border);
    box-shadow: var(--shop-shadow);
}

.shop-kicker {
    margin: 0 0 8px;
    color: var(--shop-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.shop-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.25;
    letter-spacing: 0.06em;
    color: var(--shop-text);
}

.shop-hero p {
    margin: 0;
    max-width: 760px;
    font-size: 17px;
    line-height: 1.9;
    color: var(--shop-muted);
}

.shop-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--shop-gold);
    background: var(--shop-gold);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.shop-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(184, 138, 50, 0.24);
}

.shop-btn.secondary {
    background: #fff;
    color: var(--shop-gold);
}

/* Sections */
.shop-section {
    width: 100%;
    box-sizing: border-box;
    margin: 30px 0;
}

.shop-section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--shop-border);
    padding-bottom: 10px;
}

.shop-section-title h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 0.04em;
    color: var(--shop-text);
}

.shop-section-title span {
    color: var(--shop-muted);
    font-size: 14px;
}

/* Category cards */
.shop-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.shop-category-card {
    display: block;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--shop-border);
    color: var(--shop-text);
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(67, 45, 26, 0.07);
    transition: transform .18s ease, box-shadow .18s ease, color .18s ease;
}

.shop-category-card:hover {
    color: var(--shop-red);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(67, 45, 26, 0.11);
}

.shop-category-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.shop-category-card span {
    display: block;
    color: var(--shop-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Featured section */
.shop-featured-section {
    width: 100%;
    box-sizing: border-box;
    margin-top: 42px;
    padding: 28px 28px 36px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(248, 238, 222, 0.72));
    border: 1px solid var(--shop-border);
    box-shadow: 0 16px 40px rgba(67, 45, 26, 0.08);
}

.shop-featured-section .shop-section-title {
    margin-bottom: 24px;
    border-bottom-color: rgba(184, 138, 50, 0.28);
}

.shop-featured-section .shop-section-title h2 {
    position: relative;
    padding-left: 14px;
}

.shop-featured-section .shop-section-title h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.18em;
    bottom: 0.18em;
    width: 5px;
    border-radius: 99px;
    background: var(--shop-red);
}

/* Product groups */
.shop-product-group {
    margin: 28px 0 46px;
}

.shop-product-group:last-child {
    margin-bottom: 0;
}

.shop-group-title {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.5;
    color: #5c514a;
    font-weight: 800;
}

.shop-group-intro,
.shop-product-group .description {
    margin: 0 0 24px;
    padding: 18px 24px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 247, 0.92));
    border: 1px solid rgba(184, 138, 50, 0.22);
    color: var(--shop-text);
    line-height: 1.85;
    box-shadow: 0 8px 22px rgba(67, 45, 26, 0.045);
}

/* Product grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px 18px;
    align-items: stretch;
}

.shop-grid > * {
    min-width: 0;
}

/* Product cards */
.shop-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background: var(--shop-card);
    border: 1px solid rgba(234, 223, 206, 0.9);
    box-shadow: 0 10px 26px rgba(67, 45, 26, 0.08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.shop-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(67, 45, 26, 0.14);
}

.shop-card-img {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #f2eadf;
    overflow: hidden;
    border-bottom: 1px solid rgba(234, 223, 206, 0.72);
}

.shop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 13px 15px 15px;
    background: #fff;
}

.shop-card-title {
    min-height: 3.4em;
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.42;
    font-weight: 700;
    color: var(--shop-text);
}

.shop-card-title a {
    color: inherit;
    text-decoration: none;
}

.shop-card-title a:hover {
    color: var(--shop-red);
    text-decoration: none;
}

.shop-card-meta {
    min-height: 1.5em;
    margin: 0 0 8px;
    color: var(--shop-muted);
    font-size: 14px;
    line-height: 1.5;
}

.shop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.shop-price {
    color: var(--shop-red);
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.shop-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(184, 138, 50, 0.12);
    color: var(--shop-gold);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.shop-card-link:hover {
    background: var(--shop-gold);
    color: #fff;
    text-decoration: none;
}

.shop-label {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(157, 47, 34, 0.10);
    color: var(--shop-red);
    font-size: 12px;
    font-weight: 700;
}

/* Cart */
.shop-cart-panel {
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--shop-border);
    box-shadow: var(--shop-shadow);
    padding: 20px;
}

/* Tablet */
@media (max-width: 1024px) {
    .shop-grid,
    .shop-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    .shop-wrap {
        padding: 16px 12px 36px;
    }

    .shop-hero {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .shop-section-title {
        display: block;
    }

    .shop-section-title span {
        display: block;
        margin-top: 6px;
    }

    .shop-featured-section {
        margin-top: 28px;
        padding: 22px 14px 28px;
        border-radius: 20px;
    }

    .shop-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .shop-grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
        gap: 16px 12px;
    }

    .shop-card {
        max-width: none;
    }

    .shop-card-body {
        padding: 12px;
    }

    .shop-card-title {
        min-height: 3.6em;
        font-size: 15px;
    }

    .shop-group-title {
        font-size: 19px;
    }

    .shop-group-intro,
    .shop-product-group .description {
        padding: 16px;
        border-radius: 15px;
        font-size: 15px;
    }
}

/* Small mobile */
@media (max-width: 420px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-category-grid {
        grid-template-columns: 1fr;
    }

    .shop-card-title {
        min-height: 3.8em;
        font-size: 14px;
    }

    .shop-price {
        font-size: 15px;
    }

    .shop-card-link {
        padding: 6px 9px;
        font-size: 12px;
    }
}

/* Align shop hero width with other shop sections */
.shop-wrap > .shop-hero,
.shop-wrap > .shop-section,
.shop-wrap > .shop-featured-section {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.shop-hero-inner {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

/* Category section */
.shop-category-section {
    width: 100%;
    box-sizing: border-box;
    margin-top: 34px;
    padding: 28px 28px 34px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(255, 246, 232, 0.78));
    border: 1px solid var(--shop-border);
    box-shadow: 0 14px 36px rgba(67, 45, 26, 0.06);
}

/* Desktop alignment fix for shop main blocks */
.shop-wrap {
    width: 100%;
    max-width: 1480px;
    box-sizing: border-box;
}

.shop-wrap > .shop-hero,
.shop-wrap > .shop-category-section,
.shop-wrap > .shop-featured-section {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.shop-hero-inner {
    width: 100%;
    max-width: none !important;
    box-sizing: border-box;
}

/* List page */
.shop-list-hero {
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0 30px;
    padding: 30px 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(157, 47, 34, 0.10), transparent 34%),
        linear-gradient(135deg, #fffaf2 0%, #f4eadb 100%);
    border: 1px solid var(--shop-border);
    box-shadow: var(--shop-shadow);
}

.shop-list-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.3;
    letter-spacing: 0.04em;
    color: var(--shop-text);
}

.shop-list-hero p {
    margin: 0;
    max-width: 820px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--shop-muted);
}

.shop-list-section {
    width: 100%;
    box-sizing: border-box;
    padding: 28px 28px 36px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(255, 246, 232, 0.78));
    border: 1px solid var(--shop-border);
    box-shadow: 0 14px 36px rgba(67, 45, 26, 0.06);
}

.shop-empty {
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--shop-border);
    color: var(--shop-muted);
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 768px) {
    .shop-list-hero {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .shop-list-section {
        padding: 22px 14px 28px;
        border-radius: 20px;
    }
}

/* Category list page */
.shop-list-hero {
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0 30px;
    padding: 30px 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(157, 47, 34, 0.10), transparent 34%),
        linear-gradient(135deg, #fffaf2 0%, #f4eadb 100%);
    border: 1px solid var(--shop-border);
    box-shadow: var(--shop-shadow);
}

.shop-list-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.3;
    letter-spacing: 0.04em;
    color: var(--shop-text);
}

.shop-list-hero p {
    margin: 0;
    max-width: 820px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--shop-muted);
}

.shop-list-section {
    width: 100%;
    box-sizing: border-box;
    padding: 28px 28px 36px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(255, 246, 232, 0.78));
    border: 1px solid var(--shop-border);
    box-shadow: 0 14px 36px rgba(67, 45, 26, 0.06);
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(184, 138, 50, 0.18);
}

.shop-toolbar a {
    color: var(--shop-text);
    text-decoration: none;
    font-weight: 700;
    margin-right: 14px;
}

.shop-toolbar a:hover {
    color: var(--shop-red);
    text-decoration: none;
}

.shop-toolbar-select {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-toolbar-select label {
    margin: 0;
    color: var(--shop-muted);
    font-weight: 700;
}

.shop-toolbar-select select {
    max-width: 260px;
    margin: 0;
}

.shop-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    margin-left: 4px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(157, 47, 34, 0.12);
    color: var(--shop-red);
    font-size: 12px;
    font-weight: 800;
}

.shop-product-facts {
    margin: 0 0 12px;
    color: var(--shop-muted);
    font-size: 13px;
    line-height: 1.65;
}

.shop-product-facts .shop-label {
    margin-left: 6px;
}

.shop-price-inline {
    color: var(--shop-red);
}

.shop-product-actions {
    margin-top: 12px;
}

.shop-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    width: 100%;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--shop-gold);
    background: #fff;
    color: var(--shop-gold);
    font-weight: 800;
    text-decoration: none;
    box-sizing: border-box;
}

.shop-action-btn:hover {
    color: #fff;
    background: var(--shop-gold);
    text-decoration: none;
}

.shop-action-btn.primary {
    background: var(--shop-red);
    border-color: var(--shop-red);
    color: #fff;
}

.shop-action-btn.primary:hover {
    background: #7f241b;
    border-color: #7f241b;
    color: #fff;
}

.shop-action-btn.disabled,
.shop-action-btn[disabled] {
    cursor: not-allowed;
    opacity: .62;
    border-color: #d7cbbd;
    background: #f2eee8;
    color: #9b8d80;
}

.shop-empty {
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--shop-border);
    color: var(--shop-muted);
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 768px) {
    .shop-list-hero {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .shop-list-section {
        padding: 22px 14px 28px;
        border-radius: 20px;
    }

    .shop-toolbar {
        display: block;
    }

    .shop-toolbar-links {
        margin-bottom: 12px;
    }

    .shop-toolbar a {
        display: inline-block;
        margin-bottom: 8px;
    }

    .shop-toolbar-select {
        display: block;
    }

    .shop-toolbar-select label {
        display: block;
        margin-bottom: 6px;
    }

    .shop-toolbar-select select {
        width: 100%;
        max-width: none;
    }
}

/* Product detail page */
.shop-detail-hero {
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0 30px;
    padding: 30px 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(184, 138, 50, 0.16), transparent 34%),
        linear-gradient(135deg, #fffaf2 0%, #f4eadb 100%);
    border: 1px solid var(--shop-border);
    box-shadow: var(--shop-shadow);
}

.shop-detail-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.25;
    letter-spacing: 0.04em;
    color: var(--shop-text);
}

.shop-detail-hero p {
    margin: 0;
    color: var(--shop-muted);
    font-size: 15px;
    line-height: 1.8;
}

.shop-detail-hero p a {
    color: var(--shop-gold);
    font-weight: 800;
    text-decoration: none;
}

.shop-detail-hero p a:hover {
    color: var(--shop-red);
    text-decoration: none;
}

.shop-breadcrumb-sep {
    display: inline-block;
    margin: 0 8px;
    color: rgba(51, 37, 29, 0.42);
}

.shop-detail-section {
    width: 100%;
    box-sizing: border-box;
    margin: 30px 0;
    padding: 28px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(255, 246, 232, 0.78));
    border: 1px solid var(--shop-border);
    box-shadow: 0 14px 36px rgba(67, 45, 26, 0.06);
}

.shop-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 28px;
    align-items: start;
}

.shop-detail-image {
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(234, 223, 206, 0.9);
    box-shadow: 0 12px 30px rgba(67, 45, 26, 0.08);
}

.shop-detail-image img {
    display: block;
    width: 100%;
    height: auto;
}

.shop-detail-panel {
    position: sticky;
    top: 18px;
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(234, 223, 206, 0.9);
    box-shadow: 0 12px 30px rgba(67, 45, 26, 0.08);
}

.shop-detail-category {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(184, 138, 50, 0.12);
    color: var(--shop-gold);
    font-size: 13px;
    font-weight: 800;
}

.shop-detail-panel h2 {
    margin: 0 0 10px;
    color: var(--shop-text);
    font-size: 26px;
    line-height: 1.35;
}

.shop-detail-subtitle {
    margin: 0 0 16px;
    color: var(--shop-muted);
    font-size: 15px;
    line-height: 1.7;
}

.shop-detail-price {
    margin: 18px 0;
    padding: 16px 0;
    border-top: 1px solid var(--shop-border);
    border-bottom: 1px solid var(--shop-border);
}

.shop-detail-price span {
    color: var(--shop-red);
    font-size: 28px;
    font-weight: 900;
}

.shop-detail-facts {
    margin: 0 0 18px;
}

.shop-detail-facts div {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(184, 138, 50, 0.22);
    color: var(--shop-muted);
    line-height: 1.65;
}

.shop-detail-facts div:last-child {
    border-bottom: 0;
}

.shop-detail-facts strong {
    color: var(--shop-text);
}

.shop-detail-facts b {
    color: var(--shop-red);
}

.shop-detail-facts .shop-label {
    margin-left: 8px;
}

.shop-detail-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
}

.shop-detail-description {
    width: 100%;
    box-sizing: border-box;
    margin: 30px 0 0;
    padding: 28px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(255, 246, 232, 0.78));
    border: 1px solid var(--shop-border);
    box-shadow: 0 14px 36px rgba(67, 45, 26, 0.06);
}

.shop-description-body {
    padding: 22px 24px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 247, 0.92));
    border: 1px solid rgba(184, 138, 50, 0.22);
    color: var(--shop-text);
    line-height: 1.9;
    box-shadow: 0 8px 22px rgba(67, 45, 26, 0.045);
}

@media (max-width: 900px) {
    .shop-detail-grid {
        grid-template-columns: 1fr;
    }

    .shop-detail-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .shop-detail-hero,
    .shop-detail-section,
    .shop-detail-description {
        padding: 22px 14px 28px;
        border-radius: 20px;
    }

    .shop-detail-panel {
        padding: 18px;
        border-radius: 18px;
    }

    .shop-detail-panel h2 {
        font-size: 22px;
    }

    .shop-detail-price span {
        font-size: 24px;
    }

    .shop-description-body {
        padding: 18px;
        border-radius: 15px;
    }
}

/* Cart page */
.shop-cart-hero {
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0 30px;
    padding: 30px 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(184, 138, 50, 0.16), transparent 34%),
        linear-gradient(135deg, #fffaf2 0%, #f4eadb 100%);
    border: 1px solid var(--shop-border);
    box-shadow: var(--shop-shadow);
}

.shop-cart-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.25;
    letter-spacing: 0.04em;
    color: var(--shop-text);
}

.shop-cart-hero p {
    margin: 0;
    color: var(--shop-muted);
    font-size: 15px;
    line-height: 1.8;
}

.shop-center-actions {
    justify-content: center;
}

.shop-cart-section {
    width: 100%;
    box-sizing: border-box;
    margin: 30px 0;
    padding: 28px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(255, 246, 232, 0.78));
    border: 1px solid var(--shop-border);
    box-shadow: 0 14px 36px rgba(67, 45, 26, 0.06);
}

.shop-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.shop-cart-items {
    display: grid;
    gap: 16px;
}

.shop-cart-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 120px;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(234, 223, 206, 0.9);
    box-shadow: 0 8px 22px rgba(67, 45, 26, 0.06);
}

.shop-cart-img {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #f2eadf;
    aspect-ratio: 1 / 1;
}

.shop-cart-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-cart-category {
    color: var(--shop-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 4px;
}

.shop-cart-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.45;
}

.shop-cart-info h3 a {
    color: var(--shop-text);
    text-decoration: none;
}

.shop-cart-info h3 a:hover {
    color: var(--shop-red);
    text-decoration: none;
}

.shop-cart-price {
    color: var(--shop-red);
    font-weight: 800;
    margin-bottom: 10px;
}

.shop-cart-qty {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--shop-muted);
    font-size: 13px;
}

.shop-cart-qty label {
    margin: 0;
    font-weight: 800;
    color: var(--shop-text);
}

.shop-cart-qty select {
    width: 64px;
    margin: 0;
}

.shop-mini-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--shop-muted);
    font-size: 13px;
    text-decoration: none;
}

.shop-mini-link:hover {
    color: var(--shop-red);
    text-decoration: none;
}

.shop-cart-subtotal {
    text-align: right;
}

.shop-cart-subtotal span {
    display: block;
    color: var(--shop-muted);
    font-size: 13px;
    margin-bottom: 4px;
}

.shop-cart-subtotal strong {
    color: var(--shop-red);
    font-size: 18px;
}

.shop-cart-summary {
    position: sticky;
    top: 18px;
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(234, 223, 206, 0.9);
    box-shadow: 0 12px 30px rgba(67, 45, 26, 0.08);
}

.shop-cart-summary h3 {
    margin: 0 0 16px;
    color: var(--shop-text);
    font-size: 22px;
}

.shop-summary-row,
.shop-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(184, 138, 50, 0.22);
    color: var(--shop-muted);
}

.shop-summary-row strong {
    color: var(--shop-text);
}

.shop-summary-total {
    margin-top: 6px;
    border-bottom: 0;
    color: var(--shop-text);
    font-size: 18px;
    font-weight: 900;
}

.shop-summary-total strong {
    color: var(--shop-red);
    font-size: 22px;
}

.shop-summary-note,
.shop-summary-alert {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 252, 247, 0.92);
    border: 1px solid rgba(184, 138, 50, 0.18);
    color: var(--shop-muted);
    line-height: 1.7;
    font-size: 13px;
}

.shop-summary-alert {
    background: rgba(255, 247, 247, 0.95);
    border-color: rgba(205, 112, 104, 0.24);
}

.shop-checkout-jump {
    margin-top: 16px;
}

.shop-payment-panel {
    padding: 22px 24px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(234, 223, 206, 0.9);
    box-shadow: 0 8px 22px rgba(67, 45, 26, 0.05);
}

.shop-payment-panel h3 {
    margin: 0 0 12px;
    color: var(--shop-text);
}

.shop-payment-hint {
    margin: 10px 0 14px;
    color: var(--shop-muted);
    font-weight: 700;
}

.shop-payment-list {
    display: grid;
    gap: 10px;
}

.shop-payment-option {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(184, 138, 50, 0.18);
    background: rgba(255, 252, 247, 0.82);
    cursor: pointer;
}

.shop-payment-option:hover {
    border-color: rgba(184, 138, 50, 0.42);
    background: #fff;
}

.shop-payment-name {
    color: var(--shop-text);
    font-weight: 800;
    line-height: 1.6;
}

.shop-payment-name small {
    display: inline-block;
    margin-left: 6px;
    font-weight: 400;
}

.shop-payment-note {
    margin: 18px 0;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 247, 247, 0.95);
    border: 1px solid rgba(205, 112, 104, 0.24);
    color: var(--shop-text);
    line-height: 1.8;
}

.shop-pay-button-wrap {
    max-width: 340px;
    margin: 24px auto 0;
}

.shop-modal-pay-btn {
    width: 100%;
}

.shop-exchange-box {
    max-width: 360px;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(234, 223, 206, 0.9);
}

@media (max-width: 980px) {
    .shop-cart-layout {
        grid-template-columns: 1fr;
    }

    .shop-cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .shop-cart-hero,
    .shop-cart-section {
        padding: 22px 14px 28px;
        border-radius: 20px;
    }

    .shop-cart-item {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 12px;
    }

    .shop-cart-subtotal {
        grid-column: 1 / -1;
        text-align: left;
        padding-top: 10px;
        border-top: 1px dashed rgba(184, 138, 50, 0.22);
    }

    .shop-payment-panel {
        padding: 18px;
    }

    .shop-payment-option {
        grid-template-columns: 32px minmax(0, 1fr);
    }
}

/* Normalize inner shop page hero typography */
.shop-list-hero h1,
.shop-cart-hero h1,
.shop-detail-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.22;
    letter-spacing: 0.04em;
    color: var(--shop-text);
}

.shop-list-hero .shop-kicker,
.shop-cart-hero .shop-kicker,
.shop-detail-hero .shop-kicker {
    margin: 0 0 8px;
    font-size: 17px;
    letter-spacing: 0.18em;
}

/* Mobile visual normalization for shop hero blocks */
@media (max-width: 768px) {
    .shop-wrap {
        padding-top: 16px;
    }

    .shop-hero,
    .shop-list-hero,
    .shop-cart-hero,
    .shop-detail-hero {
        margin: 14px 0 28px;
        padding: 28px 24px 30px;
        border-radius: 22px;
    }

    .shop-kicker,
    .shop-list-hero .shop-kicker,
    .shop-cart-hero .shop-kicker,
    .shop-detail-hero .shop-kicker {
        margin-bottom: 10px;
        font-size: 15px;
        line-height: 1.25;
        letter-spacing: 0.18em;
    }

    .shop-list-hero h1,
    .shop-cart-hero h1,
    .shop-detail-hero h1 {
        margin-bottom: 14px;
        font-size: clamp(42px, 10vw, 54px);
        line-height: 1.16;
        letter-spacing: 0.02em;
    }

    .shop-hero h1 {
        margin-bottom: 14px;
        font-size: clamp(44px, 10.5vw, 58px);
        line-height: 1.16;
        letter-spacing: 0.02em;
    }

    .shop-hero p,
    .shop-list-hero p,
    .shop-cart-hero p,
    .shop-detail-hero p {
        max-width: none;
        font-size: 20px;
        line-height: 1.85;
    }

    .shop-actions {
        gap: 12px;
        margin-top: 24px;
    }

    .shop-btn {
        min-height: 58px;
        padding: 13px 22px;
        font-size: 20px;
        line-height: 1.25;
        border-radius: 999px;
    }

    .shop-cart-count {
        min-width: 24px;
        padding: 3px 8px;
        font-size: 13px;
    }
}

/* Very small mobile refinement */
@media (max-width: 420px) {
    .shop-hero,
    .shop-list-hero,
    .shop-cart-hero,
    .shop-detail-hero {
        padding: 26px 20px 28px;
    }

    .shop-list-hero h1,
    .shop-cart-hero h1,
    .shop-detail-hero h1 {
        font-size: clamp(38px, 10vw, 48px);
    }

    .shop-hero h1 {
        font-size: clamp(40px, 10.5vw, 52px);
    }

    .shop-hero p,
    .shop-list-hero p,
    .shop-cart-hero p,
    .shop-detail-hero p {
        font-size: 19px;
        line-height: 1.82;
    }

    .shop-btn {
        min-height: 56px;
        padding: 12px 20px;
        font-size: 19px;
    }
}
