/* General responsive styles */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .categories-grid,
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .checkout-grid {
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  /* Product page specific */
  .product-main-wrapper {
    grid-template-columns: 1fr;
  }
  
  .product-gallery-section {
    order: 2;
    margin-top: 20px;
  }
  
  .product-info-section {
    order: 1;
    border-left: none;
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
  }
  
  .main-image-container {
    height: 350px;
  }
  
  /* Footer adjustments */
  .footer-widgets {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  /* Checkout page specific */
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  
  .order-summary {
    position: static;
    margin-bottom: 30px;
  }
  
  /* Homepage specific */
  .promo-content,
  .brand-content,
  .newsletter-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .brand-logo {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-section {
    height: 450px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-content {
    left: 5%;
    max-width: 90%;
  }
  
  .price-match-content {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-text {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  /* Visibility control */
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
  
  .mobile-header {
    display: block;
  }
  
  body {
    padding-top: 65px;
  }
  
  #no-padding-top{
      padding-top: 5px;
  }
  
  .container {
    max-width: 540px;
  }
  
  /* Grid systems */
  .categories-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Home page adjustments */
  .hero-section {
    height: 400px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-content {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .hero-benefits {
    justify-content: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-slide::before {
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
  }
  
  .newsletter-card {
    flex-direction: column;
  }
  
  .newsletter-left, 
  .newsletter-right {
    padding: 30px;
  }
  
  .contact-cta-container {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .contact-cta-content {
    flex-direction: column;
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .cta-icon {
    margin: 0 auto 20px;
  }
  
  .contact-cta-buttons {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    gap: 15px;
  }
  
  /* Product page adjustments */
  .main-image-container {
    height: 300px;
  }
  
  .product-title {
    font-size: 24px;
  }
  
  .value-propositions {
    flex-direction: column;
  }
  
  .product-benefits {
    flex-direction: column;
    gap: 15px;
  }
  
  .tab-btn {
    padding: 12px 10px;
    font-size: 14px;
  }
  
  .tab-content {
    padding: 15px;
  }
  
  .sticky-cart {
    display: block;
  }
  
  /* Checkout page adjustments */
  .checkout-header .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .security-badge {
    order: 2;
    width: 100%;
    justify-content: center;
  }
  
  .continue-shopping-btn {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .payment-options {
    flex-direction: column;
  }
  
  .delivery-option {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .product-item {
    flex-direction: column;
  }
  
  .product-image-container {
    width: 100%;
    height: 150px;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  
  .product-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .upsell-products {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-elements {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 10px;
    margin-top: -20px;
  }
  
  /* Grid systems */
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 10px;
    margin: 0 auto;
  }
  
    .product-card {
    width: 100%;
    margin: 0;
  }
  
  /* Smanjite razmak između slika i teksta za bolji izgled na malim ekranima */
  .product-image {
    height: 150px;
    padding: 10px;
  }
  
  /* Smanjite veličinu fonta naslova proizvoda */
  .product-name {
    font-size: 14px;
    height: 38px;
  }
  
  /* Prilagodite prikaz cene za manje ekrane */
  .product-price {
    margin-bottom: 10px;
  }
  
  .price-current {
    font-size: 15px;
  }
  
  .price-old {
    font-size: 12px;
  }
  
  /* Home page adjustments */
  .hero-section {
    height: 350px;
  }
  
  .hero-title {
    font-size: 24px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  
  .hero-benefits {
    flex-direction: column;
    align-items: center;
  }
  
  .price-match-link {
    width: 100%;
    text-align: center;
  }
  
  .testimonial-text {
    font-size: 14px;
  }
  
  .testimonial-footer {
    flex-direction: column;
    gap: 15px;
  }
  
  .testimonial-author {
    text-align: center;
  }
  
  /* Product page adjustments */
  .main-image-container {
    height: 250px;
  }
  
  .thumbnail {
    width: 50px;
    height: 50px;
  }
  
  .current-price {
    font-size: 22px;
  }
  
  /* Checkout page adjustments */
  .checkout-form {
    padding: 20px 15px;
  }
  
  .upsell-products {
    grid-template-columns: 1fr;
  }
  
  .product-image-container {
    height: 120px;
  }
  
  /* Footer adjustments */
  .footer-widgets {
    grid-template-columns: 1fr;
  }
  
  .category-title {
      margin-top:25px;
  }
  
  .breadcrumbs {
      margin-top:10px;
  }
  
  .sale-products-section {
      padding-top:25px;
  }
}