/* =========================================================
   VELORIA — SHOP / PRODUCT GRID
========================================================= */


/* =========================================================
   SHOP TOOLBAR
========================================================= */

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  
    gap: 15px;
  
    margin: 28px 0;
  }
  
  .filters {
    display: flex;
    align-items: center;
  
    gap: 8px;
  
    flex-wrap: wrap;
  }
  
  .filter-btn {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
  
    padding: 9px 14px;
  
    border-radius: 999px;
  
    font-size: 13px;
    line-height: 1;
  
    cursor: pointer;
  
    transition:
      background 0.2s ease,
      color 0.2s ease,
      border-color 0.2s ease;
  }
  
  .filter-btn:hover {
    border-color: var(--ink);
  }
  
  .filter-btn.active {
    background: var(--ink);
    color: #fff;
  
    border-color: var(--ink);
  }
  
  
  /* =========================================================
     PRODUCT CARD
  ========================================================= */
  
  .product-card {
    position: relative;
  
    background: #fff;
  
    border: 1px solid var(--line);
  
    border-radius: 14px;
  
    overflow: hidden;
  
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }
  
  .product-card:hover {
    transform: translateY(-3px);
  
    box-shadow: var(--shadow);
  }
  
  
  /* =========================================================
     PRODUCT IMAGE
  ========================================================= */
  
  .product-image {
    position: relative;
  
    display: block;
  
    width: 100%;
  
    aspect-ratio: 1 / 1.15;
  
    background: #f3f0eb;
  
    overflow: hidden;
  }
  
  .product-image img {
    width: 100%;
    height: 100%;
  
    display: block;
  
    object-fit: cover;
  
    transition: transform 0.4s ease;
  }
  
  .product-card:hover .product-image img {
    transform: scale(1.035);
  }
  
  
  /* =========================================================
     PRODUCT BADGE
  ========================================================= */
  
  .product-badge {
    position: absolute;
  
    top: 11px;
    left: 11px;
  
    z-index: 2;
  
    background: #fff;
    color: var(--ink);
  
    border-radius: 5px;
  
    padding: 6px 8px;
  
    font-size: 8px;
    line-height: 1;
  
    letter-spacing: 0.08em;
  
    font-weight: 800;
  
    text-transform: uppercase;
  
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }
  
  
  /* =========================================================
     ADD TO CART BUTTON
  ========================================================= */
  
  .quick-add {
    position: absolute;
  
    left: 12px;
    right: 12px;
    bottom: 12px;
  
    width: calc(100% - 24px);
  
    border: 0;
  
    border-radius: 7px;
  
    background: #a55d43;
    color: #fff;
  
    padding: 11px;
  
    font-size: 12px;
  
    font-weight: 700;
  
    letter-spacing: 0.01em;
  
    cursor: pointer;
  
    opacity: 0;
    visibility: hidden;
  
    transform: translateY(8px);
  
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease,
      background 0.2s ease;
  }
  
  .quick-add:hover {
    background: #874a35;
    color: #fff;
  }
  
  .product-card:hover .quick-add {
    opacity: 1;
    visibility: visible;
  
    transform: translateY(0);
  }
  
  
  /* =========================================================
     PRODUCT INFO
  ========================================================= */
  
  .product-info {
    padding: 14px 14px 16px;
  }
  
  
  /* =========================================================
     PRODUCT CATEGORY
  ========================================================= */
  
  .product-category {
    margin-bottom: 4px;
  
    color: var(--muted);
  
    font-size: 9px;
  
    line-height: 1.2;
  
    text-transform: uppercase;
  
    letter-spacing: 0.1em;
  }
  
  
  /* =========================================================
     PRODUCT NAME
  ========================================================= */
  
  .product-name {
    display: block;
  
    margin: 0 0 6px;
  
    color: var(--ink);
  
    font-size: 14px;
  
    line-height: 1.4;
  
    font-weight: 700;
  
    text-decoration: none;
  
    transition: color 0.2s ease;
  }
  
  .product-name:hover {
    color: #a55d43;
  }
  
  
  /* =========================================================
     RATING
  ========================================================= */
  
  .rating {
    margin-bottom: 7px;
  
    color: #8a6b1c;
  
    font-size: 11px;
  
    line-height: 1.2;
  }
  
  .rating .muted {
    color: var(--muted);
  }
  
  
  /* =========================================================
     PRICE
  ========================================================= */
  
  .price {
    display: flex;
  
    align-items: center;
  
    flex-wrap: wrap;
  
    gap: 5px;
  
    color: var(--ink);
  
    font-size: 15px;
  
    font-weight: 800;
  }
  
  .compare {
    color: #999;
  
    font-size: 11px;
  
    font-weight: 500;
  
    text-decoration: line-through;
  }
  
  
  /* =========================================================
     MOBILE TOOLBAR
  ========================================================= */
  
  @media (max-width: 600px) {
  
    .toolbar {
      display: block;
  
      margin: 22px 0;
    }
  
    .filters {
      display: flex;
  
      gap: 6px;
  
      flex-wrap: nowrap;
  
      overflow-x: auto;
  
      padding-bottom: 4px;
  
      scrollbar-width: none;
    }
  
    .filters::-webkit-scrollbar {
      display: none;
    }
  
    .filter-btn {
      flex: 0 0 auto;
  
      padding: 8px 12px;
  
      font-size: 11px;
    }
  
    .toolbar select {
      width: 100%;
  
      margin-top: 12px;
  
      min-height: 40px;
    }
  
  
    /* =======================================================
       MOBILE PRODUCT GRID — 2 CARDS
    ======================================================= */
  
    @media (max-width: 600px) {

        .product-grid,
        #shop-products {
          grid-template-columns: repeat(2, minmax(0, 1fr));
          gap: 12px;
        }
      
        /* Thodi zyada card height */
        .product-image {
          aspect-ratio: 1 / 1.28;
        }
      
        /* More space for product details */
        .product-info {
          padding: 11px 9px 15px;
          min-height: 105px;
        }
      
        .product-category {
          font-size: 8px;
          margin-bottom: 4px;
        }
      
        .product-name {
          font-size: 12px;
          line-height: 1.4;
          margin-bottom: 6px;
        }
      
        .rating {
          font-size: 9px;
          margin-bottom: 6px;
        }
      
        /* Price clearly visible */
        .price {
          display: flex;
          align-items: center;
          flex-wrap: wrap;
      
          font-size: 14px;
          line-height: 1.3;
      
          gap: 4px;
        }
      
        .compare {
          font-size: 10px;
        }
      
        .quick-add {
          left: 7px;
          right: 7px;
          bottom: 7px;
      
          width: calc(100% - 14px);
      
          padding: 9px 6px;
      
          font-size: 10px;
        }
      }
  
    .quick-add:hover {
      background: #874a35;
  
      color: #fff;
    }
  
  
    /* =======================================================
       MOBILE PRODUCT INFO
    ======================================================= */
  
    .product-info {
      padding: 10px 9px 12px;
    }
  
    .product-category {
      font-size: 8px;
  
      margin-bottom: 3px;
    }
  
    .product-name {
      font-size: 12px;
  
      line-height: 1.35;
  
      margin-bottom: 5px;
    }
  
    .rating {
      font-size: 9px;
  
      margin-bottom: 5px;
    }
  
    .price {
      font-size: 13px;
  
      gap: 4px;
    }
  
    .compare {
      font-size: 10px;
    }
  }
  
  
  /* =========================================================
     VERY SMALL MOBILE
  ========================================================= */
  
  @media (max-width: 380px) {
  
    .product-grid,
    #shop-products {
      gap: 9px;
    }
  
    .product-info {
      padding-left: 7px;
      padding-right: 7px;
    }
  
    .product-name {
      font-size: 11px;
    }
  
    .price {
      font-size: 12px;
    }
  
    .quick-add {
      font-size: 9px;
  
      padding: 8px 5px;
    }
  }



  