/* cyrillic */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiunDTbtPY_Q.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }
  /* vietnamese */
  @font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiunDYbtPY_Q.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiunDZbtPY_Q.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/playfairdisplay/v40/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiunDXbtM.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  /* arabic */
  @font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/tajawal/v12/Iura6YBj_oCad4k1nzSBC45I.woff2) format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
  }
  /* latin */
  @font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/tajawal/v12/Iura6YBj_oCad4k1nzGBCw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  /* arabic */
  @font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/tajawal/v12/Iurf6YBj_oCad4k1l4qkHrRpiYlJ.woff2) format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
  }
  /* latin */
  @font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/tajawal/v12/Iurf6YBj_oCad4k1l4qkHrFpiQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  
  /* --- Global --- */
  :root {
      --primary-color: #A12124;      /* Deep Red from Logo */
      --background-color: #2D2D30;   /* Dark Charcoal from Logo */
      --surface-color: #39393D;      /* Slightly lighter Charcoal for cards */
      --text-on-dark: #F0F0F0;       /* Off-white from Logo */
      --text-on-accent: #FFFFFF;     /* Pure white for text on red buttons */
      --border-color: #4A4A4F;
      --success-color: #25D366;      /* WhatsApp Green */
      --danger-color: #dc3545;
      --font-family-body: 'Tajawal', sans-serif;
      --font-family-heading: 'Playfair Display', serif;
  }
  
  body {
      font-family: var(--font-family-body);
      margin: 0;
      background-color: var(--background-color);
      color: var(--text-on-dark);
      line-height: 1.6;
  }
  
  .container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 20px;
  }
  
  a {
      text-decoration: none;
      color: var(--primary-color);
  }
  
  h1, h2, h3, h4, h5, h6 {
      font-family: var(--font-family-heading);
  }
  
  /* --- Header --- */
  header {
      background-color: var(--surface-color);
      border-bottom: 1px solid var(--border-color);
      padding: 15px 0;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  
  nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  
  nav h1 a {
      color: var(--text-on-dark);
      font-size: 1.5rem;
      margin: 0;
  }
  
  .cart-icon {
      font-size: 1.8rem;
      position: relative;
      color: var(--text-on-dark);
  }
  
  #cart-count {
      position: absolute;
      top: -8px;
      right: -12px;
      background-color: var(--primary-color);
      color: var(--text-on-accent);
      border-radius: 50%;
      padding: 2px 6px;
      font-size: 0.75rem;
      font-weight: bold;
      border: 2px solid var(--surface-color);
  }
  
  /* --- Hero Section --- */
  .hero {
      background-color: var(--primary-color);
      color: var(--text-on-accent);
      text-align: center;
      padding: 60px 20px;
  }
  
  .hero h1 {
      font-size: 2.8rem;
      margin-top: 0;
      margin-bottom: 10px;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  }
  
  .hero p {
      font-size: 1.2rem;
      max-width: 600px;
      margin: 0 auto;
  }
  
  .hero-note {
      font-size: 1rem;
      font-weight: bold;
      margin-top: 20px;
      background-color: rgba(0, 0, 0, 0.2);
      padding: 8px 15px;
      border-radius: 20px;
      display: inline-block;
  }
  
  /* --- Main Content --- */
  main {
      padding: 40px 0;
  }
  
  h2 {
      text-align: center;
      font-size: 2.2rem;
      margin-bottom: 40px;
      color: var(--text-on-dark);
  }
  
  /* --- Products Grid --- */
  .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 25px;
  }
  
  .product-card {
      background-color: var(--surface-color);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: box-shadow 0.3s, transform 0.3s;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .product-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  
  .product-card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
  }
  
  .product-card-info {
      padding: 15px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
  }
  
  .product-card h3 {
      margin: 0 0 10px;
      font-size: 1.1rem;
      color: var(--text-on-dark);
  }
  
  .product-card p {
      color: #bdbdbd;
      margin: 0 0 auto;
      font-weight: 500;
      font-size: 1.2rem;
  }
  
  .product-card button, button, #send-whatsapp, .btn-checkout, #continue-shopping-btn {
      font-family: var(--font-family-body);
  }
  
  .product-card button {
      background-color: var(--primary-color);
      color: var(--text-on-accent);
      border: none;
      padding: 12px 15px;
      border-radius: 8px;
      cursor: pointer;
      margin-top: 15px;
      font-size: 1rem;
      font-weight: bold;
      transition: background-color 0.3s;
  }
  
  .product-card button:hover {
      background-color: #c0392b;
  }
  
  .not-available {
      color: var(--danger-color);
      font-weight: bold;
      text-align: center;
      margin-top: 15px;
  }
  
  /* --- Checkout Page --- */
  .checkout-container {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 30px;
      align-items: flex-start;
  }
  
  #cart-items {
      background: var(--surface-color);
      border: 1px solid var(--border-color);
      border-radius: 12px;
  }
  
  .cart-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px;
      border-bottom: 1px solid var(--border-color);
  }
  .cart-item:last-child {
      border-bottom: none;
  }
  .cart-item span {
      font-size: 1.1rem;
  }
  
  .cart-item button {
      background: var(--danger-color);
      color: white;
      border: none;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1rem;
      line-height: 30px;
      text-align: center;
      transition: background-color 0.3s;
  }
  .cart-item button:hover {
      background-color: #c82333;
  }
  
  .checkout-summary {
      background: var(--surface-color);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 20px;
      position: sticky;
      top: 90px;
  }
  
  .checkout-summary h3 {
      margin-top: 0;
      font-size: 1.5rem;
  }
  
  .form-group {
      margin-bottom: 20px;
  }
  .form-group label {
      display: block;
      margin-bottom: 5px;
  }
  
  #region {
      padding: 10px;
      width: 100%;
      border-radius: 8px;
      border: 1px solid var(--border-color);
      font-size: 1rem;
      background-color: #444;
      color: var(--text-on-dark);
  }
  
  #send-whatsapp {
      background-color: var(--success-color);
      color: var(--text-on-accent);
      border: none;
      padding: 15px;
      width: 100%;
      font-size: 1.2rem;
      font-weight: bold;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s;
  }
  
  #send-whatsapp:hover {
      background-color: #1EBE5A;
  }
  
  /* --- Footer --- */
  footer {
      text-align: center;
      padding: 20px 0;
      margin-top: 30px;
      background-color: #222224;
      border-top: 1px solid var(--border-color);
      color: #aaa;
  }
  
  /* --- Side Cart --- */
  #side-cart {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1000;
      visibility: hidden;
      opacity: 0;
      transition: visibility 0.3s, opacity 0.3s ease;
  }
  
  #side-cart.open {
      visibility: visible;
      opacity: 1;
  }
  
  #cart-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      cursor: pointer;
  }
  
  .side-cart-content {
      position: absolute;
      top: 0;
      right: 0;
      width: 360px;
      max-width: 90%;
      height: 100%;
      background-color: var(--surface-color);
      box-shadow: -4px 0 25px rgba(0, 0, 0, 0.3);
      display: flex;
      flex-direction: column;
      transform: translateX(100%);
      transition: transform 0.3s ease;
  }
  
  #side-cart.open .side-cart-content {
      transform: translateX(0);
  }
  
  .side-cart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      border-bottom: 1px solid var(--border-color);
  }
  
  .side-cart-header h3 {
      margin: 0;
      font-size: 1.4rem;
  }
  
  #close-cart-btn {
      background: none;
      border: none;
      font-size: 2rem;
      cursor: pointer;
      color: var(--text-on-dark);
  }
  
  #side-cart-items {
      flex-grow: 1;
      overflow-y: auto;
      padding: 10px 0;
  }
  
  .side-cart-item {
      display: flex;
      align-items: center;
      padding: 10px 20px;
      gap: 15px;
  }
  
  .side-cart-item img {
      width: 60px;
      height: 60px;
      object-fit: cover;
      border-radius: 8px;
      border: 1px solid var(--border-color);
  }
  
  .side-cart-item-details {
      flex-grow: 1;
  }
  
  .side-cart-item-details h4 {
      margin: 0 0 5px;
      font-size: 1rem;
  }
  
  .side-cart-item-details p {
      margin: 0;
      font-size: 0.9rem;
      color: #bdbdbd;
  }
  
  .side-cart-item .remove-btn {
      background: none;
      border: none;
      font-size: 1.2rem;
      cursor: pointer;
      color: var(--danger-color);
  }
  
  .side-cart-footer {
      padding: 20px;
      border-top: 1px solid var(--border-color);
      background-color: #333;
  }
  
  .side-cart-footer .subtotal {
      display: flex;
      justify-content: space-between;
      font-size: 1.2rem;
      font-weight: bold;
      margin-bottom: 15px;
  }
  
  .side-cart-footer .btn-checkout {
      display: block;
      width: 100%;
      padding: 12px;
      background-color: var(--primary-color);
      color: var(--text-on-accent);
      text-align: center;
      border-radius: 8px;
      font-size: 1.1rem;
      margin-bottom: 10px;
      transition: background-color 0.3s;
  }
  .side-cart-footer .btn-checkout:hover {
      background-color: #c0392b;
  }
  
  #continue-shopping-btn {
      width: 100%;
      padding: 10px;
      background: none;
      border: 1px solid var(--border-color);
      color: var(--text-on-dark);
      font-size: 1rem;
      cursor: pointer;
      border-radius: 8px;
  }
  
  /* --- Responsive Design (Mobile-First) --- */
  @media (max-width: 768px) {
      .checkout-container {
          grid-template-columns: 1fr;
      }
      nav h1 a {
          font-size: 1.1rem; /* Adjust for long title on mobile */
      }
      h2 {
          font-size: 1.8rem;
      }
      .hero h1 {
          font-size: 2.2rem;
      }
  }