/* Only product 3461: preserve natural image proportions and readable mobile content. */
.product-id-3461 #description img {
  max-width:100% !important; height:auto !important; object-fit:contain;
}
.product-id-3461 #description .tf-osteen-gallery {table-layout:fixed;}
.product-id-3461 #description .tf-osteen-gallery td {vertical-align:top !important;}
.product-id-3461 #description .tf-osteen-gallery img {
  display:block; width:100%; max-width:240px !important; margin:0 auto;
}
@media (max-width:767px) {
  #product .alert.alert-warning.row {margin-left:0;margin-right:0;max-width:100%;box-sizing:border-box;}
  #product #description img {max-width:100% !important;height:auto !important;object-fit:contain;}
  #product #description .tf-mobile-table-scroll {max-width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 16px;}
  .product-id-3461 #description {min-width:0; overflow-wrap:anywhere;}
  .product-id-3461 #description table:not(:has(th)),
  .product-id-3461 #description table:not(:has(th)) > tbody,
  .product-id-3461 #description table:not(:has(th)) > tbody > tr,
  .product-id-3461 #description table:not(:has(th)) > tbody > tr > td {
    display:block; width:100% !important; max-width:100%; box-sizing:border-box;
  }
  .product-id-3461 #description table:has(th) {
    display:block; width:100%; max-width:100%; overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .product-id-3461 #description .tf-osteen-gallery td {margin-bottom:12px;}
}

/* Keep unavailable legacy media records while excluding their broken thumbnails. */
.product-id-2554 .product-images li:has(img[src*="/4254-"]),
.product-id-2554 .product-images li:has(img[src*="/4256-"]),
.product-id-2549 .product-images li:has(img[src*="/4252-"]),
.product-id-2564 .product-images li:has(img[src*="/4259-"]) {display:none !important;}

/* The foliage photo remains in the description, outside the purchase gallery. */
.product-id-3461 .product-images li:has(img[src*="/19486-"]),
.product-id-3461 .product-images li:has(img[src*="/19486.jpg"]) {display:none !important;}
.tf-mobile-calendar, .tf-mobile-slide-caption {display:none;}
@media (max-width:767px) {
  #product #description table.tf-mobile-calendar-source {display:none !important;}
  #product #description .tf-mobile-calendar {display:grid;gap:14px;margin:16px 0 22px;}
  .tf-mobile-calendar-card {padding:16px;background:#fff;border:1px solid #dce3d3;border-radius:10px;min-width:0;}
  #product #description .tf-mobile-calendar-card h3 {font:600 16px/1.4 Arial,sans-serif;color:#214b3c;margin:0 0 12px;letter-spacing:0;}
  .tf-mobile-months {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;}
  .tf-mobile-month {min-width:0;padding:8px 3px;border-radius:5px;text-align:center;font:600 12px/1.25 Arial,sans-serif;border:1px solid rgba(60,75,39,.12);}
  #index #wrapper {padding-top:8px !important;}
  #index #reassurance {display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px !important;padding:8px 0 16px !important;}
  #index #reassurance > div {display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;text-align:left;}
  #index #reassurance .svg-icon {width:24px;height:24px;flex:0 0 24px;margin:0;}
  #index #reassurance span {font-size:13px !important;line-height:1.35 !important;}
  #index #carousel {width:100% !important;max-width:100% !important;left:auto !important;margin:0 0 24px !important;padding:0 !important;}
  #index #carousel .carousel-inner {margin:0;}
  #index #carousel figure {display:block;width:100%;margin:0;overflow:hidden;}
  #index #carousel figure img {display:block;width:200% !important;max-width:none !important;height:240px !important;object-fit:cover;object-position:right center;transform:translateX(-50%);}
  #index .tf-mobile-slide-caption {display:block;background:#3c4b27;color:#fff;padding:20px 24px 25px;min-height:135px;box-sizing:border-box;}
  #index .tf-mobile-slide-caption strong {display:block;color:#fff;font:400 26px/1.15 Georgia,serif;margin-bottom:12px;}
  #index .tf-mobile-slide-caption span {display:inline-block;color:#fff;font:600 13px/1.4 Arial,sans-serif;border-bottom:1px solid #dce3c8;padding-bottom:3px;}
  #index #carousel .carousel-indicators {bottom:8px;margin-bottom:0;}
  #index #carousel .direction {position:absolute;top:92px;width:100%;}
  #index #carousel .carousel-control {width:36px;height:48px;background:rgba(0,0,0,.25);}
  #index .featured-products {display:block !important;gap:0 !important;margin:0 !important;}
  #index .featured-products .products-section-title {font-size:26px !important;line-height:1.2 !important;margin:20px 0 !important;padding:0 !important;}
  #index .featured-products .products {display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px !important;margin:0 !important;width:100%;}
  #index .featured-products .product {width:100% !important;max-width:100%;min-width:0;padding:0 !important;margin:0;}
  #index .featured-products .product-miniature {width:100%;margin:0;}
  #index .featured-products .thumbnail-container {width:100% !important;height:auto !important;margin:0 !important;}
  #index .featured-products .product-thumbnail {width:100% !important;height:auto !important;aspect-ratio:1;}
  #index .featured-products .product-thumbnail img {width:100% !important;height:100% !important;max-height:100%;object-fit:contain;}
  #index .featured-products .product-description {width:100% !important;height:auto !important;min-height:118px;padding:10px 5px 12px;}
  #index .featured-products .product-title {font-size:14px !important;line-height:1.35 !important;height:auto !important;min-height:57px;margin:0 0 8px;}
  #index .featured-products .product-title a {font-size:14px !important;line-height:1.35 !important;white-space:normal;}
  #index .featured-products .price {font-size:16px;}
  #index .featured-products .wishlist-button-add {width:32px;height:32px;right:6px;top:6px;}
}
#product #description .tf-macadamia {max-width:1080px;margin:0 auto;font:16px/1.6 Arial,sans-serif;color:#455143;overflow-wrap:anywhere;}
#product #description .tf-macadamia .tf-card-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 26px;}
#product #description .tf-macadamia .tf-season-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
#product #description .tf-macadamia .tf-image-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:center;margin:22px 0;}
#product #description .tf-macadamia .tf-card-grid > div,
#product #description .tf-macadamia .tf-image-row > div {min-width:0;box-sizing:border-box;}
#product #description .tf-macadamia p {margin:0 0 16px;padding:0;font-size:16px;line-height:1.6;}
#product #description .tf-macadamia .tf-card-grid p:last-child {margin-bottom:0;}
#product #description .tf-macadamia h2 {margin:28px 0 18px;padding:0;font:400 29px/1.25 Georgia,serif;color:#203f31;}
#product #description .tf-macadamia h3 {margin:0 0 12px;padding:0;font:600 20px/1.3 Arial,sans-serif;color:#203f31;}
#product #description .tf-macadamia .tf-mac-header h2 {margin:0 0 6px;font-size:24px;color:#fff;}
#product #description .tf-macadamia .tf-mac-header p {margin:0;color:#edf3e8;font-size:14px;}
#product #description .tf-macadamia img {display:block;max-width:100%;height:auto;object-fit:contain;}
@media(max-width:767px){
 #product #description .tf-macadamia .tf-card-grid,
 #product #description .tf-macadamia .tf-image-row {grid-template-columns:minmax(0,1fr);}
 #product #description .tf-macadamia h2 {font-size:26px;}
 #product #description .tf-macadamia .tf-card-grid > div {padding:18px !important;}
}
