Files
tehnobox/resources/css/app.css
ssww23 93a655235a
Some checks failed
Deploy / deploy (push) Has been cancelled
Initial commit
2026-03-10 00:55:37 +03:00

2936 lines
53 KiB
CSS

@import 'tailwindcss';
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';
@theme {
--font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol', 'Noto Color Emoji';
}
:root {
color-scheme: light;
--bg: #fbfdff;
--bg-2: #ffffff;
--ink: #111827;
--muted: #64748b;
--brand: #e24a4a;
--brand-2: #c73a3a;
--accent: #0f172a;
--accent-2: #334155;
--danger: #ef4444;
--border: rgba(15, 23, 42, 0.12);
--card: #ffffff;
--card-soft: #f8fafc;
--shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
--radius: 12px;
--radius-lg: 16px;
--font-display: "Space Grotesk", "Segoe UI", sans-serif;
--font-body: "Manrope", "Segoe UI", sans-serif;
}
body.pc-body {
margin: 0;
min-height: 100vh;
font-family: var(--font-body);
font-size: 15px;
color: var(--ink);
background: var(--bg);
overflow-x: hidden;
}
.pc-shell {
position: relative;
max-width: 1200px;
margin: 0 auto;
padding: 32px 24px 96px;
z-index: 1;
}
.pc-glow {
display: none;
}
.pc-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
flex-wrap: wrap;
position: sticky;
top: 0;
z-index: 100;
background: rgba(255, 255, 255, 0.96);
backdrop-filter: blur(6px);
border: 1px solid var(--border);
border-radius: 12px;
padding: 10px 12px;
box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.pc-header-nav {
flex-basis: 100%;
display: flex;
align-items: center;
gap: 8px;
margin-top: 4px;
padding-top: 10px;
border-top: 1px solid rgba(15, 23, 42, 0.08);
max-height: 56px;
opacity: 1;
transform: translateY(0);
overflow-x: auto;
scrollbar-width: thin;
transition:
max-height 0.24s ease,
opacity 0.2s ease,
padding 0.24s ease,
margin 0.24s ease,
border-color 0.24s ease;
}
.pc-header.is-nav-hidden .pc-header-nav {
max-height: 0;
opacity: 0;
margin-top: 0;
padding-top: 0;
border-top-color: transparent;
overflow: hidden;
pointer-events: none;
}
.pc-header-nav-link {
flex: 0 0 auto;
text-decoration: none;
color: var(--muted);
border: 1px solid transparent;
border-radius: 999px;
padding: 6px 12px;
font-size: 0.8rem;
font-weight: 600;
transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.pc-header-nav-link:hover {
color: var(--ink);
border-color: var(--border);
background: #f8fafc;
}
.pc-header-nav-link.is-active {
color: #b23434;
border-color: rgba(199, 58, 58, 0.26);
background: rgba(199, 58, 58, 0.08);
}
.pc-header-left {
display: flex;
align-items: center;
gap: 14px;
flex-wrap: wrap;
}
.pc-header-center {
flex: 1;
display: flex;
justify-content: center;
}
.pc-header-icons {
display: flex;
gap: 14px;
align-items: flex-start;
}
.pc-mobile-menu-toggle {
display: none;
}
.pc-hamburger {
display: none;
width: 40px;
height: 40px;
border-radius: 10px;
border: 1px solid var(--border);
background: #ffffff;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 4px;
cursor: pointer;
}
.pc-hamburger span {
width: 16px;
height: 2px;
background: #334155;
border-radius: 2px;
transition: transform 0.2s ease, opacity 0.2s ease;
}
.pc-mobile-menu-head {
display: none;
}
.pc-mobile-menu-close {
width: 40px;
height: 40px;
border-radius: 10px;
border: 1px solid var(--border);
background: #ffffff;
color: var(--ink);
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
line-height: 1;
text-decoration: none;
cursor: pointer;
}
.pc-logo {
display: inline-flex;
align-items: center;
gap: 12px;
font-family: var(--font-display);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.12em;
font-size: 0.95rem;
text-decoration: none;
}
.pc-logo-mark {
width: 14px;
height: 14px;
border-radius: 999px;
background: var(--brand);
box-shadow: 0 0 0 4px rgba(226, 74, 74, 0.12);
}
.pc-nav {
display: flex;
gap: 10px;
flex-wrap: wrap;
font-size: 0.85rem;
color: var(--muted);
}
.pc-nav a {
text-decoration: none;
padding: 6px 12px;
border-radius: 999px;
border: 1px solid transparent;
transition: all 0.2s ease;
}
.pc-nav a:hover {
color: var(--ink);
border-color: var(--border);
background: rgba(255, 255, 255, 0.05);
}
.pc-actions {
display: flex;
gap: 12px;
align-items: center;
flex-wrap: wrap;
}
.pc-search {
position: relative;
}
.pc-search input {
width: 420px;
max-width: 100%;
border-radius: 999px;
padding: 10px 44px 10px 14px;
background: rgba(255, 255, 255, 0.9);
border: 1px solid var(--border);
color: var(--ink);
}
.pc-search input::placeholder {
color: var(--muted);
}
.pc-search-submit {
position: absolute;
top: 50%;
right: 8px;
transform: translateY(-50%);
width: 28px;
height: 28px;
border: 0;
border-radius: 999px;
background: transparent;
color: var(--muted);
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
padding: 0;
}
.pc-search-submit:hover {
color: var(--ink);
background: rgba(15, 23, 42, 0.06);
}
.pc-search-submit:focus-visible {
outline: 2px solid rgba(226, 74, 74, 0.4);
outline-offset: 1px;
}
.pc-search-submit svg {
width: 16px;
height: 16px;
fill: currentColor;
}
.pc-icon-link {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
text-decoration: none;
color: var(--ink);
min-width: 64px;
}
.pc-icon {
width: 38px;
height: 38px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 12px;
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.75);
position: relative;
}
.pc-icon svg {
width: 18px;
height: 18px;
fill: currentColor;
}
.pc-icon-count {
position: absolute;
top: -6px;
right: -6px;
min-width: 18px;
height: 18px;
padding: 0 4px;
border-radius: 999px;
background: #ef4444;
color: #ffffff;
font-size: 0.66rem;
font-weight: 700;
line-height: 18px;
text-align: center;
}
.pc-icon-label {
font-size: 0.72rem;
color: var(--muted);
}
.pc-catalog-btn {
padding: 10px 16px;
}
.pc-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 18px;
border-radius: 10px;
border: 1px solid var(--border);
text-decoration: none;
color: var(--ink);
font-weight: 600;
font-size: 0.85rem;
background: rgba(255, 255, 255, 0.02);
transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.pc-btn:hover {
transform: none;
border-color: rgba(15, 23, 42, 0.25);
}
.pc-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
.pc-btn.primary {
background: var(--brand);
color: #ffffff;
border-color: var(--brand);
}
.pc-btn.ghost {
background: rgba(255, 255, 255, 0.04);
}
.pc-btn.is-active {
border-color: rgba(199, 58, 58, 0.36);
background: rgba(226, 74, 74, 0.1);
color: #b23434;
}
.pc-badge {
padding: 2px 8px;
border-radius: 999px;
font-size: 0.7rem;
font-weight: 700;
background: var(--brand);
color: #ffffff;
}
.pc-main {
display: flex;
flex-direction: column;
gap: 72px;
margin-top: 40px;
}
.pc-alert {
padding: 12px 16px;
border-radius: 12px;
border: 1px solid rgba(16, 185, 129, 0.35);
background: rgba(16, 185, 129, 0.14);
color: #065f46;
font-size: 0.88rem;
transition: opacity 0.26s ease, transform 0.26s ease;
}
.pc-alert.is-hiding {
opacity: 0;
transform: translateY(-6px);
}
.pc-alert-error {
border-color: rgba(239, 68, 68, 0.32);
background: rgba(239, 68, 68, 0.12);
color: #991b1b;
}
.pc-muted {
color: var(--muted);
}
.pc-chat-widget {
position: fixed;
right: 24px;
bottom: 24px;
z-index: 240;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 10px;
}
.pc-chat-toggle {
border: 1px solid rgba(226, 74, 74, 0.38);
background: #e24a4a;
color: #ffffff;
border-radius: 999px;
padding: 10px 18px;
display: inline-flex;
align-items: center;
gap: 8px;
font-weight: 600;
font-size: 0.88rem;
cursor: pointer;
}
.pc-chat-toggle svg {
width: 16px;
height: 16px;
fill: currentColor;
}
.pc-chat-toggle:hover {
background: #c73a3a;
}
.pc-chat-widget.is-open .pc-chat-toggle {
background: #0f172a;
border-color: rgba(15, 23, 42, 0.34);
}
.pc-chat-panel {
width: min(360px, calc(100vw - 24px));
border-radius: 14px;
border: 1px solid rgba(15, 23, 42, 0.12);
background: #ffffff;
box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
padding: 14px;
display: flex;
flex-direction: column;
gap: 10px;
}
.pc-chat-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.pc-chat-header h3 {
margin: 0;
font-size: 1rem;
}
.pc-chat-close {
width: 28px;
height: 28px;
border-radius: 8px;
border: 1px solid var(--border);
background: #ffffff;
color: var(--muted);
cursor: pointer;
font-size: 1rem;
line-height: 1;
}
.pc-chat-close:hover {
color: var(--ink);
}
.pc-chat-note {
margin: 0;
color: var(--muted);
font-size: 0.78rem;
}
.pc-chat-messages {
min-height: 120px;
max-height: 280px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 9px;
padding: 10px;
border-radius: 10px;
border: 1px solid rgba(15, 23, 42, 0.1);
background: #f8fafc;
}
.pc-chat-message {
display: flex;
flex-direction: column;
gap: 3px;
align-items: flex-start;
}
.pc-chat-message.is-customer {
align-items: flex-end;
}
.pc-chat-bubble {
max-width: 88%;
padding: 8px 10px;
border-radius: 10px;
border: 1px solid rgba(15, 23, 42, 0.09);
font-size: 0.82rem;
line-height: 1.45;
white-space: pre-wrap;
}
.pc-chat-message.is-admin .pc-chat-bubble {
background: #ffffff;
}
.pc-chat-message.is-customer .pc-chat-bubble {
background: rgba(226, 74, 74, 0.11);
border-color: rgba(226, 74, 74, 0.22);
}
.pc-chat-meta {
font-size: 0.7rem;
color: var(--muted);
}
.pc-chat-form {
display: grid;
gap: 8px;
}
.pc-chat-form textarea {
border-radius: 10px;
border: 1px solid var(--border);
background: #ffffff;
padding: 9px 11px;
color: var(--ink);
resize: vertical;
min-height: 74px;
}
.pc-admin-chat-layout {
display: grid;
grid-template-columns: 300px minmax(0, 1fr);
gap: 16px;
align-items: start;
}
.pc-admin-chat-list {
padding: 10px;
max-height: 640px;
overflow-y: auto;
gap: 8px;
}
.pc-admin-chat-item {
display: flex;
flex-direction: column;
gap: 4px;
padding: 10px 12px;
border-radius: 12px;
border: 1px solid rgba(15, 23, 42, 0.08);
color: inherit;
text-decoration: none;
background: #ffffff;
}
.pc-admin-chat-item:hover {
border-color: rgba(226, 74, 74, 0.24);
background: #fff7f7;
}
.pc-admin-chat-item.is-active {
border-color: rgba(226, 74, 74, 0.34);
background: rgba(226, 74, 74, 0.08);
}
.pc-admin-chat-item-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.pc-admin-chat-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 20px;
height: 20px;
padding: 0 6px;
border-radius: 999px;
background: #ef4444;
color: #ffffff;
font-size: 0.72rem;
font-weight: 700;
}
.pc-admin-chat-panel {
min-height: 560px;
}
#pc-admin-chat {
display: flex;
flex-direction: column;
gap: 12px;
height: 100%;
}
.pc-admin-chat-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.pc-admin-chat-head h3 {
margin: 0 0 4px;
}
.pc-admin-chat-head p {
margin: 0;
}
.pc-admin-chat-actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
}
.pc-admin-chat-messages {
flex: 1;
min-height: 330px;
max-height: 560px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 10px;
padding: 12px;
border-radius: 12px;
border: 1px solid rgba(15, 23, 42, 0.08);
background: #f8fafc;
}
.pc-admin-chat-message {
display: flex;
flex-direction: column;
gap: 4px;
align-items: flex-start;
}
.pc-admin-chat-message.is-admin {
align-items: flex-end;
}
.pc-admin-chat-bubble {
max-width: 88%;
border-radius: 10px;
border: 1px solid rgba(15, 23, 42, 0.1);
padding: 9px 12px;
font-size: 0.85rem;
line-height: 1.45;
white-space: pre-wrap;
background: #ffffff;
}
.pc-admin-chat-message.is-admin .pc-admin-chat-bubble {
background: rgba(226, 74, 74, 0.1);
border-color: rgba(226, 74, 74, 0.24);
}
.pc-admin-chat-form {
display: grid;
gap: 10px;
}
.pc-admin-chat-form textarea {
border-radius: 10px;
border: 1px solid var(--border);
background: #ffffff;
color: var(--ink);
padding: 10px 12px;
resize: vertical;
}
.pc-home-sliders {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 16px;
}
.pc-home-slider {
position: relative;
overflow: hidden;
border-radius: 16px;
border: 1px solid var(--border);
min-height: 340px;
background: #f2e8e8;
}
.pc-home-slider.is-main {
min-height: 360px;
}
.pc-home-slider-track {
position: relative;
min-height: inherit;
height: 100%;
}
.pc-home-slide {
position: absolute;
inset: 0;
opacity: 0;
pointer-events: none;
transition: opacity 0.35s ease;
}
.pc-home-slide.is-active {
opacity: 1;
pointer-events: auto;
}
.pc-home-slide img {
width: 100%;
height: 100%;
object-fit: cover;
}
.pc-home-slide-overlay {
position: absolute;
inset: 0;
background: linear-gradient(115deg, rgba(15, 23, 42, 0.56), rgba(15, 23, 42, 0.22));
}
.pc-home-slide.is-fallback .pc-home-slide-overlay {
background: linear-gradient(120deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.48));
}
.pc-home-slide-content {
position: absolute;
left: 24px;
right: 24px;
bottom: 22px;
display: grid;
gap: 10px;
z-index: 2;
color: #f8fafc;
max-width: 640px;
}
.pc-home-slider.is-side .pc-home-slide-content {
max-width: 360px;
}
.pc-home-slide-content h2 {
margin: 0;
font-family: var(--font-display);
font-size: clamp(1.2rem, 2.2vw, 2rem);
line-height: 1.2;
}
.pc-home-slide-content p {
margin: 0;
color: rgba(248, 250, 252, 0.92);
line-height: 1.45;
}
.pc-home-slider-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 34px;
height: 34px;
border-radius: 999px;
border: 1px solid rgba(248, 250, 252, 0.44);
background: rgba(15, 23, 42, 0.48);
color: #ffffff;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 1.25rem;
line-height: 1;
cursor: pointer;
z-index: 3;
}
.pc-home-slider-btn:hover {
background: rgba(15, 23, 42, 0.65);
}
.pc-home-slider-btn.is-prev {
left: 10px;
}
.pc-home-slider-btn.is-next {
right: 10px;
}
.pc-home-slider-btn:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.pc-admin-slide-item {
display: grid;
grid-template-columns: 112px minmax(0, 1fr);
gap: 12px;
padding: 12px;
border-radius: 12px;
border: 1px solid rgba(15, 23, 42, 0.08);
background: #ffffff;
}
.pc-admin-slide-main {
display: grid;
gap: 6px;
}
.pc-admin-slide-preview {
width: 112px;
height: 76px;
border-radius: 10px;
background-color: #e2e8f0;
background-size: cover;
background-position: center;
border: 1px solid rgba(15, 23, 42, 0.1);
}
.pc-admin-slide-current {
display: grid;
gap: 8px;
}
.pc-admin-slide-current-preview {
width: 100%;
max-width: 360px;
aspect-ratio: 16 / 9;
border-radius: 12px;
border: 1px solid rgba(15, 23, 42, 0.1);
background-color: #e2e8f0;
background-size: cover;
background-position: center;
}
.pc-admin-product-image-current {
display: grid;
gap: 8px;
}
.pc-admin-product-image-preview {
width: 100%;
max-width: 260px;
aspect-ratio: 4 / 3;
border-radius: 12px;
border: 1px solid rgba(15, 23, 42, 0.1);
background-color: #e2e8f0;
object-fit: cover;
}
.pc-admin-product-gallery-current {
display: grid;
gap: 8px;
}
.pc-admin-product-gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
gap: 8px;
max-width: 520px;
}
.pc-admin-product-gallery-item {
display: grid;
gap: 6px;
align-content: start;
}
.pc-admin-product-gallery-preview {
width: 100%;
aspect-ratio: 1 / 1;
border-radius: 10px;
border: 1px solid rgba(15, 23, 42, 0.1);
background-color: #e2e8f0;
object-fit: cover;
}
.pc-hero-home {
display: grid;
grid-template-columns: 1.4fr 1fr;
gap: 20px;
align-items: stretch;
}
.pc-hero-home .pc-hero-copy {
background: #ffffff;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 30px;
box-shadow: var(--shadow);
}
.pc-hero-home .pc-hero-copy h1 {
margin: 16px 0;
font-size: clamp(2rem, 3.2vw, 3rem);
}
.pc-hero-home .pc-hero-copy p {
color: var(--muted);
margin-bottom: 20px;
}
.pc-hero-stats {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
}
.pc-hero {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 40px;
align-items: center;
}
.pc-hero-copy h1 {
font-family: var(--font-display);
font-size: clamp(2.6rem, 4.6vw, 4.4rem);
line-height: 1.05;
margin: 16px 0;
}
.pc-hero-copy p {
color: var(--muted);
font-size: 1.05rem;
margin-bottom: 22px;
max-width: 520px;
}
.pc-pill {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 14px;
border-radius: 10px;
border: 1px solid var(--border);
background: #f1f5f9;
font-size: 0.7rem;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--muted);
}
.pc-hero-actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.pc-hero-copy .pc-hero-actions {
margin-bottom: 24px;
}
.pc-stats {
display: flex;
gap: 16px;
flex-wrap: wrap;
}
.pc-stat {
padding: 14px 18px;
border-radius: var(--radius);
border: 1px solid var(--border);
background: #ffffff;
min-width: 150px;
}
.pc-stat-value {
font-family: var(--font-display);
font-size: 1.4rem;
font-weight: 700;
}
.pc-stat-label {
color: var(--muted);
font-size: 0.85rem;
margin-top: 4px;
}
.pc-hero-panel {
background: #ffffff;
border-radius: var(--radius-lg);
padding: 24px;
border: 1px solid var(--border);
box-shadow: var(--shadow);
position: relative;
overflow: hidden;
}
.pc-hero-panel::after {
display: none;
}
.pc-panel-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 16px;
}
.pc-panel-kicker {
color: var(--muted);
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.2em;
margin-bottom: 6px;
}
.pc-panel-header h3 {
font-family: var(--font-display);
font-size: 1.4rem;
margin: 0;
}
.pc-chip {
padding: 6px 10px;
border-radius: 999px;
background: rgba(226, 74, 74, 0.16);
color: #b23434;
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.pc-panel-list {
display: grid;
gap: 10px;
margin-bottom: 16px;
}
.pc-panel-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 12px;
border-radius: 12px;
background: rgba(248, 250, 252, 0.9);
border: 1px solid rgba(15, 23, 42, 0.08);
font-size: 0.9rem;
}
.pc-tag {
padding: 4px 8px;
border-radius: 999px;
background: rgba(45, 212, 191, 0.2);
color: #a7f3d0;
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.08em;
}
.pc-progress {
width: 100%;
height: 6px;
border-radius: 999px;
background: rgba(15, 23, 42, 0.12);
overflow: hidden;
margin-bottom: 12px;
}
.pc-progress-bar {
height: 100%;
border-radius: 999px;
background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.pc-panel-footer {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.9rem;
color: var(--muted);
}
.pc-panel-footer strong {
color: var(--ink);
font-family: var(--font-display);
}
.pc-panel-note {
font-size: 0.75rem;
}
.pc-section {
display: flex;
flex-direction: column;
gap: 10px;
}
.pc-section-title h2 {
font-family: var(--font-display);
font-size: clamp(2rem, 3vw, 3rem);
margin: 5px 0;
}
.pc-section-title p {
color: var(--muted);
max-width: 620px;
}
.pc-about-content {
display: grid;
gap: 14px;
max-width: 900px;
}
.pc-about-content h3 {
margin: 8px 0 2px;
font-family: var(--font-display);
font-size: 1.1rem;
}
.pc-about-content p {
margin: 0;
color: var(--muted);
line-height: 1.65;
}
.pc-grid {
display: grid;
gap: 18px;
}
.pc-grid-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pc-grid-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pc-grid-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pc-card {
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 20px;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
display: flex;
flex-direction: column;
gap: 12px;
}
.pc-card h3 {
font-family: var(--font-display);
font-size: 1.2rem;
margin: 0;
}
.pc-card p {
color: var(--muted);
margin: 0;
}
.pc-card-meta {
font-size: 0.8rem;
color: var(--muted);
text-transform: uppercase;
letter-spacing: 0.16em;
}
.pc-category-card {
align-items: center;
text-align: center;
gap: 14px;
padding: 16px;
}
.pc-category-image {
width: 100%;
aspect-ratio: 4 / 3;
border-radius: 12px;
border: 1px solid rgba(15, 23, 42, 0.1);
background: #f1f5f9;
position: relative;
overflow: hidden;
}
.pc-category-image::after {
display: none;
}
.pc-category-title {
font-family: var(--font-display);
font-size: 1.05rem;
margin: 0;
}
.pc-category-count {
font-size: 0.85rem;
color: var(--muted);
}
.pc-list {
display: grid;
gap: 6px;
color: var(--muted);
font-size: 0.9rem;
}
.pc-list li {
display: flex;
align-items: center;
gap: 8px;
}
.pc-list li::before {
content: "";
width: 6px;
height: 6px;
border-radius: 999px;
background: var(--brand);
display: inline-block;
}
.pc-anchor {
scroll-margin-top: 120px;
}
.pc-compare {
display: grid;
gap: 8px;
font-size: 0.85rem;
}
.pc-compare-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 12px;
border-radius: 12px;
border: 1px solid rgba(15, 23, 42, 0.08);
background: rgba(248, 250, 252, 0.9);
}
.pc-admin-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.pc-admin-stat {
padding: 12px;
border-radius: 14px;
background: rgba(248, 250, 252, 0.9);
border: 1px solid rgba(15, 23, 42, 0.08);
}
.pc-admin-stat strong {
display: block;
font-family: var(--font-display);
font-size: 1.1rem;
margin-bottom: 4px;
}
.pc-chart {
display: flex;
align-items: flex-end;
gap: 10px;
height: 120px;
}
.pc-bar {
flex: 1;
border-radius: 12px;
background: linear-gradient(180deg, rgba(255, 122, 24, 0.9), rgba(255, 122, 24, 0.3));
}
.pc-bar.alt {
background: linear-gradient(180deg, rgba(45, 212, 191, 0.9), rgba(45, 212, 191, 0.3));
}
.pc-form {
gap: 16px;
}
.pc-form label {
display: grid;
gap: 8px;
color: var(--muted);
font-size: 0.85rem;
}
.pc-form input,
.pc-form textarea {
border-radius: 12px;
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.9);
padding: 12px 14px;
color: var(--ink);
}
.pc-form textarea {
min-height: 120px;
resize: vertical;
}
.pc-form select {
border-radius: 12px;
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.9);
padding: 12px 14px;
color: var(--ink);
}
.pc-field-hint {
color: var(--muted);
font-size: 0.75rem;
line-height: 1.3;
}
.pc-file-input {
border-radius: 10px;
border: 1px solid var(--border);
background: #ffffff;
padding: 8px 10px;
color: var(--ink);
max-width: 320px;
}
.pc-spec-fields-wrap {
display: grid;
gap: 10px;
padding: 14px;
border: 1px dashed rgba(15, 23, 42, 0.2);
border-radius: 12px;
background: #f8fafc;
}
.pc-spec-fields-title {
margin: 0;
font-size: 1rem;
font-family: var(--font-display);
}
.pc-auth-section {
align-items: center;
}
.pc-auth-section .pc-section-title {
width: min(100%, 560px);
text-align: center;
}
.pc-auth-section .pc-section-title h2,
.pc-auth-section .pc-section-title p {
text-align: center;
margin-left: auto;
margin-right: auto;
}
.pc-auth-form {
width: min(100%, 560px);
margin-inline: auto;
}
.pc-auth-form label {
text-align: left;
}
.pc-checkbox {
display: flex;
align-items: center;
flex-wrap: nowrap;
gap: 10px;
color: var(--ink);
}
.pc-checkbox input {
width: 16px;
height: 16px;
margin: 0;
}
.pc-checkbox span {
white-space: nowrap;
}
.pc-account-orders {
display: grid;
gap: 10px;
}
.pc-account-order {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 12px;
border-radius: 12px;
border: 1px solid rgba(15, 23, 42, 0.08);
background: rgba(248, 250, 252, 0.9);
color: inherit;
text-decoration: none;
}
.pc-account-order:hover {
border-color: rgba(15, 23, 42, 0.16);
}
.pc-footer {
margin-top: 48px;
padding: 28px;
background: #0c0f14;
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: 14px;
display: flex;
flex-direction: column;
gap: 18px;
color: #cbd5e1;
font-size: 0.9rem;
}
.pc-footer-top {
display: flex;
gap: 26px;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
}
.pc-footer-brand {
max-width: 360px;
}
.pc-footer-brand h3 {
margin: 0 0 10px;
font-size: 1.2rem;
color: #f8fafc;
}
.pc-footer-brand p {
margin: 0;
color: #94a3b8;
line-height: 1.55;
}
.pc-footer-columns {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 24px;
flex: 1;
min-width: 520px;
}
.pc-footer-col h4 {
margin: 0 0 10px;
color: #f8fafc;
font-size: 0.95rem;
}
.pc-footer-list {
margin: 0;
padding: 0;
list-style: none;
display: grid;
gap: 7px;
}
.pc-footer-list a,
.pc-footer-bottom a {
color: #cbd5e1;
text-decoration: none;
}
.pc-footer-list a:hover,
.pc-footer-bottom a:hover {
color: #ffffff;
}
.pc-footer-contact {
display: grid;
gap: 7px;
color: #94a3b8;
font-size: 0.85rem;
}
.pc-footer-contact a {
color: #cbd5e1;
text-decoration: none;
}
.pc-footer-contact a:hover {
color: #ffffff;
}
.pc-footer-bottom {
border-top: 1px solid rgba(148, 163, 184, 0.22);
padding-top: 14px;
display: flex;
justify-content: space-between;
gap: 10px;
flex-wrap: wrap;
color: #94a3b8;
font-size: 0.82rem;
}
.pc-breadcrumbs {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
font-size: 0.85rem;
color: var(--muted);
}
.pc-breadcrumbs a {
color: var(--muted);
text-decoration: none;
}
.pc-breadcrumbs a:hover {
color: var(--ink);
}
.pc-breadcrumbs-current {
color: var(--ink);
font-weight: 600;
}
.pc-breadcrumbs-sep {
opacity: 0.6;
}
.pc-contact-link {
color: var(--brand-2);
text-decoration: none;
border-bottom: 1px dashed rgba(199, 58, 58, 0.35);
}
.pc-contact-link:hover {
color: var(--brand);
border-bottom-color: rgba(226, 74, 74, 0.45);
}
.pc-payment-details {
display: grid;
gap: 10px;
padding: 14px;
border-radius: 12px;
border: 1px dashed rgba(15, 23, 42, 0.18);
background: #f8fafc;
}
.pc-payment-details h3 {
margin: 0;
font-size: 1rem;
}
.pc-payment-total,
.pc-payment-purpose {
margin: 0;
}
.pc-payment-grid {
display: grid;
gap: 8px;
width: 100%;
max-width: 480px;
}
.pc-payment-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 8px 10px;
border-radius: 10px;
border: 1px solid rgba(15, 23, 42, 0.1);
background: #ffffff;
}
.pc-payment-key {
color: var(--muted);
font-size: 0.82rem;
}
.pc-payment-value {
font-size: 0.9rem;
letter-spacing: 0.04em;
}
.pc-catalog-layout {
display: grid;
grid-template-columns: 260px 1fr;
gap: 24px;
align-items: start;
}
.pc-filters {
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 18px;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.pc-filter-details > summary {
display: none;
}
.pc-filter-details > form {
display: block;
}
.pc-filter-native-summary {
display: none;
}
.pc-filter-inline-toggle {
display: none;
}
.pc-filter-toggle {
list-style: none;
border-radius: 999px;
border: 1px solid var(--border);
background: #ffffff;
color: var(--ink);
padding: 6px 10px;
font-size: 0.78rem;
font-weight: 600;
line-height: 1;
gap: 6px;
align-items: center;
display: inline-flex;
cursor: pointer;
}
.pc-filter-toggle::-webkit-details-marker {
display: none;
}
.pc-filter-toggle svg {
width: 14px;
height: 14px;
fill: currentColor;
}
.pc-filter-toggle-count {
min-width: 18px;
height: 18px;
border-radius: 999px;
border: 1px solid rgba(15, 23, 42, 0.14);
font-size: 0.7rem;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 4px;
background: rgba(15, 23, 42, 0.04);
}
.pc-filter-title {
font-family: var(--font-display);
font-weight: 600;
margin-bottom: 12px;
}
.pc-filter-block {
display: grid;
gap: 8px;
font-size: 0.85rem;
color: var(--muted);
margin-bottom: 12px;
}
.pc-filter-block select {
border-radius: 10px;
border: 1px solid var(--border);
padding: 10px;
background: rgba(255, 255, 255, 0.9);
color: var(--ink);
}
.pc-range-fields {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.pc-range-fields input {
border-radius: 10px;
border: 1px solid var(--border);
padding: 10px;
background: rgba(255, 255, 255, 0.9);
color: var(--ink);
min-width: 0;
}
.pc-filter-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.pc-products-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
}
.pc-product-carousel {
display: grid;
grid-template-columns: 38px minmax(0, 1fr) 38px;
gap: 10px;
align-items: stretch;
}
.pc-product-carousel-track {
display: grid;
grid-auto-flow: column;
grid-auto-columns: calc((100% - 54px) / 4);
gap: 18px;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
scrollbar-width: none;
-ms-overflow-style: none;
padding: 2px;
}
.pc-product-carousel-track::-webkit-scrollbar {
display: none;
}
.pc-product-carousel-item {
min-width: 0;
scroll-snap-align: start;
}
.pc-product-carousel-btn {
border-radius: 12px;
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.9);
color: var(--ink);
font-size: 1.5rem;
line-height: 1;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
padding: 0;
}
.pc-product-carousel-btn:hover {
background: #ffffff;
border-color: rgba(15, 23, 42, 0.2);
}
.pc-product-carousel-btn:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.pc-product-card {
display: flex;
flex-direction: column;
height: 100%;
gap: 14px;
}
.pc-product-card h3 {
margin: 0;
}
.pc-product-media {
position: relative;
}
.pc-product-tools {
position: absolute;
top: 10px;
right: 10px;
display: flex;
gap: 8px;
z-index: 2;
}
.pc-product-tool-form {
margin: 0;
}
.pc-product-tool {
width: 32px;
height: 32px;
border-radius: 10px;
border: 1px solid rgba(31, 41, 55, 0.16);
background: rgba(255, 255, 255, 0.92);
color: #334155;
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;
transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pc-product-tool:hover {
background: #ffffff;
color: #b23434;
transform: none;
}
.pc-product-tool.is-active {
background: rgba(199, 58, 58, 0.12);
border-color: rgba(199, 58, 58, 0.36);
color: #b23434;
}
.pc-product-tool svg {
width: 16px;
height: 16px;
fill: currentColor;
}
.pc-product-image {
display: block;
width: 100%;
aspect-ratio: 4 / 3;
border-radius: 14px;
background: #f1f5f9;
border: 1px solid rgba(15, 23, 42, 0.08);
object-fit: cover;
}
.pc-product-meta {
display: flex;
gap: 10px;
align-items: baseline;
margin-top: auto;
}
.pc-product-old {
color: var(--muted);
text-decoration: line-through;
font-size: 0.9rem;
}
.pc-product-link {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
min-height: 2.8em;
line-height: 1.4;
overflow: hidden;
color: inherit;
text-decoration: none;
}
.pc-product-link:hover {
color: #b23434;
}
.pc-product-card > p {
margin: 0;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
min-height: 2.8em;
overflow: hidden;
}
.pc-stock {
font-size: 0.75rem;
border-radius: 999px;
padding: 4px 8px;
border: 1px solid transparent;
white-space: nowrap;
}
.pc-stock-in {
color: #047857;
background: rgba(16, 185, 129, 0.14);
border-color: rgba(5, 150, 105, 0.22);
}
.pc-stock-out {
color: #b91c1c;
background: rgba(239, 68, 68, 0.14);
border-color: rgba(220, 38, 38, 0.22);
}
.pc-product-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-top: 8px;
}
.pc-product-actions form {
margin: 0;
}
.pc-category-link {
text-decoration: none;
color: inherit;
}
.pc-product-page {
gap: 24px;
}
.pc-product-hero {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 24px;
align-items: center;
}
.pc-product-gallery {
display: grid;
gap: 10px;
}
.pc-product-image-lg {
display: block;
width: 100%;
aspect-ratio: 4 / 3;
border-radius: 14px;
background: #f1f5f9;
border: 1px solid var(--border);
object-fit: cover;
touch-action: pan-y;
user-select: none;
-webkit-user-drag: none;
will-change: transform, opacity, filter;
backface-visibility: hidden;
}
.pc-product-thumbs {
display: flex;
gap: 8px;
overflow-x: auto;
padding: 2px 1px 2px 0;
scrollbar-width: thin;
}
.pc-product-thumb {
width: 64px;
height: 64px;
border-radius: 10px;
border: 1px solid rgba(15, 23, 42, 0.16);
background: #ffffff;
padding: 2px;
cursor: pointer;
flex: 0 0 auto;
transition: border-color 0.2s ease, background-color 0.2s ease;
}
.pc-product-thumb img {
display: block;
width: 100%;
height: 100%;
border-radius: 8px;
object-fit: cover;
}
.pc-product-thumb:hover {
border-color: rgba(199, 58, 58, 0.34);
}
.pc-product-thumb.is-active {
border-color: rgba(199, 58, 58, 0.48);
background: rgba(199, 58, 58, 0.08);
}
.pc-product-thumb:focus-visible {
outline: 2px solid rgba(226, 74, 74, 0.34);
outline-offset: 1px;
}
.pc-product-info h1 {
font-family: var(--font-display);
font-size: clamp(1.8rem, 3vw, 2.6rem);
margin: 8px 0;
}
.pc-product-badges {
display: flex;
gap: 10px;
align-items: center;
flex-wrap: wrap;
}
.pc-sku {
font-size: 0.8rem;
color: var(--muted);
}
.pc-product-price {
display: flex;
align-items: baseline;
gap: 12px;
margin: 12px 0;
font-size: 1.2rem;
}
.pc-tabs {
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 18px;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}
.pc-tabs input[type="radio"] {
display: none;
}
.pc-tab-labels {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin-bottom: 16px;
}
.pc-tab-labels label {
cursor: pointer;
padding: 8px 14px;
border-radius: 999px;
border: 1px solid var(--border);
font-size: 0.85rem;
color: var(--muted);
}
#tab-specs:checked ~ .pc-tab-labels label[for="tab-specs"],
#tab-desc:checked ~ .pc-tab-labels label[for="tab-desc"],
#tab-shipping:checked ~ .pc-tab-labels label[for="tab-shipping"],
#tab-payment:checked ~ .pc-tab-labels label[for="tab-payment"] {
background: rgba(249, 115, 22, 0.15);
color: var(--ink);
border-color: rgba(249, 115, 22, 0.3);
}
.pc-tab-panel {
display: none;
}
#tab-specs:checked ~ .pc-tab-content .pc-tab-specs,
#tab-desc:checked ~ .pc-tab-content .pc-tab-desc,
#tab-shipping:checked ~ .pc-tab-content .pc-tab-shipping,
#tab-payment:checked ~ .pc-tab-content .pc-tab-payment {
display: block;
}
.pc-specs-grid {
display: grid;
gap: 10px;
}
.pc-spec-row {
display: flex;
justify-content: space-between;
gap: 12px;
padding: 10px 12px;
border-radius: 10px;
background: rgba(248, 250, 252, 0.9);
border: 1px solid rgba(15, 23, 42, 0.08);
font-size: 0.82rem;
}
.pc-pagination {
margin-top: 18px;
}
.pc-pager {
display: flex;
justify-content: center;
}
.pc-pager-list {
list-style: none;
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
margin: 0;
padding: 0;
}
.pc-pager-link {
min-width: 34px;
height: 34px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 9px;
background: #ffffff;
color: var(--ink);
text-decoration: none;
font-size: 0.8rem;
font-weight: 600;
display: inline-flex;
align-items: center;
justify-content: center;
}
.pc-pager-link:hover {
border-color: rgba(15, 23, 42, 0.22);
background: #f8fafc;
}
.pc-pager-link.is-active {
border-color: rgba(226, 74, 74, 0.48);
background: rgba(226, 74, 74, 0.12);
color: #b23434;
}
.pc-pager-link.is-disabled {
opacity: 0.5;
pointer-events: none;
}
.pc-pager-link.is-gap {
border-color: transparent;
background: transparent;
min-width: 20px;
padding: 0 2px;
}
.pc-category-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
flex-wrap: wrap;
}
.pc-category-toolbar-controls {
display: flex;
align-items: center;
gap: 10px;
}
.pc-sort-form {
display: flex;
align-items: center;
gap: 10px;
color: var(--muted);
font-size: 0.85rem;
}
.pc-sort-form select {
border-radius: 10px;
border: 1px solid var(--border);
padding: 9px 12px;
background: rgba(255, 255, 255, 0.9);
color: var(--ink);
}
.pc-search-page-form {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.pc-search-page-form .pc-search {
flex: 1 1 420px;
}
.pc-filter-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.pc-filter-chip {
border-radius: 999px;
border: 1px solid rgba(226, 74, 74, 0.25);
background: rgba(226, 74, 74, 0.12);
color: #e24a4a;
font-size: 0.78rem;
padding: 5px 10px;
}
.pc-cart-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 320px;
gap: 20px;
align-items: start;
}
.pc-cart-list {
display: grid;
gap: 14px;
}
.pc-cart-item {
flex-direction: row;
justify-content: space-between;
align-items: center;
gap: 16px;
}
.pc-cart-item-main {
flex: 1;
}
.pc-cart-item-main h3 {
margin-bottom: 8px;
}
.pc-cart-item-side {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 10px;
}
.pc-cart-qty-form {
display: flex;
align-items: center;
gap: 8px;
}
.pc-cart-qty-form input {
width: 72px;
border-radius: 10px;
border: 1px solid var(--border);
padding: 9px 10px;
text-align: center;
background: rgba(255, 255, 255, 0.9);
color: var(--ink);
}
.pc-cart-subtotal {
font-size: 1.05rem;
}
.pc-cart-summary {
gap: 14px;
}
.pc-cart-summary-row {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
border-bottom: 1px dashed var(--border);
padding-bottom: 10px;
}
.pc-compare-actions {
display: flex;
justify-content: flex-end;
}
.pc-compare-actions form {
margin: 0;
}
.pc-compare-table-wrap {
padding: 0;
overflow: hidden;
}
.pc-table-scroll {
overflow-x: auto;
}
.pc-compare-table {
width: 100%;
border-collapse: collapse;
min-width: 680px;
}
.pc-compare-table th,
.pc-compare-table td {
border-bottom: 1px solid rgba(15, 23, 42, 0.08);
padding: 12px 14px;
text-align: left;
vertical-align: top;
font-size: 0.85rem;
}
.pc-compare-table thead th {
background: rgba(248, 250, 252, 0.9);
position: sticky;
top: 0;
}
.pc-compare-table tbody th {
color: var(--muted);
font-weight: 600;
width: 220px;
}
.pc-animate {
animation: none;
}
@keyframes rise {
from {
opacity: 0;
transform: translateY(18px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 1100px) {
.pc-hero {
grid-template-columns: 1fr;
}
.pc-hero-home {
grid-template-columns: 1fr;
}
.pc-header-center {
order: 3;
width: 100%;
}
.pc-header-icons {
order: 2;
}
.pc-search input {
width: 340px;
max-width: 100%;
}
.pc-product-carousel-track {
grid-auto-columns: calc((100% - 36px) / 3);
}
}
@media (max-width: 900px) {
.pc-grid-3 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pc-grid-4 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pc-admin-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pc-products-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pc-home-sliders {
grid-template-columns: 1fr;
}
.pc-catalog-layout {
grid-template-columns: 1fr;
}
.pc-admin-chat-layout {
grid-template-columns: 1fr;
}
.pc-admin-chat-list {
max-height: 300px;
}
.pc-admin-chat-panel {
min-height: 0;
}
.pc-cart-layout {
grid-template-columns: 1fr;
}
.pc-footer-columns {
grid-template-columns: repeat(2, minmax(0, 1fr));
min-width: 0;
}
.pc-product-carousel-track {
grid-auto-columns: calc((100% - 18px) / 2);
}
}
@media (max-width: 720px) {
body.pc-body {
font-size: 14px;
}
.pc-shell {
padding: 14px 10px 72px;
}
.pc-main {
gap: 40px;
margin-top: 20px;
}
.pc-section {
gap: 8px;
}
.pc-section-title h2 {
font-size: clamp(1.35rem, 5.6vw, 1.75rem);
margin: 4px 0;
}
.pc-section-title p {
font-size: 0.84rem;
}
.pc-card {
padding: 12px;
gap: 8px;
border-radius: 10px;
}
.pc-card h3 {
font-size: 1rem;
}
.pc-card p {
font-size: 0.84rem;
}
.pc-btn {
padding: 8px 12px;
font-size: 0.78rem;
border-radius: 9px;
}
.pc-icon {
width: 32px;
height: 32px;
border-radius: 10px;
}
.pc-icon svg {
width: 15px;
height: 15px;
}
.pc-icon-label {
font-size: 0.66rem;
}
.pc-product-card {
gap: 10px;
}
.pc-product-link {
display: block;
-webkit-line-clamp: unset;
-webkit-box-orient: initial;
min-height: 0;
overflow: visible;
}
.pc-product-card > p {
display: block;
-webkit-line-clamp: unset;
-webkit-box-orient: initial;
min-height: 0;
overflow: visible;
}
.pc-product-tool {
width: 28px;
height: 28px;
border-radius: 8px;
}
.pc-product-tool svg {
width: 14px;
height: 14px;
}
.pc-product-thumb {
width: 56px;
height: 56px;
border-radius: 9px;
}
.pc-search input {
padding: 8px 40px 8px 12px;
}
.pc-search-submit {
width: 24px;
height: 24px;
}
.pc-search-submit svg {
width: 14px;
height: 14px;
}
.pc-header {
align-items: center;
padding: 8px 10px;
row-gap: 10px;
}
.pc-header-left {
flex: 1;
min-width: 0;
order: 1;
}
.pc-logo {
font-size: 0.82rem;
letter-spacing: 0.08em;
}
.pc-catalog-btn {
display: none;
}
.pc-hamburger {
display: inline-flex;
order: 2;
margin-left: auto;
}
.pc-mobile-menu-head {
display: none;
width: 100%;
}
.pc-header-center {
display: none;
}
.pc-header-icons {
display: none;
}
.pc-header-nav {
display: none;
order: 5;
margin-top: 0;
padding-top: 0;
border-top: 0;
}
.pc-mobile-menu-toggle:checked + .pc-hamburger {
display: none;
}
.pc-mobile-menu-toggle:checked ~ .pc-mobile-menu-head {
display: flex;
justify-content: flex-end;
align-items: center;
order: 1;
padding-bottom: 8px;
border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.pc-mobile-menu-toggle:checked ~ .pc-header-left {
order: 2;
width: 100%;
flex: 0 0 100%;
}
.pc-mobile-menu-toggle:checked ~ .pc-header-center {
display: flex;
flex-direction: column;
gap: 10px;
order: 3;
width: 100%;
padding-top: 0;
border-top: 0;
justify-content: flex-start;
}
.pc-mobile-menu-toggle:checked ~ .pc-header-icons {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 8px;
order: 4;
width: 100%;
}
.pc-mobile-menu-toggle:checked ~ .pc-header-nav {
display: grid;
grid-template-columns: 1fr;
gap: 6px;
width: 100%;
max-height: none;
opacity: 1;
overflow: visible;
pointer-events: auto;
}
.pc-mobile-menu-toggle:checked ~ .pc-header-nav .pc-header-nav-link {
width: 100%;
border: 1px solid var(--border);
border-radius: 10px;
padding: 8px 10px;
font-size: 0.8rem;
background: #ffffff;
}
.pc-search {
width: 100%;
}
.pc-icon-link {
min-width: 0;
}
.pc-nav {
width: 100%;
}
.pc-actions {
width: 100%;
}
.pc-search input {
width: 100%;
}
.pc-filters {
padding: 0;
border: 0;
box-shadow: none;
background: transparent;
}
.pc-category-toolbar-controls {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
align-items: center;
gap: 8px;
}
.pc-category-toolbar-controls .pc-sort-form {
width: 100%;
min-width: 0;
}
.pc-category-toolbar-controls .pc-sort-form label {
display: none;
}
.pc-category-toolbar-controls .pc-sort-form select {
width: 100%;
min-width: 0;
height: 32px;
padding: 0 10px;
font-size: 0.76rem;
font-weight: 600;
border-radius: 999px;
border: 1px solid var(--border);
background: #ffffff;
color: var(--ink);
}
.pc-filter-inline-toggle {
display: inline-flex;
align-items: center;
gap: 6px;
border-radius: 999px;
border: 1px solid var(--border);
background: #ffffff;
color: var(--ink);
padding: 7px 9px;
font-size: 0.76rem;
font-weight: 600;
line-height: 1;
white-space: nowrap;
flex-shrink: 0;
width: 100%;
justify-content: center;
height: 32px;
padding: 0 10px;
}
.pc-filter-inline-toggle svg {
width: 13px;
height: 13px;
fill: currentColor;
}
.pc-filter-inline-toggle[aria-expanded="true"] {
border-color: rgba(226, 74, 74, 0.36);
background: rgba(226, 74, 74, 0.1);
color: #b23434;
}
.pc-filter-details > summary {
display: none;
}
.pc-filter-details > form {
display: none;
}
.pc-filter-details.is-open > form,
.pc-filter-details[open] > form {
display: block;
margin-top: 8px;
padding: 14px;
border: 1px solid var(--border);
border-radius: 12px;
background: var(--card);
box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.pc-filter-details.is-open .pc-filter-title,
.pc-filter-details[open] .pc-filter-title {
display: none;
}
.pc-product-carousel {
grid-template-columns: 32px minmax(0, 1fr) 32px;
gap: 8px;
}
.pc-product-carousel-track {
grid-auto-columns: 100%;
gap: 12px;
}
.pc-tab-labels {
flex-wrap: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
margin-bottom: 12px;
}
.pc-tab-labels::-webkit-scrollbar {
display: none;
}
.pc-tab-labels label {
flex: 0 0 auto;
white-space: nowrap;
padding: 7px 11px;
font-size: 0.76rem;
}
.pc-spec-row {
font-size: 0.76rem;
padding: 8px 10px;
gap: 8px;
}
.pc-payment-row {
align-items: flex-start;
flex-direction: column;
}
.pc-grid-2,
.pc-grid-3,
.pc-grid-4 {
grid-template-columns: 1fr;
}
.pc-category-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}
.pc-category-grid .pc-category-card {
padding: 8px;
gap: 8px;
}
.pc-category-grid .pc-category-title {
font-size: 0.75rem;
line-height: 1.25;
}
.pc-category-grid .pc-category-count {
font-size: 0.66rem;
line-height: 1.2;
}
.pc-panel-footer {
flex-direction: column;
align-items: flex-start;
gap: 6px;
}
.pc-products-grid {
grid-template-columns: 1fr;
}
.pc-product-hero {
grid-template-columns: 1fr;
}
.pc-cart-item {
flex-direction: column;
align-items: flex-start;
}
.pc-cart-item-side {
width: 100%;
align-items: flex-start;
}
.pc-footer {
padding: 22px;
}
.pc-footer-top {
flex-direction: column;
}
.pc-footer-columns {
grid-template-columns: 1fr;
width: 100%;
}
.pc-footer-bottom {
flex-direction: column;
align-items: flex-start;
}
.pc-sort-form {
width: 100%;
}
.pc-sort-form select {
flex: 1;
}
.pc-pager-list {
gap: 4px;
}
.pc-pager-link {
min-width: 30px;
height: 30px;
padding: 0 8px;
font-size: 0.74rem;
}
.pc-home-slider,
.pc-home-slider.is-main {
min-height: 280px;
}
.pc-home-slide-content {
left: 16px;
right: 16px;
bottom: 16px;
}
.pc-home-slide-content h2 {
font-size: 1.1rem;
}
.pc-admin-slide-item {
grid-template-columns: 1fr;
}
.pc-admin-slide-preview {
width: 100%;
max-width: 220px;
}
.pc-chat-widget {
right: 12px;
bottom: 12px;
}
.pc-chat-panel {
width: min(100vw - 16px, 420px);
max-height: calc(100vh - 112px);
}
.pc-chat-messages {
max-height: min(52vh, 320px);
}
}
@media (prefers-reduced-motion: reduce) {
.pc-animate {
animation: none;
}
}