style.css:


/* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

body {
  margin: 0;
  line-height: inherit;
}

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* Utility Classes */
.hidden {
  display: none;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

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

.justify-between {
  justify-content: space-between;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .md\\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .md\\:flex {
    display: flex;
  }
  
  .md\\:hidden {
    display: none;
  }
  
  .md\\:h-10 {
    height: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .lg\\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .xl\\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

/* Typography */
.text-center {
  text-align: center;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.leading-tight {
  line-height: 1.25;
}

/* Colors */
.text-white {
  color: rgb(255 255 255);
}

.text-gray-100 {
  color: rgb(243 244 246);
}

.text-gray-600 {
  color: rgb(75 85 99);
}

.text-gray-700 {
  color: rgb(55 65 81);
}

.text-gray-800 {
  color: rgb(31 41 55);
}

.text-red-100 {
  color: rgb(254 226 226);
}

.text-yellow-400 {
  color: rgb(250 204 21);
}

.text-green-500 {
  color: rgb(34 197 94);
}

/* Layout */
.min-h-screen {
  min-height: 100vh;
}

.flex-col {
  flex-direction: column;
}

.flex-1 {
  flex: 1 1 0%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.z-50 {
  z-index: 50;
}

/* Spacing */
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Borders and Shadows */
.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.border-t {
  border-top-width: 1px;
}

.border-red-800 {
  border-color: rgb(153 27 27);
}

/* Backgrounds */
.bg-white {
  background-color: rgb(255 255 255);
}

.bg-gray-50 {
  background-color: rgb(249 250 251);
}

.bg-gray-100 {
  background-color: rgb(249 250 251);
}

/* Sizing */
.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-10 {
  height: 2.5rem;
}

.h-64 {
  height: 16rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-full {
  width: 100%;
}

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

/* Hover Effects */
.hover\\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.hover\\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.hover\\:scale-105:hover {
  transform: scale(1.05);
}

/* Custom Component Styles */

/* Header */
header {
  background-color: #f6f1e3;
}

.nav-link {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #c0382a;
}

.nav-link-mobile {
  color: #333;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link-mobile:hover {
  color: #c0382a;
}

.mobile-menu {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

.cart-icon {
  color: #333;
}

.cart-icon:hover {
  color: #c0382a;
}

.cart-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background-color: #c0382a;
  color: white;
  font-size: 0.75rem;
  border-radius: 9999px;
  height: 1.25rem;
  width: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero-section {
  position: relative;
  color: white;
  padding: 5rem 0;
  min-height: 600px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(to right,
      rgba(0,0,0,.7) 0%,
      rgba(0,0,0,.5) 40%,
      rgba(0,0,0,.2) 70%,
      rgba(0,0,0,.1) 100%
    ),
    url('/assets/images/banner.png'); /* <-- točno tako */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}


.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgb(243 244 246);
  max-width: 42rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.cta-button {
  background-color: #c0382a;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #a02f22;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  transform: scale(1.05);
}

/* Sections */
.products-section {
  padding: 4rem 0;
  background-color: #f6f1e3;
}

.contact-section {
  padding: 4rem 0;
  background-color: white;
}

.faq-section {
  padding: 4rem 0;
  background-color: #f6f1e3;
}

.payment-section {
  padding: 4rem 0;
  background-color: white;
}

.privacy-section {
  padding: 4rem 0;
  background-color: #f6f1e3;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #c0382a;
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: rgb(75 85 99);
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.product-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.product-image {
  width: 100%;
  height: 16rem;
  object-fit: contain;
  background-color: white;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgb(31 41 55);
  margin-bottom: 0.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.star {
  height: 1rem;
  width: 1rem;
  margin-right: 0.125rem;
}

.star.filled {
  color: rgb(250 204 21);
  fill: currentColor;
}

.star.empty {
  color: rgb(209 213 219);
}

.rating-text {
  font-size: 0.875rem;
  color: rgb(75 85 99);
  margin-left: 0.5rem;
}

.product-description {
  color: rgb(75 85 99);
  margin-bottom: 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

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

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #c0382a;
}

.product-price-note {
  font-size: 0.75rem;
  color: rgb(107 114 128);
  margin-top: 0.5rem;
}

.add-to-cart-btn {
  background-color: #c0382a;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.add-to-cart-btn:hover {
  background-color: #a02f22;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.add-to-cart-btn:disabled {
  background-color: rgb(209 213 219);
  color: rgb(107 114 128);
  cursor: not-allowed;
}

/* Contact Section */
.contact-info-card {
  background-color: rgb(249 250 251);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  padding: 2rem;
}

.contact-form-card {
  background-color: rgb(249 250 251);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  padding: 0.75rem;
  border-radius: 0.5rem;
  background-color: #f6f1e3;
}

.contact-icon svg {
  color: #c0382a;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(55 65 81);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgb(209 213 219);
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  border-color: #c0382a;
  box-shadow: 0 0 0 2px rgba(192, 56, 42, 0.1);
}

.submit-button {
  width: 100%;
  background-color: #c0382a;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.submit-button:hover {
  background-color: #a02f22;
}

/* FAQ Section */
.faq-item {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f6f1e3;
}

.faq-question span {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgb(31 41 55);
  padding-right: 1rem;
}

.faq-icon {
  height: 1.25rem;
  width: 1.25rem;
  color: #c0382a;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid rgb(229 231 237);
}

.faq-answer p {
  color: rgb(55 65 81);
  line-height: 1.625;
}

/* Info Cards */
.info-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  padding: 2rem;
}

.info-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.info-card-header svg {
  color: #c0382a;
  margin-right: 0.75rem;
}

.info-card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(31 41 55);
}

.info-card p {
  color: rgb(75 85 99);
  line-height: 1.625;
}

/* Privacy Section */
.privacy-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  padding: 2rem;
}

.list-disc {
  list-style-type: disc;
}

.list-inside {
  list-style-position: inside;
}

/* Footer */
.footer {
  background-color: #c0382a;
  color: white;
  padding: 3rem 0;
}

.footer-link {
  color: rgb(254 226 226);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.social-link {
  color: rgb(254 226 226);
  transition: color 0.3s ease;
}

.social-link:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States */
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #c0382a;
  outline-offset: 2px;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
}
.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: #c0382a;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  font-size: 0.9rem;
}

.add-to-cart-btn:hover {
  background-color: #a12d21;
  transform: translateY(-1px);
}

.add-to-cart-btn svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 2.2;
  margin-right: 6px;
  margin-top: -2px;
}
.cart-icon-img {
  width: 16px !important;
  height: 16px !important;
  margin-right: 6px;
  margin-top: -2px;
  vertical-align: middle;
  filter: brightness(0) invert(1); 
}
button.add-to-cart-btn img.cart-icon-img {
  width: 20px !important;
  height: 20px !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
  display: inline-block !important;
  object-fit: contain !important;
}
.add-to-cart-btn img.cart-icon-img {
  width: 18px !important;
  height: 18px !important;
  margin-right: 6px !important;
  margin-top: -2px !important;
  vertical-align: middle !important;
  display: inline-block !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important; /* da je bela */
}
add-to-cart-btn img.cart-icon-img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  margin-right: 6px !important;
  margin-top: -2px !important;
  vertical-align: middle !important;
  display: inline-block !important;
  object-fit: contain !important;
}
#cart-items input[type="number"] {
  font-size: 0.875rem;
}
