/* ==========================================================================
   v0.1.68 (additive) — SABJISTORE public site POLISH LAYER.
   Loaded AFTER main.css on every public page, so the rules below refine the
   existing look without touching main.css itself or any page's inline styles.
   Only colours, shadows, radii, transitions and focus states — no layout,
   positioning or sizing changes, so nothing can break.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --pl68-primary: #096171;
    --pl68-primary-deep: #004d4f;
    --pl68-primary-soft: #e1efed;
    --pl68-accent: #f5c342;
    --pl68-text: #243230;
    --pl68-radius: 12px;
    --pl68-shadow-1: 0 2px 10px rgba(6, 55, 66, 0.08);
    --pl68-shadow-2: 0 10px 30px rgba(6, 55, 66, 0.16);
    --pl68-ring: 0 0 0 3px rgba(9, 97, 113, 0.18);
}

/* ---------- global feel ---------- */
html {
    scroll-behavior: smooth;
}
body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    color: var(--pl68-text);
}
::selection {
    background: rgba(9, 97, 113, 0.22);
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #f2f6f5;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7fb0ba, #096171);
    border-radius: 8px;
    border: 2px solid #f2f6f5;
}

/* ---------- top ribbon ---------- */
.ribbon {
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
.ribbon-link {
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.ribbon-link:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* ---------- navbar: brand gradient + depth ---------- */
.navbar {
    background-image: linear-gradient(120deg, #0d7c8f 0%, #096171 55%, #00505e 100%);
    box-shadow: 0 4px 18px rgba(4, 60, 72, 0.28);
}
.navbar-nav a {
    transition: color 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}
.navbar-nav a:hover {
    color: var(--pl68-accent);
}
.dropdown-content {
    border-radius: 0 0 var(--pl68-radius) var(--pl68-radius);
    box-shadow: var(--pl68-shadow-2);
    border-top: 2px solid var(--pl68-accent);
}
.dropdown-content a {
    transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.dropdown-content a:hover {
    background-color: var(--pl68-primary-soft);
    color: var(--pl68-primary-deep);
    padding-left: 6px;
}

/* ---------- search ---------- */
.search-input {
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    border-radius: 22px;
}
.search-input:focus {
    outline: none;
    box-shadow: var(--pl68-ring);
}
.search-btn {
    transition: transform 0.18s ease, filter 0.18s ease;
}
.search-btn:hover {
    filter: brightness(1.08);
    transform: scale(1.05);
}

/* ---------- cart ---------- */
.cart-icon a {
    transition: transform 0.2s ease;
}
.cart-icon a:hover {
    transform: translateY(-2px);
}
.cart-count {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ---------- buttons / CTAs ---------- */
.btn-submit,
.cta-btn,
button.btn-submit {
    background-image: linear-gradient(120deg, #fb9a1d, #f5871f);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(245, 135, 31, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn-submit:hover,
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 135, 31, 0.45);
    filter: brightness(1.04);
}

/* ---------- product / category cards ---------- */
.cat-item {
    border-radius: var(--pl68-radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--pl68-shadow-2);
}
.product-content {
    border-radius: var(--pl68-radius);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-list-container > div:hover .product-content,
.product-content:hover {
    box-shadow: var(--pl68-shadow-2);
}
.product-content img {
    border-radius: calc(var(--pl68-radius) - 4px);
}

/* ---------- forms ---------- */
input,
select,
textarea {
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: var(--pl68-ring);
    border-color: var(--pl68-primary);
}

/* ---------- footer: richer brand block ---------- */
footer .footer-container,
.footer-container {
    background-image: linear-gradient(180deg, #052f36 0%, #04262d 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.footer-socials .social-icon {
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.footer-socials .social-icon:hover {
    transform: translateY(-3px) scale(1.06);
}
.footer-quick-links a {
    transition: color 0.16s ease, padding-left 0.16s ease;
}
.footer-quick-links a:hover {
    color: var(--pl68-accent);
    padding-left: 4px;
}

/* ---------- floating contact buttons ---------- */
.whatsapp-btn,
.call-btn {
    box-shadow: 0 6px 20px rgba(4, 60, 72, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
}
.call-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 10px 26px rgba(52, 183, 241, 0.45);
}

/* ---------- focus visibility for keyboard users ---------- */
a:focus-visible,
button:focus-visible {
    outline: 2px solid rgba(9, 97, 113, 0.55);
    outline-offset: 2px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .cart-icon a:hover,
    .cat-item:hover,
    .btn-submit:hover,
    .cta-btn:hover,
    .search-btn:hover,
    .whatsapp-btn:hover,
    .call-btn:hover,
    .footer-socials .social-icon:hover {
        transform: none;
    }
}
