*{box-sizing:border-box} :root{--green:#17612d;--deep:#104b25;--lime:#83c52d;--cream:#f4f8e9;--orange:#ef5a35}

body{margin:0;font-family:"Microsoft JhengHei",Arial,sans-serif;color:#173f25;background:#fff}

a{color:inherit;text-decoration:none}

.topbar{height:50px;display:flex;align-items:center;justify-content:space-between;padding:0 4.2%;gap:4px;border-bottom:1px solid #edf0e7;background:#fff;position:sticky;top:0;z-index:5}

.brand{display:flex;align-items:center;gap:8px;font-size:31px;font-weight:800;color:#246c31;line-height:1}

.brand .leaf{font-size:36px;color:#83c52d}

.brand small{display:block;font-size:11px;font-style:italic;letter-spacing:.5px;margin-top:5px;color:#5a9a43}

nav{display:flex;gap:30px;font-weight:600;white-space:nowrap}nav a{padding:31px 0}

nav a:hover,nav .active{color:#246c31;border-bottom:3px solid #246c31}

.tools{display:flex;align-items:center;gap:8px}

.tools input{width:190px;border:1px solid #d8dfd5;border-radius:25px;padding:12px 17px;font-size:14px;outline-color:#72a94a}

.search-btn{font-size:24px;background:none;border:0;color:#245b31;cursor:pointer}

.cart{border:0;background:none;font-size:22px;cursor:pointer;white-space:nowrap}

.cart span{background:#e84a2b;color:#fff;font-size:12px;border-radius:50%;padding:4px 7px}

.hero{min-height:200px;background:linear-gradient(100deg,#f4f9e8 0%,#e8f3d5 52%,#cde6a8 100%);display:flex;align-items:center;justify-content:space-between;padding:25px 10%;overflow:visible; overflow-wrap: anywhere;position:relative}

.hero:before{content:"";position:absolute;left:-50px;top:-80px;width:220px;height:220px;border-radius:50%;background:#d5e9b9;opacity:.5}

.hero-copy{position:relative;z-index:1}

.eyebrow{font-size:12px;letter-spacing:3px;color:#64983c;font-weight:700}

.hero h1{font-size:clamp(30px,4vw,48px);line-height:1.25;margin:14px 0;color:#124d25}

.hero-copy>p:not(.eyebrow){font-size:20px;color:#4d6545;margin:0 0 24px}

.primary{display:inline-flex;align-items:center;gap:20px;background:#287a38;color:white;padding:13px 25px;border-radius:30px;font-weight:700}

.primary span{font-size:24px;line-height:15px}

.hero-art{display:flex;align-items:flex-end;gap:13px;position:relative;padding-top:35px}

.fruit{font-size:70px;margin-right:-15px;margin-bottom:5px}

.bottle{width:104px;height:218px;background:linear-gradient(90deg,#e6e6e6,#fff 28%,#f9f9f9 70%,#dedede);border-radius:22px 22px 17px 17px;box-shadow:0 12px 16px #58783b33;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;border:1px solid #ddd;color:#26382a;text-align:center;padding:12px 5px}

.bottle i{position:absolute;top:-25px;width:68px;height:32px;border-radius:8px 8px 3px 3px;background:#ed6a21;border:3px solid #d75b16}

.bottle b{font-size:12px;color:#26703a;margin-bottom:15px}

.bottle strong{font-size:19px;line-height:1.2}

.bottle em{font-size:35px;font-style:normal;color:#e74b24}

.bottle small{font-size:11px;margin-top:7px}

.yellow i{background:#f3c323;border-color:#d8a91a}

.purple i{background:#7952bd;border-color:#60409e}

.blue i{background:#1489c8;border-color:#0872a9}

.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:22px 4%}

.categories button{border:0;background:#f2f6e9;border-radius:16px;padding:18px;display:flex;align-items:center;gap:13px;color:#174d29;font-size:19px;font-weight:700;cursor:pointer}

.categories button span{font-size:33px}

.categories button b{margin-left:auto;font-size:25px}

.product-section{padding:8px 4% 25px}

.section-heading{display:flex;align-items:center;justify-content:center;gap:22px;margin:8px 0 20px}

.section-heading span{height:1px;width:90px;background:#286b37}

.section-heading h2{font-size:28px;margin:0;color:#17552a}

.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}

.product-card{border:1px solid #e5e9e2;border-radius:14px;padding:18px;display:flex;align-items:center;gap:15px;min-width:0;box-shadow:0 3px 12px #123b1905}

.product-card:hover{box-shadow:0 7px 22px #123b1910;transform:translateY(-2px);transition:.2s}

.product-visual{width:95px;height:165px;flex-shrink:0;border-radius:16px;background:linear-gradient(90deg,#eee,#fff 35%,#f6f6f6 75%,#ddd);border:1px solid #ddd;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 5px 8px #0001}

.product-visual .cap{width:58px;height:18px;border-radius:5px 5px 2px 2px;margin-top:-22px;margin-bottom:14px}

.product-visual b{font-size:10px;color:#26703a}

.product-visual strong{font-size:16px;line-height:1.2;margin-top:9px}

.product-visual em{font-style:normal;font-size:27px}

.product-visual small{font-size:9px;margin-top:8px}

.product-info{min-width:0}

.product-info h3{font-size:17px;line-height:1.4;margin:0 0 12px;color:#303b32}

.price{font-size:25px;font-weight:800;color:#e3442d;margin:0 0 12px}

.add{border:0;border-radius:24px;background:#287a38;color:white;padding:10px 13px;font-weight:700;cursor:pointer;white-space:nowrap}

.add:hover,.primary:hover,.checkout:hover{background:#145a2a}


.benefits {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 24px;
    background: #f0f7e5;
    border-radius: 17px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 22px;
    gap: 20px;
}

.benefits div {
    display: grid;
    grid-template-columns: 55px auto;
    align-items: center;
    column-gap: 20px;
}

.benefits span {
    grid-row: span 2;
    font-size: 27px;
}



.benefits strong{font-size:16px}

.benefits small{color:#687568}

footer{text-align:center;padding:22px;color:#71806e;font-size:13px;border-top:1px solid #edf0e7}

footer small{display:block;margin-top:7px}

.cart-panel{position:fixed;right:20px;top:95px;width:min(370px,calc(100vw - 30px));max-height:75vh;overflow:auto;background:white;border:1px solid #dfe7dc;border-radius:16px;box-shadow:0 15px 45px #15351f30;padding:20px;z-index:10}

.cart-head{display:flex;justify-content:space-between;align-items:center}

.cart-head h3{margin:0}

.cart-head button{border:0;background:none;font-size:20px;cursor:pointer}

.cart-row{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #eee;font-size:14px}

.cart-row button{border:0;background:#f1f5ec;border-radius:6px;padding:3px 8px;cursor:pointer}

.cart-total{text-align:right;padding:16px 0;font-size:18px}

.checkout{width:100%;padding:13px;border:0;border-radius:25px;background:#287a38;color:white;font-weight:700;cursor:pointer}

#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#174d29;color:#fff;padding:12px 20px;border-radius:25px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:20}

#toast.show{opacity:1}

@media(max-width:1050px){nav{gap:15px}

.hero{padding:35px 5%}

.hero-art{gap:8px}

.bottle{width:85px;height:190px}

.product-grid{grid-template-columns:repeat(2,1fr)}}

@media(max-width:720px){.topbar{height:auto;position:static;flex-wrap:wrap;padding:14px 5%;gap:12px}

.brand{font-size:26px}

nav{order:3;width:100%;justify-content:space-between;gap:8px;font-size:13px}

nav a{padding:10px 0}

.tools{margin-left:auto}

.tools input{width:140px}

.hero{flex-direction:column;align-items:flex-start;padding:35px 7% 20px}

.hero-art{align-self:center;transform:scale(.85);transform-origin:center top;margin-bottom:-25px}

.hero h1{font-size:32px}

.hero-copy>p:not(.eyebrow){font-size:16px}

.categories{grid-template-columns:repeat(2,1fr);gap:10px;padding:15px 4%}

.categories button{font-size:16px;padding:13px}

.categories button span{font-size:25px}

.product-grid{grid-template-columns:1fr}

.product-card{padding:15px}

.benefits{flex-direction:column;margin:0 4% 20px}

.section-heading h2{font-size:24px}}


body {
  font-family: Arial, sans-serif;
  padding: 30px;
}

.product {
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
}
button {
  background: #287a38;
  color: white;
  padding: 12px 25px;
  border: 2px solid #8db600;
  border-radius: 30px;
  font-weight:700;
  cursor: pointer;
}

button:hover {
  background: #7ad67a;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.remove {
  background: #dc3545;
}


#checkout-section {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

#checkout-section input {
  width: 100%;
  max-width: 350px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.btn-green {
  background: #287a38;      /* light green */
  color: white;           /* dark green text for good contrast */
  border: none;
  border-radius: 15px;      /* round edges */
  padding: 5px 2px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-green:hover {
  background: #7ad67a;      /* slightly darker green on hover */
}

.btn-green:active {
  transform: scale(0.97);   /* small "press" effect when clicked */
}

.btn-green:focus-visible {
  outline: 3px solid #2e8b57;   /* visible outline for keyboard users */
  outline-offset: 2px;
}
.btn-blue {
  background: #B0E0E6;      /* light blue */
  color: black;           /* dark green text for good contrast */
  border: none;
  border-radius: 15px;      /* round edges */
  padding: 5px 2px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-blue:hover {
  background: #7ad67a;      /* slightly darker green on hover */
}

.btn-blue:active {
  transform: scale(0.97);   /* small "press" effect when clicked */
}

.btn-blue:focus-visible {
  outline: 3px solid #2e8b57;   /* visible outline for keyboard users */
  outline-offset: 2px;
}

#cartItems {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  #cartItems { grid-template-columns: repeat(2, 1fr); }
}
.item-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));   /* minmax(0,1fr) lets columns shrink below image size */
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.item {
  border: 2px solid #a8cc4d;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  min-width: 0;
}

.item img {
  display: block;
  margin: 0 auto;
  max-width: 100%;      /* never wider than the card */
  width: auto;
  height: 95px;         /* fixed height keeps all cards even */
  object-fit: contain;
}

@media (max-width: 600px) {
  .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.product-description {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.6;
}
.description-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 15px;
}

.description-row strong {
    min-width: 110px;
}

.description-content {
    flex: 1;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.description {
    text-align: left;
    width: 100%;
    margin-top: 15px;
}

.description-text {
    text-align: left;
    width: 100%;
    margin: 8px 0 0;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.contact-container {
    width: 100%;
    margin: auto;
}

.contact-header {
    background: #003366;
    color: white;
    text-align: center;
    padding: 15px 10px;
}

.contact-header h1 {
    font-size: 20px;
    margin-bottom: 2px;
}

.contact-header p {
    font-size: 16px;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    padding: 20px 5%;
}

.contact-form,
.contact-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.contact-form h2,
.contact-info h2 {
   color: #003366;
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin: 15px 0 8px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 15px;
    font-family: inherit;
}
.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #003366;
}

.contact-form button {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    background: #CC5500;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}
.contact-form button:hover {
    background: #A84300;
}

.contact-info p {
    margin: 20px 0;
    line-height: 1.7;
}

.contact-info h3 {
    color: #CC5500;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .contact-header h1 {
        font-size: 28px;
    }
}