.shop-page { position: relative; z-index: 2; max-width: 1160px; width: calc(100% - 176px); margin: 48px auto 90px; min-height: 45vh; }
.shop-page h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 14px; }
.shop-page h2 { margin: 0 0 16px; }
.shop-page p { color: #bdbdbd; line-height: 1.7; }
.shop-page a { color: #e8b638; }
.shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; margin-top: 32px; align-items: start; }
.shop-panel, .shop-item { border: 1px solid #d8aa3538; border-radius: 20px; padding: 24px; background: #101010d9; }
.shop-items { display: grid; gap: 16px; }
.shop-item { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; }
.shop-item img { width: 110px; height: 110px; object-fit: contain; border-radius: 12px; }
.shop-item h2 { font-size: 18px; overflow-wrap: anywhere; }
.shop-item p { margin: 8px 0; }
.shop-item-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.shop-quantity { display: flex; align-items: center; gap: 6px; }
.shop-quantity input { width: 54px; padding: 10px 4px; text-align: center; color: white; background: #161616; border: 1px solid #ffffff38; border-radius: 8px; }
.shop-button, .shop-favorite { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid #d8aa3566; background: #151515; color: #f1c65b; font: inherit; cursor: pointer; text-decoration: none; }
.shop-button.primary { background: #e2ad2b; color: #141008; border-color: #e2ad2b; font-weight: 700; }
.shop-button:disabled { opacity: .5; cursor: not-allowed; }
.shop-button:focus-visible, .shop-favorite:focus-visible, .shop-quantity input:focus-visible { outline: 2px solid #ffe09b; outline-offset: 3px; }
.shop-favorite { font-size: 13px; margin-top: 12px; }
.shop-favorite[aria-pressed="true"] { background: #d8aa3520; }
.shop-total { display: flex; justify-content: space-between; font-size: 21px; margin: 22px 0; gap: 12px; }
.shop-panel .shop-button.primary { width: 100%; }
.shop-empty { text-align: center; padding: 52px 20px; }
.shop-status { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 10000; max-width: min(480px, calc(100vw - 32px)); padding: 16px 22px; border: 1px solid #d8aa3580; border-radius: 16px; background: #17140b; color: #ffe6a5; box-shadow: 0 12px 40px #0009; pointer-events: none; }
.shop-status:empty { display: none; }
.shop-policy { max-width: 800px; }
.shop-policy p { margin-bottom: 18px; }
.shop-error { color: #ffc1b3 !important; }
.shop-policy h2 { margin-top: 32px; }
.shop-policy .shop-panel h2 { margin-top: 0; }
.shop-table-wrap { overflow-x: auto; margin: 20px 0; }
.shop-table { width: 100%; border-collapse: collapse; color: #d6d6d6; font-size: 14px; line-height: 1.6; }
.shop-table th, .shop-table td { text-align: left; vertical-align: top; padding: 14px; border-bottom: 1px solid #d8aa3544; }
.shop-table th { color: #f1c65b; }
.storage-option { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; cursor: pointer; min-height: 32px; }
.storage-option input { width: 20px; height: 20px; accent-color: #e2ad2b; }
[hidden] { display: none !important; }
@media(max-width: 900px) {
    .shop-page { width: calc(100% - 40px); }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-page ~ #floating-panel .floating-social-panel { position: relative; left: auto; top: auto; transform: none; flex-direction: row; width: max-content; margin: 0 auto 30px; padding: 12px 18px; gap: 18px; }
    .shop-page ~ #floating-panel .floating-divider { width: 1px; height: 24px; }
}
@media(max-width: 480px) { .shop-page { width: calc(100% - 28px); margin-top: 30px; } .shop-item { grid-template-columns: 70px minmax(0,1fr); padding: 16px; gap: 12px; } .shop-item img { width: 70px; height: 90px; } .shop-item-actions { grid-column: 1/-1; } }
