

/* --- COCOFREE Policy Page Styles --- */
.shopify-policy__container {
  max-width: unset;
  padding-left: 0;
  padding-right: 0;
}
.shopify-policy__title {
  display: none;
}
  .cf-policy-wrapper {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #F5F5F7;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  /* Reset for Policy Page Context */
  .cf-policy-wrapper * {
    box-sizing: border-box;
  }
  .cf-policy-wrapper h1, 
  .cf-policy-wrapper h2, 
  .cf-policy-wrapper h3, 
  .cf-policy-wrapper p {
    margin: 0;
    padding: 0;
  }

  /* Hero Section */
  .cf-policy-hero {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0E3A59;
    color: white;
    text-align: center;
    overflow: hidden;
    margin-bottom: -60px; /* Overlap effect */
  }
  .cf-policy-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    z-index: 0;
  }
  .cf-policy-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .cf-policy-hero-content {
    position: relative;
    z-index: 10;
    padding: 0 20px;
  }
  .cf-policy-sub-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F57C00;
    margin-bottom: 16px;
  }
  .cf-policy-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
  }

  /* Main Content */
  .cf-policy-section {
    position: relative;
    z-index: 20;
    padding: 0 20px 80px;
  }
  .cf-policy-container {
    max-width: 900px;
    margin: 0 auto;
  }
  .cf-policy-card {
    background: white;
    padding: 32px;
    border-radius: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
  }

  /* List Items */
  .cf-policy-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  .cf-policy-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .cf-policy-label {
    font-size: 14px;
    font-weight: 700;
    color: #86868b; /* secondary */
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .cf-policy-value {
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f; /* primary */
    line-height: 1.8;
  }

  /* Sub Items */
  .cf-policy-sub-block {
    margin-bottom: 24px;
  }
  .cf-policy-sub-block:last-child {
    margin-bottom: 0;
  }
  .cf-policy-sub-title {
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
    display: block;
    font-size: 16px;
  }
  .cf-policy-sub-text {
    font-size: 14px;
    color: #86868b;
    line-height: 1.6;
    margin: 0;
  }

  /* Date */
  .cf-policy-date {
    margin-top: 48px;
    text-align: right;
    font-size: 12px;
    color: #86868b;
  }

  /* Responsive */
  @media (min-width: 768px) {
    .cf-policy-hero { height: 400px; }
    .cf-policy-title { font-size: 48px; }
    .cf-policy-card { padding: 64px; }
    .cf-policy-row {
      grid-template-columns: 4fr 8fr;
      gap: 32px;
      padding-bottom: 32px;
      margin-bottom: 32px;
    }
  }


  /* --- COCOFREE Privacy Policy Styles --- */
  .cf-privacy-wrapper {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #F5F5F7;
    width: 100%;
    margin: 0 auto;
  }

  /* Reset */
  .cf-privacy-wrapper * {
    box-sizing: border-box;
  }
  .cf-privacy-wrapper h1, 
  .cf-privacy-wrapper h2, 
  .cf-privacy-wrapper h3, 
  .cf-privacy-wrapper p,
  .cf-privacy-wrapper ol,
  .cf-privacy-wrapper li {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .cf-privacy-wrapper a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
  }

  /* Hero Section */
  .cf-privacy-hero {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0E3A59;
    color: white;
    text-align: center;
    overflow: hidden;
    margin-bottom: -60px; /* Card overlap */
  }
  .cf-privacy-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    z-index: 0;
  }
  .cf-privacy-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .cf-privacy-hero-content {
    position: relative;
    z-index: 10;
    padding: 0 20px;
  }
  .cf-privacy-sub-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F57C00;
    margin-bottom: 16px;
  }
  .cf-privacy-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
  }

  /* Main Content */
  .cf-privacy-section {
    position: relative;
    z-index: 20;
    padding: 0 20px 80px;
  }
  .cf-privacy-container {
    max-width: 900px;
    margin: 0 auto;
  }
  .cf-privacy-card {
    background: white;
    padding: 32px;
    border-radius: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
  }

  /* Privacy List Layout */
  .cf-privacy-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 48px;
    margin-bottom: 48px;
  }
  .cf-privacy-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  /* Headings & Text */
  .cf-privacy-heading {
    font-size: 14px;
    font-weight: 700;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .cf-privacy-content {
    font-size: 14px;
    color: #86868b; /* secondary */
    line-height: 1.8;
  }
  .cf-privacy-lead {
    font-weight: 500;
    color: #1d1d1f; /* primary */
    margin-bottom: 16px;
    display: block;
  }
  
  /* Ordered List */
  .cf-privacy-list {
    list-style-type: decimal;
    margin-left: 20px;
    color: #86868b;
  }
  .cf-privacy-list li {
    margin-bottom: 8px;
    padding-left: 4px;
  }

  /* Links */
  .cf-privacy-link {
    color: #F57C00; /* brand orange */
    font-weight: 700;
    word-break: break-all;
  }
  .cf-privacy-link:hover {
    text-decoration: underline;
  }

  /* Image Protection */
  .cf-privacy-protected-img {
    height: 20px !important;
    width: auto;
    vertical-align: middle;
  }

  /* Date */
  .cf-privacy-date {
    margin-top: 64px;
    text-align: right;
    font-size: 12px;
    color: #86868b;
  }

  /* Business Info Grid (Similar to Legal Page) */
  .cf-privacy-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  .cf-privacy-info-grid:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .cf-privacy-info-value {
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f;
  }

  /* Responsive Design */
  @media (min-width: 768px) {
    .cf-privacy-hero { height: 400px; }
    .cf-privacy-title { font-size: 48px; }
    .cf-privacy-card { padding: 64px; }
    
    .cf-privacy-item {
      grid-template-columns: 4fr 8fr;
      gap: 32px;
    }
    .cf-privacy-heading {
      position: sticky;
      top: 20px;
    }
    
    .cf-privacy-info-grid {
      grid-template-columns: 4fr 8fr;
      gap: 32px;
    }
  }


  /* --- COCOFREE Terms Page Styles --- */
  .cf-terms-wrapper {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #F5F5F7;
    width: 100%;
    margin: 0 auto;
  }

  /* Reset */
  .cf-terms-wrapper * {
    box-sizing: border-box;
  }
  .cf-terms-wrapper h1, 
  .cf-terms-wrapper h2, 
  .cf-terms-wrapper h3, 
  .cf-terms-wrapper p,
  .cf-terms-wrapper ol,
  .cf-terms-wrapper ul,
  .cf-terms-wrapper li {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* Hero Section */
  .cf-terms-hero {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0E3A59;
    color: white;
    text-align: center;
    overflow: hidden;
    margin-bottom: -60px; /* Card overlap */
  }
  .cf-terms-hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    z-index: 0;
  }
  .cf-terms-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .cf-terms-hero-content {
    position: relative;
    z-index: 10;
    padding: 0 20px;
  }
  .cf-terms-sub-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F57C00;
    margin-bottom: 16px;
  }
  .cf-terms-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
  }

  /* Main Content */
  .cf-terms-section {
    position: relative;
    z-index: 20;
    padding: 0 20px 80px;
  }
  .cf-terms-container {
    max-width: 900px;
    margin: 0 auto;
  }
  .cf-terms-card {
    background: white;
    padding: 32px;
    border-radius: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
  }

  /* Introduction */
  .cf-terms-intro {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f3f4f6;
  }
  .cf-terms-text {
    font-size: 14px;
    color: #86868b; /* secondary */
    line-height: 1.8;
    margin-bottom: 16px;
  }
  .cf-terms-text:last-child {
    margin-bottom: 0;
  }
  
  .cf-terms-text-primary {
    color: #1d1d1f; /* primary */
    font-weight: 500;
  }

  /* Terms List Item Layout */
  .cf-terms-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 48px;
    margin-bottom: 48px;
  }
  .cf-terms-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  /* Headings & Content */
  .cf-terms-heading {
    font-size: 14px;
    font-weight: 700;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .cf-terms-content {
    font-size: 14px;
    color: #86868b;
    line-height: 1.8;
  }

  /* Sub Headings in Content */
  .cf-terms-sub-title {
    display: block;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
    font-size: 14px;
  }

  /* Lists */
  .cf-terms-list {
    list-style-type: decimal;
    margin-left: 20px;
    color: #86868b;
    margin-top: 8px;
    margin-bottom: 16px;
  }
  .cf-terms-list li {
    margin-bottom: 8px;
    padding-left: 4px;
  }
  .cf-terms-list-disc {
    list-style-type: disc;
  }

  /* Date */
  .cf-terms-date {
    margin-top: 64px;
    text-align: right;
    font-size: 12px;
    color: #86868b;
  }

  /* Responsive Design */
  @media (min-width: 768px) {
    .cf-terms-hero { height: 400px; }
    .cf-terms-title { font-size: 48px; }
    .cf-terms-card { padding: 64px; }
    
    .cf-terms-item {
      grid-template-columns: 4fr 8fr;
      gap: 32px;
    }
    .cf-terms-heading {
      position: sticky;
      top: 20px;
    }
  }

