:root {
    --ink: #0a0a0a;
    --ink-soft: #555;
    --indigo: #1a3a6b;
    --indigo-dark: #2d5fa0;
    --indigo-light: #e8eef7;
    --bg: #fdf8ee;
    --white: #ffffff;
    --green: #22C55E;
    --green-dark: #16A34A;
    --amber: #F59E0B;
    --red: #c0392b;
    --border: rgba(201, 168, 76, 0.25);
    --shadow-sm: 0 2px 20px rgba(26, 58, 107, 0.07);
    --shadow-md: 0 15px 50px rgba(26, 58, 107, 0.12);
    --shadow-lg: 0 10px 40px rgba(26, 58, 107, 0.3);
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --font-body: "Fraunces", "Georgia", serif;
    --font-note: "Fraunces", "Georgia", serif;
    --gold: #c9a84c;
    --gold-light: #e8c96a;
    --font-heading: 'Playfair Display', serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.4em;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--indigo);
}

p {
    margin: 0 0 1em;
    color: var(--ink-soft);
    font-family: var(--font-note);
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 35px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--gold);
    color: var(--indigo);
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-whatsapp {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.32);
}

.btn-whatsapp:hover {
    background: var(--green-dark);
}

.btn-danger {
    background: var(--red);
    color: var(--white);
}

.btn-danger:hover {
    background: #a02a2a;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 9px 22px;
    font-size: 0.7rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ---------- Cards / surfaces ---------- */

.card {
    background: var(--white);
    border: 1px solid #f0f0f0;
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.badge-free {
    background: var(--gold);
    color: var(--indigo);
}

.badge-pro {
    background: var(--indigo);
    color: var(--gold-light);
}

.badge-green {
    background: #c0392b;
    color: var(--white);
}

/* ---------- Forms ---------- */

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--ink-soft);
}

.field .hint {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-top: 5px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    transition: border-color 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gold);
}

input::placeholder {
    color: var(--ink-soft);
    opacity: 0.6;
}

textarea {
    resize: vertical;
    min-height: 90px;
}

input[type="color"] {
    width: 56px;
    height: 40px;
    padding: 3px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-row input {
    width: auto;
}

/* ---------- Messages ---------- */

.messages {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.messages li {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 500;
    border-left: 4px solid;
}

.messages .success {
    background: #E8FAF0;
    color: #146C3B;
    border-color: var(--green);
}

.messages .error {
    background: #FDEAEA;
    color: #A11E1E;
    border-color: var(--red);
}

.messages .warning {
    background: #FEF6E7;
    color: #92620A;
    border-color: var(--amber);
}

.messages .info {
    background: var(--indigo-light);
    color: var(--indigo-dark);
    border-color: var(--indigo);
}

/* ---------- Navbar (marketing) ---------- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
    height: 70px;
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    /* 10px mes ikonës dhe tekstit */
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.7rem;
    color: var(--indigo);
    letter-spacing: 2px;
    line-height: 1;
}

.nav-logo-img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    /* nuk e lë ikonën të ngushtohet */
    object-fit: cover;
    display: block;
}

.nav-logo .mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: transparent;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 600;
    font-size: 14.5px;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ---------- Dashboard shell ---------- */

.dash {
    display: grid;
    grid-template-columns: 250px 1fr;
    /* min-height: 100vh; */
}

.sidebar {
    background: var(--indigo);
    color: rgba(255, 255, 255, 0.75);
    padding: 22px 16px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 18px;
    padding: 8px 10px 22px;
}

.sidebar-logo .mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    color: var(--gold);
}

.sidebar-section-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-light);
    padding: 16px 10px 6px;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2px;
}

.sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: white;
}

.sidebar nav a.active {
    background: var(--gold);
    color: var(--indigo);
}

.sidebar-icon {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-plan-box {
    margin-top: 18px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

.sidebar-plan-box a {
    color: var(--gold);
    font-weight: 700;
}

.main {
    padding: 32px 36px 60px;
    min-width: 0;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 14px;
}

.topbar h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0;
}

.topbar .sub {
    color: var(--ink-soft);
    font-family: var(--font-note);
    font-size: 1.1rem;
    margin: 4px 0 0;
}

.mobile-topbar {
    display: none;
}

/* ---------- Stat cards ---------- */

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--indigo);
    border: none;
    border-radius: var(--radius-md);
    padding: 20px;
    color: white;
}

.stat-card .label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.stat-card .value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--gold);
}

.stat-card .value.small {
    font-size: 22px;
}

/* ---------- Tables ---------- */

.table-wrap {
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

th {
    text-align: left;
    padding: 14px 18px;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--border);
}

td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

.table-thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
}

.row-actions {
    display: flex;
    gap: 8px;
}

/* ---------- Empty state ---------- */

.empty-state {
    text-align: center;
    padding: 60px 24px;
    background: var(--white);
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-md);
}

.empty-state .icon {
    font-size: 40px;
    margin-bottom: 14px;
}

.empty-state h3 {
    margin-bottom: 6px;
}

/* ---------- Limit banner ---------- */

.limit-banner {
    background: var(--indigo);
    color: white;
    border-radius: var(--radius-lg);
    padding: 70px 7%;
    text-align: left;
    margin: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.limit-banner h3 {
    color: var(--gold-light);
    font-family: var(--font-heading);
}

.limit-banner p {
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-note);
}

/* ---------- Product grid (dashboard) ---------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.p-card {
    background: var(--white);
    border: 1px solid #f0f0f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.15s ease;
}

.p-card:hover {
    box-shadow: var(--shadow-md);
}

.p-card .thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--bg);
}

.p-card .body {
    padding: 18px 16px;
}

.p-card .name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--indigo);
}

.p-card .price {
    color: var(--gold);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.p-card .cat {
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.p-card .foot {
    display: flex;
    gap: 8px;
    padding: 0 14px 14px;
}

.p-card.unavailable .thumb {
    opacity: 0.4;
}

/* ---------- Public catalog ---------- */

.pub-shell {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--white);
    box-shadow: 0 0 60px rgba(23, 21, 43, 0.06);
    position: relative;
}

.pub-header {
    padding: 22px 20px 18px;
    text-align: center;
    color: white;
    background: var(--brand, var(--indigo));
    border-radius: 0 0 26px 26px;
}

.pub-header .logo-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: white;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    color: var(--brand, var(--indigo));
    overflow: hidden;
}

.pub-header .logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pub-header h1 {
    font-size: 19px;
    color: white;
    margin-bottom: 2px;
}

.pub-header .loc {
    font-size: 13px;
    color: white;
    opacity: 0.85;
}

.pub-search {
    padding: 16px 18px 6px;
}

.pub-search form {
    position: relative;
}

.pub-search input {
    padding-left: 40px;
    border-radius: 999px;
    border-color: var(--border);
    background: var(--bg);
}

.pub-search .icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-soft);
}

.pub-cats {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 18px 4px;
    scrollbar-width: none;
}

.pub-cats::-webkit-scrollbar {
    display: none;
}

.pub-cats a {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
}

.pub-cats a.active {
    background: var(--brand, var(--indigo));
    border-color: var(--brand, var(--indigo));
    color: white;
}

.pub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 16px 18px 90px;
}

.pub-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: white;
}

.pub-card .thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--bg);
}

.pub-card .body {
    padding: 10px 11px 12px;
}

.pub-card .name {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.25;
}

.pub-card .price {
    font-size: 14px;
    font-weight: 800;
    color: var(--brand, var(--indigo));
}

.pub-branding {
    text-align: center;
    padding: 14px;
    font-size: 12px;
    color: var(--ink-soft);
    border-top: 1px solid var(--border);
}

.pub-branding a {
    font-weight: 700;
    color: var(--gold);
}

.pub-detail-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.pub-detail-body {
    padding: 20px 20px 100px;
}

.pub-detail-body h1 {
    font-size: 21px;
}

.pub-detail-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--brand, var(--indigo));
    margin-bottom: 14px;
}

.size-picker {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.size-picker button {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: white;
    font-weight: 700;
}

.size-picker button.selected {
    border-color: var(--brand, var(--indigo));
    background: var(--indigo-light);
    color: var(--brand, var(--indigo));
}

.pub-order-bar {
    position: sticky;
    bottom: 0;
    background: white;
    border-top: 1px solid var(--border);
    padding: 14px 18px;
    max-width: 480px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 16px 18px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
}

/* ---------- Note / handwritten accent ---------- */

.note {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    transform: none;
    display: inline-block;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.note:hover {
    color: var(--gold-light);
}

/* ---------- Utility ---------- */

.flex {
    display: flex;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.text-center {
    text-align: center;
}

.text-soft {
    color: var(--ink-soft);
}

.w-full {
    width: 100%;
}

/* ---------- Responsive ---------- */

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

    .sidebar {
        display: none;
    }

    .sidebar.open {
        display: block;
        position: fixed;
        z-index: 60;
        width: 250px;
        box-shadow: var(--shadow-lg);
    }

    .mobile-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        background: var(--indigo);
        color: white;
        position: sticky;
        top: 0;
        z-index: 50;
    }

    .mobile-topbar .mark {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        background: transparent;
        color: var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }

    .mobile-topbar button {
        background: transparent;
        border: none;
        color: white;
        font-size: 22px;
    }

    .main {
        padding: 22px 16px 40px;
    }

    .pub-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
}

/* ===========================================================
   RESPONSIVE — shtesë (nuk ndryshon asgjë ekzistuese)
   =========================================================== */

/* Mbrojtje globale kundër horizontal scroll */
html,
body {
    max-width: 100%;
}

img,
video,
svg,
iframe {
    max-width: 100%;
    height: auto;
}

.table-wrap,
.pub-cats {
    -webkit-overflow-scrolling: touch;
}

.btn {
    white-space: normal;
    text-align: center;
}

/* Sidebar mobile: overlay + skaj i sigurt */
.sidebar.open {
    top: 0;
    left: 0;
    height: 100vh;
    max-width: 85vw;
}

/* ---------- Tablet i madh / laptop i vogël ---------- */
@media (max-width: 1100px) {
    .container {
        padding: 0 20px;
    }

    .main {
        padding: 28px 24px 56px;
    }

    .limit-banner {
        padding: 56px 6%;
        gap: 28px;
    }
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
    .nav {
        padding: 0 4%;
        height: auto;
        min-height: 64px;
    }

    .nav-inner {
        padding: 12px 0;
        gap: 12px;
    }

    .nav-logo {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .nav-links {
        gap: 18px;
        font-size: 14px;
    }

    .limit-banner {
        grid-template-columns: 1fr;
        padding: 44px 6%;
        text-align: center;
        gap: 20px;
    }

    .topbar {
        margin-bottom: 22px;
    }

    .stat-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 14px;
    }

    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 12px 14px;
    }
}

/* ---------- Telefon ---------- */
@media (max-width: 600px) {

    .container,
    .container-narrow {
        padding: 0 16px;
    }

    /* Navbar */
    .nav {
        padding: 0 16px;
    }

    .nav-inner {
        flex-wrap: nowrap;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-cta {
        gap: 8px;
    }

    .nav-cta .btn {
        padding: 9px 14px;
        font-size: 0.62rem;
        letter-spacing: 1.5px;
    }

    /* Butona */
    .btn {
        padding: 14px 22px;
        letter-spacing: 1.8px;
    }

    .btn-sm {
        padding: 9px 14px;
    }

    /* Tipografi */
    h1 {
        font-size: clamp(1.7rem, 8vw, 2.3rem);
    }

    h2 {
        font-size: clamp(1.4rem, 6.5vw, 1.9rem);
    }

    h3 {
        font-size: clamp(1.15rem, 5vw, 1.4rem);
    }

    /* Forma: 16px parandalon zoom-in automatik në iOS */
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    textarea,
    select {
        font-size: 16px;
        padding: 14px 16px;
    }

    /* Dashboard */
    .main {
        padding: 18px 14px 40px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar>.btn,
    .topbar>a.btn {
        width: 100%;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-card .value {
        font-size: 1.4rem;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

    .p-card .foot {
        flex-wrap: wrap;
        padding: 0 12px 12px;
    }

    .p-card .foot .btn {
        flex: 1 1 auto;
    }

    .row-actions {
        flex-wrap: wrap;
    }

    .empty-state {
        padding: 40px 16px;
    }

    .limit-banner {
        padding: 36px 20px;
    }

    .card {
        padding: 18px;
    }

    /* Tabela: scroll horizontal brenda kontejnerit, jo faqes */
    .table-wrap {
        border-radius: 0;
    }

    table {
        min-width: 560px;
    }

    /* Katalogu publik */
    .pub-shell {
        box-shadow: none;
    }

    .pub-grid {
        gap: 10px;
        padding: 14px 14px 90px;
    }

    .pub-order-bar {
        padding: 12px 14px;
    }

    .pub-detail-body {
        padding: 18px 16px 100px;
    }

    /* Footer */
    footer .container {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- Telefon shumë i vogël ---------- */
@media (max-width: 380px) {
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .nav-cta .btn-ghost {
        display: none;
    }

    /* mbetet vetëm CTA kryesore */
    .nav-logo {
        font-size: 1.05rem;
    }
}

/* ---------- Ekrane shumë të mëdha ---------- */
@media (min-width: 1600px) {
    .container {
        max-width: 1320px;
    }
}

/* ---------- Touch: zona goditjeje më të mëdha ---------- */
@media (hover: none) and (pointer: coarse) {

    .btn,
    .sidebar nav a,
    .pub-cats a {
        min-height: 44px;
    }

    .card:hover,
    .p-card:hover,
    .btn-primary:hover {
        transform: none;
    }
}

/* ---------- Preferenca aksesueshmërie ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
        animation: none !important;
    }
}