/* CLGET mobile layout overrides */
.clget-mobile-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.clget-mobile-header-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.clget-mobile-logo {
  color: #163A36;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.clget-mobile-logo:hover {
  color: #163A36;
  text-decoration: none;
}

.clget-mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.clget-mobile-header-actions a {
  color: #1f2937;
  font-size: 17px;
  text-decoration: none;
}

.clget-mobile-content {
  padding-top: 14px;
  padding-bottom: 0;
}

.clget-mobile-footer {
  margin-top: 24px;
  padding: 24px 16px 88px;
  background: #f8faf9;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  color: #647067;
  font-size: 12px;
}

.clget-mobile-footer strong {
  display: block;
  color: #163A36;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 6px;
}

.clget-mobile-footer p {
  margin-bottom: 3px;
}

.clget-mobile-bottom-nav span {
  font-size: 11px;
}

/* CLGET footer business information */
.clget-footer-card {
  padding-left: 20px;
  padding-right: 20px;
}

.clget-footer-notice {
  margin: 12px 0 12px;
  text-align: left;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.65;
}

.clget-footer-notice strong {
  display: block;
  margin-bottom: 8px;
  color: #163A36;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.clget-footer-notice p {
  margin-bottom: 10px;
}

.clget-footer-business {
  margin: 16px 0 20px;
  padding: 14px 14px 12px;
  background: #f8faf9;
  border: 1px solid rgba(22, 58, 54, 0.1);
  border-radius: 12px;
  text-align: left;
}

.clget-footer-business h3 {
  margin: 0 0 10px;
  color: #163A36;
  font-size: 14px;
  font-weight: 800;
}

.clget-footer-business dl {
  margin: 0;
}

.clget-footer-business dl > div {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 8px;
  padding: 5px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.clget-footer-business dl > div:first-child {
  border-top: 0;
}

.clget-footer-business dt,
.clget-footer-business dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.clget-footer-business dt {
  color: #6b7280;
  font-weight: 700;
}

.clget-footer-business dd {
  color: #374151;
  font-weight: 500;
  word-break: break-all;
}

.clget-footer-links {
  margin-bottom: 0;
  font-size: 12px;
}

/* CLGET mobile home sections */
.clget-section-card {
  overflow: hidden;
}

.clget-section-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #163A36;
}

.clget-section-title {
  font-size: 20px;
  font-weight: 900;
  margin: 2px 0 12px;
  color: #151515;
}

.clget-product-slider,
.clget-review-slider {
  padding: 0 0 18px 16px;
}

.clget-product-card {
  display: block;
  margin-right: 12px;
  color: inherit;
  text-decoration: none;
}

.clget-product-thumb {
  display: block;
  width: 128px;
  height: 128px;
  overflow: hidden;
  border-radius: 14px;
  background: #f2f3f5;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.clget-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clget-product-name {
  display: -webkit-box;
  width: 128px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
  color: #1f2937;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

.clget-product-meta {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #8b949e;
}

.clget-product-price {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 900;
  color: #163A36;
}

.clget-review-card {
  width: 190px;
  min-height: 170px;
  margin-right: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.clget-review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.clget-review-head img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
}

.clget-review-head strong {
  display: block;
  font-size: 13px;
  color: #111827;
}

.clget-review-head span {
  display: block;
  font-size: 11px;
  color: #D6B56E;
  letter-spacing: -1px;
}

.clget-review-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #4b5563;
  margin: 0;
}

.clget-customs-card .content {
  padding-top: 18px;
}

.clget-customs-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  margin: 4px 0 10px;
}

.clget-customs-text {
  font-size: 13px;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 16px;
}


/* CLGET product grid sections - based on page-store-product-listing.html 2x2 Grid View */
.clget-product-grid-card {
  box-shadow: none;
  background: transparent;
}

.clget-product-grid-card > .content {
  margin: 0;
}

.clget-product-grid-link,
.clget-product-grid-title {
  display: block;
  color: inherit;
  text-decoration: none;
}

.clget-product-grid-link:hover,
.clget-product-grid-link:focus,
.clget-product-grid-title:hover,
.clget-product-grid-title:focus {
  color: inherit;
  text-decoration: none;
}

.clget-product-grid-image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.clget-product-grid-image .card-top,
.clget-product-grid-image .card-bottom {
  z-index: 2;
}

.clget-product-grid-title h5 {
  display: -webkit-box;
  min-height: 43px;
  color: #1f2937;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clget-product-grid-price {
  color: #163A36;
  font-size: 20px;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.clget-product-grid-price sup {
  font-size: 14px;
  font-weight: 400;
  opacity: .5;
}

/* CLGET member review slider - based on original double-slider card layout */
.clget-section-subtitle {
  clear: both;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.clget-review-section > .content:first-child {
  margin-bottom: 8px;
}

.clget-member-review-card {
  min-height: 168px;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.clget-member-review-card h3 {
  display: -webkit-box;
  min-height: 70px;
  color: #1f2937;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}

.clget-review-stars i {
  font-size: 13px;
  margin: 0 1px;
}

/* CLGET product grid alignment fixes */
.clget-product-grid-title h5 {
  height: 58px;
  min-height: 58px;
  margin-bottom: 4px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clget-product-grid-meta {
  height: 18px;
  min-height: 18px;
  line-height: 18px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.clget-product-grid-price {
  min-height: 34px;
  line-height: 1.2;
}

.clget-product-grid-image .card-bottom {
  display: none !important;
}

.clget-product-empty {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6b7280;
}

.clget-product-empty i {
  font-size: 24px;
  margin-bottom: 8px;
}

.clget-product-empty p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

/* CLGET legal pages */
.clget-legal-card {
  margin-top: 12px;
}

.clget-legal-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #1f2937;
  margin-bottom: 8px;
}

.clget-legal-summary {
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
  margin-bottom: 0;
  word-break: keep-all;
}

.clget-legal-body h2 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #163A36;
  margin: 24px 0 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  word-break: keep-all;
}

.clget-legal-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.clget-legal-body p {
  font-size: 13px;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 9px;
  word-break: keep-all;
}

.clget-legal-body .clget-legal-strong {
  font-weight: 800;
  color: #1f2937;
}

.clget-legal-body .clget-legal-row {
  background: rgba(0, 0, 0, .025);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 10px;
  padding: 9px 10px;
  margin-bottom: 8px;
  word-break: break-word;
}

.clget-legal-sep {
  color: #9ca3af;
  padding: 0 4px;
}

/* Compact footer spacing above fixed mobile bottom navigation */
.footer.card.card-style.clget-footer-card {
  margin-bottom: 78px !important;
  padding-bottom: 18px !important;
}

.clget-footer-links {
  display: block;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  position: relative;
  z-index: 3;
}

/* CLGET mobile auth pages */
.clget-auth-card {
  margin-top: 14px;
}

.clget-auth-title {
  margin: 0 0 6px;
  color: #163A36;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.clget-auth-desc {
  margin-bottom: 18px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.55;
  word-break: keep-all;
}

.clget-auth-form label {
  display: block;
  margin: 13px 0 6px;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
}

.clget-auth-form input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(0,0,0,.11);
  border-radius: 10px;
  padding: 0 13px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  outline: none;
}

.clget-auth-form input:focus {
  border-color: #163A36;
  box-shadow: 0 0 0 3px rgba(22,58,54,.08);
}

.clget-auth-alert {
  padding: 11px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.clget-auth-alert-error {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid rgba(190,18,60,.14);
}

.clget-auth-alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid rgba(22,101,52,.14);
}

.clget-auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  color: #9ca3af;
  font-size: 12px;
}

.clget-auth-links a {
  color: #163A36;
  font-weight: 800;
  text-decoration: none;
}

.clget-auth-links span {
  width: 1px;
  height: 10px;
  background: rgba(0,0,0,.15);
}

.clget-auth-result {
  margin-top: 16px;
  padding: 13px;
  border-radius: 10px;
  background: #f8faf9;
  border: 1px solid rgba(22,58,54,.1);
  text-align: center;
}

.clget-auth-result p {
  margin: 3px 0;
  color: #163A36;
  font-size: 15px;
  font-weight: 900;
}

.clget-mypage-summary {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.clget-mypage-summary div {
  display: grid;
  grid-template-columns: 86px minmax(0,1fr);
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8faf9;
}

.clget-mypage-summary span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.clget-mypage-summary strong {
  min-width: 0;
  color: #1f2937;
  font-size: 13px;
  word-break: break-all;
}

/* CLGET auth alignment and agreement modal */
.clget-auth-card.card-style {
  margin: 0 16px 30px !important;
}

.clget-auth-form .btn,
.clget-auth-btn-full {
  width: 100% !important;
  display: block !important;
  text-align: center !important;
}

.clget-auth-field-message {
  min-height: 17px;
  margin: 5px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #9ca3af;
}

.clget-auth-field-message.is-ok {
  color: #15803d;
}

.clget-auth-field-message.is-error {
  color: #be123c;
}

.clget-auth-agreements {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.clget-auth-agree-row {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 10px;
  background: #fff;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  text-align: left;
}

.clget-auth-agree-row strong {
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}

.clget-auth-agree-row em {
  color: #163A36;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.clget-auth-check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(22,58,54,.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  background: #fff;
  font-size: 10px;
}

.clget-auth-check.is-checked {
  background: #163A36;
  border-color: #163A36;
  color: #fff;
}

.clget-agree-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.clget-agree-modal.is-active {
  display: block;
}

.clget-agree-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.48);
}

.clget-agree-panel {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 7vh;
  bottom: calc(7vh + env(safe-area-inset-bottom));
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.24);
  display: flex;
  flex-direction: column;
}

.clget-agree-header {
  flex: 0 0 auto;
  min-height: 54px;
  padding: 0 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.clget-agree-header h2 {
  margin: 0;
  color: #163A36;
  font-size: 17px;
  font-weight: 900;
}

.clget-agree-header button {
  border: 0;
  background: transparent;
  color: #4b5563;
  font-size: 18px;
  width: 38px;
  height: 38px;
}

.clget-agree-body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 18px 22px;
}

.clget-agree-content h3 {
  margin: 0 0 12px;
  color: #163A36;
  font-size: 20px;
  font-weight: 900;
}

.clget-agree-content h4 {
  margin: 18px 0 8px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 900;
}

.clget-agree-content p {
  margin: 0 0 10px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.7;
  word-break: keep-all;
}

.clget-agree-actions {
  flex: 0 0 auto;
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

.clget-agree-actions p {
  margin: 0 0 9px;
  color: #9ca3af;
  font-size: 11px;
  text-align: center;
}

.clget-agree-actions button[disabled] {
  opacity: .45;
  pointer-events: none;
}

/* CLGET register address search */
.clget-address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 8px;
  align-items: center;
}

.clget-address-row input {
  cursor: pointer;
}

.clget-address-row .btn {
  height: 48px;
  line-height: 48px;
  padding: 0 !important;
  text-align: center;
  white-space: nowrap;
}

#addressBase {
  margin-top: 8px;
  cursor: pointer;
}

#addressDetail {
  margin-top: 8px;
}

.clget-postcode-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
}

.clget-postcode-modal.is-active {
  display: block;
}

.clget-postcode-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .48);
}

.clget-postcode-panel {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 7vh;
  bottom: calc(7vh + env(safe-area-inset-bottom));
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .24);
  display: flex;
  flex-direction: column;
}

.clget-postcode-header {
  flex: 0 0 auto;
  min-height: 54px;
  padding: 0 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.clget-postcode-header h2 {
  margin: 0;
  color: #163A36;
  font-size: 17px;
  font-weight: 900;
}

.clget-postcode-header button {
  border: 0;
  background: transparent;
  color: #4b5563;
  font-size: 18px;
  width: 38px;
  height: 38px;
}

.clget-postcode-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* CLGET postcode modal loading text */
.clget-postcode-loading {
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  padding: 24px;
}
